Better invalid handle support (#296)
* Refactor auth to to keep sensitive session data private and to remove username from session
* Improve invalid handle rendering
When we attempt to render an invalid handle it should show as "handle.invalid" as per https://atproto.com/specs/handle#invalid-handles
In URLs we fallback to DID if the handle is invalid.
* Set username to empty string for all new rows
* Fix lints
* Display DID instead of "handle.invalid" in moderation UserHandle component (#298)
* Initial plan
* Show DID instead of handle.invalid in moderation user-handle component
Co-authored-by: tom-sherman <9257001+tom-sherman@users.noreply.github.com>
---------
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: tom-sherman <9257001+tom-sherman@users.noreply.github.com>
* Add missing handle fallback
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
* Remove unused else branch in ternary
https://github.com/frontpagefyi/frontpage/pull/296#discussion_r2604699893
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
---------
Co-authored-by: Copilot <198982749+Copilot@users.noreply.github.com>
Co-authored-by: tom-sherman <9257001+tom-sherman@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
authored by
tom.sherman.is