Add Discord Rich Presence#106
Merged
Merged
Conversation
Owner
Author
|
@greptileai please review the current head c50258c. |
Contributor
Greptile SummaryAdds optional Windows Discord Rich Presence.
Confidence Score: 5/5The pull request appears safe to merge. No blocking failures remain. Important Files Changed
Flowchart%%{init: {'theme': 'neutral'}}%%
flowchart LR
P[Riverpod strategy, map, agent, and ability state] --> D[Two-second debounce]
U[Discord presence preference] --> S{Enabled?}
D --> S
S -->|Yes| C[Build privacy-safe activity]
C --> Q[Serialized RPC queue]
Q --> R[Discord local RPC]
S -->|No| X[Clear activity and disconnect]
Reviews (2): Last reviewed commit: "Add Discord Rich Presence" | Re-trigger Greptile |
SunkenInTime
marked this pull request as ready for review
July 23, 2026 21:56
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Why
Icarus previously had no Discord activity integration. This adds an optional local RPC connection using the public Discord application ID; no client secret or user authentication is embedded in the app.
User impact
Discord can now show whether the user is browsing the library or planning on a particular Valorant map and side. Open strategies also report agent and ability counts, while strategy names remain private.
Validation
dart run build_runner build --delete-conflicting-outputsdart analyze lib/services/discord_presence_service.dart lib/main.dart lib/providers/user_preferences_provider.dart lib/widgets/settings_tab.dart test/discord_presence_service_test.dartflutter test test/discord_presence_service_test.dartflutter test(328 tests passed)