Skip to content

Beautiful Open-Source Form Builder

Bug Fixes New Ui (#817)

Chirag Chhatrala35f0dba80469
diff --git a/client/components/layouts/AppSidebar.vue b/client/components/layouts/AppSidebar.vue
index b12505016..8aea41bdb 100644
--- a/client/components/layouts/AppSidebar.vue
+++ b/client/components/layouts/AppSidebar.vue
@@ -1,5 +1,5 @@
<template>
- <BaseSidebar>
+ <BaseSidebar ref="sidebar">
<!-- Header Slot -->
<template #header>
<!-- Workspace Dropdown -->
@@ -63,6 +63,7 @@
:items="section.items"
tracking-name="sidebar_nav_click"
:tracking-properties="(item) => ({ label: item.label })"
+ @item-click="handleItemClick"
/>
</div>
</template>
@@ -78,6 +79,7 @@ import NavigationList from "~/components/global/NavigationList.vue"
import { useSharedNavigation } from "~/composables/components/useSharedNavigation"
const route = useRoute()
+const sidebar = ref(null)
const { sharedNavigationSections, createNavItem } = useSharedNavigation()
@@ -135,4 +137,10 @@ const navigationSections = computed(() => [
// Add shared navigation sections (Product and Help)
...sharedNavigationSections.value
])
+
+function handleItemClick(_item) {
+ if (sidebar.value && sidebar.value.isMobileMenuOpen) {
+ sidebar.value.isMobileMenuOpen = false
+ }
+}
</script>
\ No newline at end of file
diff --git a/client/components/open/tables/components/TableColumnManager.vue b/client/components/open/tables/components/TableColumnManager.vue
index bf3846818..06a3702e2 100644
--- a/client/components/open/tables/components/TableColumnManager.vue
+++ b/client/components/open/tables/components/TableColumnManager.vue
@@ -262,7 +262,7 @@ const getPinTooltip = (columnId) => {
// Toggle all columns visibility - now using computed map
const toggleAllColumns = (targetVisibility) => {
- const columns = props.tableState.columnConfigurations.value || []
+ const columns = props.tableState.orderedColumns.value || []
const visibilityMap = columnVisibilityMap.value
columns
diff --git a/client/components/workspaces/settings/InviteUser.vue b/client/components/workspaces/settings/InviteUser.vue
index c070917e2..e43ca0b14 100644
--- a/client/components/workspaces/settings/InviteUser.vue
+++ b/client/components/workspaces/settings/InviteUser.vue
@@ -84,7 +84,7 @@
:disabled="!workspace.is_pro"
placeholder="Add a new user by email"
/>
- <SelectInput
+ <FlatSelectInput
:form="inviteUserForm"
name="role"
:options="roleOptions"
diff --git a/client/css/app.css b/client/css/app.css
index 5573f7681..558225053 100644
--- a/client/css/app.css
+++ b/client/css/app.css
@@ -37,7 +37,7 @@
/* Custom animations */
--animate-bounce-slow: bounce-slow 3s ease-in-out infinite;
- --animate-infinite-scroll: infinite-scroll 80s linear infinite;
+ --animate-infinite-scroll: infinite-scroll 550s linear infinite;
--animate-text: text 5s ease infinite;
/* Custom keyframes */
diff --git a/client/pages/templates/my-templates.vue b/client/pages/templates/my-templates.vue
index 1f6528b44..cb1c3b07f 100644
--- a/client/pages/templates/my-templates.vue
+++ b/client/pages/templates/my-templates.vue
@@ -1,10 +1,10 @@
<template>
<div class="flex flex-col h-full bg-white">
<!-- Top Bar -->
- <div class="sticky top-0 z-50 bg-white h-[49px] border-b border-neutral-200 p-2 sm:px-4">
- <div class="max-w-4xl mx-auto flex items-center justify-between flex-shrink-0 gap-2 px-2 sm:px-0">
+ <div class="sticky top-0 z-50 bg-white border-b border-neutral-200 p-2 sm:px-4">
+ <div class="max-w-4xl mx-auto flex items-center justify-between flex-wrap flex-shrink-0 gap-2 px-2 sm:px-0">
<h1 class="text-lg font-semibold text-neutral-900">My Form Templates</h1>
- <div class="flex items-center gap-2">
+ <div class="flex items-center gap-2 w-full justify-end sm:w-auto">
<UButton
to="/templates"
variant="outline"