lorawan-stack icon indicating copy to clipboard operation
lorawan-stack copied to clipboard

Prevent accidental navigation when changing PFs

Open kschiffer opened this issue 1 year ago • 0 comments

Summary

This quickfix PR will prevent users from accidentally navigating away when changing payload formatters in the Console.

image

Changes

  • Refactor <Prompt />-component a bit
  • Add <Prompt /> to payload formatter form
  • Fix missing proptype in form component

Testing

Manual testing.

Notes for Reviewers

Was notified of this problem by @ysmilda

Checklist

  • [x] Scope: The referenced issue is addressed, there are no unrelated changes.
  • [x] Compatibility: The changes are backwards compatible with existing API, storage, configuration and CLI, according to the compatibility commitments in README.md for the chosen target branch.
  • [x] Documentation: Relevant documentation is added or updated.
  • [x] Changelog: Significant features, behavior changes, deprecations and fixes are added to CHANGELOG.md.
  • [x] Commits: Commit messages follow guidelines in CONTRIBUTING.md, there are no fixup commits left.

kschiffer avatar Aug 11 '22 10:08 kschiffer