Skip to content

Added What's New! banner #210

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 4 commits into from
Jan 24, 2019
Merged

Conversation

adamcarheden
Copy link

No description provided.

Copy link
Member

@MarkusBordihn MarkusBordihn left a comment

Choose a reason for hiding this comment

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

Please move all the "whats new" changes (inside the select_screen files) to separates files / folder like src/ui/select_screen/whats_new/.

@adamcarheden
Copy link
Author

adamcarheden commented Jan 23, 2019

Please move all the "whats new" changes (inside the select_screen files) to separates files / folder like src/ui/select_screen/whats_new/.

Marten and I decided to try just launching the changlog modal instead of the banner in the latest commit, so I didn't think a dedicated whats_new directory made sense anymore. There's less code and it's spread between the select screen and help. Let me know if you still think it makes sense to consolidate it into a directory somewhere.

@MarkusBordihn
Copy link
Member

It should be still separated as module and not be hacked into the select screen for several reasons.
The select screen is use to select the different modes, the whats new feature is not really fitting into this concept and should be ideal completely separated from the select screen.

Ideal it should be located under src/ui/whats_new_screen/ which will be showed once after the start as an overlay of the select screen, but not as part of it.

@adamcarheden
Copy link
Author

It should be still separated as module and not be hacked into the select screen for several reasons.
The select screen is use to select the different modes, the whats new feature is not really fitting into this concept and should be ideal completely separated from the select screen.

Ideal it should be located under src/ui/whats_new_screen/ which will be showed once after the start as an overlay of the select screen, but not as part of it.

Patch set 3 puts it in a separate directory. The select screen still needs to call it. Existing changelog code is part of src/ui/help, so I left that in place. That also calls a method to initialize the checkbox.

@MartenvanWezel
Copy link

MartenvanWezel commented Jan 23, 2019 via email

@MarkusBordihn
Copy link
Member

@adamcarheden
Thanks for the changes.

@MartenvanWezel
Sorry to be not clear about this, it should be separated from the code pov.

This means even if this is in a separate folder it could be shown together with the select screen.
But the main difference is, we don't need to check every-time the user open's the select screen for the "whats new" settings, possible changes, ... so this will be only checked once during the start of cwc.

Furthermore its planned to skip the select screen for the web version in the future, so that the user could directly open any project over an parameter.

@adamcarheden
Copy link
Author

adamcarheden commented Jan 24, 2019 via email

@MarkusBordihn MarkusBordihn merged commit 743813f into google:master Jan 24, 2019
@adamcarheden adamcarheden deleted the whats-new branch June 17, 2019 14:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants