* Center sign in popovers in the browser window so they are always visible
* Set popover window feature by default using interfaced parameters
* Update snapshots to account for feature parameters on popup windows
* Lowercase the bar in menubar for Popup so it matches window api
* fix: externalized feature reconciliation
* add types for username updates
* add update username methods
* add types and resolvers for username history
* connect frontend to username history and change history mutation
* style update username box
* show username changes in user history drawer
* new users have 1 username entry
* add translations for username change
* allow new users to change username once
* add tests for change username ui
* send email to users after username change
* add types to tests
* treat status.username.history as mandatory
* remove hardcoded 14 day username update frequency
* use framework translation directives
* add account history action component
* clean up strings
* fix imports in change username container
* fix templates
* rename update username methods
* fix nunjucks formatting
* add warning if user missing email
* add fixme
* fix spacing
* Create preliminary UI for requesting a user's comment history
CORL-235
* Create preliminary download handler
CORL-235
* Create preliminary CSV exporter for downloading user's comments
CORL-235
* Create preliminary download comments flow with email and landing page
User can download their comments after requesting via an email.
Does not include limiters preventing users from spamming the download flow.
CORL-235
* Style the download comments landing page to match the spec
CORL-235
* Update the profile download comments to respect 14 day download limit
CORL-235
* Hook up request limiter on the comment download end points.
CORL-235
* Create sorry dialogue for when the download comments link is invalid/expired
CORL-235
* Create loading spinner for comment download landing page
CORL-235
* Create an optimistic updater for requesting a comment download
CORL-235
* Add localization for download comments landing page's sorry text
CORL-235
* Adjust downloaded comment format and contents
- Format the date to match tenant local
- Format dates to be using numeric values with date and time
- Add comment URL to exported CSV record
CORL-235
* Rename `createCSV` to `createExportedContent` in the download handler
CORL-235
* Make comment download callout full width and left justified
CORL-235
* Update stream snapshots to account for the download comments changes
CORL-235
* Update snapshots to correspond to download comments changes
CORL-235
* Add date filter to the comment download
Will filter by date of the issued token to only include comments before
that time.
CORL-235
* Clean up the layout of the list items in the download comments landing page
CORL-235
* fix: localization fixes
* fix: formatting
* fix: download file enhancements
* fix: addressed download request loophole
* Update snapshots to address button changes on download comments landing page
CORL-235
* Simplify download comment landing page components
CORL-235
* Remove max-width calc's on account main layout and set them in child views
Sets the max-width settings on the download route since it's custom
set on all the othere routes (email and password).
CORL-235
* Bump npm version in package.json
CORL-235
* show tooltip for user status details
* localize strings
* fix merge conflict
* fix date formatting in user details popover
* update snapshot
* fix rebase
* feat: add useResizeObserver hook
* fix: stream jumps when clicking on the last reply button when scrolled to the bottom
* chore: use resize observer in auth popup and simplify resize handling
* fix: snapshots and remove resize observer from stream
* fix: focus unmounted rte
* wire up suspension modal
* show user suspended callout on stream
* prevent comment actions for suspended users
* set default to 3 hour suspension
* add message field to suspension
* allow custom message for suspension
* show suspend success modal
* fix type errors
* remove unused code
* update styles
* fix fixture for streams
* add suspension ui tests
* fix types
* remove warnings?
* remove snapshot
* fix merge conflicts
* allow custom email message when banning users
* fix typo
* correct message type
* use final-form in suspend modal
* refactor suspend modal to use final-form
* refactor ban modal to use final-form
* refactor userStatusChangeContainer to use useCallback
* feat: improve translated form
* fix: addressed issue caused by i18n refactor
* update getMessage to accept arguments, remove format method
* translate suspend info
* change hour format
* make message a mandatory input for suspend and ban user
* fix types in user table
* Revert "fix types in user table"
This reverts commit d396e90b88bb1bd354c5cdbdd72b6d8f1ab72929.
* fix types for user table
* fix: small review tweaks
* Create unit tests around the user drawer
CORL-443
* Update comment fixture generation to include reason metadata, action counts
CORL-443
* Add a user status drop down to the user history drawer
CORL-227
* Refactor UserHistoryDrawer tabs and queries for consistency
CORL-234
* Create and empty account history tab in the user drawer
CORL-234
* Create preliminary account history tab queries
Massages the suspension and ban history together into a usable format.
Sorts the ban and suspension history by date, ascending.
Ready to process the history data into components to make up the future
table records.
CORL-234
* Style the user drawer account history records into table format
CORL-234
* Fix typo in admin localization around banned text
CORL-234
* Update suspension record to support templated insertion of timespan
CORL-234
* Create localized parsing of suspension times for account history
CORL-234
* Handle errors when loading the user drawer account history
CORL-234
* Adjust margins of tab content relative to the tab controls
CORL-234
* Extract suspension record time calculations out of component
CORL-234
* Handle when a user has no account history
CORL-234
* Adjust line height to prevent cutting off usernames in community table
CORL-234
* Override hover behaviour for user drawer account history rows
CORL-234
* Adjust default column widths in user drawer - account history
CORL-234
* Use react node type instead of any for component substitution
CORL-234
* Rename TabType to UserTabs
CORL-234
* Use nullable type instead of strict typing using OR's
CORL-234
* Set UserStatusChangeContainer fullWidth default to false
CORL-234
* Combine timed suspension localization into one Localized element
CORL-234
* fix: useMemo on history bar
* Rename UserHistoryDrawerAccountHistory to UserDrawerAccountHistory
Cleans up the agglutination's on these file names.
Probably means we should rename UserHistoryDrawer... to
UserDrawer... everywhere. Will get to that later.
CORL-234
* Reorder imports to match alphabetization preferences
CORL-234
* feat: simplication to action table
* feat: visual tweaks
* chore: added notes for deprecating
* Create unit tests around the user drawer
CORL-443
* Update comment fixture generation to include reason metadata, action counts
CORL-443
* Move testRenderer construction outside of act() operations
CORL-443
* Add a user status drop down to the user history drawer
CORL-227
* Update snapshots to handle status change dropdown full width styling
In other areas we want to override the full width: 100% styling of the
status change drop down. By default, we turn it on. This added a class
to the element that needs to be updated in the snapshots.
CORL-227
* Ignore the user history drawer tests for the time being
Getting an Invariant Violation: Unable to find node on an unmounted component.
when the UserStatusChangeContainer is present on the UserHistoryDrawerQuery.
CORL-227
* Align the user drawer status label and button text
CORL-227
* Update community tests to handle removal of dot icon from user status
CORL-227
* Move the user history drawer into shared location that all admin routes access
CORL-443
* Move the moderate card to the shared components for admin
CORL-443
* Add a user drawer to the community area of the admin section
CORL-443
* Touch up missing tabs in UserRow.css
CORL-443
* Create unit tests around the user drawer
CORL-443
* Move toxicity label to new shared component location to fix rebase
CORL-443
* Update comment fixture generation to include reason metadata, action counts
CORL-443
* Rename userDrawerID to userDrawerUserID
CORL-443
* Clean up imports on user drawer unit tests
CORL-443
* Add coral-test to the jest config paths
CORL-443
* Add todo around creating predictable date times for test fixtures
CORL-443
* Move testRenderer construction outside of act() operations
CORL-443
* feat: improved some password/email fields
- All secret fields are now "hidden" by default
- All email fields now have autocomplete/spellcheck disabled with
correct typings
* feat: add additional email validation