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

Proposal: add datetime attribute to threads #31

Closed
sansfontieres opened this issue Jan 24, 2022 · 4 comments
Closed

Proposal: add datetime attribute to threads #31

sansfontieres opened this issue Jan 24, 2022 · 4 comments

Comments

@sansfontieres
Copy link
Contributor

Currently, threads are ordered by their id. It would help to order the index by the datetime of the last post of a thread.

This is not something to encourage social media-like behaviors, but the simplest/lightest way to have a sneak peak of what one may have missed since their last visit. To limit the noise, I don’t think that we should show a snippet of the last post, but a simple indicator like last post: 20XX-XX-XX would be enough.

Currently, we only save the date to posts, maybe a full timestamp following RFC339 on the UTC timezone could help with collision too.

@cblgh
Copy link
Owner

cblgh commented Jan 24, 2022

Thanks for writing this up @sansfontieres :)

I've been meaning to add a little select element so that people could change from the default threads index sorting—by latest post being one such view ordering.

Going back to the indicator, are you thinking something like:
image

@sansfontieres
Copy link
Contributor Author

Going back to the indicator, are you thinking something like:

Showing something like this would be enough I think.
A full datetime timestamp (not necessarily shown on the frontend) could still be useful if we all feel talkative :)

@cblgh
Copy link
Owner

cblgh commented Jan 31, 2022

i think this is in the spirit of what you asked for @sansfontieres (and what i'd planned originally :)
image

live at 👉 https://forum.merveilles.town/?sort=posts

@sansfontieres
Copy link
Contributor Author

Oh that looks good 👍

@cblgh cblgh closed this as completed Jan 17, 2024
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

2 participants