repldex / Repldex

https://repldex.com
MIT License
21 stars 11 forks source link

Entry visibility #179

Closed mat-1 closed 2 years ago

mat-1 commented 2 years ago

Entries can now be in one of three "visibilities":

The entry list gained a new setting, filtering by visibility. This is only shown for logged-in users. Logged-in users can choose to list all unlisted entries through this. Admins can list all hidden entries through this.

Admins can change the visibility of any entry, and they can set the visibility of their own entries when they are initially creating one.

Screenshots

Entry list with the "visible" filter enabled. The entry list on the index page. There's a set of toggle buttons labeled 'Filter' at the right, with the buttons being named 'visible', 'unlisted', and 'hidden'. Only the visible button is enabled. Entry list with "visible" and "unlisted" enabled, showing an unlisted entry. The entry list on the index page. The 'visible' and 'unlisted' filters are enabled, showing an unlisted entry. This unlisted entry has a little badge that says "unlisted". Unlisted/hidden entries have a little badge thing to the right that says it's unlisted. Unlisted entry showing an "unlisted" badge to the right Admins can change the visibility of any entry through a dropdown. A dropdown labeled 'Visibility', with the choices being visible, unlisted, and hidden

selectdev commented 2 years ago

I have approved this review as the code looks good and runs well!