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

feat: map location frontend #1266

Merged
merged 82 commits into from
Oct 8, 2024
Merged

feat: map location frontend #1266

merged 82 commits into from
Oct 8, 2024

Conversation

WaDadidou
Copy link
Collaborator

@WaDadidou WaDadidou commented Sep 7, 2024

Take attention to:

Adding a location when creating a post

On the Feed, when making a post (music, picture, audio, article, normal), this small button allows to add a location

image

  • Empty: No location added
  • Filled: A location is added and can be removed or updated
    image image

The modal displayed when clicking on the button cited above.

Here, a location has been added at the post's creation.
When adding a location, the map will be centered to this location.
The other posts are shown.
image

Retreive a located post on the Map

Each post created with a location will appears with this button.
Clicking on it will redirect to the Map Feed and center the Map to the post's location
image

Consult a post from the Map

By clicking on the Map Post header, the user is redirected to the post's page using its ID.
image

Elements on the map

Heatmap

image

Clusters

image

Map Posts

The videos and audios can be directly played from the Map Feed. Only the medias are shown on the map for Video and MusicAudio posts.
Only the text is shown on the map for Articles and Normal posts. Also, the truncatedText behavior is applied.

PostCategory MusicAudio

image
image

PostCategory Video

image
image

PostCategory Picture

image
image

PostCategory Normal

image
image

PostCategory Article

image
image

Posts with unknown category (Normally impossible)

image

Copy link

netlify bot commented Sep 7, 2024

Deploy Preview for teritori-dapp ready!

Name Link
🔨 Latest commit 4136b10
🔍 Latest deploy log https://app.netlify.com/sites/teritori-dapp/deploys/67059aa66c6d580008947ffc
😎 Deploy Preview https://deploy-preview-1266--teritori-dapp.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

Copy link

netlify bot commented Sep 7, 2024

Deploy Preview for testitori ready!

Name Link
🔨 Latest commit 4136b10
🔍 Latest deploy log https://app.netlify.com/sites/testitori/deploys/67059aa6e2df9a0008fd0d94
😎 Deploy Preview https://deploy-preview-1266--testitori.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@WaDadidou WaDadidou force-pushed the feat-map-posts branch 2 times, most recently from b803fa8 to cfa0183 Compare September 11, 2024 16:28
MikaelVallenet
MikaelVallenet previously approved these changes Sep 25, 2024
hthieu1110
hthieu1110 previously approved these changes Sep 25, 2024
Copy link
Collaborator

@hthieu1110 hthieu1110 left a comment

Choose a reason for hiding this comment

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

LGTM

@WaDadidou WaDadidou dismissed stale reviews from hthieu1110 and MikaelVallenet via 2d4af42 September 26, 2024 18:07
@n0izn0iz n0izn0iz merged commit fdc5bf3 into main Oct 8, 2024
22 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.

6 participants