Wrap list chips, add list sharing and public/unlisted/private visibility
- Home page list chips wrap to new rows instead of scrolling off the edge - Lists are public, unlisted or private (migrated from the visible flag) - Unlisted lists are reachable only at /s/<token>; slug URLs are public-only - Share button on list pages and in the editor/dashboard; owners can reset an unlisted link Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
268af7b9ed
commit
87e3d1fb30
16 files changed
+292
-28
No files matched your search
@@ -87,7 +87,7 @@ func (s *Server) handleItemPreview(w http.ResponseWriter, r *http.Request) {
|
||||
http.NotFound(w, r)
|
||||
return
|
||||
}
|
||||
if !l.Visible {
|
||||
if l.Visibility == store.VisibilityPrivate {
|
||||
if _, ok := s.currentUser(r); !ok {
|
||||
http.NotFound(w, r)
|
||||
return
|
||||
|
||||
Reference in new issue
Block a user