Add basic examples demonstrating individual Prong features#112
Merged
thomasnemer merged 1 commit intomainfrom Nov 11, 2025
Merged
Add basic examples demonstrating individual Prong features#112thomasnemer merged 1 commit intomainfrom
thomasnemer merged 1 commit intomainfrom
Conversation
Create 8 minimal example applications in examples/basic/ to help developers learn specific concepts. Each example focuses on one clear concept with well-commented code, comprehensive README, and build configuration. Examples added: - 01_hello_button: Minimal button example (~105 lines) - 02_stack_layout: Vertical/horizontal stacking demo (~160 lines) - 03_flex_layout: Flexbox-inspired layout with grow factors (~187 lines) - 04_grid_layout: 2D grid layouts including calculator style (~169 lines) - 05_dock_layout: Application-shell docking demo (~253 lines) - 06_flow_layout: Automatic wrapping tag-cloud layout (~182 lines) - 07_text_input: Text input with clipboard/keyboard support (~189 lines) - 08_list_box: Scrollable list with dynamic items (~187 lines) All examples compile and run successfully with mise build-examples. Closes #15
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
Implements #15 by creating 8 minimal example applications in
examples/basic/to help developers learn specific Prong concepts. Each example focuses on one clear concept with well-commented code, comprehensive README, and build configuration.Examples Created
All examples are located in
examples/basic/:01_hello_button - Absolute minimal working example (~105 lines)
02_stack_layout - Vertical/horizontal stacking demo (~160 lines)
03_flex_layout - Flexbox-inspired layout (~187 lines)
04_grid_layout - 2D grid layouts (~169 lines)
05_dock_layout - Application-shell docking (~253 lines)
06_flow_layout - Automatic wrapping layout (~182 lines)
07_text_input - Text input with clipboard support (~189 lines)
08_list_box - Scrollable list with dynamic items (~187 lines)
Structure
Each example includes:
Testing
mise build-examplesAcceptance Criteria
Closes #15