mirror of
https://github.com/hoornet/vega.git
synced 2026-06-08 06:01:57 -07:00
Polish pass 13 — final sentence case sweep
- NoteActions: Share, Follow/Unfollow - SearchView: Search button, Notes/Articles/People result tabs - RelaysView: Check all, Add (suggested relays) - SettingsView: Add (mute keywords), Export data/Exporting…/Exported ✓ - InlineReplyBox: Reply/Replied ✓/Posting…
This commit is contained in:
@@ -233,7 +233,7 @@ export function InlineReplyBox({ event, name, rootEvent }: InlineReplyBoxProps)
|
||||
disabled={(!replyText.trim() && attachments.length === 0) || replying || uploading}
|
||||
className="px-2 py-0.5 text-[10px] bg-accent hover:bg-accent-hover text-accent-text transition-colors disabled:opacity-30 disabled:cursor-not-allowed"
|
||||
>
|
||||
{replySent ? "replied ✓" : replying ? "posting…" : "reply"}
|
||||
{replySent ? "Replied ✓" : replying ? "Posting…" : "Reply"}
|
||||
</button>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -264,7 +264,7 @@ export function LoggedOutStats({ event }: { event: NDKEvent }) {
|
||||
copied ? "text-accent" : "text-text-dim hover:text-text"
|
||||
}`}
|
||||
>
|
||||
{copied ? "copied ✓" : "share"}
|
||||
{copied ? "copied ✓" : "Share"}
|
||||
</button>
|
||||
</div>
|
||||
);
|
||||
|
||||
@@ -77,7 +77,7 @@ function UserRow({ user }: { user: ParsedUser }) {
|
||||
: "border-accent/60 text-accent hover:bg-accent hover:text-accent-text"
|
||||
}`}
|
||||
>
|
||||
{pending ? "…" : isFollowing ? "unfollow" : "follow"}
|
||||
{pending ? "…" : isFollowing ? "Unfollow" : "Follow"}
|
||||
</button>
|
||||
)}
|
||||
</div>
|
||||
@@ -288,7 +288,7 @@ export function SearchView() {
|
||||
disabled={!query.trim() || loading}
|
||||
className="text-[11px] px-3 py-1 border border-border text-text-muted hover:text-accent hover:border-accent/40 transition-colors disabled:opacity-30 disabled:cursor-not-allowed shrink-0"
|
||||
>
|
||||
{loading ? "…" : "search"}
|
||||
{loading ? "…" : "Search"}
|
||||
</button>
|
||||
</div>
|
||||
</header>
|
||||
@@ -308,7 +308,7 @@ export function SearchView() {
|
||||
: "border-transparent text-text-dim hover:text-text"
|
||||
}`}
|
||||
>
|
||||
{tab} {count > 0 ? `(${count})` : ""}
|
||||
{tab.charAt(0).toUpperCase() + tab.slice(1)} {count > 0 ? `(${count})` : ""}
|
||||
</button>
|
||||
);
|
||||
})}
|
||||
|
||||
@@ -257,7 +257,7 @@ export function RelaysView() {
|
||||
<span className="w-3 h-3 border border-accent border-t-transparent rounded-full animate-spin" />
|
||||
checking…
|
||||
</span>
|
||||
) : "check all"}
|
||||
) : "Check all"}
|
||||
</button>
|
||||
</div>
|
||||
</div>
|
||||
@@ -405,8 +405,8 @@ function SuggestedRelays() {
|
||||
onClick={() => handleAdd(s.url)}
|
||||
className="text-accent hover:text-accent-hover text-[10px] opacity-0 group-hover:opacity-100 transition-opacity shrink-0"
|
||||
>
|
||||
add
|
||||
</button>
|
||||
Add
|
||||
</button>
|
||||
</div>
|
||||
))}
|
||||
</div>
|
||||
|
||||
@@ -128,8 +128,8 @@ function MutedKeywordsSection() {
|
||||
onClick={handleAdd}
|
||||
className="px-3 py-1.5 text-[11px] border border-border text-text-muted hover:text-accent hover:border-accent/40 transition-colors shrink-0"
|
||||
>
|
||||
add
|
||||
</button>
|
||||
Add
|
||||
</button>
|
||||
</div>
|
||||
{error && <p className="text-danger text-[11px] mt-1">{error}</p>}
|
||||
</section>
|
||||
@@ -233,7 +233,7 @@ function ExportSection() {
|
||||
disabled={status === "saving"}
|
||||
className="px-3 py-1.5 text-[11px] border border-border text-text-muted hover:text-accent hover:border-accent/40 transition-colors disabled:opacity-40 disabled:cursor-not-allowed"
|
||||
>
|
||||
{status === "saving" ? "exporting…" : status === "done" ? "exported ✓" : "export data"}
|
||||
{status === "saving" ? "Exporting…" : status === "done" ? "Exported ✓" : "Export data"}
|
||||
</button>
|
||||
<span className="text-text-dim text-[10px]">
|
||||
{bookmarkedIds.length} notes · {bookmarkedArticleAddrs.length} articles · {follows.length} follows · {getStoredRelayUrls().length} relays
|
||||
|
||||
Reference in New Issue
Block a user