Skip to content

enhancement: saved-place cards need click-to-locate on the map and a direct delete action #145

Description

@shauryagangrade

Problem

Cards in My Places (src/components/map/my-places-panel.tsx:138-164) are plain <div>s whose only affordance is Edit. The whole point of saving a place is finding it again, but there is:

  • no click-to-focus on the map (you must open the edit dialog and read coordinates)
  • no direct delete (deleting requires opening the editor)

Compare with public results (results-list.tsx), where rows focus the map on click.

Suggested fix

  • Make each card clickable to set focusId / fly the map to the pin
  • Add a small delete icon-button with confirm/undo (see the destructive-delete issue)
  • Keep Edit as a secondary action

Acceptance criteria

  • Clicking a saved place focuses it on the map
  • A saved place can be deleted without entering edit mode

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    designVisual and UX designenhancementNew feature or requesthelp wantedExtra attention is welcomeowner-anayOwned by Anay

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions