From e25a31e20b188863b3327867ae6933680798c09d Mon Sep 17 00:00:00 2001 From: Jules Date: Thu, 1 Aug 2024 16:37:46 +0200 Subject: [PATCH 1/2] [front] - refactor: bump @dust-tt/sparkle version from 0.2.198 to 0.2.200 - Ensure compatibility with the latest emoji-mart features and improvements - Update package-lock.json to reflect the new version's checksum and resolve URL --- front/package-lock.json | 8 ++++---- front/package.json | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/front/package-lock.json b/front/package-lock.json index fd48b82dc0b9..2b8145839964 100644 --- a/front/package-lock.json +++ b/front/package-lock.json @@ -9,7 +9,7 @@ "@amplitude/analytics-browser": "^2.5.2", "@amplitude/analytics-node": "^1.3.5", "@auth0/nextjs-auth0": "^3.5.0", - "@dust-tt/sparkle": "^0.2.198", + "@dust-tt/sparkle": "^0.2.200", "@dust-tt/types": "file:../types", "@emoji-mart/data": "^1.1.2", "@emoji-mart/react": "^1.1.1", @@ -10735,9 +10735,9 @@ "license": "Apache-2.0" }, "node_modules/@dust-tt/sparkle": { - "version": "0.2.198", - "resolved": "https://registry.npmjs.org/@dust-tt/sparkle/-/sparkle-0.2.198.tgz", - "integrity": "sha512-QSV29789AKo2qnERpVQIom1hGLGPz6y7jsnUgWTcXwjfqrySRViQ9vnSrTNdjpLZqEEmLfIXbLKVRlWEsBcLIg==", + "version": "0.2.200", + "resolved": "https://registry.npmjs.org/@dust-tt/sparkle/-/sparkle-0.2.200.tgz", + "integrity": "sha512-htqkDkq5RnRk15O6rjbS8PSt6q7M+PLqix5MYFF2TYY3E3BKSN2lNSLu1LzRU783uUeOgDBz/K6OdMO9JBKZWw==", "dependencies": { "@emoji-mart/data": "^1.1.2", "@emoji-mart/react": "^1.1.1", diff --git a/front/package.json b/front/package.json index 0e2d0071ca7f..25c463fd9996 100644 --- a/front/package.json +++ b/front/package.json @@ -21,7 +21,7 @@ "@amplitude/analytics-browser": "^2.5.2", "@amplitude/analytics-node": "^1.3.5", "@auth0/nextjs-auth0": "^3.5.0", - "@dust-tt/sparkle": "^0.2.198", + "@dust-tt/sparkle": "^0.2.200", "@dust-tt/types": "file:../types", "@emoji-mart/data": "^1.1.2", "@emoji-mart/react": "^1.1.1", From 22835ebbfa779b0182eb48b74ed5846e5e5bd550 Mon Sep 17 00:00:00 2001 From: Jules Date: Thu, 1 Aug 2024 16:43:03 +0200 Subject: [PATCH 2/2] [front] - feature: add default column ordering for data sources tables - Set initial column order by name in ascending order for public URLs and static data sources tables --- front/pages/w/[wId]/builder/data-sources/public-urls.tsx | 1 + front/pages/w/[wId]/builder/data-sources/static.tsx | 1 + 2 files changed, 2 insertions(+) diff --git a/front/pages/w/[wId]/builder/data-sources/public-urls.tsx b/front/pages/w/[wId]/builder/data-sources/public-urls.tsx index a6268e931907..ec4a8cf4eea5 100644 --- a/front/pages/w/[wId]/builder/data-sources/public-urls.tsx +++ b/front/pages/w/[wId]/builder/data-sources/public-urls.tsx @@ -223,6 +223,7 @@ export default function DataSourcesView({ columns={columns} filter={dataSourceSearch} filterColumn={"name"} + initialColumnOrder={[{ id: "name", desc: false }]} /> )} diff --git a/front/pages/w/[wId]/builder/data-sources/static.tsx b/front/pages/w/[wId]/builder/data-sources/static.tsx index ded61a77b935..bf573548adb8 100644 --- a/front/pages/w/[wId]/builder/data-sources/static.tsx +++ b/front/pages/w/[wId]/builder/data-sources/static.tsx @@ -179,6 +179,7 @@ export default function DataSourcesView({ columns={columns} filter={dataSourceSearch} filterColumn={"name"} + initialColumnOrder={[{ id: "name", desc: false }]} /> )}