From e39ac32e4350626027e23724918cfddf36b154a8 Mon Sep 17 00:00:00 2001 From: Julien Calixte Date: Sun, 17 May 2026 14:15:22 +0200 Subject: [PATCH] feat(public-notes): place user pill in header instead of tabs row Moves the user identity element out of the tabs bar (where it was absolutely positioned over the tabs) into a proper header row next to the home button, and switches it from SignInAtproto to the shared UserPill so the same atproto-first identity shows everywhere. --- src/views/PublicNoteListView.vue | 30 ++++++++++++++---------------- 1 file changed, 14 insertions(+), 16 deletions(-) diff --git a/src/views/PublicNoteListView.vue b/src/views/PublicNoteListView.vue index 19e0498..4a6bb5e 100644 --- a/src/views/PublicNoteListView.vue +++ b/src/views/PublicNoteListView.vue @@ -3,8 +3,9 @@ import { computed } from "vue" import { useRoute, useRouter } from "vue-router" import HomeButton from "@/components/HomeButton.vue" +import ProfileModal from "@/components/ProfileModal.vue" import PublicNoteList from "@/components/PublicNoteList.vue" -import SignInAtproto from "@/components/SignInAtproto.vue" +import UserPill from "@/components/UserPill.vue" import { useATProtoLogin } from "@/hooks/useATProtoLogin.hook" import { useFollowingNoteList } from "@/hooks/useFollowingNoteList.hook" import { useFollows } from "@/hooks/useFollows.hook" @@ -29,13 +30,18 @@ const followingEnabled = computed(() => tab.value === "following") const all = usePublicNoteList() const following = useFollowingNoteList(follows, followingEnabled) + +const openProfile = () => { + ;(document.getElementById("profile_modal") as HTMLDialogElement)?.showModal() +} + +