Nathan Sollenberger
7ade91a8b8
Updates notification text for armoire items in shops:genericPurchase. ( #9240 )
...
Adjusts column widths for 'drop' type notifications to prevent .text from overlapping .icon-item.
Adds new 'flavorMessage' property to Snackbar notifications, which overrides standard computed message.
Vertically center XP gain icon/amount.
Fixes unrelated typo in i18n key name.
2018-02-05 19:43:30 +01:00
Feywood
7c6dd6a6bd
(in)definite articles for food items. Partial fix for https://github.com/HabitRPG/habitica/issues/3571 ( #9658 )
...
* testing additional event trigger for sendMessage
* moved keyup event to newmessage
* added keyup event to tavern vue too
* all food items now have version with definite and indefinite article. foodText also adapted in messages json
* modified api.food, and feed, armoire and drop mechanism
* drops now ok, removed dropArticle, corrected feed test
* test correction
* api doc modification for task completion
2018-02-05 19:43:12 +01:00
Maru de Vera
23dd402e79
Unpin Regained Items from Enchanted Armoire ( #9766 )
2018-01-29 15:00:19 -06:00
Matteo Pagliazzi
98c019a0b6
Upgrade lodash to v4 and lint more files ( #8495 )
...
* common: import lodash modules separately
* remove test/content from .eslintignore, fix with eslint --fix content/index
* lint test/content
* lint content/index except for lodash methods
* upgrade server/models
* upgrade server/middlewares and server/libs
* port server/controllers/top-level
* port server/controllers/api-v3
* port views and tests
* client old port lodash and _(, missing _.
* upgrade client-old
* port common/script (root level files only)
* port common/script/fns
* port common/libs
* port common/script/ops
* port common/script/content and common/script/libs/shops.js
* misc fixes
* misc fixes
* misc fixes
* more tests fixes
* fix payments test stubbing, down to 2 failing tests
* remove more instances of lodash wrapping
* fix bug where toObject does not clone object
* fix tests
* upgrade migration or add lodash 4 note
* update shrinkwrap
* fix linting
* upgrade eslint-config-habitrpg
* update shrinkwrap
* recompile shrinkwrap
2017-03-01 17:10:48 +01:00
Blade Barringer
f9595af8a5
Re-enable armoire tests
2016-10-20 22:04:24 -05:00
Blade Barringer
913cb16638
refactor: move randomVal to a lib
2016-09-26 11:55:07 -05:00
Blade Barringer
966a50431f
refactor: Move user argument to options in randomVal function
2016-09-26 11:55:07 -05:00
Blade Barringer
4df1601718
fix(api): Armoire actually works randomly
2016-09-26 11:55:07 -05:00
Kaitlin Hipkin
5f0c1687b5
Remove unused v2 code from /website/common/script ( #8034 )
...
* remove apiv2 behavior from ops
* remove apiv2 behavior from fns
2016-09-22 21:23:46 -05:00
Blade Barringer
81b7eeeb71
Common reorg ( #8025 )
...
* Re-organize common folder
* fix: Correct paths in tests
* fix: move new content to proper folder
* chore: Move audio folder to assets
* Move sprites to sprites assets directory
* Move css sprites to assets directory
* Split out readmes for common code and sprites
* Move images to assets directory
* Move destinatin of shared browserified file
* remove unused file
* move compiled js to client-old
* Fix karma tests
* fix: Correct paths for sprites
2016-09-16 17:18:07 +02:00