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

Remove experimental/material_3_demo #2153

Merged

Conversation

johnpryan
Copy link
Contributor

@johnpryan johnpryan commented Jan 30, 2024

There are two versions of material_3_demo, this removes the one that lives in experimental/

cc: @QuncCccccc

@kevmoo
Copy link
Contributor

kevmoo commented Jan 30, 2024

Are there two so we can keep track of the prerelease features that haven't landed in stable yet?

@QuncCccccc
Copy link
Contributor

QuncCccccc commented Jan 30, 2024

Are there two so we can keep track of the prerelease features that haven't landed in stable yet?

Yes, I hosted the experimental one myself so I can test some master changes. Right now the experimental demo deployed the new ColorScheme change(flutter/flutter#138521); all components's colors are slightly different, compared with the M3 demo in the root:)

@QuncCccccc
Copy link
Contributor

Can we still keep this one but maybe we can provide a different name to distinguish? Sorry for the confusion🥲

@domesticmouse
Copy link
Contributor

The intent of the two versions was that the experimental version is allowed to compile on only master channel while the version in the main directory must compile on stable channel.

The reason they have the same name is to make it effortless to upgrade the stable version when the features on each new flutter stable release.

@johnpryan
Copy link
Contributor Author

The reason they have the same name is to make it effortless to upgrade the stable version when the features on each new flutter stable release.

Just a suggestion, but you could use the beta branch instead to avoid confusion.

@kevmoo
Copy link
Contributor

kevmoo commented Jan 31, 2024

A BRANCH makes a LOT more sense here.

Like we're projecting the need for this code into the wrong dimension

@parlough
Copy link
Member

parlough commented Jan 31, 2024

If we keep using and expanding this demo, it likely should be in its own repository anyway. Then maintaining a separate beta/main branch unique to it would be easier as well.

@johnpryan
Copy link
Contributor Author

I filed an issue with some more thoughts: #2154

@johnpryan johnpryan reopened this Jan 31, 2024
Copy link
Contributor

@QuncCccccc QuncCccccc left a comment

Choose a reason for hiding this comment

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

This makes sense. LGTM:) Sorry again if this caused any confusion.

@johnpryan
Copy link
Contributor Author

@QuncCccccc Not a problem at all! I'm glad we're on the same page.

@johnpryan johnpryan merged commit 6c10c75 into flutter:main Jan 31, 2024
19 of 27 checks passed
@bleroux
Copy link
Contributor

bleroux commented Feb 7, 2024

Just a suggestion, but you could use the beta branch instead to avoid confusion.

@johnpryan Is the flutter/samples beta branch supposed to compile on flutter/flutter master branch?
From its name one can assume it will compile on flutter/flutter beta branch.
Maybe a flutter/sample alpha branch is needed?
Wether it is 'beta' or 'alpha' (or something else) some changes on the CI side are probably needed.

@johnpryan
Copy link
Contributor Author

Is the flutter/samples beta branch supposed to compile on flutter/flutter master branch?

No, it's for the beta branch as you would expect.

Maybe a flutter/sample alpha branch is needed?

Possibly, but the the Flutter beta branch is updated regularly too.

some changes on the CI side are probably needed

Right now we run CI on all samples using the Flutter SDK's main, beta, and stable branches. What change to CI do you have in mind?

@bleroux
Copy link
Contributor

bleroux commented Feb 7, 2024

I don't have a good knowledge of flutter/samples (I filed one PR some months ago), so let me be more practical:

On Monday, I saw that the material_3_demo sample is broken when run on flutter/flutter master branch.
So based on https://github.com/flutter/samples/tree/main/experimental documentation, I started to investigate for a fix by updating the code in experimental/material_3_demo. Now that this directory is gone, I'm not sure if I should work inside the non-experimental material_3_demo directory because it is possible that my fix will only be valid on flutter/flutter master channel.

Right now we run CI on all samples using the Flutter SDK's main, beta, and stable branches. What change to CI do you have in mind?

A change that make it possible to run a samples PR only on flutter/flutter master branch.

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.

6 participants