Rajat Talesra
bbb9fd2e1e
Add more visibility to admins (part-2) ( #19375 )
...
* Basic thumbsup, thumbsdown and vomit
* Refined UI of flags and vomits
* If check
* Optimised code and added a method in article.rb
* Removed public keyword
* Nit fixes
* Section for flags and quality details
* Basic vomit item
* Quality item UI
* Separated code into partials
* UI changes and empty state added
* With correct implementation
* Fixed showing reaction items in all cases
* Dropdown visible
* Enabled click listerners and call functions for dropdown-button clicks
* Empty state UI fixed
* Tabs and divider UI
* Mark as valid/invalid conditions
* Nit fixes
* Logical fixes
* Added comments
* Partial item status update fix
* Reload page feature fixed
* Removed snackbar
* I18n strings
* Bug fix
* I18n strings
* Nit fixes
* Added date
* Added view details button
* Added view details test
* Sample test
* Test fixes
* Added tests for new article
* Flagged item tests added
* Added more tests
* Nit fix
* Suggested design changes
* Nit design fixes
* Tests with cy.intercept
* Nit fixes
* Nit fixes
* Hero Billboard Placement (#19467 )
* init
* add option to swagger docs
* in_house validation
* filtered ad quesry changes
* styling and prioritizing home hero banner over campaign banner
* rubocop
* typo
* broken spec
* more spec fixes
* found the spec break culprit
* derp
* Update app/views/shared/_display_ad.html.erb
Co-authored-by: Ridhwana <Ridhwana.Khan16@gmail.com>
* Update app/controllers/stories_controller.rb
Co-authored-by: Ridhwana <Ridhwana.Khan16@gmail.com>
* remove immediate return
* styling feedback and moving banner to articles index
* remove nil
* updated styling
* add signed in bool
* add feature flag
* remove feature flag data scripts
---------
Co-authored-by: Ridhwana <Ridhwana.Khan16@gmail.com>
* Fix typo / erroneous word in Admin Section (#19488 )
* Typo fixes
* Update admin_menu.rb
* Minor background and shadow change (#19501 )
* Refresh audience segment for 'active' user (#19470 )
* Refresh an individual user's segmentation
* Refresh segment if creating a published article
* Quick refactor
* Refresh segment if update publishing
* Quick refactor
* Refresh segment if update user settings
* Refresh segments after user update + role change
* Using latest_article_updated_at
* Sidekiq uses JSON for arguments, needs basic types
* Fix test issues with last_updated_at and sidekiq params
* Tests update continues
* Consolidate dependencies
* Method names acknowledging manual exclusive
* Fix test name copypasta
* Rubocop
* Try to clarify Creator#series
* Try to avoid naming predicate
* Remove erroneously included helper
* Improve onboarding “suggested tags” page design (#19475 )
* Onboarding tags
* Logical design issue fixes
* Posts count added
* Checkbox design fixes
* Optimised css
* Nit fixes
* Test case added
* Reduced data
* Nit fix
* Added more tests
* Nit fix
* Tests updatedt
* Update @honeybadger-io/js to version 5.4.1 (#19479 )
Co-authored-by: depfu[bot] <23717796+depfu[bot]@users.noreply.github.com>
* Update sidekiq-cron to version 1.10.1 (#19473 )
Co-authored-by: depfu[bot] <23717796+depfu[bot]@users.noreply.github.com>
* Update nokogiri to version 1.15.0 (#19495 )
Co-authored-by: depfu[bot] <23717796+depfu[bot]@users.noreply.github.com>
* use tabindex instead of disabled to get proper keyboard nav on /onboarding tags (#19513 )
* Add billboard to safe param list in Fastly vcl (#19515 )
* Removed static article id from setup
* All tests passing
* Nit fixes
* Nit fixes
* Fixed tests with Joshua's help
* Added trusted user related tests
* Fixed few tests
* Added intercept and wait
* Removed tab and enter key
* Updated comment
* Updated tests
---------
Co-authored-by: Lawrence <lawrence@forem.com>
Co-authored-by: Ridhwana <Ridhwana.Khan16@gmail.com>
Co-authored-by: Peter Frank <peter.kim.frank@gmail.com>
Co-authored-by: Joshua Wehner <joshua@forem.com>
Co-authored-by: depfu[bot] <23717796+depfu[bot]@users.noreply.github.com>
Co-authored-by: Ben Halpern <bendhalpern@gmail.com>
2023-05-26 19:15:12 +05:30
Suzanne Aitchison
a168f0c85a
Change UI instances of "vomit" to "flag" ( #16397 )
...
* change UI instances of vomit to flag
* update spec
* verify tests against i18n string
2022-02-03 12:22:32 +00:00
rhymes
e5226b9951
Upgrade Stimulus to 3.0 ( #14869 )
...
* Upgrade Stimulus to 3.0
* Remove unused variable
* Bump postcss from 8.3.8 to 8.3.9 (#14956 )
Bumps [postcss](https://github.com/postcss/postcss ) from 8.3.8 to 8.3.9.
- [Release notes](https://github.com/postcss/postcss/releases )
- [Changelog](https://github.com/postcss/postcss/blob/main/CHANGELOG.md )
- [Commits](https://github.com/postcss/postcss/compare/8.3.8...8.3.9 )
---
updated-dependencies:
- dependency-name: postcss
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-10-05 20:00:37 +02:00
Nick Taylor
f222497913
Disabled 'no default exports' rule for Storybook files and Stimulus controllers ( #13032 )
2021-03-17 21:29:39 -04:00
Nick Taylor
4a67d66ec5
Stimulus controllers needed to be default exports. ( #12543 )
2021-02-02 13:35:28 -05:00
Katie Davis
76453b41fb
Updates ESLint rules to error on default imports ( #12512 )
...
* add rule
* add named imports
* more missed files
* so many files
2021-02-02 10:24:03 -05:00
rhymes
7eb7cef1b9
Upgrade Admin to Stimulus 2.0 ( #11776 )
...
* Upgrade Stimulus to 2.0
* Convert ArticleController to use Stimulus 2
* Convert ModalController to Stimulus 2
* Convert BufferController to Stimulus 2
* Convert ConfigController to use Stimuus 2
* Convert ImageUploadController to Stimulus 2
* Convert Reaction controller to Stimulus 2
2020-12-08 10:43:56 +01:00
Julianna Tetreault
09c3c25bf8
Add Options to "Invalidate" and "Mark as Valid" Vomit Reactions ( #9769 ) [deploy]
...
* Adds valid status to the feedback_message model and a spec to validate the status
* Adds an unresolve button to resolved vomits in _abuse_reports.html.erb
* Adds functions to update valid status in reaction_controller.js
* Use invalidate in place of unresolve for unconfirming vomit button
* Add option to reopen vomit reactions marked as invalid and invalidate resolved vomits
- Adds a Reopen button under the invalid tab
- Adds confirmedStatus JS to reaction_controller.js
- Adds conditional to _abuse_reports.html.erb
2020-08-18 11:48:23 -06:00
Josh Puetz
1c566e0ec4
[deploy] Move /internal to `/admin ( #9639 )
...
* First draft - all the big changes
* Changing some more references to 'internal'
* Relocate internal request tests to admin
* Relocate internal system tests to admin
* Fix trailing space
* Test fix
* Move queries from internal to admin
* Docs updates
* Rename internal stimuls controllers to admin (plus docs)
* Rename admin layout
* Fix routing after rebase
* Fixes for latest added admin interfaces
* Serviceworker ignore paths
2020-08-07 10:36:26 -04:00