-
Notifications
You must be signed in to change notification settings - Fork 0
Slack integration #6
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: tauri
Are you sure you want to change the base?
Conversation
Does not work
* Add more colors to choose from * Streamline the flow from button press to api call * Add todo items for the reverse status to color flow
* They now keep their state using a `RwSignal` and a .class="selected"
* Default location varies from system to system
On linux at least you will find store at
$HOME/.config/${bundlename}/store.json
Where bundlename is the identifier specified in `tauri.conf.json`
include_str! is not cross-platform
* Add feature 'tracing' and utilize feature 'slack_sync' more * Hide shit begind cfg( ... ) attributes * Update Leptos
* TODO: Do not block main thread while user is authorizing Slack app
* Move .cargo/config.toml to common location * Add documentation * Fix async polling issue
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull request overview
This PR adds Slack integration to the Luxafor-ui application, enabling users to synchronize their Luxafor device status with their Slack presence. The integration includes OAuth authentication flow, token storage, and automatic profile updates when changing light colors.
Key changes:
- Added Slack API integration with OAuth authentication and status synchronization
- Implemented visual feedback for selected color buttons with new CSS styling
- Updated dependencies and configuration files to support the new Slack integration feature
Reviewed changes
Copilot reviewed 16 out of 19 changed files in this pull request and generated 7 comments.
Show a summary per file
| File | Description |
|---|---|
| src-tauri/src/slack_api.rs | New module implementing Slack OAuth flow, token management, and profile updates |
| src-tauri/src/lib.rs | Integrated Slack functionality into main app logic with color-to-profile mapping |
| src/app.rs | Added selected state tracking for color buttons using Leptos signals |
| styles.css | Added styling for selected button state and refined button animations |
| src-tauri/Cargo.toml | Added Slack-related dependencies with optional feature flags |
| src-tauri/tauri.conf.json | Adjusted window dimensions and fixed app identifier format |
| .github/workflows/tauri-build.yml | Updated CI workflow with macOS support and improved toolchain setup |
| README.md | Added documentation for Slack integration feature |
| .env.template | Template for required Slack API environment variables |
| .cargo/config.toml | Configuration for Slack session URL |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
* Use cargo-binstall github action * Pass -y (--no-confirm) flag to cargo-binstall * Pass GITHUB_TOKEN to resolve GitHub API rate limiting
No description provided.