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

Dev mode #833

Closed
monsieurtanuki opened this issue Jan 3, 2022 · 2 comments
Closed

Dev mode #833

monsieurtanuki opened this issue Jan 3, 2022 · 2 comments
Assignees
Labels

Comments

@monsieurtanuki
Copy link
Contributor

monsieurtanuki commented Jan 3, 2022

I guess we could create a "dev" mode on the app, a bit like on Android devices.
Something like "when you tap 7 times in a row on the user preferences logo, the dev mode is enabled".
When the dev mode is enabled, there are new features available, including resetting some parameters like "is init?" boolean, so that we can test again the onboarding.
Interesting?

cf. #826 #812 #782

@teolemon
Copy link
Member

teolemon commented Jan 3, 2022

That's something we agreed we needed with @gspencergoog and @jasmeet0817 , so yes :-)

monsieurtanuki added a commit to monsieurtanuki/smooth-app that referenced this issue Jan 3, 2022
New file:
* `user_preferences_dev_mode.dart`: Collapsed/expanded display of "dev mode" for the preferences page.

Impacted files:
* `forgot_password_page.dart`: added a system to trigger the dev mode (click 10 times on the action button)
* `user_preferences.dart`: added a getter/setter for dev mode
* `user_preferences_page.dart`: display the dev mode options - if activated
monsieurtanuki added a commit to monsieurtanuki/smooth-app that referenced this issue Jan 3, 2022
Impacted files:
* `attributes_card_helper.dart`
* `forgot_password_page.dart`
* `product_cards_helper.dart`
* `score_card_helper.dart`
* `smooth_reveal_animation.dart`
* `svg_icon_chip.dart`
monsieurtanuki added a commit to monsieurtanuki/smooth-app that referenced this issue Jan 4, 2022
Impacted files:
* `forgot_password_page.dart`
* `user_preferences.dart`
* `user_preferences_dev_mode.dart`
monsieurtanuki added a commit that referenced this issue Jan 4, 2022
New file:
* `user_preferences_dev_mode.dart`: Collapsed/expanded display of "dev mode" for the preferences page.

Impacted files:
* `attributes_card_helper.dart`: unrelated - removed useless cupertino.dart imports
* `forgot_password_page.dart`: added a system to trigger the dev mode (click 10 times on the action button)
* `product_cards_helper.dart`: unrelated - removed useless cupertino.dart imports
* `score_card_helper.dart`: unrelated - removed useless cupertino.dart imports
* `smooth_reveal_animation.dart`: unrelated - removed useless cupertino.dart imports
* `svg_icon_chip.dart`: unrelated - removed useless cupertino.dart imports
* `user_preferences.dart`: added a getter/setter for dev mode
* `user_preferences_page.dart`: display the dev mode options - if activated
@monsieurtanuki
Copy link
Contributor Author

Done in #834.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants