docbrown/app/javascript
rhymes 7ff882b8ce
Refactor Admin Member Detail view - Tools section (#14283)
* Test with Grid layout

* Use Flexbox

* Replace with utility classes

* Wire up Tools -> Emails

* Stash: will rebase with a better commit message

* Fix transition between Email and Tools component

* Refactor Verify Email Ownership button a bit

* Use respond_to for verify_email_ownership

* Wrap the Preact Snackbar controller in Stimulus and use it from users/tools/email_controller

* Add HTML5 validation to EmailComponent

* Validation and cleanup

* Add Email history list and fix styling

* Additional styling cleanups

* Add error handling

* Close panel after email operations

* Actually use <local-time> GitHub time element correctly

* Add specs for Tools component and controller

* Email to Emails

* Add tests for Admin::Users::Tools::EmailsComponent

* Fix bug with ToolsComponent instantiation in ToolsController

* Add notes to show page

* Add ToolsComponent css

* Use Rails UJS instead of manual Stimulus to connect remote helpers

* Make Notes section come alive by adding its code

* Make Credits section come alive by adding its code

* Go back to vertical flex

* Finalize small restructuring of credits code

* Simplify ToolsComponent instantiation

* Add basic Add user to org functionality

* Make update user permissions form work

* Make remove user from org work

* Use generic Stimulus AjaxController to cleanup code

* Use Stimulus AjaxController for NotesComponent

* Use Stimulus AjaxController for CreditsComponent

* Use Stimulus AjaxController for OrganizationsController

* Add Admin::Users::Tools::ReportsComponent

* Do not display snackbar message if there is no message

* Add Admin::Users::Tools::ReactionsComponent

* Fix EmailsComponent spec

* Add CreditsComponent tests

* Fix quotes

* Add OrganizationsComponent specs

* Add ReportsComponent spec

* Add ReactionsComponent spec

* Fix rubocop violation

* Fix ToolsComponent specs

* Remove unused variable

* More tests

* Use keyword argument for ToolsComponent

* Fill in Tools requests specs

* Use Rspec shared_examples for ToolsController and EmailsController

* Add tests for Admin::Users::Tools::CreditsController

* Add tests for Admin::Users::Tools::NotesController

* Add tests for Admin::Users::Tools::OrganizationsController

* Add tests for Admin::Users::Tools::ReactionsController and ReportsController

* Fix bugs and add tests to Admin::OrganizationMembershipsController

* Add comments to deprecated sections of the UsersController

* Fix bugs and add tests to Admin::UsersController #send_email and #verify_email_ownership

* Add User model tests

* Feature flag fixes

* Add Cypress Tools - Emails tests

* Add Cypress Tools - Notes tests

* Add Cypress Tools - Credits tests

* Add Cypress Tools - Organizations tests

* Add Cypress Tools - Reports and Reactions tests

* Mark the replace target as a polite region

* Update view_component gem

* Tiny fixes

* Fix spec

* Wrap component rendering in render_component

* Move user.related_negative_reactions to a Reaction scope

* Move user.reports to a FeedbackMessage scope

* Move user.last_verification_date as EmailAuthorization class method

* Revert encapsulation to private

* Fix boxes backlinks names

* Add keyboard focus styling to boxes

* Remove duplicate styling

* Remove duplicated header element

* Improve heading hiearchy

* Fix <legend> and labels

* Backlink should be Tools not Users

* Announce section change to screen reader and fix focus

* Fix specs

* Add focus style for backlinks

* Enable email sending in e2e mode

* Use Settings instead of env variable
2021-08-17 18:55:53 +02:00
..
.storybook Added react aliases in Storybook webpack configuration. (#12825) 2021-02-26 09:25:38 +00:00
actionsPanel [15 min fix] Fixed an issue with the moderation button not appearing on some posts (#14184) 2021-07-13 10:31:00 +02:00
admin Refactor Admin Member Detail view - Tools section (#14283) 2021-08-17 18:55:53 +02:00
analytics Accessibility enhancements to navigation tabs (#13559) 2021-05-07 15:24:34 +01:00
article-form Refactor problematic markup for upload image (#13947) (#14431) 2021-08-09 16:00:01 +01:00
articles Add author profile preview cards to feed (#14340) 2021-08-13 10:55:43 +07:00
chat fix nested interactive element (#14314) 2021-07-27 19:22:59 +02:00
CommentSubscription Optimise dropdowns for accessibility: Preact component usages (#13948) 2021-06-15 12:06:27 +01:00
common-prop-types Updates ESLint rules to error on default imports (#12512) 2021-02-02 10:24:03 -05:00
contentDisplayPolicy Don't show articles from blocked users in the feed (#13752) 2021-05-14 09:41:50 +02:00
crayons Create crayons mobile drawer components (#14495) 2021-08-16 08:41:26 +01:00
githubRepos Bump eslint-config-preact from 1.1.3 to 1.1.4 (#13516) 2021-04-27 18:54:43 +02: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 Optimise dropdowns for accessibility: Preact component usages (#13948) 2021-06-15 12:06:27 +01:00
modCenter Add separate section for article link to improve accessibility in the mod center (#14312) 2021-08-11 14:30:12 +07:00
onboarding Use new UserSetting and UserNotificationSettings and Ignore Related User Table Fields (#14121) 2021-07-08 09:31:34 -05:00
organization Bump eslint-config-preact from 1.1.3 to 1.1.4 (#13516) 2021-04-27 18:54:43 +02:00
packs Refactor Admin Member Detail view - Tools section (#14283) 2021-08-17 18:55:53 +02:00
podcasts Bump eslint-config-preact from 1.1.3 to 1.1.4 (#13516) 2021-04-27 18:54:43 +02:00
previewCards Add author profile preview cards to feed (#14340) 2021-08-13 10:55:43 +07:00
profileDropdown Don't show articles from blocked users in the feed (#13752) 2021-05-14 09:41:50 +02:00
profilePreviewCards Add author profile preview cards to feed (#14340) 2021-08-13 10:55:43 +07:00
readingList Fix reading list item count issue #14469 (#14471) 2021-08-12 16:14:27 +02:00
responseTemplates Edit buttons styles for Templates responses (Mod) (#14468) 2021-08-12 15:57:36 +01:00
runtimeBanner Remove useEffect from RuntimeBanner component (#14248) 2021-07-15 10:57:57 -06:00
Search Improve accessibility of top search bar (#14263) 2021-08-09 09:55:41 -04:00
searchableItemList Reading list: fix broken pagination (#14031) 2021-06-22 08:24:23 +02:00
shared/components Fix feed navigation shortcuts when first article is not 100% visible (#11874) 2021-04-13 22:35:50 -04:00
sidebar-widget Refactoring SidebarWidget and sidebarUser (#10887) 2021-02-03 17:47:54 +00:00
Snackbar Refactor Admin Member Detail view - Tools section (#14283) 2021-08-17 18:55:53 +02:00
topNavigation fix member dropdown does not remain open on mouseout when click (#14317) 2021-07-28 10:43:03 -04:00
utilities Make sure open preview cards don't collapse on scroll (#14482) 2021-08-12 13:29:51 +01:00
.eslintrc.js Add prefer object destructuring lint rule (#13183) 2021-05-04 12:10:32 +01:00
netlify.toml Try yarn instead over npm for storybook deploys (#12376) 2021-02-26 10:30:56 -05:00