* Issue 12033 - Use version of habitica-markdown that includes mention plugin
Also fixes frontend parts of 11504 and 10924
* Issue 12033 - Reduce duplication in chatCard & messageCard
* Issue 12033 - Use habitica-markdown version 2.0.0
* Issue 12033 - Use new entry point and fix tests
* Issue 12033 - Rename renderMarkdown to renderWithMentions
* 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
* Changed private message" button to use <a href> to open Private Message page in same tab.
Changed private message" button to use <a href> to open Private Message page in same tab with normal mouse click, and open in a new tab with right mouse click mouse context menu.
* Use router-link and navigation guard as requested.
Change from <a href to router-link in profile.vue and use navigation guard to obtain selected user data from server instead of doing so in mount method as requested.
* Added habitica::dismiss-modal to hide members modal
* Suggestion from lint
* Use replace in router-link to as per suggestion
* Suggestion by lint
* Remove sendMessage function in profile.vue as suggested in PR review
* Issue 11050 - Small tuneups to unlock.js
- Use includes i.o. indexOf
- Extract small function for object setting duplication
- Use every instead of custom counter
* Issue 11050 - Properly store purchased items when purchasing them
* Issue 11050 - Couple more tuneups in unlock.js and implemented partial failure scenario
* Issue 11050 - Fix last lint issue
* Issue 11050 - Check path for gear i.o. failing to write it to purchased
* Issue 11050 - Guarantee variation coverage in tests
* Issue 11050 - Use startsWith instead of includes for background check
* Issue 11050 - Don't unlock lost items
Run validation check from @input event rather than @change so that it is executed after user stops typing instead of on blur.
Fix cannotSubmit (bound to button :disabled) so that it correctly checks that at least one invite is filled and all filled invites are valid.
* Updating the equipment attributes popover to display the correct message when the equipment doesn't match the user's class
* Rewriting 'is wrong class' and abstracting logic into computed property of shop item
* Moving isWrongClass computed function from shopItem to popoverAttribute component
* Reverting accidental whitespace change
* Adding newline to end of profile.vue to get client to compile
* Reverting profile.vue back to develop branch
Co-authored-by: Laurel Thomson <laurel.beth.thomson@gmai.com>
* delete merch.vue and all mentions of links to merch page
* Added comments about why merch page is being deleted
Co-authored-by: Kareen <kareenf@umich.edu>
* For some reason this file shows as modified, however I checked and it seems as though the same code chunk was 'deleted' and 'added' back in
* Added in logic to take care of issue pertaining to usernames with underscores such as @_spider_ was not showing up in the proper username format
* Added component test to test underscores in username issue
* I accidentally forgot to change the expected result to be @_user_
* Fixed strange spacing issue in profile.vue to match the original
* Another place where I needed to put _user_
* Accidentally left in describe.only in highlightUsers.spec.js,so removed .only
* Added in suggestions from @benkelaar and added in support for fixing double underscore sandwiched usernames which is Markdown's way of bolding
* Added component test to test that usernames sandwiched with double underscores are properly formatted
* Added fixes to test case input and variable mismatch in function
* Updated expect result statement to not be a user mention instance
Co-authored-by: Kareen <kareenf@umich.edu>
* push notifications: handle some more error codes and when the user is loaded using .lean()
* fix lint
* do not send push notification if message is missing