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

Allow user to mark all topics as read #68

Merged
merged 9 commits into from
Mar 31, 2022
Merged

Allow user to mark all topics as read #68

merged 9 commits into from
Mar 31, 2022

Conversation

hartsick
Copy link
Owner

@hartsick hartsick commented Mar 30, 2022

  • Disables caching of index page, to prevent outdated view
  • Adds 'mark all read' button on index
  • Moves Tailwind to Rails gem, from Node package
  • Closes pinned posts by default

Closes #62
Also changes default of #67 , to be closed (doesn't handle state)

The tests were passing erroneously as a result. Instead, use explicit
signin and signouts in order in the test.
Turbo caching page meant that users often saw outdated read vs unread
thread styling on the main page (since we're not controlling this in
Javascript). For now, I'm disabling the caching, which will slow down
load times for users. In the longterm, I'd like to move toward updating
state before page cache using Turbo hooks.
@hartsick hartsick force-pushed the mark-all-read branch 2 times, most recently from 95e5041 to 76d8004 Compare March 30, 2022 20:10
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

Successfully merging this pull request may close these issues.

Allow poster to mark all threads as read
1 participant