Compare commits

...

2 Commits

Author SHA1 Message Date
CuriousMagpie
e48f88cb8c chore: change TODO to NOTE where relevant 2025-01-29 15:58:37 -05:00
CuriousMagpie
368dc97497 chore: Add alerts to debug menu when operations are completed 2025-01-29 14:31:29 -05:00
3 changed files with 7 additions and 7 deletions

View File

@@ -920,13 +920,13 @@ export default {
await axios.post('/api/v4/debug/set-cron', { await axios.post('/api/v4/debug/set-cron', {
lastCron: date, lastCron: date,
}); });
// @TODO: Notification.text('-' + numberOfDays + ' day(s), remember to refresh'); window.alert(`Days reset by ${numberOfDays}.\nRemember to refresh.`);
// @TODO: Sync user? // @TODO: Sync user?
}, },
async addTenGems () { async addTenGems () {
await axios.post('/api/v4/debug/add-ten-gems'); await axios.post('/api/v4/debug/add-ten-gems');
// @TODO: Notification.text('+10 Gems!');
this.user.balance += 2.5; this.user.balance += 2.5;
window.alert('+10 Gems!');
}, },
async addHourglass () { async addHourglass () {
await axios.post('/api/v4/debug/add-hourglass'); await axios.post('/api/v4/debug/add-hourglass');
@@ -990,17 +990,17 @@ export default {
}, },
async addQuestProgress () { async addQuestProgress () {
await axios.post('/api/v4/debug/quest-progress'); await axios.post('/api/v4/debug/quest-progress');
// @TODO: Notification.text('Quest progress increased'); window.alert('Quest progress increased.');
// @TODO: User.sync(); // @TODO: User.sync();
}, },
async bossRage () { async bossRage () {
await axios.post('/api/v4/debug/boss-rage'); await axios.post('/api/v4/debug/boss-rage');
window.alert('Boss Rage increased.');
}, },
async makeAdmin () { async makeAdmin () {
await axios.post('/api/v4/debug/make-admin'); await axios.post('/api/v4/debug/make-admin');
// @TODO: Notification.text('You are now an admin! window.alert('You are now an Admin!\nReload the website then go to Help > Admin to set contributor level, etc.');
// Reload the website then go to Help > Admin Panel to set contributor level, etc.');
// @TODO: sync() // @TODO: sync()
}, },
donate () { donate () {

View File

@@ -1177,7 +1177,7 @@ export default {
'flags.welcomed': true, 'flags.welcomed': true,
}); });
// @TODO: This is a timeout to ensure dom is loaded // NOTE: This is a timeout to ensure dom is loaded
window.setTimeout(() => { window.setTimeout(() => {
this.initTour(); this.initTour();
this.goto('intro', 0); this.goto('intro', 0);

View File

@@ -427,7 +427,7 @@ export default {
this.$store.dispatch('user:fetch'), this.$store.dispatch('user:fetch'),
this.$store.dispatch('tasks:fetchUserTasks'), this.$store.dispatch('tasks:fetchUserTasks'),
]).then(() => { ]).then(() => {
// @TODO: This is a timeout to ensure dom is loaded // NOTE: This is a timeout to ensure dom is loaded
window.setTimeout(() => { window.setTimeout(() => {
this.runForcedModals(); this.runForcedModals();
}, 2000); }, 2000);