Comments (3)
Yeah, good catch. I'm all for using TreeDropdownField if I can hide the pages that have no children. Does the API support that? I'll take a look.
from silverstripe-dashboard.
Good fix for the short term. I'll merge it.
I'm playing around with TreeDropdownField and setFilterFunction() to keep the tree limited to only those nodes with children. The biggest issue is that there seems to be a problem with TDFs being instantiated when hidden. This could be related to the old bug we used to see with Chosen dropdown fields not laying out properly when on a hidden tab in the CMS edit form. Basically, the layout just blows up when you flip over the panel. If I remove:
.dashboard-panel .dashboard-panel-configure {
display: none;
}
It displays fine, so it appears to be an issue with the plugin.
from silverstripe-dashboard.
Integreated TreeDropdownField in 03d8d2f
from silverstripe-dashboard.
Related Issues (20)
- Quick links are not sorting HOT 4
- Wording on the Readme File HOT 1
- Composer deps need updating for 3.2 HOT 8
- Blog post link in ReadMe is broken. HOT 1
- Dashboard with versioneddataobjects issue HOT 1
- Model admin editor HOT 1
- Quick typo fix HOT 1
- GridField Editor does not save
- Testing Error: Table '*.DashboardPanel' doesn't exist
- Updating Configuration updates wrong chart
- i installed the dash board with SS 3.4 and it made the CMS inoperable.... 30 seconds timeout HOT 2
- when there is no panels available, the dash board does not work HOT 2
- can't read message Success! This dashboard configuration has been set as the default for all new members. HOT 1
- DashboardGridFieldPanel::getHierarchy() is very slow
- SS4 branch? HOT 2
- SS4 upgrade discussion HOT 8
- Drop the requirement for CMS? HOT 1
- Feature suggestion: automatically refresh panel content at a certain frequency
- Plans about the future of this module? HOT 7
- src/extensions/DashboardItemEditForm.php causes session errors
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from silverstripe-dashboard.