Add option to promote subteams to Teams directory (#432)#187
Add option to promote subteams to Teams directory (#432)#187peterdrier wants to merge 2 commits intomainfrom
Conversation
|
You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard. |
77ac2eb to
38a1656
Compare
|
The preview deployment for humans-qa failed. 🔴 Open Build Logs | Open Application Logs Last updated at: 2026-04-09 16:30:41 CET |
|
The preview deployment for humans-qa is ready. 🟢 Open Preview | Open Build Logs | Open Application Logs Last updated at: 2026-04-13 16:18:27 CET |
Release Review — Issues Found
I would not release this to production until that public-path mismatch is fixed. |
38a1656 to
01cc542
Compare
Subteams cannot have IsPublicPage (forced false in UpdateTeamAsync), so the anon filter that required IsPublicPage excluded promoted subteams entirely. Treat IsPromotedToDirectory as the subteam-equivalent opt-in, and let anon visitors reach a promoted subteam's detail page so the directory link works. Addresses review on PR #187. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
|
Fixed in c4650f0. Root cause: the anonymous directory filter required Fix:
Build + |
…e#432) - Add IsPromotedToDirectory property to Team entity (default false) - Add IsInDirectory computed property encapsulating visibility logic - Filter /Teams directory to show only top-level teams and promoted subteams - Add "Show on Teams page" checkbox in team edit (visible for subteams only) - Include EF migration for new column - Update feature docs and section invariants Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Subteams cannot have IsPublicPage (forced false in UpdateTeamAsync), so the anon filter that required IsPublicPage excluded promoted subteams entirely. Treat IsPromotedToDirectory as the subteam-equivalent opt-in, and let anon visitors reach a promoted subteam's detail page so the directory link works. Addresses review on PR #187. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
c4650f0 to
46cba8e
Compare
Summary
IsPromotedToDirectoryproperty to Team entity (defaultfalse)IsInDirectorycomputed property encapsulating visibility logic/Teamsdirectory to show only top-level teams and promoted subteamsCloses nobodies-collective#432
Test plan
/Teamsshows only top-level teams by default (subteams no longer clutter directory)/Teams/Teams/Teamsview also respects the flag🤖 Generated with Claude Code
Co-Authored-By: Claude Opus 4.6 (1M context) noreply@anthropic.com