From f23ea3088960f3d27356a2f609dca4865019d592 Mon Sep 17 00:00:00 2001 From: Danil Kostromin Date: Thu, 22 Feb 2024 19:49:37 +0200 Subject: [PATCH 1/3] fix(preferences): missing hook export Missing hook export for getting user preferences Signed-off-by: Danil Kostromin --- .../user-preferences/src/lib/user-preferences-form/index.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/libs/bublik/features/user-preferences/src/lib/user-preferences-form/index.ts b/libs/bublik/features/user-preferences/src/lib/user-preferences-form/index.ts index 64a6ed1e..8616b99c 100644 --- a/libs/bublik/features/user-preferences/src/lib/user-preferences-form/index.ts +++ b/libs/bublik/features/user-preferences/src/lib/user-preferences-form/index.ts @@ -1,3 +1,4 @@ /* SPDX-License-Identifier: Apache-2.0 */ /* SPDX-FileCopyrightText: 2024 OKTET LTD */ export * from './user-preferences-form.container'; +export * from './user-preferences.hooks'; From 2cb04c7a235fbe85a0c64f3b85e2c09b24ce9577 Mon Sep 17 00:00:00 2001 From: Danil Kostromin Date: Thu, 22 Feb 2024 19:54:34 +0200 Subject: [PATCH 2/3] types(run): remove requirement for diff id in row state Since we added to run row state `referenceDiffRowId` which could be undefined we are not required to specify it when getting initial expanded unexpected state Signed-off-by: Danil Kostromin --- .../features/run/src/lib/run-table/utils/unexpected.ts | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/libs/bublik/features/run/src/lib/run-table/utils/unexpected.ts b/libs/bublik/features/run/src/lib/run-table/utils/unexpected.ts index b5aa9d47..5f9a46e0 100644 --- a/libs/bublik/features/run/src/lib/run-table/utils/unexpected.ts +++ b/libs/bublik/features/run/src/lib/run-table/utils/unexpected.ts @@ -2,6 +2,8 @@ /* SPDX-FileCopyrightText: 2021-2023 OKTET Labs Ltd. */ import { ColumnSort } from '@tanstack/react-table'; +import { RunData } from '@/shared/types'; + import { GlobalFilterValue, ColumnId } from '../types'; import { getUnexpectedResultForColumnId, @@ -9,7 +11,6 @@ import { UnexpectedColumns } from '../constants'; import { RowState } from '../../hooks'; -import { RunData } from '@/shared/types'; export const getUnexpectedGlobalFilter = ( rowValues: Record @@ -28,6 +29,8 @@ export const globalFilterToSort = ( desc: true }); +type WithRequired = T & { [P in K]-?: T[P] }; + export const getExpandedUnexpectedState = ( testIds: string[], rowsValues: Record> @@ -36,7 +39,10 @@ export const getExpandedUnexpectedState = ( testIds.forEach((id) => { const rowValues = rowsValues[id]; - const rowState: Required = { rowId: id, requests: {} }; + const rowState: WithRequired = { + rowId: id, + requests: {} + }; Object.entries(rowValues).forEach(([column, value]) => { if (!isUnexpectedColumn(column) || !value) return; From 738c23d42f06e935adae65282983b05b860971e6 Mon Sep 17 00:00:00 2001 From: Danil Kostromin Date: Thu, 22 Feb 2024 19:54:56 +0200 Subject: [PATCH 3/3] chore(release): v0.39.0 Signed-off-by: Danil Kostromin --- CHANGELOG.md | 27 ++++++++++++++ .../deploy-info/src/lib/changelog.mdx | 35 +++++++++++++++++-- .../deploy-info/src/lib/git-info.json | 2 +- package.json | 2 +- 4 files changed, 61 insertions(+), 5 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 6b478e4c..7275f26d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,32 @@ +## [0.39.0](https://github.com/ts-factory/bublik-ui/compare/v0.38.0...v0.39.0) (2024-02-22) + + +### 👷‍ Build System + +* **docker:** add docker for easily bootstrapping dev env ([f0da04d](https://github.com/ts-factory/bublik-ui/commit/f0da04db315506a64d04e8932f265fc0be6d250f)) + + +### 🐛 Bug Fix + +* **providers:** [tooltip] disable hoverable content ([dc6baf5](https://github.com/ts-factory/bublik-ui/commit/dc6baf5ee560c7ed9881802efde702607def69b4)) +* **ui:** [checkbox] not updating on label click ([3475b01](https://github.com/ts-factory/bublik-ui/commit/3475b01081281b6766da0cd691df52d2c5aa1efc)) + + +### 🚀 New Feature + +* **log:** make log page respect user preferences ([ef5ebe3](https://github.com/ts-factory/bublik-ui/commit/ef5ebe34c5c9954252dc0d3cebfe09af2a273c45)) +* **performance:** add view for bublik performance self-testing ([2a3619b](https://github.com/ts-factory/bublik-ui/commit/2a3619b4dc8f3258459d84e3816fb5c5bd3060b9)) +* **run:** add ability to highlight param difference ([b75d295](https://github.com/ts-factory/bublik-ui/commit/b75d2956820c99673e4516d7ffa9522cdcb7a205)) +* **ui:** add radio group component ([aa27baa](https://github.com/ts-factory/bublik-ui/commit/aa27baa741f637dcdb39235b5233f1506c0653f8)) +* **user:** [preferences] add user preferences form ([2ce58ce](https://github.com/ts-factory/bublik-ui/commit/2ce58cebce2e08bf884f2669e0fbb3aa57fa5ba3)) + + +### ♻ Code Refactoring + +* **log,history,measurements:** make history links respect preferences ([2d3cfff](https://github.com/ts-factory/bublik-ui/commit/2d3cfff076211d8adb2a2b272119d7ad7556efd1)) + ## 0.38.0 (2024-01-31) diff --git a/libs/bublik/features/deploy-info/src/lib/changelog.mdx b/libs/bublik/features/deploy-info/src/lib/changelog.mdx index 8a4fddb6..5eef80dc 100644 --- a/libs/bublik/features/deploy-info/src/lib/changelog.mdx +++ b/libs/bublik/features/deploy-info/src/lib/changelog.mdx @@ -1,5 +1,32 @@ # Changelog +## [0.39.0](https://github.com/ts-factory/bublik-ui/compare/v0.38.0...v0.39.0) (2024-02-22) + + +### 👷‍ Build System + +* **docker:** add docker for easily bootstrapping dev env ([f0da04d](https://github.com/ts-factory/bublik-ui/commit/f0da04db315506a64d04e8932f265fc0be6d250f)) + + +### 🐛 Bug Fix + +* **providers:** [tooltip] disable hoverable content ([dc6baf5](https://github.com/ts-factory/bublik-ui/commit/dc6baf5ee560c7ed9881802efde702607def69b4)) +* **ui:** [checkbox] not updating on label click ([3475b01](https://github.com/ts-factory/bublik-ui/commit/3475b01081281b6766da0cd691df52d2c5aa1efc)) + + +### 🚀 New Feature + +* **log:** make log page respect user preferences ([ef5ebe3](https://github.com/ts-factory/bublik-ui/commit/ef5ebe34c5c9954252dc0d3cebfe09af2a273c45)) +* **performance:** add view for bublik performance self-testing ([2a3619b](https://github.com/ts-factory/bublik-ui/commit/2a3619b4dc8f3258459d84e3816fb5c5bd3060b9)) +* **run:** add ability to highlight param difference ([b75d295](https://github.com/ts-factory/bublik-ui/commit/b75d2956820c99673e4516d7ffa9522cdcb7a205)) +* **ui:** add radio group component ([aa27baa](https://github.com/ts-factory/bublik-ui/commit/aa27baa741f637dcdb39235b5233f1506c0653f8)) +* **user:** [preferences] add user preferences form ([2ce58ce](https://github.com/ts-factory/bublik-ui/commit/2ce58cebce2e08bf884f2669e0fbb3aa57fa5ba3)) + + +### ♻ Code Refactoring + +* **log,history,measurements:** make history links respect preferences ([2d3cfff](https://github.com/ts-factory/bublik-ui/commit/2d3cfff076211d8adb2a2b272119d7ad7556efd1)) + ## 0.38.0 (2024-01-31) @@ -29,9 +56,11 @@ ### 🐛 Bug Fix -* **build:** adjust release config to allow releases from branches other than ([22a6f6b](https://github.com/ts-factory/bublik-ui/commit/22a6f6be3555e509f16ed7c1b0999dd2d98501d5)) +* **build:** adjust release config to allow releases from branches other than `main` ([22a6f6b](https://github.com/ts-factory/bublik-ui/commit/22a6f6be3555e509f16ed7c1b0999dd2d98501d5)) * **import:** [import-form] allow empty URL ([33347a3](https://github.com/ts-factory/bublik-ui/commit/33347a30152a6faafb6b5fe9ee6d16a0485faef1)) -* **log:** fix json log overflow scrolling not working ([537677c](https://github.com/ts-factory/bublik-ui/commit/537677cf6729cacb226645fc9fb905430bf2a535))[SPDX-License-Identifier: Apache-2.0]:: +* **log:** fix json log overflow scrolling not working ([537677c](https://github.com/ts-factory/bublik-ui/commit/537677cf6729cacb226645fc9fb905430bf2a535)) + +[SPDX-License-Identifier: Apache-2.0]:: [SPDX-FileCopyrightText: 2021-2023 OKTET Labs Ltd.]:: ### [0.37.2](#) (2023-12-28) @@ -1086,4 +1115,4 @@ - **import:** sidebar is not fixed on long table ([f617e7e](#)) - **import:** trim whitespaces from msg query value ([ec9a5b6](#)) - **import:** ur validationl won't process properly ([0a8f0cb](#)) -- **log:** wrong document title ([92f9b2f](#)) +- **log:** wrong document title ([92f9b2f](#)) \ No newline at end of file diff --git a/libs/bublik/features/deploy-info/src/lib/git-info.json b/libs/bublik/features/deploy-info/src/lib/git-info.json index d001476b..596e27e8 100644 --- a/libs/bublik/features/deploy-info/src/lib/git-info.json +++ b/libs/bublik/features/deploy-info/src/lib/git-info.json @@ -1 +1 @@ -{"date":"2024.01.31","summary":"fix(build): adjust release config to allow releases from branches other than `main`","revision":"22a6f6b","branch":"release/v0.38.0","latestTag":"v0.38.0"} \ No newline at end of file +{"date":"2024.02.22","summary":"refactor(log,history,measurements): make history links respect preferences","revision":"2d3cfff","branch":"release/v0.39.0","latestTag":"v0.39.0"} \ No newline at end of file diff --git a/package.json b/package.json index dd144ca4..73551082 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "bublik-ui", - "version": "0.38.0", + "version": "0.39.0", "license": "Apache-2.0", "scripts": { "preinstall": "npx only-allow pnpm",