Closed jhanley634 closed 1 month ago
This pull request implements the BeeWare tutorial, adding a new "Hello World" application using the Toga framework. It also includes updates to the Makefile for building and managing the new application, as well as some minor changes to existing files.
sequenceDiagram
participant User
participant HelloWorld
participant MainWindow
participant Button
User->>HelloWorld: Start application
HelloWorld->>MainWindow: Create main window
HelloWorld->>Button: Create button with on_press
HelloWorld->>MainWindow: Show main window
User->>Button: Click "Say Hello!"
Button->>HelloWorld: Trigger say_hello
HelloWorld->>MainWindow: Show InfoDialog with greeting
Change | Details | Files |
---|---|---|
Implement BeeWare tutorial 'Hello World' application |
|
src/beeware-tutorial/helloworld/src/helloworld/app.py src/beeware-tutorial/helloworld/src/helloworld/__main__.py |
Update Makefile to support BeeWare application building |
|
Makefile |
Add tests for the new BeeWare application |
|
src/beeware-tutorial/helloworld/tests/helloworld_test.py src/beeware-tutorial/helloworld/tests/app_test.py |
Refactor existing code in headlines.py |
|
src/bboard/newsfeed/headlines.py tests/headlines_test.py |
Minor updates to existing files |
|
src/bboard/main.py Makefile |
Adds results of running the BeeWare tutorial.
Summary by Sourcery
Add a new 'Hello World' application based on the BeeWare tutorial, including build steps and initial tests. Refactor existing functions to be publicly accessible.
New Features:
Enhancements:
Build:
Tests: