Open-source and local-first Slack and Notion alternative that puts you in control of your data
TypeScript chatchat-applicationcrdteditorelectronknowledge-baselocal-firstnotionnotion-alternativerealtime-collaborationself-hostedslacksqliteteam-collaborationwikiyjs
Fix height for commands
Hakan Shehu9f4a1c90543a
diff --git a/apps/desktop/src/renderer/components/collaborators/node-collaborator-search.tsx b/apps/desktop/src/renderer/components/collaborators/node-collaborator-search.tsxindex 6f70bb0d..805207bf 100644--- a/apps/desktop/src/renderer/components/collaborators/node-collaborator-search.tsx+++ b/apps/desktop/src/renderer/components/collaborators/node-collaborator-search.tsx@@ -88,7 +88,7 @@ export const NodeCollaboratorSearch = ({/><CommandEmpty>No collaborator found.</CommandEmpty><CommandList>- <CommandGroup className="h-min max-h-96">+ <CommandGroup className="h-min">{users.map((user) => (<CommandItemkey={user.id}diff --git a/apps/desktop/src/renderer/components/databases/fields/field-select.tsx b/apps/desktop/src/renderer/components/databases/fields/field-select.tsxindex 25d4a3e0..7f5032f8 100644--- a/apps/desktop/src/renderer/components/databases/fields/field-select.tsx+++ b/apps/desktop/src/renderer/components/databases/fields/field-select.tsx@@ -54,7 +54,7 @@ export const FieldSelect = ({ fields, value, onChange }: FieldSelectProps) => {<CommandInput placeholder="Search field types..." className="h-9" /><CommandEmpty>No field type found.</CommandEmpty><CommandList>- <CommandGroup className="h-min max-h-96">+ <CommandGroup className="h-min">{fields.map((field) => (<CommandItemkey={field.id}diff --git a/apps/desktop/src/renderer/components/databases/fields/select-field-options.tsx b/apps/desktop/src/renderer/components/databases/fields/select-field-options.tsxindex 620875fd..c55a81cd 100644--- a/apps/desktop/src/renderer/components/databases/fields/select-field-options.tsx+++ b/apps/desktop/src/renderer/components/databases/fields/select-field-options.tsx@@ -57,7 +57,7 @@ export const SelectFieldOptions = ({/><CommandEmpty>No options found.</CommandEmpty><CommandList>- <CommandGroup className="h-min max-h-96">+ <CommandGroup className="h-min">{selectOptions.map((option) => {const isSelected = values.includes(option.id);return (diff --git a/apps/desktop/src/renderer/components/databases/search/view-filter-add-popover.tsx b/apps/desktop/src/renderer/components/databases/search/view-filter-add-popover.tsxindex 5d284c97..d6bf54f6 100644--- a/apps/desktop/src/renderer/components/databases/search/view-filter-add-popover.tsx+++ b/apps/desktop/src/renderer/components/databases/search/view-filter-add-popover.tsx@@ -47,7 +47,7 @@ export const ViewFilterAddPopover = ({<CommandInput placeholder="Search fields..." className="h-9" /><CommandEmpty>No field found.</CommandEmpty><CommandList>- <CommandGroup className="h-min max-h-96">+ <CommandGroup className="h-min">{fieldsWithoutFilters.map((field) => (<CommandItemkey={field.id}diff --git a/apps/desktop/src/renderer/components/databases/search/view-sort-add-popover.tsx b/apps/desktop/src/renderer/components/databases/search/view-sort-add-popover.tsxindex 5b5041bd..efc195f9 100644--- a/apps/desktop/src/renderer/components/databases/search/view-sort-add-popover.tsx+++ b/apps/desktop/src/renderer/components/databases/search/view-sort-add-popover.tsx@@ -45,7 +45,7 @@ export const ViewSortAddPopover = ({ children }: ViewSortAddPopoverProps) => {<CommandInput placeholder="Search fields..." className="h-9" /><CommandEmpty>No sortable field found.</CommandEmpty><CommandList>- <CommandGroup className="h-min max-h-96">+ <CommandGroup className="h-min">{sortableFields.map((field) => (<CommandItemkey={field.id}diff --git a/apps/desktop/src/renderer/components/records/record-search.tsx b/apps/desktop/src/renderer/components/records/record-search.tsxindex d5b08eb7..91cac00a 100644--- a/apps/desktop/src/renderer/components/records/record-search.tsx+++ b/apps/desktop/src/renderer/components/records/record-search.tsx@@ -46,7 +46,7 @@ export const RecordSearch = ({/><CommandEmpty>No record found.</CommandEmpty><CommandList>- <CommandGroup className="h-min max-h-96">+ <CommandGroup className="h-min">{data?.map((record) => (<CommandItemkey={record.id}diff --git a/apps/desktop/src/renderer/components/users/user-search.tsx b/apps/desktop/src/renderer/components/users/user-search.tsxindex 599688c1..2086bcb9 100644--- a/apps/desktop/src/renderer/components/users/user-search.tsx+++ b/apps/desktop/src/renderer/components/users/user-search.tsx@@ -40,7 +40,7 @@ export const UserSearch = ({ exclude, onSelect }: UserSearchProps) => {/><CommandEmpty>No user found.</CommandEmpty><CommandList>- <CommandGroup className="h-min max-h-96">+ <CommandGroup className="h-min">{data?.map((user) => (<CommandItemkey={user.id}