Repository navigation
feat: group mobile settings by category #281
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
Open
tiensonqin
wants to merge
8
commits into
main
Choose a base branch
from
devin/1795679119-grouped-mobile-settings
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
8 commits
Select commit
Hold shift + click to select a range
0349077
feat: group mobile settings by category
tiensonqin b1c7847
fix: polish grouped settings navigation
tiensonqin 66b4214
fix: use model-owned Android sheet dismissal
tiensonqin 5c67516
fix: preserve Android sheet collapse on back
tiensonqin 8c50b82
docs: refresh changed dependency pins
tiensonqin 3510bec
docs: preserve locked branch dependency revisions
tiensonqin f36db5e
test: update iOS settings flows for categories
tiensonqin 536dfca
fix: keep Android sheet dismissal model-owned
tiensonqin File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -34,7 +34,7 @@ pin-depends: [ | |
| ["melange-transit-core.0.1.2" "git+https://github.com/logseq/melange-transit.git#main"] | ||
| ["melange-transit-native.0.1.2" "git+https://github.com/logseq/melange-transit.git#main"] | ||
| ["melange-transit-melange.0.1.2" "git+https://github.com/logseq/melange-transit.git#main"] | ||
| ["lui.0.1.0" "git+ssh://git@github.com/logseq/lui.git#c44bfe549470d68c578814e603f10ca34fa7384e"] | ||
| ["lui.0.1.0" "git+ssh://git@github.com/logseq/lui.git#6bc3849e03c2ecd61b355da79df3588b7389a234"] | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 🔍 Outside taps also navigate Settings Tapping outside an Android category triggers BackOrDismissSettings. Settings returns home and stays open, extending the behavior described for hardware Back. Was this helpful? React with 👍 or 👎 to provide feedback. |
||
| ["sdl3.0.0.1--alpha" "git+https://github.com/logseq/ocaml-sdl3.git#a9919c19bb4a0ba4857142f007ad93dd2563e799"] | ||
| ["drive.dev" "git+https://github.com/logseq/drive.git#dd735a65ed525d1c36db38ac8e8114aa81d314a1"] | ||
| ["ocaml-signal.0.1.0" "git+https://github.com/logseq/ocaml-signal.git#02e18cdc5e0ad672aa223f638eaa3ba52fc9421e"] | ||
|
|
||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
🟡 Unfinished drags discard Android settings edits
Dragging the Sync server sheet halfway toward dismissal fires
confirmValueChange(Hidden)before the finger lifts. BackOrDismissSettings discards the URL draft even if the user reverses the drag.Learn more
The Android Gradle module uses the Kotlin renderer from the vendored LUI source. In that renderer,
LuiModalSurfaceemits a model dismiss event fromconfirmValueChange(Hidden). Compose Foundation 1.12.1 calls that callback fromAnchoredDraggableState.updateIfNeededas a drag crosses the midpoint between anchors, without waiting for release. Returningfalsevetoes the native state change but does not undo the emitted event. settings_main_sheet routes that event to BackOrDismissSettings, which returns to Settings home and resets the draft.Example: Type a different server URL without applying it. Drag the sheet downward past the midpoint, then move it back up before lifting your finger. The Sync server screen has already received a dismissal and cleared the draft.
Recommended fix: Keep
confirmValueChangefree of side effects. Have the renderer emit one dismiss event from a completed dismissal gesture, not from an anchor check during dragging. Preserve the separate hardware Back handler and its medium-detent behavior. Add a regression test that reverses a drag after crossing the midpoint and checks that the URL draft remains editable.Was this helpful? React with 👍 or 👎 to provide feedback.