Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Prep Tailwind CSS migration part 4 #8116

Merged
merged 18 commits into from Oct 21, 2023
Merged

Prep Tailwind CSS migration part 4 #8116

merged 18 commits into from Oct 21, 2023

Conversation

javierjulio
Copy link
Member

This includes more new styles but some are still inline and not migrated to a component class yet. The main focus was around the scopes button bars and flash messages. Include some minor styling updates to other components. Also enables Dark mode detection script for testing.

And pass through to link_to method call
We need this for easier testing
This logic now handles better if a button or anchor is being clicked vs the table row content e.g. text or empty space.

Setting the local type variable we set off this prefer-destructuring warning in ESLint but reviewing the docs it seems unsafe so we'll disable it. We can use it where we want but no need to enforce it everywhere.
The rounded borders around the index table can appear as being clipped off partially so this fixes that so it renders normally.
@javierjulio javierjulio self-assigned this Oct 21, 2023
@codecov
Copy link

codecov bot commented Oct 21, 2023

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (3999554) 99.04% compared to head (8aa25c8) 99.05%.

Additional details and impacted files
@@           Coverage Diff           @@
##           master    #8116   +/-   ##
=======================================
  Coverage   99.04%   99.05%           
=======================================
  Files         185      185           
  Lines        4733     4739    +6     
=======================================
+ Hits         4688     4694    +6     
  Misses         45       45           
Files Coverage Δ
...admin/batch_actions/views/batch_action_selector.rb 100.00% <100.00%> (ø)
lib/active_admin/resource/action_items.rb 100.00% <100.00%> (ø)
lib/active_admin/view_helpers/auto_link_helper.rb 100.00% <100.00%> (ø)
lib/active_admin/views/components/scopes.rb 100.00% <100.00%> (ø)
lib/active_admin/views/header.rb 100.00% <100.00%> (ø)
lib/active_admin/views/pages/base.rb 100.00% <100.00%> (ø)

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@javierjulio javierjulio merged commit c5d9e72 into master Oct 21, 2023
27 checks passed
@javierjulio javierjulio deleted the tailwind-part4 branch October 21, 2023 21:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant