refactor: reorganize examples by plugin and improve ui typing integration - #7
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
This PR continues the cleanup and usability work around examples and NiceGUI integration.
Included changes
nicegui_builder.plugins.pydantic.examplesnicegui_builder.plugins.pandas.examplesnicegui_builder.examplesnicegui-builder examples listoutput by example family / pluginui.datetime_input(...)exampleNiceGUI ui integration
nicegui.uiui.builder(...)ui.datetime_input(...)ui.form_builder(...)ui.table_builder(...)from nicegui import uitypings/nicegui/ui.pyistub from NiceGUI's ownuimoduleWhy
This makes examples easier to own and evolve with the plugins that actually provide the behavior.
It also keeps the CLI user experience simple while improving internal organization.
On the typing side, it preserves native NiceGUI signatures while still exposing
nicegui-builderadditions onui.Validation
266 passed.pytest_tmp/cacheNotes
The
nicegui.uiextension remains a package-owned convenience layer, not an upstream NiceGUI extension point.Editor completion for
from nicegui import uistill depends on the local partial stub setup used by this repository.