Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix trivial_flow test + other cleanups/improvements #90

Merged
merged 7 commits into from
Feb 1, 2025

Conversation

samcday
Copy link
Owner

@samcday samcday commented Feb 1, 2025

Closes #89

Signed-off-by: Sam Day <me@samcday.com>
Panics from spawn_future_local are caught by glib/glib-rs, so we need to
propagate the JoinHandle result properly.

Signed-off-by: Sam Day <me@samcday.com>
It was being emitted for the *destination path*, rather than the source.
Since it only looks at mtime, this meant the crate was being rebuilt
constantly.

The code was also simplified to use std::fs::copy.

Signed-off-by: Sam Day <me@samcday.com>
Since the Shell is a singleton, and the session list is static
information obtained once on startup, it fits better.

This also makes it easier to mock the sessions data during tests.

Signed-off-by: Sam Day <me@samcday.com>
Signed-off-by: Sam Day <me@samcday.com>
Signed-off-by: Sam Day <me@samcday.com>
Signed-off-by: Sam Day <me@samcday.com>
Copy link

github-actions bot commented Feb 1, 2025

The CI build recorded and generated some videos

Demo video (shown on README and release notes)

accent-colours

keypad-shuffle

simple-flow

trivial-flow

@samcday samcday merged commit 6725380 into main Feb 1, 2025
5 checks passed
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.

Fix trivial_flow test
1 participant