Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 5 additions & 4 deletions frontend/src/app/dashboard/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -835,18 +835,19 @@ Start writing your LaTeX document here...
</td>
<td>
<div className="dash-td-actions">
<button className="dash-icon-btn" aria-label="Copy">
<button className="dash-icon-btn" aria-label="Copy" title="Copy project">
<IconCopy size={15} />
</button>
<button className="dash-icon-btn" aria-label="Download">
<button className="dash-icon-btn" aria-label="Download" title="Download project">
<IconDownload size={15} />
</button>
<button className="dash-icon-btn" aria-label="Share">
<button className="dash-icon-btn" aria-label="Share" title="Share project">
<IconShare size={15} />
</button>
<button
className="dash-icon-btn"
aria-label="Delete"
title="Delete project"
onClick={(e) => handleDeleteOne(project.id, e)}
>
<IconTrashSmall size={15} />
Expand Down Expand Up @@ -996,4 +997,4 @@ Start writing your LaTeX document here...
)}
</div>
);
}
}
5 changes: 4 additions & 1 deletion frontend/src/components/ActivityBar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ export default function ActivityBar({
<button
onClick={onToggleSidebar}
className="w-8 h-8 rounded-md flex items-center justify-center text-text-secondary hover:bg-bg-secondary hover:text-text-primary transition-colors"
aria-label={sidebarOpen ? "Hide sidebar" : "Show sidebar"}
title={sidebarOpen ? "Hide sidebar" : "Show sidebar"}
>
<PanelLeft size={16} />
Expand All @@ -57,6 +58,7 @@ export default function ActivityBar({
? "bg-accent-bg text-accent font-medium shadow-sm"
: "text-text-secondary hover:bg-bg-secondary hover:text-text-primary"
}`}
aria-label={item.label}
title={item.label}
>
<Icon size={16} />
Expand All @@ -69,10 +71,11 @@ export default function ActivityBar({
<button
onClick={() => router.push("/settings")}
className="w-8 h-8 rounded-md flex items-center justify-center text-text-secondary hover:bg-bg-secondary hover:text-text-primary transition-colors cursor-pointer"
aria-label="Settings"
title="Settings"
>
<Settings size={16} />
</button>
</div>
);
}
}
3 changes: 2 additions & 1 deletion frontend/src/components/PaneHeader.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ export default function PaneHeader({
<button
onClick={onDownload}
className="w-5 h-5 rounded flex items-center justify-center text-text-secondary hover:bg-bg-primary hover:text-text-primary transition-colors cursor-pointer"
aria-label="Download PDF"
title="Download PDF"
>
<Download size={12} />
Expand All @@ -42,4 +43,4 @@ export default function PaneHeader({
</div>
</div>
);
}
}
2 changes: 2 additions & 0 deletions frontend/src/components/ShareModal.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,7 @@ export default function ShareModal({
<button
onClick={onClose}
className="w-6 h-6 rounded-md flex items-center justify-center text-text-secondary hover:bg-bg-secondary hover:text-text-primary transition-colors cursor-pointer"
aria-label="Close share dialog"
>
<X size={14} />
</button>
Expand Down Expand Up @@ -161,6 +162,7 @@ export default function ShareModal({
<button
onClick={handleCopy}
className="h-8 w-8 rounded-md border border-border-secondary flex items-center justify-center bg-bg-primary hover:bg-bg-secondary transition-colors cursor-pointer"
aria-label={copied ? "Invitation link copied" : "Copy invitation link"}
title="Copy to clipboard"
>
{copied ? (
Expand Down
2 changes: 2 additions & 0 deletions frontend/src/components/Sidebar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -270,6 +270,7 @@ export default function Sidebar({
<button
onClick={onFileCreate}
className="p-0.5 rounded hover:bg-bg-primary hover:text-text-primary transition-colors cursor-pointer"
aria-label="Create new file"
title="Create new file"
>
<Plus size={10} />
Expand Down Expand Up @@ -609,6 +610,7 @@ function SidebarAiPanel({
<button
onClick={() => handleSend(input)}
disabled={!input.trim() || isTyping}
aria-label="Send message"
className="p-1.5 rounded bg-accent hover:bg-accent-hover disabled:bg-bg-tertiary disabled:text-text-tertiary text-[#0e0f11] transition-all cursor-pointer flex items-center justify-center shrink-0"
>
<Send size={13} />
Expand Down
1 change: 1 addition & 0 deletions frontend/src/components/UserDropdown.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -120,6 +120,7 @@ export default function UserDropdown() {
type="button"
onClick={() => setIsOpen(!isOpen)}
className="w-7 h-7 rounded-full bg-zinc-200 dark:bg-zinc-800 flex items-center justify-center overflow-hidden text-[10px] font-bold text-zinc-600 dark:text-zinc-300 hover:ring-2 ring-zinc-300 dark:ring-zinc-700 transition-all focus:outline-none"
aria-label="Account menu"
title="Account"
>
{user.imageUrl ? (
Expand Down