From 116365d2bd78dc5de60429ebe26c6788e805e94a Mon Sep 17 00:00:00 2001 From: FunamaYukina Date: Fri, 20 Dec 2024 17:55:05 +0900 Subject: [PATCH 1/3] =?UTF-8?q?=F0=9F=93=88=20add=20appEnv=20parameter=20t?= =?UTF-8?q?o=20logging=20events=20for=20environment=20tracking.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- frontend/.changeset/mean-eels-suffer.md | 6 ++++++ .../ERDRenderer/AppBar/CopyLinkButton/CopyLinkButton.tsx | 3 ++- .../src/components/ERDRenderer/ERDContent/ERDContent.tsx | 6 ++++-- .../TableDetail/RelatedTables/RelatedTables.tsx | 3 ++- .../ERDContent/TableNode/TableDetail/TableDetail.tsx | 1 + .../ERDContent/Toolbar/FitviewButton/FitviewButton.tsx | 3 ++- .../ERDContent/Toolbar/ShowModeMenu/ShowModeMenu.tsx | 3 ++- .../ERDContent/Toolbar/TidyUpButton/TidyUpButton.tsx | 3 ++- .../ERDContent/Toolbar/ZoomControls/ZoomControls.tsx | 6 ++++-- .../erd-core/src/components/ERDRenderer/ERDRenderer.tsx | 3 ++- .../LeftPane/TableNameMenuButton/TableNameMenuButton.tsx | 1 + .../LeftPane/TableNameMenuButton/VisibilityButton.tsx | 3 ++- .../erd-core/src/features/gtm/utils/clickLogEvent.ts | 4 +++- .../src/features/gtm/utils/openRelatedTablesLogEvent.ts | 3 +++ .../src/features/gtm/utils/repositionTableLogEvent.ts | 3 +++ .../src/features/gtm/utils/selectTableLogEvent.ts | 9 ++++++++- .../erd-core/src/features/gtm/utils/toggleLogEvent.ts | 1 + .../src/features/gtm/utils/toolbarActionLogEvent.ts | 3 +++ 18 files changed, 51 insertions(+), 13 deletions(-) create mode 100644 frontend/.changeset/mean-eels-suffer.md diff --git a/frontend/.changeset/mean-eels-suffer.md b/frontend/.changeset/mean-eels-suffer.md new file mode 100644 index 00000000..09357d12 --- /dev/null +++ b/frontend/.changeset/mean-eels-suffer.md @@ -0,0 +1,6 @@ +--- +"@liam-hq/erd-core": patch +"@liam-hq/cli": patch +--- + +📈 Add appEnv parameter to logging events for environment tracking diff --git a/frontend/packages/erd-core/src/components/ERDRenderer/AppBar/CopyLinkButton/CopyLinkButton.tsx b/frontend/packages/erd-core/src/components/ERDRenderer/AppBar/CopyLinkButton/CopyLinkButton.tsx index ac3373d4..e56a2343 100644 --- a/frontend/packages/erd-core/src/components/ERDRenderer/AppBar/CopyLinkButton/CopyLinkButton.tsx +++ b/frontend/packages/erd-core/src/components/ERDRenderer/AppBar/CopyLinkButton/CopyLinkButton.tsx @@ -34,8 +34,9 @@ export const CopyLinkButton: FC = () => { clickLogEvent({ element: 'copyLinkButton', cliVer: cliVersion.version, + appEnv: cliVersion.envName, }) - }, [toast, cliVersion.version]) + }, [toast, cliVersion.version, cliVersion.envName]) return ( diff --git a/frontend/packages/erd-core/src/components/ERDRenderer/ERDContent/ERDContent.tsx b/frontend/packages/erd-core/src/components/ERDRenderer/ERDContent/ERDContent.tsx index c19c0fb8..93ae61a5 100644 --- a/frontend/packages/erd-core/src/components/ERDRenderer/ERDContent/ERDContent.tsx +++ b/frontend/packages/erd-core/src/components/ERDRenderer/ERDContent/ERDContent.tsx @@ -91,9 +91,10 @@ export const ERDContentInner: FC = ({ ref: 'mainArea', tableId, cliVer: cliVersion.version, + appEnv: cliVersion.envName, }) }, - [cliVersion.version], + [cliVersion.version, cliVersion.envName], ) const handlePaneClick = useCallback(() => { @@ -137,10 +138,11 @@ export const ERDContentInner: FC = ({ tableId, operationId, cliVer: cliVersion.version, + appEnv: cliVersion.envName, }) } }, - [cliVersion.version], + [cliVersion.version, cliVersion.envName], ) const panOnDrag = [1, 2] diff --git a/frontend/packages/erd-core/src/components/ERDRenderer/ERDContent/TableNode/TableDetail/RelatedTables/RelatedTables.tsx b/frontend/packages/erd-core/src/components/ERDRenderer/ERDContent/TableNode/TableDetail/RelatedTables/RelatedTables.tsx index bf405270..b7849a2f 100644 --- a/frontend/packages/erd-core/src/components/ERDRenderer/ERDContent/TableNode/TableDetail/RelatedTables/RelatedTables.tsx +++ b/frontend/packages/erd-core/src/components/ERDRenderer/ERDContent/TableNode/TableDetail/RelatedTables/RelatedTables.tsx @@ -39,8 +39,9 @@ export const RelatedTables: FC = ({ table }) => { openRelatedTablesLogEvent({ tableId: table.name, cliVer: cliVersion.version, + appEnv: cliVersion.envName, }) - }, [nodes, getNodes, table.name, cliVersion.version]) + }, [nodes, getNodes, table.name, cliVersion.version, cliVersion.envName]) return (
diff --git a/frontend/packages/erd-core/src/components/ERDRenderer/ERDContent/TableNode/TableDetail/TableDetail.tsx b/frontend/packages/erd-core/src/components/ERDRenderer/ERDContent/TableNode/TableDetail/TableDetail.tsx index c2b23aee..e4bb9546 100644 --- a/frontend/packages/erd-core/src/components/ERDRenderer/ERDContent/TableNode/TableDetail/TableDetail.tsx +++ b/frontend/packages/erd-core/src/components/ERDRenderer/ERDContent/TableNode/TableDetail/TableDetail.tsx @@ -20,6 +20,7 @@ export const TableDetail: FC = ({ table }) => { clickLogEvent({ element: 'closeTableDetailButton', cliVer: cliVersion.version, + appEnv: cliVersion.envName, }) } diff --git a/frontend/packages/erd-core/src/components/ERDRenderer/ERDContent/Toolbar/FitviewButton/FitviewButton.tsx b/frontend/packages/erd-core/src/components/ERDRenderer/ERDContent/Toolbar/FitviewButton/FitviewButton.tsx index 19e3a7b8..669df785 100644 --- a/frontend/packages/erd-core/src/components/ERDRenderer/ERDContent/Toolbar/FitviewButton/FitviewButton.tsx +++ b/frontend/packages/erd-core/src/components/ERDRenderer/ERDContent/Toolbar/FitviewButton/FitviewButton.tsx @@ -16,9 +16,10 @@ export const FitviewButton: FC = () => { element: 'fitview', showMode, cliVer: cliVersion.version, + appEnv: cliVersion.envName, }) fitView() - }, [fitView, showMode, cliVersion.version]) + }, [fitView, showMode, cliVersion.version, cliVersion.envName]) return ( diff --git a/frontend/packages/erd-core/src/components/ERDRenderer/ERDContent/Toolbar/ShowModeMenu/ShowModeMenu.tsx b/frontend/packages/erd-core/src/components/ERDRenderer/ERDContent/Toolbar/ShowModeMenu/ShowModeMenu.tsx index 8b1a9ffa..cc0907ec 100644 --- a/frontend/packages/erd-core/src/components/ERDRenderer/ERDContent/Toolbar/ShowModeMenu/ShowModeMenu.tsx +++ b/frontend/packages/erd-core/src/components/ERDRenderer/ERDContent/Toolbar/ShowModeMenu/ShowModeMenu.tsx @@ -37,10 +37,11 @@ export const ShowModeMenu: FC = () => { element: 'changeShowMode', showMode: value, cliVer: cliVersion.version, + appEnv: cliVersion.envName, }) } }, - [cliVersion.version], + [cliVersion.version, cliVersion.envName], ) return ( diff --git a/frontend/packages/erd-core/src/components/ERDRenderer/ERDContent/Toolbar/TidyUpButton/TidyUpButton.tsx b/frontend/packages/erd-core/src/components/ERDRenderer/ERDContent/Toolbar/TidyUpButton/TidyUpButton.tsx index fd21432e..ee9a4e0a 100644 --- a/frontend/packages/erd-core/src/components/ERDRenderer/ERDContent/Toolbar/TidyUpButton/TidyUpButton.tsx +++ b/frontend/packages/erd-core/src/components/ERDRenderer/ERDContent/Toolbar/TidyUpButton/TidyUpButton.tsx @@ -17,9 +17,10 @@ export const TidyUpButton: FC = () => { element: 'tidyUp', showMode, cliVer: cliVersion.version, + appEnv: cliVersion.envName, }) handleLayout(getNodes()) - }, [handleLayout, showMode, getNodes, cliVersion.version]) + }, [handleLayout, showMode, getNodes, cliVersion.version, cliVersion.envName]) return ( diff --git a/frontend/packages/erd-core/src/components/ERDRenderer/ERDContent/Toolbar/ZoomControls/ZoomControls.tsx b/frontend/packages/erd-core/src/components/ERDRenderer/ERDContent/Toolbar/ZoomControls/ZoomControls.tsx index c0451170..9453e640 100644 --- a/frontend/packages/erd-core/src/components/ERDRenderer/ERDContent/Toolbar/ZoomControls/ZoomControls.tsx +++ b/frontend/packages/erd-core/src/components/ERDRenderer/ERDContent/Toolbar/ZoomControls/ZoomControls.tsx @@ -19,9 +19,10 @@ export const ZoomControls: FC = () => { zoomLevel: zoomLevel.toFixed(2), showMode, cliVer: cliVersion.version, + appEnv: cliVersion.envName, }) zoomOut() - }, [zoomOut, zoomLevel, showMode, cliVersion.version]) + }, [zoomOut, zoomLevel, showMode, cliVersion.version, cliVersion.envName]) const handleClickZoomIn = useCallback(() => { toolbarActionLogEvent({ @@ -29,9 +30,10 @@ export const ZoomControls: FC = () => { zoomLevel: zoomLevel.toFixed(2), showMode: showMode, cliVer: cliVersion.version, + appEnv: cliVersion.envName, }) zoomIn() - }, [zoomIn, zoomLevel, showMode, cliVersion.version]) + }, [zoomIn, zoomLevel, showMode, cliVersion.version, cliVersion.envName]) return (
diff --git a/frontend/packages/erd-core/src/components/ERDRenderer/ERDRenderer.tsx b/frontend/packages/erd-core/src/components/ERDRenderer/ERDRenderer.tsx index 6a9fb29f..2f55303b 100644 --- a/frontend/packages/erd-core/src/components/ERDRenderer/ERDRenderer.tsx +++ b/frontend/packages/erd-core/src/components/ERDRenderer/ERDRenderer.tsx @@ -39,9 +39,10 @@ export const ERDRenderer: FC = () => { element: 'leftPane', isShow: open, cliVer: cliVersion.version, + appEnv: cliVersion.envName, }) }, - [cliVersion.version], + [cliVersion.version, cliVersion.envName], ) return ( diff --git a/frontend/packages/erd-core/src/components/ERDRenderer/LeftPane/TableNameMenuButton/TableNameMenuButton.tsx b/frontend/packages/erd-core/src/components/ERDRenderer/LeftPane/TableNameMenuButton/TableNameMenuButton.tsx index 1cf927de..025325ef 100644 --- a/frontend/packages/erd-core/src/components/ERDRenderer/LeftPane/TableNameMenuButton/TableNameMenuButton.tsx +++ b/frontend/packages/erd-core/src/components/ERDRenderer/LeftPane/TableNameMenuButton/TableNameMenuButton.tsx @@ -27,6 +27,7 @@ export const TableNameMenuButton: FC = ({ node }) => { ref: 'leftPane', tableId, cliVer: cliVersion.version, + appEnv: cliVersion.envName, }) } diff --git a/frontend/packages/erd-core/src/components/ERDRenderer/LeftPane/TableNameMenuButton/VisibilityButton.tsx b/frontend/packages/erd-core/src/components/ERDRenderer/LeftPane/TableNameMenuButton/VisibilityButton.tsx index b511f9b1..3ef1f9a8 100644 --- a/frontend/packages/erd-core/src/components/ERDRenderer/LeftPane/TableNameMenuButton/VisibilityButton.tsx +++ b/frontend/packages/erd-core/src/components/ERDRenderer/LeftPane/TableNameMenuButton/VisibilityButton.tsx @@ -21,9 +21,10 @@ export const VisibilityButton: FC = ({ tableName, hidden }) => { isShow: !!hidden, tableId: tableName, cliVer: cliVersion.version, + appEnv: cliVersion.envName, }) }, - [tableName, hidden, cliVersion.version], + [tableName, hidden, cliVersion.version, cliVersion.envName], ) return ( diff --git a/frontend/packages/erd-core/src/features/gtm/utils/clickLogEvent.ts b/frontend/packages/erd-core/src/features/gtm/utils/clickLogEvent.ts index 66bc5eaa..6923a642 100644 --- a/frontend/packages/erd-core/src/features/gtm/utils/clickLogEvent.ts +++ b/frontend/packages/erd-core/src/features/gtm/utils/clickLogEvent.ts @@ -3,12 +3,14 @@ import { pushToDataLayer } from './pushToDataLayer' type ClickLogEvent = { element: string cliVer: string + appEnv: string } -export const clickLogEvent = ({ element, cliVer }: ClickLogEvent) => { +export const clickLogEvent = ({ element, cliVer, appEnv }: ClickLogEvent) => { pushToDataLayer({ event: 'click', element, cliVer, + appEnv, }) } diff --git a/frontend/packages/erd-core/src/features/gtm/utils/openRelatedTablesLogEvent.ts b/frontend/packages/erd-core/src/features/gtm/utils/openRelatedTablesLogEvent.ts index 2bc29ea1..816d01be 100644 --- a/frontend/packages/erd-core/src/features/gtm/utils/openRelatedTablesLogEvent.ts +++ b/frontend/packages/erd-core/src/features/gtm/utils/openRelatedTablesLogEvent.ts @@ -3,15 +3,18 @@ import { pushToDataLayer } from './pushToDataLayer' type OpenRelatedTablesLogEvent = { tableId: string cliVer: string + appEnv: string } export const openRelatedTablesLogEvent = ({ tableId, cliVer, + appEnv, }: OpenRelatedTablesLogEvent) => { pushToDataLayer({ event: 'openRelatedTables', tableId, cliVer, + appEnv, }) } diff --git a/frontend/packages/erd-core/src/features/gtm/utils/repositionTableLogEvent.ts b/frontend/packages/erd-core/src/features/gtm/utils/repositionTableLogEvent.ts index f0188db5..21f72ab1 100644 --- a/frontend/packages/erd-core/src/features/gtm/utils/repositionTableLogEvent.ts +++ b/frontend/packages/erd-core/src/features/gtm/utils/repositionTableLogEvent.ts @@ -4,17 +4,20 @@ type RepositionTable = { tableId: string operationId: string cliVer: string + appEnv: string } export const repositionTableLogEvent = ({ tableId, operationId, cliVer, + appEnv, }: RepositionTable) => { pushToDataLayer({ event: 'repositionTable', tableId, operationId, cliVer, + appEnv, }) } diff --git a/frontend/packages/erd-core/src/features/gtm/utils/selectTableLogEvent.ts b/frontend/packages/erd-core/src/features/gtm/utils/selectTableLogEvent.ts index c59a9936..1aa650a3 100644 --- a/frontend/packages/erd-core/src/features/gtm/utils/selectTableLogEvent.ts +++ b/frontend/packages/erd-core/src/features/gtm/utils/selectTableLogEvent.ts @@ -4,13 +4,20 @@ type SelectTable = { ref: 'leftPane' | 'mainArea' tableId: string cliVer: string + appEnv: string } -export const selectTableLogEvent = ({ ref, tableId, cliVer }: SelectTable) => { +export const selectTableLogEvent = ({ + ref, + tableId, + cliVer, + appEnv, +}: SelectTable) => { pushToDataLayer({ event: 'selectTable', ref, tableId, cliVer, + appEnv, }) } diff --git a/frontend/packages/erd-core/src/features/gtm/utils/toggleLogEvent.ts b/frontend/packages/erd-core/src/features/gtm/utils/toggleLogEvent.ts index 361d72f9..437cc584 100644 --- a/frontend/packages/erd-core/src/features/gtm/utils/toggleLogEvent.ts +++ b/frontend/packages/erd-core/src/features/gtm/utils/toggleLogEvent.ts @@ -5,6 +5,7 @@ type ToggleLogEvent = { isShow: boolean tableId?: string cliVer: string + appEnv: string } export const toggleLogEvent = (params: ToggleLogEvent) => { diff --git a/frontend/packages/erd-core/src/features/gtm/utils/toolbarActionLogEvent.ts b/frontend/packages/erd-core/src/features/gtm/utils/toolbarActionLogEvent.ts index c18f0215..427981da 100644 --- a/frontend/packages/erd-core/src/features/gtm/utils/toolbarActionLogEvent.ts +++ b/frontend/packages/erd-core/src/features/gtm/utils/toolbarActionLogEvent.ts @@ -5,6 +5,7 @@ type ToolbarActionLogEvent = { zoomLevel?: string showMode?: string cliVer: string + appEnv: string } export const toolbarActionLogEvent = ({ @@ -12,6 +13,7 @@ export const toolbarActionLogEvent = ({ zoomLevel, showMode, cliVer, + appEnv, }: ToolbarActionLogEvent) => { pushToDataLayer({ event: 'toolbarAction', @@ -19,5 +21,6 @@ export const toolbarActionLogEvent = ({ zoomLevel, showMode, cliVer, + appEnv, }) } From bc2118da83159b266c2dc6ecd808b29c4a1b8b69 Mon Sep 17 00:00:00 2001 From: MH4GF Date: Fri, 20 Dec 2024 17:53:28 +0900 Subject: [PATCH 2/3] fix: Fixed problem with active tables not being highlighted in LeftPane when opened via query parameter --- frontend/.changeset/thirty-cats-smash.md | 6 ++++++ .../TableNameMenuButton/TableNameMenuButton.tsx | 10 +++++----- 2 files changed, 11 insertions(+), 5 deletions(-) create mode 100644 frontend/.changeset/thirty-cats-smash.md diff --git a/frontend/.changeset/thirty-cats-smash.md b/frontend/.changeset/thirty-cats-smash.md new file mode 100644 index 00000000..0a9ff2c5 --- /dev/null +++ b/frontend/.changeset/thirty-cats-smash.md @@ -0,0 +1,6 @@ +--- +"@liam-hq/erd-core": patch +"@liam-hq/cli": patch +--- + +🐛 Fixed problem with active tables not being highlighted in LeftPane when opened via query parameter diff --git a/frontend/packages/erd-core/src/components/ERDRenderer/LeftPane/TableNameMenuButton/TableNameMenuButton.tsx b/frontend/packages/erd-core/src/components/ERDRenderer/LeftPane/TableNameMenuButton/TableNameMenuButton.tsx index 1cf927de..8604b39d 100644 --- a/frontend/packages/erd-core/src/components/ERDRenderer/LeftPane/TableNameMenuButton/TableNameMenuButton.tsx +++ b/frontend/packages/erd-core/src/components/ERDRenderer/LeftPane/TableNameMenuButton/TableNameMenuButton.tsx @@ -1,6 +1,6 @@ import { selectTableLogEvent } from '@/features/gtm/utils' import { useCliVersion } from '@/providers' -import { updateActiveTableName, useUserEditingStore } from '@/stores' +import { updateActiveTableName } from '@/stores' import { SidebarMenuButton, SidebarMenuItem, Table2 } from '@liam-hq/ui' import clsx from 'clsx' import type { FC } from 'react' @@ -13,9 +13,6 @@ type Props = { } export const TableNameMenuButton: FC = ({ node }) => { - const { - active: { tableName }, - } = useUserEditingStore() const name = node.data.table.name // TODO: Move handleClickMenuButton outside of TableNameMenuButton @@ -33,7 +30,10 @@ export const TableNameMenuButton: FC = ({ node }) => { return (
Date: Fri, 20 Dec 2024 09:08:47 +0000 Subject: [PATCH 3/3] Version Packages --- frontend/.changeset/brave-guests-explode.md | 6 ------ frontend/.changeset/calm-books-occur.md | 6 ------ frontend/.changeset/dry-islands-flash.md | 6 ------ frontend/.changeset/dry-ligers-work.md | 6 ------ frontend/.changeset/eighty-bottles-hope.md | 6 ------ frontend/.changeset/few-apples-exercise.md | 6 ------ frontend/.changeset/gentle-monkeys-remember.md | 6 ------ frontend/.changeset/hungry-dots-help.md | 6 ------ frontend/.changeset/mean-eels-suffer.md | 6 ------ frontend/.changeset/mean-rings-walk.md | 6 ------ frontend/.changeset/six-rocks-shake.md | 6 ------ frontend/.changeset/thirty-cats-smash.md | 6 ------ frontend/.changeset/tricky-windows-smash.md | 6 ------ frontend/packages/cli/CHANGELOG.md | 18 ++++++++++++++++++ frontend/packages/cli/package.json | 2 +- frontend/packages/erd-core/CHANGELOG.md | 18 ++++++++++++++++++ frontend/packages/erd-core/package.json | 2 +- 17 files changed, 38 insertions(+), 80 deletions(-) delete mode 100644 frontend/.changeset/brave-guests-explode.md delete mode 100644 frontend/.changeset/calm-books-occur.md delete mode 100644 frontend/.changeset/dry-islands-flash.md delete mode 100644 frontend/.changeset/dry-ligers-work.md delete mode 100644 frontend/.changeset/eighty-bottles-hope.md delete mode 100644 frontend/.changeset/few-apples-exercise.md delete mode 100644 frontend/.changeset/gentle-monkeys-remember.md delete mode 100644 frontend/.changeset/hungry-dots-help.md delete mode 100644 frontend/.changeset/mean-eels-suffer.md delete mode 100644 frontend/.changeset/mean-rings-walk.md delete mode 100644 frontend/.changeset/six-rocks-shake.md delete mode 100644 frontend/.changeset/thirty-cats-smash.md delete mode 100644 frontend/.changeset/tricky-windows-smash.md diff --git a/frontend/.changeset/brave-guests-explode.md b/frontend/.changeset/brave-guests-explode.md deleted file mode 100644 index f73663f7..00000000 --- a/frontend/.changeset/brave-guests-explode.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -"@liam-hq/erd-core": patch -"@liam-hq/cli": patch ---- - -🐛 bug-fix: Highlight source cardinality with multi-foreign keys diff --git a/frontend/.changeset/calm-books-occur.md b/frontend/.changeset/calm-books-occur.md deleted file mode 100644 index ebd633e0..00000000 --- a/frontend/.changeset/calm-books-occur.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -"@liam-hq/erd-core": patch -"@liam-hq/cli": patch ---- - -refactor: Update handleLayout to accept nodes and improve hidden node handling diff --git a/frontend/.changeset/dry-islands-flash.md b/frontend/.changeset/dry-islands-flash.md deleted file mode 100644 index 45e9bdca..00000000 --- a/frontend/.changeset/dry-islands-flash.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -"@liam-hq/erd-core": patch -"@liam-hq/cli": patch ---- - -📈 : Add open related tables log event diff --git a/frontend/.changeset/dry-ligers-work.md b/frontend/.changeset/dry-ligers-work.md deleted file mode 100644 index 181f5d5a..00000000 --- a/frontend/.changeset/dry-ligers-work.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -"@liam-hq/erd-core": patch -"@liam-hq/cli": patch ---- - -✨ Enhance node conversion functions to support hierarchical structure and layout options for NonRelatedTableGroup nodes diff --git a/frontend/.changeset/eighty-bottles-hope.md b/frontend/.changeset/eighty-bottles-hope.md deleted file mode 100644 index f530cfd8..00000000 --- a/frontend/.changeset/eighty-bottles-hope.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -"@liam-hq/erd-core": patch -"@liam-hq/cli": patch ---- - -📈 Add cliVer parameter to log event functions and component.s diff --git a/frontend/.changeset/few-apples-exercise.md b/frontend/.changeset/few-apples-exercise.md deleted file mode 100644 index abafedd7..00000000 --- a/frontend/.changeset/few-apples-exercise.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -"@liam-hq/erd-core": patch -"@liam-hq/cli": patch ---- - -:chart_with_upwards_trend: add type for reposition table logging diff --git a/frontend/.changeset/gentle-monkeys-remember.md b/frontend/.changeset/gentle-monkeys-remember.md deleted file mode 100644 index fd75cb6d..00000000 --- a/frontend/.changeset/gentle-monkeys-remember.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -"@liam-hq/erd-core": patch -"@liam-hq/cli": patch ---- - -fix: Render CardinalityMarkers based on loading state diff --git a/frontend/.changeset/hungry-dots-help.md b/frontend/.changeset/hungry-dots-help.md deleted file mode 100644 index a646fb7e..00000000 --- a/frontend/.changeset/hungry-dots-help.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -"@liam-hq/erd-core": patch -"@liam-hq/cli": patch ---- - -Show column types in table nodes when the table is highlighted diff --git a/frontend/.changeset/mean-eels-suffer.md b/frontend/.changeset/mean-eels-suffer.md deleted file mode 100644 index 09357d12..00000000 --- a/frontend/.changeset/mean-eels-suffer.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -"@liam-hq/erd-core": patch -"@liam-hq/cli": patch ---- - -📈 Add appEnv parameter to logging events for environment tracking diff --git a/frontend/.changeset/mean-rings-walk.md b/frontend/.changeset/mean-rings-walk.md deleted file mode 100644 index 3bd7cac2..00000000 --- a/frontend/.changeset/mean-rings-walk.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -"@liam-hq/erd-core": patch -"@liam-hq/cli": patch ---- - -✨ Add NonRelatedTableGroupNode component with styling diff --git a/frontend/.changeset/six-rocks-shake.md b/frontend/.changeset/six-rocks-shake.md deleted file mode 100644 index bb6b1186..00000000 --- a/frontend/.changeset/six-rocks-shake.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -"@liam-hq/erd-core": patch -"@liam-hq/cli": patch ---- - -📈 Add click logging for toolbar actions and include show mode in event data diff --git a/frontend/.changeset/thirty-cats-smash.md b/frontend/.changeset/thirty-cats-smash.md deleted file mode 100644 index 0a9ff2c5..00000000 --- a/frontend/.changeset/thirty-cats-smash.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -"@liam-hq/erd-core": patch -"@liam-hq/cli": patch ---- - -🐛 Fixed problem with active tables not being highlighted in LeftPane when opened via query parameter diff --git a/frontend/.changeset/tricky-windows-smash.md b/frontend/.changeset/tricky-windows-smash.md deleted file mode 100644 index f1169613..00000000 --- a/frontend/.changeset/tricky-windows-smash.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -"@liam-hq/erd-core": patch -"@liam-hq/cli": patch ---- - -maintenance: Add GitHub Release Link and Disable some features diff --git a/frontend/packages/cli/CHANGELOG.md b/frontend/packages/cli/CHANGELOG.md index 175f75ce..99ef4ad3 100644 --- a/frontend/packages/cli/CHANGELOG.md +++ b/frontend/packages/cli/CHANGELOG.md @@ -1,5 +1,23 @@ # @liam-hq/cli +## 0.0.13 + +### Patch Changes + +- e2d2c06: 🐛 bug-fix: Highlight source cardinality with multi-foreign keys +- 90ccd89: refactor: Update handleLayout to accept nodes and improve hidden node handling +- 486286a: 📈 : Add open related tables log event +- 0a129c2: ✨ Enhance node conversion functions to support hierarchical structure and layout options for NonRelatedTableGroup nodes +- fb03451: 📈 Add cliVer parameter to log event functions and component.s +- 704f606: :chart_with_upwards_trend: add type for reposition table logging +- b63e2da: fix: Render CardinalityMarkers based on loading state +- ee77b3f: Show column types in table nodes when the table is highlighted +- 116365d: 📈 Add appEnv parameter to logging events for environment tracking +- 54d6ca9: ✨ Add NonRelatedTableGroupNode component with styling +- 582ac0e: 📈 Add click logging for toolbar actions and include show mode in event data +- bc2118d: 🐛 Fixed problem with active tables not being highlighted in LeftPane when opened via query parameter +- d0a27e0: maintenance: Add GitHub Release Link and Disable some features + ## 0.0.12 ### Patch Changes diff --git a/frontend/packages/cli/package.json b/frontend/packages/cli/package.json index a4b5f16a..a27c3f45 100644 --- a/frontend/packages/cli/package.json +++ b/frontend/packages/cli/package.json @@ -2,7 +2,7 @@ "name": "@liam-hq/cli", "license": "Apache-2.0", "private": false, - "version": "0.0.12", + "version": "0.0.13", "type": "module", "publishConfig": { "access": "public" diff --git a/frontend/packages/erd-core/CHANGELOG.md b/frontend/packages/erd-core/CHANGELOG.md index 820adccb..af501cdd 100644 --- a/frontend/packages/erd-core/CHANGELOG.md +++ b/frontend/packages/erd-core/CHANGELOG.md @@ -1,5 +1,23 @@ # @liam-hq/erd-core +## 0.0.8 + +### Patch Changes + +- e2d2c06: 🐛 bug-fix: Highlight source cardinality with multi-foreign keys +- 90ccd89: refactor: Update handleLayout to accept nodes and improve hidden node handling +- 486286a: 📈 : Add open related tables log event +- 0a129c2: ✨ Enhance node conversion functions to support hierarchical structure and layout options for NonRelatedTableGroup nodes +- fb03451: 📈 Add cliVer parameter to log event functions and component.s +- 704f606: :chart_with_upwards_trend: add type for reposition table logging +- b63e2da: fix: Render CardinalityMarkers based on loading state +- ee77b3f: Show column types in table nodes when the table is highlighted +- 116365d: 📈 Add appEnv parameter to logging events for environment tracking +- 54d6ca9: ✨ Add NonRelatedTableGroupNode component with styling +- 582ac0e: 📈 Add click logging for toolbar actions and include show mode in event data +- bc2118d: 🐛 Fixed problem with active tables not being highlighted in LeftPane when opened via query parameter +- d0a27e0: maintenance: Add GitHub Release Link and Disable some features + ## 0.0.7 ### Patch Changes diff --git a/frontend/packages/erd-core/package.json b/frontend/packages/erd-core/package.json index a2ae3d6e..8543bf97 100644 --- a/frontend/packages/erd-core/package.json +++ b/frontend/packages/erd-core/package.json @@ -1,7 +1,7 @@ { "name": "@liam-hq/erd-core", "private": true, - "version": "0.0.7", + "version": "0.0.8", "type": "module", "main": "src/index.ts", "dependencies": {