Skip to content

Add GUI resize support#9

Merged
crazymykl merged 6 commits intomainfrom
v0.6
Jan 30, 2025
Merged

Add GUI resize support#9
crazymykl merged 6 commits intomainfrom
v0.6

Conversation

@crazymykl
Copy link
Owner

@crazymykl crazymykl commented Jan 30, 2025

Also, refactor the GUI to be able to integration test the event loop. We use nextest and a custom harness using libtest-mimic to make sure these examples run on the main thread, and each example gets its own process.

This was a bit of a yak shave.

To integration test the GUI's event handling, we need a custom test harness that runs the examples on the main thread. We also need to use nextest for process isolation, since the eventloop is a singleton.
@crazymykl crazymykl changed the title V0.6 Add GUI resize support Jan 30, 2025
@codecov
Copy link

codecov bot commented Jan 30, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 100.00%. Comparing base (1955037) to head (7cf7cfb).
Report is 6 commits behind head on main.

✅ All tests successful. No failed tests found.

Additional details and impacted files
@@             Coverage Diff             @@
##             main        #9      +/-   ##
===========================================
+ Coverage   94.01%   100.00%   +5.98%     
===========================================
  Files           4         5       +1     
  Lines         451       673     +222     
  Branches      451       673     +222     
===========================================
+ Hits          424       673     +249     
+ Misses         22         0      -22     
+ Partials        5         0       -5     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@crazymykl crazymykl merged commit 6720a2a into main Jan 30, 2025
28 checks passed
@crazymykl crazymykl deleted the v0.6 branch January 30, 2025 03:02
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