Skip to content

feat: implement hotkey to cycle through common footway types#1198

Merged
Bonkles merged 2 commits intofacebook:mainfrom
RitaDee:crossing_presets
Nov 2, 2023
Merged

feat: implement hotkey to cycle through common footway types#1198
Bonkles merged 2 commits intofacebook:mainfrom
RitaDee:crossing_presets

Conversation

@RitaDee
Copy link
Copy Markdown
Contributor

@RitaDee RitaDee commented Nov 1, 2023

Description

This PR introduces a new feature (a hotkey) that enables users to easily cycle through crosswalk tags within the OSM editing context. The operation supports keyboard shortcuts, provides a tooltip with descriptive information, and includes annotation.

What type of PR is this? (check all applicable)

  • 🍕 Feature
  • 🐛 Bug Fix
  • 📝 Documentation Update
  • 🎨 Style
  • 🧑‍💻 Code Refactor
  • 🔥 Performance Improvements
  • ✅ Test
  • 🤖 Build
  • 🔁 CI
  • 📦 Chore (Release)
  • ⏩ Revert

Related Tickets & Documents

Fixes #1154

Mobile & Desktop Screenshots/Recordings

Before:

Screen.Recording.2023-11-01.at.23.23.57.mov

After:

Screen.Recording.2023-11-01.at.23.02.31.mov

Added tests?

image
  • 👍 yes
  • 🙅 no, because they aren't needed
  • 🙋 no, because I need help

Added to documentation?

  • 📜 README.md
  • 📓 docs
  • 📕 storybook
  • 🙅 no documentation needed

[optional] Are there any post-deployment tasks we need to perform?

[optional] What gif best describes this PR or how it makes you feel?

image

@Bonkles
Copy link
Copy Markdown
Contributor

Bonkles commented Nov 2, 2023

Hi @RitaDee - your PR template includes the fact that you added tests, but I don't see any new tests checked in to this PR.

@RitaDee
Copy link
Copy Markdown
Contributor Author

RitaDee commented Nov 2, 2023

Hi @RitaDee - your PR template includes the fact that you added tests, but I don't see any new tests checked in to this PR.

Apologies, I have fixed that.

@Bonkles
Copy link
Copy Markdown
Contributor

Bonkles commented Nov 2, 2023

No worries! Already the PR template is giving me some good vibes, as it gives me a pretty good instant read on the content that's included.

Also, great job on including a video showing the feature working- I would have requested one had no not made one. :)

@Bonkles Bonkles self-assigned this Nov 2, 2023
@Bonkles Bonkles self-requested a review November 2, 2023 20:03
@Bonkles Bonkles merged commit 5e8b2cd into facebook:main Nov 2, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Keyboard Shortcut idea: cycle through common footway types

3 participants