Skip to content

I forked BartRunner to add Transfer View filter and modify Hour+ time presentation - #2

Closed
rbuckbailey wants to merge 8 commits into
igorizyumin:mainfrom
rbuckbailey:main-bb
Closed

rbuckbailey wants to merge 8 commits into
igorizyumin:mainfrom
rbuckbailey:main-bb

Conversation

@rbuckbailey

Copy link
Copy Markdown

No description provided.

…nings

- Add "Show Transfers" toggle button (opposing arrows icon) to Upcoming Trains top bar
- Implement TransferPreferences to remember transfer view state per route across sessions
- Add "Default transfer view" preference toggle to Settings dialog
- Filter transfer departures in DeparturesViewModel when transfer view is toggled off
- Fix operator line-break calculation in top app bar title measurement
- Modernize Line.values() to Line.entries and use KTX toUri() extensions
- Clean up unused imports, unused parameters, deprecated icons, and expression warnings
@rbuckbailey

Copy link
Copy Markdown
Author

I was going to start this project today and discovered igorizyumin did much of the heavy lifting! Thank you! I tinkered a little this morning to add a "transfer" filter and HMS time view to the Upcoming Trains view

@rbuckbailey rbuckbailey changed the title Fork of BartRunner to add Transfer View delay I forked BartRunner to add Transfer View delay Sep 13, 2026
@rbuckbailey rbuckbailey changed the title I forked BartRunner to add Transfer View delay I forked BartRunner to add Transfer View filter and modify Hour+ time presentation Sep 13, 2026
@igorizyumin

Copy link
Copy Markdown
Owner

Sorry I've been doing a ton of development work on the thing over the last few days, so it's going to be hard to merge. Can you please explain the improvements you made in more detail? The HMS display I understand, but can you clarify the use case for the transfer filtering? There were a bunch of bugs involving transfers that have (hopefully) been fixed, so I am wondering if this is actually necessary.

@igorizyumin

Copy link
Copy Markdown
Owner

Latest commit changes all the countdowns to be [h:]mm:ss.

@rbuckbailey

rbuckbailey commented Sep 14, 2026 via email

Copy link
Copy Markdown
Author

- Fix VerifyError startup crash in PlayerScreenKt by grouping composable parameters into PlayerScannerStatus and PlayerNavigationCallbacks data classes, reducing parameter count from 33 to 17.
- Optimize MondrianMaskedLayout to eliminate offscreen double-rendering passes and GPU saveLayer target switching.
- Prevent top-level PlayerScreen recompositions on playback ticks by using stable position/volume provider lambdas.
- Expand BackgroundTaskGate interaction detection and pause duration to yield CPU cycles during gesture drags, animations, and sheet interactions.
- Convert AlbumArtCache LruCache to track actual byte sizes with a memory-bounded limit to prevent GC thrashing.
- Simplify gesture detection conditions in TravelingTunesGestureDetector.
@rbuckbailey

rbuckbailey commented Sep 22, 2026 via email

Copy link
Copy Markdown
Author

@rbuckbailey

rbuckbailey commented Sep 22, 2026 via email

Copy link
Copy Markdown
Author

@igorizyumin

Copy link
Copy Markdown
Owner

No problem at all, sorry there's been so much churn in the codebase. I ended up completely replacing large parts of the backend in an effort to clean up AI-generated messes and get rid of buggy designs. I think it's finally at the point where things are generally working OK, at least I have been finding fewer bugs. If you want to try to rebase your code on the latest version, now should be a good time.

For bigger changes like adding auto support, maybe it'd be good to open an issue first and discuss the best way to coordinate that. I unfortunately do not have a car to test on, so it's a little hard to test the code, but it's certainly something that could live in a branch. At this point my main focus is just getting the app into the app store and getting the core functionality to be rock-solid.

@rbuckbailey

rbuckbailey commented Sep 22, 2026 via email

Copy link
Copy Markdown
Author

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.

2 participants