feat: add entity-scoped application events
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
This commit is contained in:
parent
3364eacbcc
commit
e787359c54
40 changed files with 2143 additions and 1437 deletions
|
|
@ -8,6 +8,6 @@ export function errorMessage(error: unknown) {
|
|||
|
||||
export function message(error: unknown) {
|
||||
return error instanceof ApiError || error instanceof Error
|
||||
? error.message
|
||||
: 'Something went wrong'
|
||||
}
|
||||
? error.message
|
||||
: 'Something went wrong'
|
||||
}
|
||||
|
|
|
|||
|
|
@ -6,13 +6,13 @@ export function WorkspaceUtilities({ user }: { user: User | null }) {
|
|||
const profileLabel = user?.displayName || user?.email || 'Profile'
|
||||
return (
|
||||
<nav className="workspace-utilities" aria-label="Account navigation">
|
||||
<NavLink className="utility-link" to="/inbox">
|
||||
<NavLink className="utility-link" to="/invitations">
|
||||
<Mail size={18} aria-hidden="true" />
|
||||
<span>Inbox</span>
|
||||
<span>Invitations</span>
|
||||
</NavLink>
|
||||
<NavLink className="utility-link" to="/calendar">
|
||||
<NavLink className="utility-link" to="/schedule">
|
||||
<CalendarDays size={18} aria-hidden="true" />
|
||||
<span>Calendar</span>
|
||||
<span>Schedule</span>
|
||||
</NavLink>
|
||||
<NavLink className="utility-link profile-utility" to="/profile">
|
||||
<span className="avatar tiny" aria-hidden="true">
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue