Skip to content

prevent unsupported quest notification modal during Discord startup - #20

Draft
griffinsectio wants to merge 3 commits into
xenoncolt:mainfrom
griffinsectio:feature/fix-unsupported-quest-modal
Draft

prevent unsupported quest notification modal during Discord startup#20
griffinsectio wants to merge 3 commits into
xenoncolt:mainfrom
griffinsectio:feature/fix-unsupported-quest-modal

Conversation

@griffinsectio

@griffinsectio griffinsectio commented Sep 2, 2026

Copy link
Copy Markdown

In response to #19, which indicate that the plugin will badger the user with a modal which inform that the quest is unsupported. To fix this and improve user experience, I propose to add a loop during plugin initiation that will validate whether a quest is supported by the plugin.

@griffinsectio
griffinsectio marked this pull request as draft September 2, 2026 14:21
@griffinsectio griffinsectio changed the title add loop to validate whether a quest is supported prevent continuous unsupported quest notification modal Sep 2, 2026
@griffinsectio griffinsectio changed the title prevent continuous unsupported quest notification modal prevent unsupported quest notification modal during Discord startup Sep 2, 2026
Comment on lines +165 to +171
const quests = [...this._questsStore.quests.values()]

for (const q of quests) {
if (!this.isQuestSupported(q)) this._unsupportedQuests.add(q.id);
}

const quest = quests.find(x =>

@xenoncolt xenoncolt Sep 2, 2026

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

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

i mean ur one ok. what u do is check at the start that quest is supported or not..
But i was thinking instead of checking maybe save on config file.

@xenoncolt

Copy link
Copy Markdown
Owner

u did another commit.. lemme check it

Comment thread AutoQuestComplete.plugin.js Outdated
);

if (this._questsStore && quest) {
if (this._questsStore && quest && this.isQuestSupported(quest)) {

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

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

but notification still keep gonna spawn

@xenoncolt

Copy link
Copy Markdown
Owner

first one was ok 2nd one idk

Did u test it?

@xenoncolt

Copy link
Copy Markdown
Owner

Maybe it will be better if i make an option on settings to turn off or on notification for unsupported quest. Coz some ppl might want to get notification for any orbs quest

@griffinsectio

Copy link
Copy Markdown
Author

I encountered an issue with my first commit, the plugin won't show the modal when launching the quest for the first time despite the task type being unsupported. The second commit meant to fix this issue. Unfortunately, I was unable to test it out myself and a quest of the unsupported type has now gone expired.

@xenoncolt

Copy link
Copy Markdown
Owner

I encountered an issue with my first commit, the plugin won't show the modal when launching the quest for the first time despite the task type being unsupported. The second commit meant to fix this issue. Unfortunately, I was unable to test it out myself and a quest of the unsupported type has now gone expired.

its ok i am also waiting for activity quest.

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants