-
-
Notifications
You must be signed in to change notification settings - Fork 3.3k
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
Active Admin - Add multiple index pages to a resource #1745
Active Admin - Add multiple index pages to a resource #1745
Conversation
@@ -0,0 +1,113 @@ | |||
# Arbre Components | |||
|
|||
Arbre allows the creation of shareable and extendable HTML components and is used throughout Active Admin to create view components. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you please update these to a better column length. We shouldn't have to wrap to view the docs.
@joshuacollins85 Could you rebase this against master? |
This seems like a great idea, love to see it integrated. |
@@ -49,7 +49,7 @@ def index(options = {}, &block) | |||
options[:as] ||= :table | |||
config.set_page_presenter :index, ActiveAdmin::PagePresenter.new(options, &block) | |||
end | |||
|
|||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I see whitespace :[
@joshuacollins85 are you still alive? This really needs to be rebased on master. |
Limit the TableCheckboxToggler to 'top level' tables.
…ive_admin into aa-index-view-change Conflicts: docs/12-arbre-components.md lib/active_admin/locales/en.yml
I squashed and merged this into master in 3d722c3. |
Multiple index pages can exist for a single resource so that a user can toggle between different views. The switching mechanism follows the design of scopes. Documentation has been updated.