-
Notifications
You must be signed in to change notification settings - Fork 19
feat(#257): Add geopoint with maps and placement-map appearances #536
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
latin-panda
wants to merge
26
commits into
main
Choose a base branch
from
add-geopoint-with-map
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 1 commit
Commits
Show all changes
26 commits
Select commit
Hold shift + click to select a range
3ba9051
Initial input setup and loading saved feature
latin-panda 43df2b4
Adds watch to current location function
latin-panda 76b89de
Merge branch 'main' of https://github.com/getodk/web-forms into add-g…
latin-panda c5c479a
maps and placement-maps interactions
latin-panda 8052234
Nicer code
latin-panda a0cd16e
fixes changeset
latin-panda 3734ee0
rename function
latin-panda f1858ee
Extract code a new mapFeatures module
latin-panda 74f5bdf
adds debounce to watch location
latin-panda ba7efef
feedback and unit test
latin-panda 4991c04
fixes button style
latin-panda 5a52825
updates save button icon
latin-panda 50fa15e
improves test form for geopoint with maps
latin-panda 9ac956c
fixes styles in mobile
latin-panda 851a735
Adds toast message
latin-panda 4045789
shows overlay for location mode when there's an error
latin-panda 3feca4f
should not center on subsequent location captures - on watch location
latin-panda cc522c3
feedback labels for desktop and mobile
latin-panda 21f35f4
Fixes view center experience
latin-panda 639ab42
Fixes view center experience
latin-panda d41ead9
Update layer while animating
latin-panda fc0134b
test coverage
latin-panda 8b819f9
updates feature matrix
latin-panda f4b0cdc
updates visual test
latin-panda 3e9b267
Don't center if feature is in view and not displaying properties
latin-panda f85e723
Don't center if feature is in view and not displaying properties
latin-panda 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
Some comments aren't visible on the classic Files Changed page.
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
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.
I think it's worth finding more fluid solution, because once we implement translation you won't know how long the string is going to be, or which part of it should be chopped on mobile view. My preferred solution is to handle it by allowing the button to drop to the next line, or switching to an icon if we can find one that works. The other option is to have two translations (one for desktop and one for mobile) but that's putting more work on translators as they'll need to test both resolutions to make sure every language renders correctly.
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.
I agree, we've looked at these options before. The icons aren't descriptive enough and need labels, ideally in a single line. I included two translations (for desktop and mobile), which require a bit more effort from the translators, but it's a one-time task.