able-bio / suggestion-box

A place to submit issues for bugs, feature requests and other ideas related to Able.
https://able.bio
4 stars 0 forks source link

Link based on the title of when it was first saved, not when first published #33

Closed Minenash closed 4 years ago

Minenash commented 4 years ago

Describe the bug When writting a post, the link is based on the title as it was when it was first saved, leading to a situation where the title no longer matches the link

To Reproduce Steps to reproduce the behavior:

  1. Write a post with a title.
  2. Save post
  3. Change title
  4. Publish
  5. Look at link

Expected behavior I expected either of the following:

drenther commented 4 years ago

Thanks for the detailed Issue Description. I think I agree with the points made and a lot of other content systems have a similar approach. We will look into what solution works for us in this case.

RhettTrickett commented 4 years ago

This has been fixed. The URL will now change if you update the post title. We actually look up the post based on the id at the end of the URL so this way it won't break previous links that have been shared.

Minenash commented 4 years ago

Awesome! Could it also be made so, you don't need text to work, so just able.bio/user/95378?

RhettTrickett commented 4 years ago

We could look at that but what is the point of it?

Minenash commented 4 years ago