docbrown/app/assets/javascripts/utilities
Arit Amana 0d023163ba
Hide 'Save' button on posts that belong to the current user (#17293)
* implement change

* struggling with tests

* extend implementation to relevant views

* update Article.test.jsx snapshot

* fix failing specs

* query userData more robustly

* default saveable value in SaveButton component

* fix spec

* fetch currentUser async
2022-04-28 12:33:01 -04:00
..
browserStoreCache.js Fixes some lint issues (#3786) 2019-08-22 15:59:13 -04:00
buildArticleHTML.js Hide 'Save' button on posts that belong to the current user (#17293) 2022-04-28 12:33:01 -04:00
buildCommentFormHTML.js.erb Spelling fixes to live code (#15670) 2021-12-06 12:11:25 +02:00
buildCommentHTML.js.erb Spelling fixes to live code (#15670) 2021-12-06 12:11:25 +02:00
checkUserLoggedIn.js Replace querySelector and getElementsByTagName when selecting for head and body (#8315) 2020-06-08 20:08:40 -04:00
dynamicallyLoadScript.js Ran prettier on *.js, *.jsx and *.md files. (#11586) 2020-11-23 20:45:50 -05:00
getCsrfToken.js amend csrf token retries (#16714) 2022-02-28 15:05:13 +00:00
getCurrentPage.js Fixes some lint issues (#3786) 2019-08-22 15:59:13 -04:00
getImageForLink.js Fixes some lint issues (#3786) 2019-08-22 15:59:13 -04:00
insertAfter.js Fixes some lint issues (#3786) 2019-08-22 15:59:13 -04:00
localDateTime.js Using global util function for displaying date in listing dashboard (#10244) 2020-09-09 09:35:05 +02:00
localStorageTest.js Fixes some lint issues (#3786) 2019-08-22 15:59:13 -04:00
preventDefaultAction.js Fixes some lint issues (#3786) 2019-08-22 15:59:13 -04:00
sendFetch.js Rework user subscription liquid tag to avoid errors (#16460) 2022-02-15 09:14:03 +00:00
sendHapticMessage.js Fixed some lint issues (#3782) 2019-08-21 10:44:23 -04:00
showLoginModal.js Improve keyboard accessibility of comment rate limit and error modals (#13536) 2021-05-03 07:14:23 +01:00
showUserAlertModal.js Spelling fixes to live code (#15670) 2021-12-06 12:11:25 +02:00
slideSidebar.js add skip link to tag page (#13485) 2021-04-23 16:10:28 +01:00
timeAgo.js Ran prettier on *.js, *.jsx and *.md files. (#11586) 2020-11-23 20:45:50 -05:00
userData.js Refactored userData while working on hompage makeover. (#5916) [deploy] 2020-02-06 11:18:52 -08:00