authorgravatar for 73941998+UtkarshUsername@users.noreply.github.comUtkarsh Patil <73941998+UtkarshUsername@users.noreply.github.com> 2026-03-21 00:01:24+05:30
committergravatar for noreply@github.comGitHub <noreply@github.com> 2026-03-20 18:31:24+00:00
log34cef6202b6c2eb0594df0eca412b36daf819ba2
tree828144c6e0f9ca8dd686351c1984c4ebce9d2e7f
parent25c70032266aea4ad416251dfe46ad12142e136a
signature Signed by PGP key B5690EEEBB952194

fix(web): update add-project toggle label in cancel state (#1248)


1 files changed, 4 insertions(+), 2 deletions(-)

apps/web/src/components/Sidebar.tsx+4-2
......@@ -1237,7 +1237,7 @@ export default function Sidebar() {
12371237 render={
12381238 <button
12391239 type="button"
1240 aria-label="Add project"
1240 aria-label={shouldShowProjectPathEntry ? "Cancel add project" : "Add project"}
12411241 aria-pressed={shouldShowProjectPathEntry}
12421242 className="inline-flex size-5 cursor-pointer items-center justify-center rounded-md text-muted-foreground/60 transition-colors hover:bg-accent hover:text-foreground"
12431243 onClick={handleStartAddProject}
......@@ -1250,7 +1250,9 @@ export default function Sidebar() {
12501250 }`}
12511251 />
12521252 </TooltipTrigger>
1253 <TooltipPopup side="right">Add project</TooltipPopup>
1253 <TooltipPopup side="right">
1254 {shouldShowProjectPathEntry ? "Cancel add project" : "Add project"}
1255 </TooltipPopup>
12541256 </Tooltip>
12551257 </div>
12561258