Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Landing map #527

Open
wants to merge 6 commits into
base: main
Choose a base branch
from
Open

Landing map #527

wants to merge 6 commits into from

Conversation

jum-s
Copy link
Contributor

@jum-s jum-s commented Dec 18, 2024

This PR allows the landing page to have a map of current users and groups.

Users on the map have a sample of their public group displayed below the map. If no items can be displayed, a list of recent items is displayed (aka the display before this PR).

When clicking on markers, the full list of the public items is shown in a modal (which is preferred compared to navigating to the group or user profile, in order to not extract from the map context).

Additionally to a nominatim finder, one may "geolocate" on the map.

Solves #295

TODO post decentralisation: put landingPageMapPosition in config

if no users are on the map, display former recent public items

I would be fine to remove completly recent public items if this commit if to confusing for the user

The idea was to always display some items on the landing page, but is the search location does not return any user, it could be confusing to still display some books at the same location but that are not connected to the map bbox anymore
…nge it

3advantages to this decision: 1/ simplify the interface by not displaying inventory display switch 2/ do not display owner username on each item (which cascade does) 3/ give the user an overview of the two ways to display items
and DRY other occurences inside a dedicated UserInfobox
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.

1 participant