refactor(web): remove redundant add-project cancel button#1302
refactor(web): remove redundant add-project cancel button#1302UtkarshUsername wants to merge 1 commit intopingdotgg:mainfrom
Conversation
|
Important Review skippedAuto reviews are disabled on this repository. Please check the settings in the CodeRabbit UI or the ⚙️ Run configurationConfiguration used: Repository UI Review profile: CHILL Plan: Pro Run ID: You can disable this status message by setting the Use the checkbox below for a quick retry:
✨ Finishing Touches🧪 Generate unit tests (beta)
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. Comment 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. |
What Changed
Removed the extra inline
Cancelbutton 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
Cancelbutton duplicates behavior that is already exposed by this add-project toggle. (You can also pressEscto cancel btw)Removing it simplifies the UI and reduces duplicate controls for the same action.
UI Changes
Before:

After:

Checklist
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
addProjectErrorvia this control.Macroscope summarized dbaa4a2.