docbrown/app/javascript
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
..
.storybook Added react aliases in Storybook webpack configuration. (#12825) 2021-02-26 09:25:38 +00:00
actionsPanel CSS size reduce + cleanups. (#12625) 2021-02-16 13:44:26 +01:00
admin Remove buffer gem and related code: step 1 (#12993) 2021-03-24 09:58:38 +07:00
analytics Updates ESLint rules to error on default imports (#12512) 2021-02-02 10:24:03 -05:00
article-form Add mention autocomplete to posts (#13101) 2021-03-31 14:42:59 +01:00
articles improve keyboard accessibility of modals 12427 10610 (#12511) 2021-02-24 16:01:10 +00:00
chat Connect room name overflow (#9561) 2021-03-25 13:16:58 +07:00
CommentSubscription Fix subscribe to discussion button when user is not logged in (#12837) 2021-03-03 18:50:29 -06:00
common-prop-types Updates ESLint rules to error on default imports (#12512) 2021-02-02 10:24:03 -05:00
contentDisplayPolicy Updates ESLint rules to error on default imports (#12512) 2021-02-02 10:24:03 -05:00
crayons Add mention autocomplete to posts (#13101) 2021-03-31 14:42:59 +01:00
githubRepos Deprecate old button stylings with Crayons buttons (#10694) [deploy] 2020-10-14 07:28:41 -07:00
icons Storybook: Add DocsPage and test out static content (#11397) 2020-12-02 09:56:38 -08:00
leftSidebar Replace redundant div with Fragment (#12613) 2021-02-09 11:41:46 -06:00
listings improve keyboard accessibility of modals 12427 10610 (#12511) 2021-02-24 16:01:10 +00:00
modCenter Updates ESLint rules to error on default imports (#12512) 2021-02-02 10:24:03 -05:00
onboarding Adding aria labels in Suggested people to follow screen during onboarding (#12384) 2021-03-17 11:59:50 -04:00
organization Fixed Error: Not implemented: window.computedStyle(elt, pseudoElt) console error in frontend tests. (#11633) 2020-11-26 16:55:33 -05:00
packs Add flag link to profile dropdown view (#12862) 2021-04-01 09:26:43 +00:00
podcasts Remove non application files from frontend code coverage (#11752) 2020-12-04 20:00:20 -05:00
profileDropdown Add flag link to profile dropdown view (#12862) 2021-04-01 09:26:43 +00:00
readingList Remove pro role + expose analytics to all users via dashboard (#13156) 2021-03-30 15:02:18 -07:00
responseTemplates [15 minute fix] Fixed bug with templates not being inserted for comments. (#13149) 2021-03-30 13:02:54 +02:00
Search Fix search confusion (#13130) 2021-03-26 11:08:56 +01:00
searchableItemList [Search 2.0] Reading list (#13052) 2021-03-24 15:40:00 +01:00
shared/components Update shortcut code with best practices (#13026) 2021-03-24 14:03:45 +00:00
sidebar-widget Refactoring SidebarWidget and sidebarUser (#10887) 2021-02-03 17:47:54 +00:00
Snackbar Storybook: Add DocsPage and test out static content (#11397) 2020-12-02 09:56:38 -08:00
topNavigation Fix more button not working after navigating back to the home page (#12612) 2021-03-25 12:48:41 -04:00
utilities Add mention autocomplete to posts (#13101) 2021-03-31 14:42:59 +01:00
.eslintrc.js [15 Minute Fix] Added the prefer-const eslint rule (#13098) 2021-03-23 16:29:56 -04:00
netlify.toml Try yarn instead over npm for storybook deploys (#12376) 2021-02-26 10:30:56 -05:00