zorab47 / active_admin-subnav Goto Github PK
View Code? Open in Web Editor NEWEnhanced sub-navigation for nested ActiveAdmin resources
License: MIT License
Enhanced sub-navigation for nested ActiveAdmin resources
License: MIT License
Using Arbre, I get the following depreciation warning after upgrading to sprockets 3.6.3 and sprockets-rails 3.1.1:
DEPRECATION WARNING: Extra .css in SCSS file is unnecessary. Rename /var/lib/gems/2.1.0/gems/active_admin-subnav-0.0.1/app/assets/stylesheets/active_admin/subnav.css.scss to /var/lib/gems/2.1.0/gems/active_admin-subnav-0.0.1/app/assets/st
ylesheets/active_admin/subnav.scss
Seems like a simple rename should do the trick, but I wanted to bring it to your attention.
Hello @zorab47 , hope you're doing well and someday this gem will be merged to activeadmin.
I just wanted to notify you about next changes that can reflect to this gem.
about pages
pages are supports belongs_to, so there is no reason to skip pages from active_admin-subnav
take a look activeadmin/activeadmin#4759
about extra setup
# Provide access to the parent resource record: Site. # Without this extra setup the parent record will not be accessible. Any # calls to `#parent` will return the Arbre parent element and not the # ActiveAdmin resource.
can you explain why this needed ? and why it is not possible to use helpers.parent
in arbre
https://github.com/Fivell/activeadmin/blob/05877d45d464d1911ca7d53072c81516c7614281/features/registering_pages.feature#L181
Can you please explain why this needed, maybe we'll find more clean workaround for this
Thanks
Currently if you make 'Parent' in active_admin menu, it'll be a place holder (not linked to a page). I want to do the same with sub-menu, here's an example:
Main Menu (Place Holder)
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.