docbrown/app/javascript/packs
Michael Kohl 28e38cbb7d
Add flag link to profile dropdown view (#12862)
* Add flag link to profile dropdown view

* Add JS for flag button on profile

* Only show flag button to trusted users

* Quick fix for accidental unflagging

This will be more properly addressed in a future refactoring.

* Update reaction specs

* Update spec

* Make flagging togglable

* Make CodeClimate happy

* Revert accidentally changed file

* CodeClimate

* Update app/javascript/profileDropdown/flagButton.js

Co-authored-by: Vaidehi Joshi <vaidehi.sj@gmail.com>

* Add JSDoc

* Remove second popup

* Refactor and add system spec

* CodeClimate

* Change send to public_send

* Address PR feedback by @aitchiss

Co-authored-by: Vaidehi Joshi <vaidehi.sj@gmail.com>
2021-04-01 09:26:43 +00:00
..
actionsPanel.js [deploy] New Feature: Mod Actions Panel (#7777) 2020-06-08 13:24:18 -04:00
admin.js Renamed internal.js pack file to admin.js (#11046) 2020-10-23 17:57:39 -04:00
analyticsArticle.js Updates ESLint rules to error on default imports (#12512) 2021-02-02 10:24:03 -05:00
analyticsDashboard.js Updates ESLint rules to error on default imports (#12512) 2021-02-02 10:24:03 -05:00
articleForm.jsx Updates ESLint rules to error on default imports (#12512) 2021-02-02 10:24:03 -05:00
articleModerationTools.js Updates ESLint rules to error on default imports (#12512) 2021-02-02 10:24:03 -05:00
articlePage.jsx Fix subscribe to discussion button when user is not logged in (#12837) 2021-03-03 18:50:29 -06:00
base.jsx [15 minute fix] Now mention auto-complete dynamic imports are cached. (#13146) 2021-03-30 13:20:15 +02:00
Chat.jsx Updates ESLint rules to error on default imports (#12512) 2021-02-02 10:24:03 -05:00
clipboardCopy.js Ran prettier on *.js, *.jsx and *.md files. (#11586) 2020-11-23 20:45:50 -05:00
colorPreview.js Ran prettier on *.js, *.jsx and *.md files. (#11586) 2020-11-23 20:45:50 -05:00
commentModPage.js Fix broken experience level button in moderation panel (#11797) 2020-12-08 10:20:35 +01:00
contentDisplayPolicy.js Updates ESLint rules to error on default imports (#12512) 2021-02-02 10:24:03 -05:00
dashboardTagsDisableUnchangedButtons.js [15 Minute Fix] Added the prefer-const eslint rule (#13098) 2021-03-23 16:29:56 -04:00
flagUserModal.jsx Use faster JS selection methods (#11409) 2020-11-16 17:35:50 +01:00
fullScreenModeControl.js Updates ESLint rules to error on default imports (#12512) 2021-02-02 10:24:03 -05:00
githubRepos.jsx Upgrade to Preact 10.4.4 (#8739) 2020-06-18 10:07:17 -04:00
homePage.jsx Sidebar fix on iPad (#12705) 2021-02-22 17:41:16 +01:00
homePageFeed.jsx feat: Add shortcut to bookmark an article (#11116) 2020-10-27 12:44:03 -04:00
homePageFeedShortcuts.jsx Provide skip links: Tweak skip link style, refactor main area ID (#12694) 2021-02-17 10:15:31 +00:00
listingDashboard.jsx Upgrade to Preact 10.4.4 (#8739) 2020-06-18 10:07:17 -04:00
listingForm.jsx Updates ESLint rules to error on default imports (#12512) 2021-02-02 10:24:03 -05:00
listings.jsx Upgrade to Preact 10.4.4 (#8739) 2020-06-18 10:07:17 -04:00
modCenter.jsx Mod Center MVP 🎉 (#8744) 2020-06-23 14:58:16 -04:00
notificationSubscriptionHandler.js improve keyboard accessibility of modals 12427 10610 (#12511) 2021-02-24 16:01:10 +00:00
Onboarding.jsx remove default import for onboarding (#12541) 2021-02-02 12:46:39 -05:00
onboardingRedirectCheck.jsx Moved src/utils out of src/ folder to utilities/ folder. (#7875) 2020-05-15 10:07:42 -04:00
orgCreditsSelector.js Crayonsification of Listings form (#10429) 2020-09-30 09:14:48 +02:00
profileDropdown.js Add flag link to profile dropdown view (#12862) 2021-04-01 09:26:43 +00:00
readingList.jsx Filter by tags of reading list items not tags you follow (#11394) 2020-11-13 10:45:32 -05:00
responseTemplates.js [deploy] Finalize and add response templates feature (#7068) 2020-04-16 15:53:29 -04:00
Search.jsx Prep work to sync mobile search in #10424 (#11525) 2020-11-30 06:13:06 -05:00
sidebarWidget.jsx Updates ESLint rules to error on default imports (#12512) 2021-02-02 10:24:03 -05:00
signupModalShortcuts.jsx Use faster JS selection methods (#11409) 2020-11-16 17:35:50 +01:00
stickySaveFooter.js Use faster JS selection methods (#11409) 2020-11-16 17:35:50 +01:00
validateFileInputs.js [deploy] Add valiation for file name length to file uploads (#6918) 2020-03-27 18:54:27 -04:00
webShare.js Ran prettier on *.js, *.jsx and *.md files. (#11586) 2020-11-23 20:45:50 -05:00