-
Notifications
You must be signed in to change notification settings - Fork 908
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
Show on App Launch: Setting screen #4950
Show on App Launch: Setting screen #4950
Conversation
This stack of pull requests is managed by Graphite. Learn more about stacking. Join @mikescamell and the rest of your teammates on Graphite |
caac36c
to
8a52cd9
Compare
ae25d85
to
ee176b3
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM 👍
We’ve now updated the behaviour to always show the url entry box on the screen and the url will be selected when chosen for easier deletion Note: I’m aware that the word “URL” in the url EditText is wrong but this will be fixed in #4952 Screen_recording_20240902_154138.webm |
6e63612
to
e558e19
Compare
8a52cd9
to
164c074
Compare
e558e19
to
e4c4564
Compare
164c074
to
781ef4a
Compare
e4c4564
to
c752e32
Compare
781ef4a
to
46c9f4f
Compare
c752e32
to
70a1018
Compare
46c9f4f
to
9a079f6
Compare
70a1018
to
dbd89dc
Compare
9a079f6
to
bb0c0a8
Compare
dbd89dc
to
c5b72b5
Compare
bb0c0a8
to
fb3e506
Compare
c5b72b5
to
a89a4bc
Compare
fb3e506
to
17bae85
Compare
a89a4bc
to
f2ea3c2
Compare
We'll move RadioListItem out of the geoswitching module next as we're using this in multiple places
I added in the onOptionsItemSelected for the up button as I noticed that while we fade into the Activity, we do not fade when pressing back buy slide. This stops this does the fade animation.
I needed to add a setChecked function to the RadioListItem as it didn't exist and we need to be able to clear sections I opted to clear everything when a selection is made to make things easier
as we have a whole screen for this setting we've decided to make the specific page url always visible when the user selects specific page then we highlight all the text making it easier for them to delete it we'll fix the fact that the url does not populate in the branch feature/mike/show-on-app-launch/add-persistence as this is where changes around observing state were made
17bae85
to
03f047d
Compare
f2ea3c2
to
4db2c4b
Compare
Task/Issue URL: https://app.asana.com/0/1207908166761516/1208156273709085/f ### Description Adds persistence via datastore and observes the changes in the General settings screen and the ShowOnAppLaunch settings screen ### Steps to test this PR - [x] Open General settings - [x] Check current value of “Show on App Launch” secondary text - [x] Open “Show on App Launch” - [x] Change option - [x] Go back to General settings - [x] Check the updated secondary matches your option. In the case of “Specific Page” it will be the url **Note**: There’s no validation and storage of an updated “Specific Page” in this PR. That will be in a future PR. ### UI changes [persistence_demo.webm](https://github.com/user-attachments/assets/236ed58d-81af-4838-9749-b19af98b006c) --------- Co-authored-by: Marcos Holgado <marcosh@duckduckgo.com> Co-authored-by: Dax The Translator <daxmobile@duckduckgo.com>
811fdf5
into
feature/mike/show-on-app-launch/general-settings-entry-point
Task/Issue URL: https://app.asana.com/0/1207908166761516/1208156273709081/f
Description
Adds the UI for the Show on App Launch settings screen and allows switching options. Nothing is stored and no validation.
I moved RadioListItem to the
common-ui
module seeing as it’s now being used in multiple places.Designs
Steps to test this PR
UI changes
Screen_recording_20240828_162354.webm