Skip to content

Fix(Novel Mania): Update selectors & add support for a few features#10961

Open
Shulchl wants to merge 25 commits into
PreMiD:mainfrom
Shulchl:master
Open

Fix(Novel Mania): Update selectors & add support for a few features#10961
Shulchl wants to merge 25 commits into
PreMiD:mainfrom
Shulchl:master

Conversation

@Shulchl

@Shulchl Shulchl commented Jul 3, 2026

Copy link
Copy Markdown
Contributor

Description

The Novel Mania website has been restructured; consequently, the previous version of the Activity is no longer compatible. In this version, in addition to fixing selectors, support has been added for multilanguage ​​and buttons, as well as "real-time" state updates for filtering of categories, languages and for novel states, while searching a novel on the website. Check it out below.

Acknowledgements

Screenshots

Proof showing the creation/modification is working as expected image image image 2026-07-03 12-32-28

@dimerp

dimerp Bot commented Jul 3, 2026

Copy link
Copy Markdown
Contributor

🖼️ Activity asset preview

Asset inspection complete. No pixels were harmed in the making of this comment. 🤖

Novel Mania (websites/N/Novel Mania) — update

Preview Source URL
logo https://cdn.rcd.gg/PreMiD/websites/N/Novel%20Mania/assets/logo.png
thumbnail https://cdn.rcd.gg/PreMiD/websites/N/Novel%20Mania/assets/thumbnail.jpg

Beep boop — I refresh this comment on every push, so no need to scroll. 🤖

Comment thread websites/N/Novel Mania/presence.ts Fixed
Comment thread websites/N/Novel Mania/metadata.json Fixed
Comment thread websites/N/Novel Mania/metadata.json Outdated
Comment thread websites/N/Novel Mania/novelmania.json Outdated
Comment thread websites/N/Novel Mania/novelmania.json Outdated
Comment thread websites/N/Novel Mania/presence.ts Outdated
Comment thread websites/N/Novel Mania/presence.ts Outdated
Comment thread websites/N/Novel Mania/presence.ts Outdated
reading: 'general.reading',
chapter: 'general.chapter',
lists: 'general.viewAList',
volume: 'novelmania.volume',

@skullysmods skullysmods Jul 12, 2026

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
volume: 'novelmania.volume',

This string does not exist; you can delete it here

case 'u': /* Seeing some user profile */
updateTimestampBySlug('u')
if (hideInfo) {
presenceData.state = `${strings.profile} ${strings.privacy}`

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

As I mentioned earlier, this sentence doesn't make sense.
The “general.privacy” string corresponds to “Privacy Policy,” so as it stands, your sentence reads: “Viewing profile of: Privacy Policy”

Comment on lines +164 to +165
delete presenceData.largeImageText
presenceData.largeImageText = novelName // Its not showing and idk why

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Currently, the largeImageText isn't displayed because, due to the if condition, it enters the loop only once and then never returns to it.
Your largeImageText therefore appears only once when it goes through the loop upon arriving on the page; once it has passed through, it doesn't go through it again, and the text is cleared.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Rename the file to Novel Mania.json; otherwise, it won't work.

@skullysmods skullysmods left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just to be consistent with the other settings icons in the other Activities

{
"id": "hideInfo",
"title": "Privacy Mode",
"icon": "fas fa-compress-arrows-alt",

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
"icon": "fas fa-compress-arrows-alt",
"icon": "fad fa-user-secret",

{
"id": "showTimestamp",
"title": "Show Timestamp",
"icon": "fas fa-clock",

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
"icon": "fas fa-clock",
"icon": "fad fa-stopwatch",

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Development

Successfully merging this pull request may close these issues.

3 participants