Skip to content

Delete the V2 experiment, add a TreeStatusPage. #4761

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

Merged
merged 1 commit into from
Jun 4, 2025

Conversation

matanlurey
Copy link
Contributor

Creates the UI-facing bits of flutter/flutter#74529.

This is "hidden" behind the page URL not being part of the navigation.

I ended up EOL'ing the V2 experiment, it's too much work to adopt a new navigation model at the moment. Instead, I'm pulling out a reusable CocoonScaffold which allows new pages to be added without much work. Here's an example if you're too lazy to run this locally:

Screenshot 2025-06-03 at 5 25 53 PM Screenshot 2025-06-03 at 5 26 07 PM

@matanlurey matanlurey requested a review from jtmcdole June 4, 2025 00:26
Copy link
Member

@jtmcdole jtmcdole left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lol @ "John said I could"

Comment on lines +233 to +237
body: jsonEncode({
'repo': repo,
'status': status.name,
if (reason != null) 'reason': reason,
}),
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We don't want a shared JsonSerializable for this? TreeStatusChange has repo/status/reason.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Mental TODO, yeah this should just be using TreeStatusChange.toJson().


@JsonSerializable(checked: true)
@immutable
final class TreeStatusChange extends Model {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Same as the firebase TreeStatusChange?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah that's intentional - the frontend uses this as well.

@matanlurey matanlurey added the autosubmit Merge PR when tree becomes green via auto submit App. label Jun 4, 2025
@auto-submit auto-submit bot merged commit e6a9adf into flutter:main Jun 4, 2025
18 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
autosubmit Merge PR when tree becomes green via auto submit App.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants