-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
feat(Lotus-Simulator): add activity #10194
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: main
Are you sure you want to change the base?
Conversation
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 a new Discord Rich Presence activity for the Lotus-Simulator forum and website. The activity displays what section of the site users are browsing and provides buttons to view specific posts, images, files, or products.
- Implements comprehensive presence detection for various sections: forum, gallery, lexicon, blog, filebase, shop, and documentation
- Includes privacy settings to hide detailed information and button settings to show/hide links
- Adds dynamic image display for gallery images and filebase entries
Reviewed changes
Copilot reviewed 2 out of 3 changed files in this pull request and generated 4 comments.
| File | Description |
|---|---|
| websites/L/Lotus-Simulator/presence.ts | Main presence logic implementing activity detection for all sections of the Lotus-Simulator website with privacy controls and dynamic content display |
| websites/L/Lotus-Simulator/metadata.json | Configuration file defining the presence metadata, supported URLs, settings, and visual assets |
| package-lock.json | Dependency updates for the repository (routine updates unrelated to this specific feature) |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
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
Copilot reviewed 2 out of 3 changed files in this pull request and generated 8 comments.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Co-authored-by: Copilot <[email protected]> Signed-off-by: FluffyTrace <[email protected]>
Co-authored-by: Copilot <[email protected]> Signed-off-by: FluffyTrace <[email protected]>
Co-authored-by: Copilot <[email protected]> Signed-off-by: FluffyTrace <[email protected]>
Co-authored-by: Copilot <[email protected]> Signed-off-by: FluffyTrace <[email protected]>
Co-authored-by: Copilot <[email protected]> Signed-off-by: FluffyTrace <[email protected]>
Co-authored-by: Copilot <[email protected]> Signed-off-by: FluffyTrace <[email protected]>
Co-authored-by: Copilot <[email protected]> Signed-off-by: FluffyTrace <[email protected]>
Co-authored-by: Copilot <[email protected]> Signed-off-by: FluffyTrace <[email protected]>
Description
Adds a new activity that shows on Discord where the person is currently moving in the simulator forum.
So images, filebase, etc. If the person is on an image or post, a button to the website is also displayed in the activity.
Acknowledgements
npm run lintScreenshots
Proof showing the creation/modification is working as expected