Skip to content

refactor(web): remove redundant add-project cancel button#1302

Open
UtkarshUsername wants to merge 1 commit intopingdotgg:mainfrom
UtkarshUsername:fix/remove-add-project-cancel-button
Open

refactor(web): remove redundant add-project cancel button#1302
UtkarshUsername wants to merge 1 commit intopingdotgg:mainfrom
UtkarshUsername:fix/remove-add-project-cancel-button

Conversation

@UtkarshUsername
Copy link
Contributor

@UtkarshUsername UtkarshUsername commented Mar 22, 2026

What Changed

Removed the extra inline Cancel button from the add-project form in the sidebar.

Why

There is already another cancel button. The add-project toggle button switches into the cancel action when the form is open.
The inline Cancel button duplicates behavior that is already exposed by this add-project toggle. (You can also press Esc to cancel btw)
Removing it simplifies the UI and reduces duplicate controls for the same action.

UI Changes

Before:
image

After:
image

Checklist

  • This PR is small and focused
  • I explained what changed and why
  • I included before/after screenshots for any UI changes

Note

Remove Cancel button from add-project UI in Sidebar

Removes the Cancel button from the add-project section in Sidebar.tsx. Risk: users can no longer exit add-project mode or clear addProjectError via this control.

Macroscope summarized dbaa4a2.

@coderabbitai
Copy link

coderabbitai bot commented Mar 22, 2026

Important

Review skipped

Auto reviews are disabled on this repository. Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: Repository UI

Review profile: CHILL

Plan: Pro

Run ID: 09f45bd5-75b3-4c24-a558-c51a2fc7fdd1

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

Tip

CodeRabbit can use oxc to improve the quality of JavaScript and TypeScript code reviews.

Add a configuration file to your project to customize how CodeRabbit runs oxc.

@github-actions github-actions bot added size:S 10-29 changed lines (additions + deletions). vouch:unvouched PR author is not yet trusted in the VOUCHED list. labels Mar 22, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

size:S 10-29 changed lines (additions + deletions). vouch:unvouched PR author is not yet trusted in the VOUCHED list.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants