docbrown/app/javascript/admin/controllers
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
..
users/tools Upgrade Stimulus to 3.0 (#14869) 2021-10-05 20:00:37 +02:00
ahoy_controller.js Upgrade Stimulus to 3.0 (#14869) 2021-10-05 20:00:37 +02:00
alert_controller.js Upgrade Stimulus to 3.0 (#14869) 2021-10-05 20:00:37 +02:00
article_controller.js API V1 transition (#17835) 2022-06-23 14:26:00 -06:00
article_pinned_modal_controller.js Fix: cannot unpin articles using checkbox (#15090) 2021-11-02 13:50:56 -04:00
config_controller.js Resolve minor UI bug in Admin-Config (#18668) 2022-11-04 16:13:24 -04:00
confirmation_modal_controller.js Heavy Confirmation Flow for DisplayAd-Destroy (#14862) 2021-10-04 08:36:43 -04:00
consumer_app_controller.js Upgrade Stimulus to 3.0 (#14869) 2021-10-05 20:00:37 +02:00
data_update_script_controller.js Upgrade Stimulus to 3.0 (#14869) 2021-10-05 20:00:37 +02:00
image_upload_controller.js Remove bootstrap from admin/comments, admin/data-update-scripts, admin/response_templates and admin/tools and use Crayons (#18869) 2022-12-21 22:26:07 +05:30
landing_page_modal_controller.js [15 min fix] Refactor private landing pages model code (#13982) 2021-06-15 18:17:15 +02:00
logo_upload_controller.js Added the logo upload to the admin -> customization -> config -> images section. (#15729) 2021-12-15 14:10:27 -05:00
modal_controller.js Upgrade Stimulus to 3.0 (#14869) 2021-10-05 20:00:37 +02:00
notice_controller.js Removed nav related classes from feedback tabs (#18924) 2023-01-09 20:18:28 +05:30
reaction_controller.js Add more visibility to admins (part-2) (#19375) 2023-05-26 19:15:12 +05:30
sidebar_controller.js Upgrade Stimulus to 3.0 (#14869) 2021-10-05 20:00:37 +02:00
snackbar_controller.js Upgrade Stimulus to 3.0 (#14869) 2021-10-05 20:00:37 +02:00
svg_icon_upload_controller.js Upgrade Stimulus to 3.0 (#14869) 2021-10-05 20:00:37 +02:00
user_controller.js Upgrade Stimulus to 3.0 (#14869) 2021-10-05 20:00:37 +02:00