mirror of
https://github.com/crabwise-ai/crabwalk.git
synced 2026-08-14 00:57:52 +00:00
refactor(workspace): remove redundant editing indicator from FileEditor
- Eliminated the "Editing" mode indicator from the FileEditor component to streamline the UI. This change enhances clarity by focusing on the unsaved changes indicator, improving the overall user experience.
This commit is contained in:
@@ -228,13 +228,6 @@ export function FileEditor({
|
||||
</span>
|
||||
)}
|
||||
|
||||
{/* Edit mode indicator */}
|
||||
{isEditing && (
|
||||
<span className="hidden sm:inline px-2 py-0.5 bg-neon-mint/10 text-neon-mint text-[11px] font-console uppercase rounded border border-neon-mint/30 flex-shrink-0">
|
||||
Editing
|
||||
</span>
|
||||
)}
|
||||
|
||||
{/* Unsaved changes indicator */}
|
||||
{isEditing && hasUnsavedChanges && (
|
||||
<span className="hidden sm:inline px-2 py-0.5 bg-neon-peach/10 text-neon-peach text-[11px] font-console uppercase rounded border border-neon-peach/30 animate-pulse flex-shrink-0">
|
||||
|
||||
Reference in New Issue
Block a user