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

Minor Collections rework #255

Open
Southclaws opened this issue Oct 22, 2024 · 1 comment
Open

Minor Collections rework #255

Southclaws opened this issue Oct 22, 2024 · 1 comment

Comments

@Southclaws
Copy link
Owner

The basics for collections are in, but a few changes need to land before stable release:

Backend

  • Collections should support the usual descriptions, rich-content and most importantly: hero/cover images.
  • Visibility needs to be added so Collections can be treated as:
    • published: listed on the /c collections list page
    • unlisted: only visible on profile
    • draft: private - naming here is a little weird though so I'm not sure if we're abusing the "Visibility" type or if it needs an extra value ("private") or "draft" should be renamed to "private" as it's more flexible? Needs some thought.
  • Collections should satisfy the Datagraph Item interface and be vector'd in the semdex - coordinates are an average of the contained items
  • Do collections need URL slugs? /c/favourite-posts could be nicer, but I think it should use a Mark, like threads as there's a much higher likelihood of collisions with user-supplied slugs. Should not be unique in DB I don't think.

Frontend

  • /c/ is already set up for a collections list page, needs to be built out.
    • Sorting: at first, non-algorithmic but in future, can borrow from the new feed algo, perhaps "recommended" sorting value
    • Filtering: maybe by tag or keyword search?
  • /c/{id} page needs rework and ?edit state
  • Layout options should be implemented too:
    • Card view
    • List view
    • Gallery view? for collections consisting of Pages with assets? Cover images? Not sure yet...
@Southclaws Southclaws moved this to Backlog in Storyden Oct 29, 2024
@Southclaws
Copy link
Owner Author

Mostly done, all left:

  • edit mode for cover/etc
  • datagraph
  • visibility

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Backlog
Development

No branches or pull requests

1 participant