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

Add more support for entry "Read Status" #1716

Merged
merged 29 commits into from
May 27, 2024
Merged

Conversation

zackkatz
Copy link
Member

@zackkatz zackkatz commented May 10, 2022

Add Read Status support #1180

💾 Build file (bec9580).

Add Read Status support
@omarkasem omarkasem self-assigned this Feb 8, 2023
@what-the-diff
Copy link

what-the-diff bot commented Mar 8, 2023

  • Added a new field type called "Read Status"
  • The read status is displayed as either Read or Unread based on the entry meta value of is_read (0 = unread, 1 = read)
  • When an admin views the single entry view for an entry that has not been marked as read yet, it will be automatically updated to mark it as being viewed by someone with gravityview_edit_entries capability. This prevents admins from having to manually update entries in order to see them reflected in their View's search results and filters when using this field type.

@omarkasem
Copy link
Collaborator

@zackkatz All done except this one
' Confirm Views are back-end pre-sortable by read status'
How can i test that? Is there a way to sort all views in the dashboard?

@zackkatz
Copy link
Member Author

zackkatz commented May 3, 2023

@omarkasem In the Filter & Sort View settings tab, there should be an option to sort by whether entries are read (by having an Is Read sorting option)

@omarkasem
Copy link
Collaborator

The option is there and it's working as expected

https://i.imgur.com/2oKeiW7.jpg

@zackkatz zackkatz requested review from mrcasual and removed request for omarkasem May 21, 2024 02:35
@zackkatz zackkatz changed the title [WIP] Add more support for entry "Read Status" Add more support for entry "Read Status" May 23, 2024
@zackkatz zackkatz added this to the 2.24 milestone May 23, 2024
@mrcasual mrcasual merged commit 2bb0abb into develop May 27, 2024
1 check passed
@mrcasual mrcasual deleted the feature/1180-is-read-status branch May 27, 2024 17:13
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.

None yet

3 participants