{person.fullName}
++ + {person.fullName} + +
{person.memberOfCount > 0 && (Member of {person.memberOfCount} project{person.memberOfCount === 1 ? '' : 's'} @@ -29,6 +39,6 @@ export function PersonCard({ person }: PersonCardProps) {
diff --git a/apps/web/src/components/ActivityCard.tsx b/apps/web/src/components/ActivityCard.tsx index 409c45f..3d65587 100644 --- a/apps/web/src/components/ActivityCard.tsx +++ b/apps/web/src/components/ActivityCard.tsx @@ -33,9 +33,13 @@ function UpdateCard({ update }: { update: ProjectUpdateResponse }) { Update #{update.number} - + + {update.author && ( @@ -69,9 +73,9 @@ function BuzzCard({ buzz }: { buzz: ProjectBuzzResponse }) { {buzz.project.title} · Buzz · - + + @@ -89,6 +93,7 @@ function BuzzCard({ buzz }: { buzz: ProjectBuzzResponse }) {
{hostname}
diff --git a/apps/web/src/components/AppFooter.tsx b/apps/web/src/components/AppFooter.tsx index 620b03f..b381912 100644 --- a/apps/web/src/components/AppFooter.tsx +++ b/apps/web/src/components/AppFooter.tsx @@ -182,7 +182,7 @@ export function AppFooter() { Open source — view this site on GitHub + (opens in new tab) diff --git a/apps/web/src/components/AppHeader.tsx b/apps/web/src/components/AppHeader.tsx index c0d6516..8f8eac7 100644 --- a/apps/web/src/components/AppHeader.tsx +++ b/apps/web/src/components/AppHeader.tsx @@ -8,11 +8,19 @@ import { DropdownMenuSeparator, DropdownMenuTrigger, } from '@/components/ui/dropdown-menu'; -import { Sheet, SheetContent, SheetTrigger } from '@/components/ui/sheet'; +import { + Sheet, + SheetContent, + SheetHeader, + SheetTitle, + SheetTrigger, +} from '@/components/ui/sheet'; import { Separator } from '@/components/ui/separator'; import { SearchBox } from '@/components/SearchBox'; import { useAuth } from '@/hooks/useAuth'; +const GITHUB_URL = 'https://github.com/CodeForPhilly'; + function ChevronDownIcon() { return ( + ); +} + function AuthControls({ mobile = false }: { mobile?: boolean }) { const { person, loading, signOut } = useAuth(); @@ -60,7 +83,7 @@ function AuthControls({ mobile = false }: { mobile?: boolean }) { return ( ); } @@ -143,12 +166,8 @@ function AboutDropdown() { return ({description}
)}{previewError}
@@ -192,7 +240,9 @@ export function MarkdownEditor({Member of {person.memberOfCount} project{person.memberOfCount === 1 ? '' : 's'} @@ -29,6 +39,6 @@ export function PersonCard({ person }: PersonCardProps) {
Searching…
- )} - {!loading && results.length === 0 && ( -- No results for “{query}” -
- )} - - {grouped.map((group) => ( -Searching…
+ )} + {!loading && results.length === 0 && ( ++ No results for “{query}” +
+ )} +{description}
)} @@ -122,10 +195,20 @@ export function TagPicker({{fieldErrors['personSlug']}
++ {fieldErrors['personSlug']} +
)}{fieldErrors['title']}
++ {fieldErrors['title']} +
)}{fieldErrors['title']}
++ {fieldErrors['title']} +
)}{fieldErrors['mergeInto']}
++ {fieldErrors['mergeInto']} +
)}| Device | -IP | -Issued | -Status | +Device | +IP | +Issued | +Status |
|---|---|---|---|---|---|---|---|
| {parseUA(s.userAgent)} | {s.ipAddress} | -- {formatRelativeTime(s.issuedAt)} + | + |
{s.current ? (
@@ -279,6 +286,7 @@ export function Account() {
type="button"
size="sm"
variant="outline"
+ aria-label={`Revoke session on ${parseUA(s.userAgent)}`}
onClick={() => revokeSession(s.jti)}
>
Revoke
@@ -373,5 +381,6 @@ export function Account() {
+ >
);
}
diff --git a/apps/web/src/screens/BlogDetail.tsx b/apps/web/src/screens/BlogDetail.tsx
index 8fcbb1c..c052af9 100644
--- a/apps/web/src/screens/BlogDetail.tsx
+++ b/apps/web/src/screens/BlogDetail.tsx
@@ -57,7 +57,9 @@ export function BlogDetail() {
{showEdited && post.editedAt && (
<>
·
- Edited
+
>
)}
diff --git a/apps/web/src/screens/HelpWantedIndex.tsx b/apps/web/src/screens/HelpWantedIndex.tsx
index 0fd54ea..6755035 100644
--- a/apps/web/src/screens/HelpWantedIndex.tsx
+++ b/apps/web/src/screens/HelpWantedIndex.tsx
@@ -90,12 +90,14 @@ export function HelpWantedIndex() {
-
- Help Wanted
+ {/* The count is a sibling of the h1, not part of it: an accessible
+ name that mutates on every filter change is a moving target. */}
+ Help Wanted{totalItems} - + |