-
Notifications
You must be signed in to change notification settings - Fork 142
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
Work out what to do with registering pages and model manager #111
Comments
Adding #109 for visibility |
Here's a short recap of the conversation I had with @antonymilne last week on the following topic: "Reorganising models Here is a list of tests and code changes I made:
I came up with two suggestions for the general purpose of solving the problem described above:
And here is @antonymilne's opinion on the topic (also summarised): """ The second question of where and when |
Notes from recent chat with @petar-qb: the important information we need is the relationship between a page and the components on it. Page is the key object in the hierarchy (e.g. tabs are not). We should definitely try to leave the model manager as read-only once the dashboard is running; this should be possible but means that models should probably not be registered to the model manager automatically. If we allow models to be instantiated during |
Adding #254 (review) for visibility. |
Rough notes for now... A few somewhat related problems:
page.build
call is required to generate slider callbacks - could be solved by moving callback definition topre_build
but then it's dash-dependentregister_page
call live? See Enable highlighting of active page button and refactoraccordion.build()
#74 (comment)dash.page_registry
or model manager as the source of truth? How do they relate?The text was updated successfully, but these errors were encountered: