NEAR-DevHub / neardevhub-bos

DevHub Portal Product UI (Hosted BOS) – Includes other instances (e.g. Infrastructure, Events)
https://neardevhub.org
MIT License
24 stars 23 forks source link

Clean URL in announcement share link button #908

Closed petersalomonsen closed 2 months ago

petersalomonsen commented 2 months ago

The current button for sharing announcements gives a link like this:

https://near.org/s/p?a=webassemblymusic.community.devhub.near&b=112244156

Which will point you directly to the post at near.org without the context of DevHUB or the community, as we can see from the screenshot

image

The preferred solution would be a cleaner URL, with the community in the path, and that the community page is shown and the post is scrolled into the view:

image

The URL should then be something like: https://devhub.near.page/community/webassemblymusic/announcements?accountId=webassemblymusic.community.devhub.near&blockHeight=112244156

petersalomonsen commented 2 months ago

See preview videos in https://github.com/NEAR-DevHub/neardevhub-bos/pull/907