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

Short links #542

Open
12 tasks done
clbn opened this issue Sep 28, 2021 · 0 comments
Open
12 tasks done

Short links #542

clbn opened this issue Sep 28, 2021 · 0 comments

Comments

@clbn
Copy link
Contributor

clbn commented Sep 28, 2021

RFC

https://paper.dropbox.com/doc/FreeFeed--BS3EwdzJbYfLwRCH~ulcr~MuAQ-1CXK2nk6t4NXiKZAdy9b7

image

Checklist for the server

  • Add options for the short links to the config file
  • Add the table to the DB
  • Add code for generating short IDs when creating posts
  • Add shortId prop to Post objects in API responses
  • Update single-post API endpoint (GET /v2/posts/:postId) to accept post's short ID along with the long ID
  • Tests!
  • Update backlinks extraction
  • Write a script for backfilling short IDs (for old posts)

Next:

  • Search for backlinks should support short IDs (new endpoint?)

Checklist for the client

  • Task 1
  • Task 2
  • Task 3
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

No branches or pull requests

1 participant