bernardodiasc / x-world-map

http://x-world-map.com
0 stars 2 forks source link

Allow user to share a custom URL for an Event page #11

Open felipdcz opened 1 year ago

felipdcz commented 1 year ago

As a user, I want to have a unique URL for each event, so that I can share the page of the event directly, image

felipdcz commented 1 year ago

Sugestion example: https://x-world-map.com/event/custom-url It can be the the Event Title with spaces converted to hyphen, accents and special characteres converted to simple characteres (ç to c, Æ to ae, etc).

bernardodiasc commented 1 year ago

It can be the the Event Title with spaces converted to hyphen, accents and special characteres converted to simple characteres (ç to c, Æ to ae, etc).

Out of curiosity, the terminology used is "slug".

This might be useful https://market.strapi.io/plugins/strapi-plugin-slugify. Strapi doesn't have this feature out of the box, but given we use the latest version we can use plugins from the new strapi's plugin market.

felipdcz commented 1 year ago

There was a card for this task:

Add URL routing to: - Selected coordinates (profile or event) - Opened modal (profile, location, events, faq)