gamedaoco / gamedao-refinement

issues to be refined until ready for development
0 stars 0 forks source link

Slug URLs for Organisations #16

Open 5-mark opened 2 years ago

5-mark commented 2 years ago

User Story

As GameDAO user and organisation member I want to have easy to read URLs so I can understand what to expect when clicking a link.

URLs should be globally represented and resolved through a slug derived from the title of the organization:

Acceptance Criteria

  1. Organisation Slug: Flight of the P1nk Sn4ke becomes flight-of-the-p1nk-sn4ke and the root page would read like this: https://{haiku,app}.gamedao.co/org/flight-of-the-p1nk-sn4ke. The root page is also the Overview page which in turn is for a non member the promotional page of the DAO and for a member the Dashboard view.

  2. Pages below the Organisation would follow the URL scheme: 2.1 https://{haiku,app}.gamedao.co/org/flight-of-the-p1nk-sn4ke/dashboard 2.2 https://{haiku,app}.gamedao.co/org/flight-of-the-p1nk-sn4ke/settings 2.3 https://{haiku,app}.gamedao.co/org/flight-of-the-p1nk-sn4ke/campaigns 2.4 https://{haiku,app}.gamedao.co/org/flight-of-the-p1nk-sn4ke/proposals 2.5 https://{haiku,app}.gamedao.co/org/flight-of-the-p1nk-sn4ke/members 2.6 https://{haiku,app}.gamedao.co/org/flight-of-the-p1nk-sn4ke/treasury etc.

  3. In case of proposals and campaigns, there should be sluggified deeplinks, like this: 3.1 specific proposal: https://{haiku,app}.gamedao.co/org/flight-of-the-p1nk-sn4ke/proposals/i-want-new-shoes 3.2 specific campaign: https://{haiku,app}.gamedao.co/org/flight-of-the-p1nk-sn4ke/campaigns/our-great-campaign

  4. Account specific pages 4.1 https://{haiku,app}.gamedao.co/account/dashboard 4.2 https://{haiku,app}.gamedao.co/account/campaigns 4.3https://{haiku,app}.gamedao.co/account/organisations 4.4 https://{haiku,app}.gamedao.co/account/wallet 4.5 https://{haiku,app}.gamedao.co/account/settings etc.

Additional Information

-

How to test

  1. URLs follow above formats
  2. no duplicates appear
5-mark commented 2 years ago