refactor: reorganize connector tab layout and improve component logic

- Swapped the sections for "Content Sources" and "More Integrations" in the AllConnectorsTab for better clarity.
- Streamlined the mapping logic for filtered connectors and crawlers, enhancing readability and maintainability.
- Updated the AppSidebar to replace the workspace switch icon for improved visual consistency.
- Modified the submit button text in the localization file for better clarity in user actions.
This commit is contained in:
Anish Sarkar 2026-01-02 01:17:53 +05:30
parent 3227c6c043
commit afe4254f74
3 changed files with 60 additions and 94 deletions

View file

@ -3,6 +3,7 @@
import { useAtomValue } from "jotai";
import {
AlertCircle,
ArrowLeftRight,
BookOpen,
Cable,
ChevronsUpDown,
@ -417,7 +418,7 @@ export const AppSidebar = memo(function AppSidebar({
</>
)}
<DropdownMenuItem onClick={() => router.push("/dashboard")}>
<SquareLibrary className="mr-2 h-4 w-4" />
<ArrowLeftRight className="mr-2 h-4 w-4" />
Switch workspace
</DropdownMenuItem>
</DropdownMenuGroup>