Skip to content

V3.0.0#26

Merged
Fivell merged 13 commits intomasterfrom
v3.0.0
Apr 7, 2026
Merged

V3.0.0#26
Fivell merged 13 commits intomasterfrom
v3.0.0

Conversation

@Fivell
Copy link
Copy Markdown
Member

@Fivell Fivell commented Apr 7, 2026

No description provided.

Fivell added 13 commits March 30, 2026 18:07
- Require Ruby >= 3.1, Rails >= 7.1, ActiveAdmin >= 3.0
- Replace chromedriver-helper with Cuprite
- Replace Travis CI with GitHub Actions
- Add ransackable_attributes for Ransack 4+
- Fix Rails 7.1 config/environment.rb template
- Fall back to vanilla ActiveAdmin build_page_content when no sidebar
  options are set, producing identical HTML for unmodified resources
- Replace separate collapse/uncollapse buttons with a single toggle
  button positioned at the sidebar edge using absolute positioning
- Toggle button arrow icon flips direction on collapse/expand via
  icono-caret class swap
- Sidebar collapses to width:0 with CSS transitions instead of
  display:none, allowing smooth animation and proper content reflow
- Add per-resource sidebar state isolation via session keys
- Support collapsible: true and collapsed: true options for both
  left_sidebar! and right_sidebar! with backward compatibility
- Add deprecation warning for old collapsed-only API
…mation

- Rename `collapsed:` option to `start_collapsed:` for clarity
- Remove deprecated `collapsed: true` backward compatibility (v3 breaking change)
- Raise ArgumentError with migration instructions for old option
- Remove CSS transitions on sidebar collapse/expand
- Update all specs and test app resources
- Replace icono-caret icons with slim vertical pill button (12x48px)
- Chevron direction handled purely by CSS based on sidebar state
- Simplify JS by removing icon class management
- Remove active_admin_sidebar_pure_icons.scss (no longer needed)
- Add demo.gif showing collapsible sidebar in action
- Update README collapsible sidebar docs for v3 API
- Remove old screen/sidebar.jpg
- Host demo.gif on gh-pages branch to keep it out of the gem
- Update README image URL to GitHub Pages
Rails 8 with Sprockets requires app/assets/config/manifest.js.
Create it in the test app template before running generators.
- Add shields.io coverage badge using endpoint from GitHub Pages
- Deploy job now checks out gh-pages first so demo.gif is preserved
  alongside badge.json
- Bump gem and npm version to 3.0.0
- Update README: ActiveAdmin 3.x, fix headings, fix code examples
- Use block form for before_action examples
- Simplify NPM section, remove hardcoded version
- Fix typos and outdated references
The manifest.js must exist before any generate command boots Rails,
otherwise Rails 8 with Sprockets raises ManifestNeededError.
Replace per-controller session keys (collapsed_sidebar_authors, etc.)
with a single session[:aas_toggled] array tracking controllers that
have been toggled from their default state.
@Fivell Fivell merged commit 463f5e3 into master Apr 7, 2026
34 checks passed
@Fivell Fivell deleted the v3.0.0 branch April 7, 2026 17:12
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.

1 participant