Skip to content
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

Exploration into custom presentation via Layout #33

Closed
wants to merge 2 commits into from

Conversation

mjarvis
Copy link
Owner

@mjarvis mjarvis commented Feb 24, 2022

Relates to #32

Using the layout system for presentation has exposed a large issue with the layout system design, and perhaps with the underlying exhibit Context -> Debug menu relationship.

The layout closure allows for insertion of additional views before conditionally displaying the exhibit.

This bypasses the path that fills the parameter list, causing the context to not appear in the debug menu until the popover has been displayed once.

Resolving this could involve refactoring the Context passing mechanism, or adjusting the layout system to work with the current mechanism. Further exploration is needed.

Using the `layout` system for presentation has exposed a large issue with the layout system design, and perhaps with the underlying exhibit Context -> Debug menu relationship.

The layout closure allows for insertion of additional views before conditionally displaying the exhibit.

This breaks the preference relationship that passes the Context to the debug menu.

Resolving this could involve refactoring the Context passing mechanism, or adjusting the layout system to work with the current mechanism. Further exploration is needed.
@mjarvis mjarvis added enhancement New feature or request invalid This doesn't seem right labels Feb 24, 2022
@mjarvis mjarvis added this to the 1.0 milestone Feb 24, 2022
Execute the exhibit builder immediately to build the parameter list.

Ensures that the debug view shows up correctly when the exhibit's display is deferred, such as being put in a popover.
@mjarvis
Copy link
Owner Author

mjarvis commented Mar 7, 2022

Resolved by previous changes to context creation + layout providing.
Documented in #52

@mjarvis mjarvis closed this Mar 7, 2022
@mjarvis mjarvis deleted the mjarvis/presentation branch March 7, 2022 20:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request invalid This doesn't seem right
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant