Skip to content

Fix direction notation edit detection - #187

Merged
stopflock merged 1 commit into
FoggedLens:mainfrom
anthony-at-pieces:fix/issue-157-direction-notation
Aug 25, 2026
Merged

Fix direction notation edit detection#187
stopflock merged 1 commit into
FoggedLens:mainfrom
anthony-at-pieces:fix/issue-157-direction-notation

Conversation

@anthony-at-pieces

Copy link
Copy Markdown
Contributor

Summary

  • compare edited direction tags using the exact notation queued for OSM upload
  • share direction serialization between dirty detection and upload queue creation
  • preserve unchanged single-direction and FOV-range edits while detecting range-to-single notation changes

Test plan

  • flutter test test/services/edit_node_change_detector_test.dart
  • flutter analyze --no-fatal-infos
  • flutter test

Closes #157

@stopflock

Copy link
Copy Markdown
Collaborator

Yo thank you. This has been on my mind. Seems to work.
Will give the code a proper runthrough tomorrow :)

@stopflock stopflock left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

LGTM and passed all the tests I can think to do. Merging.

@stopflock
stopflock merged commit 2c64fe6 into FoggedLens:main Aug 25, 2026
4 checks passed
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.

Direction notation alteration should count as a change

2 participants