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

View File

@@ -1177,7 +1177,7 @@ export default {
'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(() => {
this.initTour();
this.goto('intro', 0);

View File

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