* fix: replace clickable div with button
improve accessibility for keyboard users
* refactor: extract sidebar button to own component
* refactor: button to div
* fix: lint, update sidebarSection test
* fix(task) - 11139 use start-from hours in due date calculation
* fix(task) - 11139 - Initial setup of Task unit test
* Add more unit tests for formatDueDate
* Issue 10786 - Add unit test for Home component
* Issue 10786 - Improve test setup and test invite parameter variations
* Issue 10786 - Improve Vue.js test isolation by adding async keyword to dispatch function
* Issue 10786 - Missing action does not need to be awaited
* fix(vuejs-unit-tests): Fewer stacktraces in avatar.spec.js
* No more stacktraces in avatar.spec.js
* Register dummy directive in chatCard.spec.js
* Resolve stacktraces in column.spec.js
* Resolve stacktrace in notifications.spec.js
* Resolve warnings in user.spec.js
* Resolve asynchronous stacktrace from home.spec.js
* Remove unnecessary mount call.
* Clear up some let clutter in column.spec.js
* Fix bug in challenge tags not converted to normal tags after challenge ended/deleted
* Added test cases to test bug fix
* Set tag.challenge from String to Boolean in tag model schema
* Update existing test with tag challenge set to boolean instead of string
* Added migration file for converting tag challenge field from string to bool
* Implement suggestions from ilnt
* Use mongoose instead of Mock in migration
* Change from update to bulkwrite
* update users individually
Co-authored-by: Matteo Pagliazzi <matteopagliazzi@gmail.com>
* issue(11266) - Restyle level-up modal with sparkles
* issue(11266) - Add reward display to level up modal
At levels 15, 30, 40 and 60 the earned quests are now shown in the level-up modal.
* issue(11266) - Simplify css and don't use custom footer
* issue(11266) - Don't show pink bars and use colour variables
* fix(chat) - Mention dot doesn't show if mention is preceded by weird mention
* fix(chat) - add unit test for chatCard
* fix(chat) - Improve unit test to only mount the wrapper once
* Issue 10786 - Add unit test for Home component
* Issue 10786 - Improve test setup and test invite parameter variations
* Issue 10786 - Improve Vue.js test isolation by adding async keyword to dispatch function
* Issue 10786 - Missing action does not need to be awaited
* Use localVue for groupsUtilities test and revert partial zone fix
* Fix bug to allow guild summary and description to match against search term in MyGuilds component
* Add unit test to groupUtilities to test filterGroup function
* Changes made after running npm:run:lint
* Fix bug when filter guild function does not match against guild size correctly when the guild has member count = 100 or 1000
According to habitica wiki Guilds Guide, gold-tier guilds are guilds with 1000 or more members. However, under the current code of filter guild function, it matches guilds as gold-tier as strictly more than 1000 members, excluding 1000 members. Similar silver-tier guilds should have 100 to 999 members, but the current code it matches guilds as silver-tier for members between 101 and 999 members.
* Added unit tests to test the newly added code in the groupsUtilities mixin for the current issue
* Add unit testing to test search guild name, summary, and description in myGuilds component
* Add suggestions from lint
* Added searching by guild summary and white space handling in search terms.
For discover guilds component, added the following:
1) handling of searching by guild summary
2) preventing white space in search terms to display all guilds
3) added test cases for testing the search functionality in discove guilds to ensure consistent behaviour between the searching in MyGuilds and public guilds.
* Remove console statements from test file
* Implement suggestions from lint.
Co-authored-by: osiris <eynsan@yahoo.co.uk>