-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
feat(Anizium): add option to customize Activity name #10297
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
Open
Mid0aria
wants to merge
15
commits into
PreMiD:main
Choose a base branch
from
Mid0aria:anizium
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
+124
−29
Conversation
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
This commit improves the buttons for the Anizium presence. - On the watch page, a "View Anime" button is now added alongside the "View Episode" button, providing a direct link to the anime's main page. - On studio pages, a new "View Studio" button is now displayed.
Introduces a new route handler for the '/partner' page in Anizium.
Introduces a new "Privacy Mode" setting for the Anizium website. This feature allows users to hide anime and episode information from their Discord presence. The changes include: - Adding a `privacy` boolean to the `AniziumSettings` interface and `SETTINGS_CONFIG`. - Including the "Privacy Mode" setting in `metadata.json` with appropriate title, description, icon, and default value. - Implementing the privacy mode logic in `presence.ts` to display "Gizlilik Modu Aktif" when enabled. - Updating descriptions for existing settings to be more concise and accurate.
This commit introduces a new setting, `usePresenceName`, which allows users to control whether the Rich Presence displays "Anizium" or the anime's actual title as the main presence name. Previously, the presence name was always "Anizium". With this change, users can now choose to see the anime's title directly in their Discord Rich Presence, providing a more informative experience. The `handleAnimePageUpdate` and `handleWatchingPageUpdate` functions have been modified to conditionally set the `name`, `details`, and `state` fields of the `presenceData` object based on the `usePresenceName` setting. A new entry for `usePresenceName` has also been added to the `SETTINGS_CONFIG` and `metadata.json` files, along with its corresponding type in `AniziumSettings`.
This commit introduces conditional visibility (`if` property) to several Anizium presence settings in `metadata.json`. The following settings will now only be visible when the `privacy` setting is `false`: - `showButtons` - `showPosters` - `watchingDetails` - `watchingState` - `showTimestamp` Additionally, `watchingDetails` and `watchingState` will only be visible when `usePresenceName` is also `true`. This change improves the user experience by only displaying relevant settings based on other configuration choices, reducing clutter and potential confusion.
Introduce a `privacy` setting to control the display of posters. When the `privacy` setting is enabled, posters will no longer be shown, even if `showPosters` is true. This provides users with more control over the information shared in their presence.
theusaf
requested changes
Jan 3, 2026
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.
Description
Acknowledgements
npm run lintScreenshots
Proof showing the creation/modification is working as expected