8000 Improve v3 docs regarding compatibility with vite_rails by mattbrictson · Pull Request #8549 · activeadmin/activeadmin · GitHub
[go: up one dir, main page]

Skip to content

Improve v3 docs regarding compatibility with vite_rails #8549

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

Merged

Conversation

mattbrictson
Copy link
Contributor

This PR applies #8548 to the default branch. See #8548 for details.

Active Admin v3 can be used with the vite_rails gem, but the
instructions for doing so are buried in a discussion comment.

Also, using a modern build system like Vite will often lead to
deprecation warnings due to the older color functions used in Active
Admin's SCSS assets.

To address these issues, I've made some small improvements to Active
Admin's docs. Namely:

- Add a vite_rails section to the installation document.
- Mention the SCSS deprecation warnings in the "gotchas" document, with
  a workaround that specifically works with Vite.

As discussed in
<activeadmin#8492>, it would
be great to solve the deprecation warnings rather than just hiding them,
but that will require some significant refactoring, which can be a
separate PR. In the meantime I wanted to improve the documentation to at
least point users in the right direction.
@mattbrictson mattbrictson force-pushed the better-vite-docs-default branch from 7ad2096 to 616207d Compare November 18, 2024 21:47
Copy link
codecov bot commented Nov 18, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 99.11%. Comparing base (b406f02) to head (616207d).
Report is 1 commits behind head on master.

Additional details and impacted files
@@           Coverage Diff           @@
##           master    #8549   +/-   ##
=======================================
  Coverage   99.11%   99.11%           
=======================================
  Files         141      141           
  Lines        4076     4076           
=======================================
  Hits         4040     4040           
  Misses         36       36           

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


🚨 Try these New Features:

Copy link
Member
@javierjulio javierjulio left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@javierjulio javierjulio merged commit ca6ddce into activeadmin:master Nov 20, 2024
20 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants
0