* feat: step 1 - add the buttons to the html template
* refactor: renamed the class to be prepended with js-
* feat: add the js-tag-card class to the entire tag-card div
* feat: add the relevant data elements and tag-id to the tag-card div
* feat: add the required data elements for the top level js-tag-card
* feat: use @tag instead of tag
* refactor: rename the tag pack file
* refactor: rename the Tag file component
* feat: add a snackzone so that the snackbar can be added there
* feat: remove the follow-actions-button and the hide-actions-button from the tag pages so that it doesn't conflict with the 'followButtons' pack whne we need to add it
* spec: update the specs for tags
* chore: follow-action-button renamed to follow-tag-button and hide-action-button to hide-tag-button
* refactor: js-classes
* chore: add some comments
---------
Co-authored-by: Ben Halpern <bendhalpern@gmail.com>
* Refactor API user suspend, make room for more roles
* Handle adding limited
* Handle remove limited
* And swagger docs
* Update & refactor roles spec
* Remove old route
* Remove old specs
* Settings can process markdown into html
* Update Settings with new onboarding settings
* Async render onboarding newsletter step
* Tweak onboarding design
* Fix broken spec
* Better rendered component test
* Tweaks to match design
* Try to tweak design
* Try having a default state
* Tweak placeholder content
* Better await componentDidMount
* Continue to tweak the design
* ContentRenderer#process should always return Result
* Try more clarity in the partial
* Rubocop
* Private forem signup issue fix
* Minor design fixes
* Added click on logo
* Reset password design
* UX fix
* Updated dynamic contact
* Padding fix and test fix
* Complete translations
* Skipped flay test 'should show Feature Post button on an unfeatured post'
* Support username inputs on /admin/articles
* Support username input on tag admin moderator
* Support username input on admin community settings
* Support username input on admin mascot settings
* feat: remove the validation for the article_id and tag_name to be unique on a tag_adjustment
* chore: remove unique index
* feat: update the validate_tag method to align with the removal of unique indexes on the table
* feat: do not allow removal and addition of tags that were added/removed by admins
* spec: add tests for the tag_adjustment_spec
* fix: update the validation of tags
* spec: article validation
* spec: test the action_panel helper
* chore: amend language
* add styles
* Empty commit
* Async append user suspended status pill
* Rubocop
* Relocate JS tests, for build & coverage
* Better error-handling for this controller
* Refactor HTML to render pill outside h1
* Continuing to tweak design
* JS class prepended
* Basics might be working?
* Stop propagating button clicks in autocomplete pills
* Better blank slate
* Better location to stop propagation
* Remove author_id from org co-authors
* Move UserStore and try testing it
* Remove extraneous comments
* OH... that's what that does!
* Very basic testing
* Re-organize javascripts
* Rename & re-org for testing
* Cleanup
* More tests
* Remove unnecessary nesting
* Coninuing to try to bump coverage
* Include /packs/ in code coverage metric
* Try tweaking jest coverage more?
We probably can't collect coverage from all of packs/* (because coverage is too low) but maybe we can try to opt-in for newer areas as we go?
* Relocate JS tests, for build & coverage
* User ID exception on search, not fetch
* Remove commented-out console.log
---------
Co-authored-by: Mac Siri <krairit.siri@gmail.com>
* comment out flaky specs and add commments for exploration/refactor context
* comment out only the specs which call reload for now
* use it.skip rather than commenting out
* add new org button in settings
* add support for mobile view
* remove varible for new org check
* fix design suggestions
* fix org settings test
* remove the settings for test since this text does not exists in user settings
* remove un-used copy
* Update class name
Co-authored-by: Ridhwana <Ridhwana.Khan16@gmail.com>
* Fix follow user spec
* fix the rspec test case
---------
Co-authored-by: Ridhwana <Ridhwana.Khan16@gmail.com>
* use instance setting for enabled target geolocations
* add validation for enabled geolocations setting
* a start on the UI?
* backend tweaks for UI
* proper crack at autocomplete component
* fix region targeting toggle
* e2e spec
* logic and markup to display tag adjustment history on article mod panel
* add tag adjustment reason to markup
* add specs for article's tag adjustment association and ordered tag adjustments
* style tag adjustment history
* sketch out cypress test for visible tag moderation history
* tweak spacing and sizing of adjustment history heading
* adjust cypress tests, tag adjustments still coming back empty in spec
* get past first cypress snag by waiting for request and reloading
* add spec for viewing multiple tag adjustments in a post history
* restore defer: true in actions panel js packs call
* add e2e tests for remaining mod views with tag adjustment UI
* getting started: model setup
* basic controller action & spec
* somewhat working click events
* pick up on impressions
* there was an attempt at batching without duplicates
* (better) bulk upsert service
* fix specs?
* touch up feed events JS
* end-to-end specs??
* workers wip
* fix failing user delete spec
* feat: add an error modal for the dashboard page tags
* spec: add the tests for the tags dashboard pages
* spec: add the tests for the hiding tags dashboard pages
* feat: add snackbars to /tags
* chore: update the props for the component"
* feat: update snackbar for following
* feat: add tests for snackbars
* feat: add error handling and show error on snackbar
* chore: tweaks to syntax
* refactor: abstract out the details
* fix: check for null explicitly
* refactor: use hidden instead of assigning a var
* feat: update the logic for hiding adn unhidng a tag on /tags
* feat: update the logic for hiding and unhidng a tag on /dashboard/following_tags|hidden_tags
* spec: update the tests for the /tags dashboard
* spec: removes the nav item count spec
* feat: update the buttons
* chore: update the buttons to use c-btn
* feat: update the following tag to be crayons-btn crayons-btn--outlined
* feat: update the gap between the buttons
* feat: style for moile
* Empty commit