Skip to content

feat: adding scenario navigation path#116

Draft
akaboshinit wants to merge 3 commits into
playbook-ui:mainfrom
akaboshinit:feat-catalog-adding-scenario-path
Draft

feat: adding scenario navigation path#116
akaboshinit wants to merge 3 commits into
playbook-ui:mainfrom
akaboshinit:feat-catalog-adding-scenario-path

Conversation

@akaboshinit

@akaboshinit akaboshinit commented Jan 9, 2025

Copy link
Copy Markdown
Contributor

Enhancements to PlaybookGallery:

  • Added new properties initialRoute, lightTheme, darkTheme, and themeMode to the PlaybookGallery class in packages/playbook_ui/lib/src/playbook_gallery.dart.
  • Updated the PlaybookGalleryState class to use the new properties and support named routes for scenarios. [1] [2] [3]

Modifications to ScenarioContainer:

  • Added navigationPath property to ScenarioContainer and updated the onTap method to use named routes instead of MaterialPageRoute. [1] [2]

Other Changes:

  • Removed unnecessary MaterialApp wrapper in examples/generator_app/lib/main_catalog.dart and examples/simple_app/lib/main_catalog.dart, and moved theme settings to PlaybookGallery. [1] [2] [3]

@akaboshinit

Copy link
Copy Markdown
Contributor Author

TODO: fix Docs

@akaboshinit akaboshinit marked this pull request as draft March 8, 2026 07:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant