You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Makes main the 2.x line again: page objects for vanilla ActiveAdmin 4 (activeadmin >= 4.0.0.beta1, < 5.0.0.a), version 2.0.0.alpha. The 1.x line for ActiveAdmin 3 stays on 1-x-stable, and 1.x releases keep shipping from there.
main took the 1-x-stable tree in 7531c9c. This branch merges main with the ours strategy, so the diff shows only 2.x against 1.x and the branch history stays intact. The theme and the date plugins pin 8ec1677 on this branch, so it is not rebased.
What 2.x adds over 1.0.0 is in CHANGELOG.md under 2.0.0.alpha. No tag or release comes with this PR.
ActiveAdmin 4 writes no data-column on the actions cell, so row.cell(:actions)
never matched. Flashes#flash_types lets a theme accept the types it renders.
Co-Authored-By: Clanker
Ports the 1.x comments, has_many and status tag sections to ActiveAdmin 4
markup and adds table sorting. A panel nested in another is now found by
its own title instead of matching the outer panel too.
Co-Authored-By: Clanker
main took the 1-x-stable tree in 7531c9c. This merge records that history and keeps the 2.x files, so main becomes 2.x again and 1.x stays on 1-x-stable.
Co-Authored-By: Clanker
60e84a9 and 8ec1677 both report 2.0.0.alpha, so a theme's check_version! cannot require the StatusTag section that only 8ec1677 has.
Co-Authored-By: Clanker
The reason will be displayed to describe this comment to others. Learn more.
🟡 Changes recommended
Unresolved defects break batch actions when the menu is already open, prevent selection-cell lookups in ActiveAdmin 4, and discard exact-text constraints when combined with text filters.
Moves main back to the 2.x line for vanilla ActiveAdmin 4, adapting the page-object API and test application to its markup and interactions. ActiveAdmin 3 remains on 1-x-stable.
Changes:
Updates selectors, navigation, tables, status tags, forms, and comments for ActiveAdmin 4.
Removes obsolete components and revises regression coverage.
Migrates the dummy app to Propshaft, importmap, and Tailwind, with corresponding dependency, CI, and documentation updates.
File
Description
spec/support/pages.rb
Updates page declarations and adds the order form.
spec/spec_helper.rb
Updates test-record cleanup for line items.
spec/dummy/tailwind-active_admin.config.js
Configures ActiveAdmin’s Tailwind plugin and content sources.
spec/dummy/package.json
Adds frontend dependencies and CSS build script.
spec/dummy/config/schema.rb
Adds line items and revises comment authors.
spec/dummy/config/importmap.rb
Adds the expected importmap configuration file.
spec/dummy/config/application.rb
Loads Propshaft and importmap instead of Sprockets.
The reason will be displayed to describe this comment to others. Learn more.
🔵 Needs a closer look
The dependency range includes ActiveAdmin 4.0.0.beta1, whose comments template lacks the ID required by the new selector, causing Comments section access to raise Capybara::ElementNotFound.
No open issues 🎉
1 previously missed issue
In code that hasn't changed since last review
Support the comments markup in ActiveAdmin 4 beta
active_admin_page_objects.gemspec:27
The dependency range admits ActiveAdmin 4.0.0.beta1, but its comments template has no active-admin-comments-form ID. The new comments selector requires that ID, so accessing a Comments section raises Capybara::ElementNotFound on an explicitly supported version. Please support the older markup or raise the minimum dependency and update the documented range.
The comments section needs the active-admin-comments-form id, which
ActiveAdmin added in beta20, and the suite runs on beta23 only.
Co-Authored-By: Clanker
Fixed in 06b7f8c: the gem now requires activeadmin >= 4.0.0.beta23. #active-admin-comments-form first appears in beta20, and beta23 is the version CI runs and the theme requires.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Makes
mainthe 2.x line again: page objects for vanilla ActiveAdmin 4 (activeadmin >= 4.0.0.beta1, < 5.0.0.a), version2.0.0.alpha. The 1.x line for ActiveAdmin 3 stays on1-x-stable, and 1.x releases keep shipping from there.maintook the1-x-stabletree in 7531c9c. This branch mergesmainwith theoursstrategy, so the diff shows only 2.x against 1.x and the branch history stays intact. The theme and the date plugins pin 8ec1677 on this branch, so it is not rebased.What 2.x adds over 1.0.0 is in
CHANGELOG.mdunder 2.0.0.alpha. No tag or release comes with this PR.