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

Relation editor rework to allow for map panning/zooming to child feature #4391

Merged
merged 13 commits into from
Jul 7, 2023

Conversation

nirvn
Copy link
Member

@nirvn nirvn commented Jun 23, 2023

This PR implements panning/zooming to child feature UX within relation-related editor widget.

Relation editor widget

Showtime:

Screencast.from.2023-06-23.14-56-06.webm

Notice the super flashy opacity animation, which does a much better job at highlighting a feature than a static show/wait/hide

UI wise, changes include the addition of a button to open a child feature's form so we can take over the tap on child feature display text to pan/zoom the map canvas. It happens to actually be a nice move as it harmonizes the UI/UX with that of the search bar.

Relation reference widget

Showtime:

Screencast.from.2023-06-24.15-12-59.webm

@nirvn nirvn marked this pull request as draft June 23, 2023 04:57
@qfield-fairy
Copy link
Collaborator

qfield-fairy commented Jun 23, 2023

@nirvn nirvn force-pushed the relation_goto branch 3 times, most recently from f1ba257 to 92afd4b Compare June 24, 2023 06:45
@nirvn nirvn marked this pull request as ready for review June 24, 2023 08:10
@nirvn
Copy link
Member Author

nirvn commented Jun 24, 2023

FYI, this is ready for review.

Copy link
Collaborator

@suricactus suricactus left a comment

Choose a reason for hiding this comment

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

The screen recordings look amazing.
Had a careful look at the code, didn't see anything that raises any flag to me.
Unfortunately the .apk attached didn't manage to install on my phone though.

@nirvn
Copy link
Member Author

nirvn commented Jul 7, 2023

@suricactus , thanks brother, super keen to merge these PRs ASAP to test things out.

@nirvn nirvn merged commit 215a9f3 into master Jul 7, 2023
@nirvn nirvn deleted the relation_goto branch July 7, 2023 08:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants