mirror of
https://github.com/HabitRPG/habitica.git
synced 2025-12-18 15:17:25 +01:00
New client popups profile andmore (#8907)
* Added more styles to user profile modal and replaced memberDetail * Added notify library * Added edit avator * Added notification menu updates * Fixed lint issues * Added group invite functionality * Added many achievement modals * Added initial quest modals * Added guild, drops, and rebirth modals * Added the reset of the achievement modals and fixed lint
This commit is contained in:
@@ -98,8 +98,12 @@ export default {
|
||||
round (number) {
|
||||
return Math.abs(number.toFixed(1));
|
||||
},
|
||||
// @TODO: Implement when we have a notify library
|
||||
//notify (html, type, icon, canHide, onClick) {
|
||||
notify (html) {
|
||||
// @TODO: try these params type, icon, canHide, onClick
|
||||
this.$notify({
|
||||
title: 'Habitica',
|
||||
text: html,
|
||||
});
|
||||
// let stack_topright = {"dir1": "down", "dir2": "left", "spacing1": 15, "spacing2": 15, "firstpos1": 60};
|
||||
// let notice = $.pnotify({
|
||||
// type: type || 'warning', //('info', 'text', 'warning', 'success', 'gp', 'xp', 'hp', 'lvl', 'death', 'mp', 'crit')
|
||||
@@ -119,6 +123,6 @@ export default {
|
||||
// onClick();
|
||||
// }
|
||||
// });
|
||||
//},
|
||||
},
|
||||
},
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user