Skip to content

Messages in my zone #142

@vbuch

Description

@vbuch

Once I have #188 implemented and I can control my zones more easily I want to be able to see a history of all the messages in my zone.


Reuse existing notificationMatches collection where matching between zones and messages are already stored

UX

Some zones may have quite a lot of messages especially considering the full history of the zone. There already is a prototype that shows how these can be shown an accordion. The prototype is also available https://github.com/laboletory/Oboappuxuiredesignversion2

The accordion

  • We should show up to 3-5 items per zone in the accordion.
    • If there are more than 5 items, we show only 3 and link to "see all"
    • If there are <= 5 items, we show them all
  • They should be shown in a compact view. The existing card implementaion we have so far is too space-demanding - we need something mych more compact. See the prototype.

Show all

  • Showing all should happen in a dedicated screen (side panel).
  • The side panel has to have:
    • back navigation on top
    • the title of the zone
    • the radius
    • 12 most recent items
    • "load more" button when neeeded
  • The side panel needs to seamlessly integrate with the main map:
    • should show only the items from the panel
    • should be centered according to the zone
    • should be zoomed to fit the zone in the viewport
    • hovering and clicking the items should reuse the logic that we use in the home panel (hovering an item highlights it on the map, opening an item highlights it on the map, etc.)

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions