diff options
| author | Ben Sima <ben@bsima.me> | 2025-11-16 09:26:53 -0500 |
|---|---|---|
| committer | Ben Sima <ben@bsima.me> | 2025-11-16 09:26:53 -0500 |
| commit | 2e95d6eba0d6292ec263ebd8723b6b4fb2c36268 (patch) | |
| tree | 5bc5d01baccc822d92173d96bc23fea54c57deef /Biz/PodcastItLater/Episode.py | |
| parent | f3167698665482c8ee2ed9a02d84315f599031f0 (diff) | |
Improve privacy and UX for public feed controls
Privacy improvements: - Removed email address from episode page
signup banner - Changed 'This episode was created by <email>' to
'This episode was created using PodcastItLater' - Protects user
privacy while still showing the signup prompt
Admin UI improvements: - Removed floating Public/Private toggle
button (was confusing) - Added '+ Add to public feed' button at
bottom of episode cards - Button only visible to admin users - Shows
'Added to public feed' with checkmark when already public - Shows '+
Add to public feed' with plus icon when private - Clearer and more
actionable UX for managing public feed content
All tests passing (48 tests)
Diffstat (limited to 'Biz/PodcastItLater/Episode.py')
| -rw-r--r-- | Biz/PodcastItLater/Episode.py | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/Biz/PodcastItLater/Episode.py b/Biz/PodcastItLater/Episode.py index b7c302c..7090c70 100644 --- a/Biz/PodcastItLater/Episode.py +++ b/Biz/PodcastItLater/Episode.py @@ -156,8 +156,6 @@ class SignupBanner(Component[AnyChildren, SignupBannerAttrs]): @override def render(self) -> html.div: - creator_email = self.attrs["creator_email"] - return html.div( html.div( html.div( @@ -169,12 +167,9 @@ class SignupBanner(Component[AnyChildren, SignupBannerAttrs]): "me-2", ], ), - html.strong("This episode was created by "), - html.code( - creator_email, - classes=["text-dark"], + html.strong( + "This episode was created using PodcastItLater.", ), - html.strong(" using PodcastItLater."), classes=["mb-3"], ), html.div( |
