Skip to content

Commit

Permalink
v.0.35.0 + minor dependency updates
Browse files Browse the repository at this point in the history
  • Loading branch information
zaychenko-sergei committed Dec 27, 2024
1 parent c014979 commit 57f0c86
Show file tree
Hide file tree
Showing 16 changed files with 1,761 additions and 21,385 deletions.
4 changes: 2 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,13 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## Unreleased
## [0.35.0] - 2024-12-27
### Added
- Made `force update` link for a flow table
- Disable the `Run` button during query execution
### Changed
- Flow configuration separation

- Minor updates for most dependencies

## [0.34.0] - 2024-12-18
### Added
Expand Down
23,011 changes: 1,696 additions & 21,315 deletions package-lock.json

Large diffs are not rendered by default.

54 changes: 24 additions & 30 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "kamu-platform",
"version": "0.34.0",
"version": "0.35.0",
"scripts": {
"ng": "ng",
"start": "ng serve --watch",
Expand All @@ -15,12 +15,7 @@
"prettier": "prettier --write '**/*.{ts,scss,js,html,spec.ts}'",
"prettier-check": "prettier --check '**/*.{ts,scss,js,html,spec.ts}'",
"gql-update-schema": "curl https://raw.githubusercontent.com/kamu-data/kamu-cli/master/resources/schema.gql > resources/schema.graphql",
"gql-codegen": "graphql-codegen --config gql-codegen.yml && prettier --write src/app/api/kamu.graphql.interface.ts && sed -i 's/import { gql } from \"apollo-angular\"/import { gql } from \"@apollo\\/client\\/core\"/g' src/app/api/kamu.graphql.interface.ts",
"prepare": "husky install",
"install_pretty_quick": "npx husky set .husky/pre-commit \"npx pretty-quick --staged\"",
"preversion": "",
"version": "",
"postversion": ""
"gql-codegen": "graphql-codegen --config gql-codegen.yml && prettier --write src/app/api/kamu.graphql.interface.ts && sed -i 's/import { gql } from \"apollo-angular\"/import { gql } from \"@apollo\\/client\\/core\"/g' src/app/api/kamu.graphql.interface.ts"
},
"private": true,
"dependencies": {
Expand All @@ -37,38 +32,38 @@
"@angular/platform-browser-dynamic": "^16.2.12",
"@angular/router": "^16.2.12",
"@angular/service-worker": "16.2.12",
"@apollo/client": "3.10.8",
"@apollo/client": "3.12.4",
"@danielmoncada/angular-datetime-picker": "^16.1.0",
"@danielmoncada/angular-datetime-picker-moment-adapter": "^3.0.1",
"@ng-bootstrap/ng-bootstrap": "15.0.0",
"@ng-bootstrap/ng-bootstrap": "15.1.2",
"@popperjs/core": "^2.11.8",
"@rxweb/reactive-form-validators": "^13.0.1",
"@schematics/angular": "^14.2.13",
"@swimlane/ngx-graph": "8.2.0",
"@swimlane/ngx-graph": "8.4.0",
"angular-svg-icon": "^16.1.0",
"angular-svg-icon-preloader": "^6.0.0",
"angular2-multiselect-dropdown": "^10.0.0",
"apollo-angular": "^5.0.2",
"autoprefixer": "^10.4.5",
"autoprefixer": "^10.4.20",
"bootstrap": "^5.3.3",
"bootstrap-icons": "^1.11.3",
"clipboard": "^2.0.11",
"cron-parser": "^4.9.0",
"d3-scale": "^4.0.2",
"graphql": "^16.8.1",
"graphql": "^16.10.0",
"lodash": "^4.17.21",
"moment-timezone": "^0.5.45",
"moment-timezone": "^0.5.46",
"monaco-editor": "^0.41.0",
"ng-multiselect-dropdown": "^0.3.9",
"ng-multiselect-dropdown": "^1.0.0",
"ngx-highlightjs": "^7.0.1",
"ngx-markdown": "^16.0.0",
"ngx-monaco-editor-v2": "^16.0.0",
"ngx-toastr": "^15.2.2",
"ngx-trim-directive": "^2.0.0",
"ngx-monaco-editor-v2": "^16.0.1",
"ngx-toastr": "^17.0.2",
"ngx-trim-directive": "^3.0.1",
"npx": "^10.2.2",
"rxjs": "^7.8.1",
"tslib": "^2.0.0",
"yaml": "^2.4.1",
"yaml": "^2.6.1",
"zone.js": "~0.13.3"
},
"overrides": {
Expand All @@ -79,28 +74,27 @@
"@angular/cli": "^16.2.14",
"@angular/compiler-cli": "^16.2.12",
"@angular/language-service": "^16.2.12",
"@graphql-codegen/add": "^3.1.0",
"@graphql-codegen/cli": "^2.11.8",
"@graphql-codegen/typescript-apollo-angular": "^3.3.1",
"@graphql-codegen/typescript-operations": "^2.2.1",
"@graphql-codegen/add": "^3.2.3",
"@graphql-codegen/cli": "^2.16.5",
"@graphql-codegen/typescript-apollo-angular": "^3.5.6",
"@graphql-codegen/typescript-operations": "^2.5.13",
"@types/jasmine": "^4.3.6",
"@types/lodash": "^4.14.182",
"@types/lodash": "^4.17.13",
"@types/node": "9.6.0",
"@typescript-eslint/eslint-plugin": "^7.2.0",
"@typescript-eslint/parser": "^7.2.0",
"@typescript-eslint/eslint-plugin": "^7.18.0",
"@typescript-eslint/parser": "^7.18.0",
"codelyzer": "^6.0.2",
"eslint": "^8.57.0",
"eslint-plugin-jasmine": "^4.1.3",
"husky": "^8.0.0",
"jasmine": "^5.1.0",
"eslint-plugin-jasmine": "^4.2.2",
"jasmine": "^5.5.0",
"jasmine-spec-reporter": "^7.0.0",
"karma": "~6.4.3",
"karma": "~6.4.4",
"karma-chrome-launcher": "~3.2.0",
"karma-coverage-istanbul-reporter": "~3.0.3",
"karma-firefox-launcher": "^2.1.3",
"karma-jasmine": "^5.1.0",
"karma-jasmine-html-reporter": "^2.1.0",
"prettier": "3.2.5",
"prettier": "3.4.2",
"pretty-quick": "^4.0.0",
"stylelint": "^15.11.0",
"stylelint-config-standard-scss": "^11.1.0",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ <h2 class="title">
[searchByDataset]="searchByDataset"
[searchByAccount]="searchByAccount"
[tableOptions]="{
displayColumns: DISPLAY_COLUMNS
displayColumns: DISPLAY_COLUMNS,
}"
[accountFlowInitiators]="flowConnectionData.flowInitiators"
[involvedDatasets]="flowConnectionData.flowsData.involvedDatasets"
Expand Down
20 changes: 10 additions & 10 deletions src/app/auth/settings/account-settings.component.html
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
appFeatureFlag="settings.profile"
data-view-component="true"
[ngClass]="{
'action-list-item--nav__active': activeTab === AccountSettingsTabs.PROFILE
'action-list-item--nav__active': activeTab === AccountSettingsTabs.PROFILE,
}"
class="action-list-item"
>
Expand All @@ -59,7 +59,7 @@
<li
appFeatureFlag="settings.account"
[ngClass]="{
'action-list-item--nav__active': activeTab === AccountSettingsTabs.ACCOUNT
'action-list-item--nav__active': activeTab === AccountSettingsTabs.ACCOUNT,
}"
class="action-list-item"
>
Expand All @@ -81,7 +81,7 @@
appFeatureFlag="settings.appearance"
data-view-component="true"
[ngClass]="{
'action-list-item--nav__active': activeTab === AccountSettingsTabs.APPEARANCE
'action-list-item--nav__active': activeTab === AccountSettingsTabs.APPEARANCE,
}"
class="action-list-item"
>
Expand All @@ -104,7 +104,7 @@
data-item-id=""
data-view-component="true"
[ngClass]="{
'action-list-item--nav__active': activeTab === AccountSettingsTabs.ACCESSIBILITY
'action-list-item--nav__active': activeTab === AccountSettingsTabs.ACCESSIBILITY,
}"
class="action-list-item"
>
Expand All @@ -126,7 +126,7 @@
appFeatureFlag="settings.notifications"
data-view-component="true"
[ngClass]="{
'action-list-item--nav__active': activeTab === AccountSettingsTabs.NOTIFICATIONS
'action-list-item--nav__active': activeTab === AccountSettingsTabs.NOTIFICATIONS,
}"
class="action-list-item"
>
Expand Down Expand Up @@ -170,7 +170,7 @@
data-view-component="true"
class="action-list-item"
[ngClass]="{
'action-list-item--nav__active': activeTab === AccountSettingsTabs.BILLING
'action-list-item--nav__active': activeTab === AccountSettingsTabs.BILLING,
}"
>
<!-- [routerLink]="getRouteLink(AccountSettingsTabs.BILLING)" -->
Expand All @@ -192,7 +192,7 @@
data-view-component="true"
class="action-list-item"
[ngClass]="{
'action-list-item--nav__active': activeTab === AccountSettingsTabs.EMAILS
'action-list-item--nav__active': activeTab === AccountSettingsTabs.EMAILS,
}"
>
<!-- [routerLink]="getRouteLink(AccountSettingsTabs.EMAILS)" -->
Expand All @@ -214,7 +214,7 @@
data-view-component="true"
class="action-list-item"
[ngClass]="{
'action-list-item--nav__active': activeTab === AccountSettingsTabs.SECURITY
'action-list-item--nav__active': activeTab === AccountSettingsTabs.SECURITY,
}"
>
<!-- [routerLink]="getRouteLink(AccountSettingsTabs.SECURITY)" -->
Expand All @@ -237,7 +237,7 @@
class="action-list-item"
[ngClass]="{
'action-list-item--nav__active':
activeTab === AccountSettingsTabs.ORGANIZATIONS
activeTab === AccountSettingsTabs.ORGANIZATIONS,
}"
>
<!-- [routerLink]="getRouteLink(AccountSettingsTabs.ORGANIZATIONS)" -->
Expand All @@ -260,7 +260,7 @@
class="action-list-item"
[ngClass]="{
'action-list-item--nav__active':
activeTab === AccountSettingsTabs.ACCESS_TOKENS
activeTab === AccountSettingsTabs.ACCESS_TOKENS,
}"
>
<a
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@
datasetById(element.description.datasetId).name,
URL_FLOW_DETAILS,
element.flowId,
FlowDetailsTabs.HISTORY
FlowDetailsTabs.HISTORY,
]"
class="fw-500 description-link text-dark"
>
Expand Down Expand Up @@ -158,7 +158,7 @@
[routerLink]="[
'/',
datasetById(element.description.datasetId).owner.accountName,
datasetById(element.description.datasetId).name
datasetById(element.description.datasetId).name,
]"
class="text-small"
>{{ datasetById(element.description.datasetId).name }}</a
Expand All @@ -182,7 +182,7 @@
datasetById(element.description.datasetId).name,
URL_FLOW_DETAILS,
element.flowId,
FlowDetailsTabs.HISTORY
FlowDetailsTabs.HISTORY,
]"
>
Details
Expand Down
5 changes: 3 additions & 2 deletions src/app/common/errors.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ import { logError } from "./app.helpers";
import { LoggedUserService } from "../auth/logged-user.service";
import { Injector } from "@angular/core";
import { ToastrService } from "ngx-toastr";
import { GraphQLFormattedError } from "graphql";

export abstract class KamuError extends Error {
abstract accept(visitor: KamuErrorVisitor): void;
Expand Down Expand Up @@ -48,9 +49,9 @@ export class AccountNotFoundError extends KamuError {
}

export abstract class KamuMultiError extends KamuError {
public readonly errors: readonly Error[];
public readonly errors: ReadonlyArray<GraphQLFormattedError>;

constructor(errors: readonly Error[]) {
constructor(errors: ReadonlyArray<GraphQLFormattedError>) {
super();
this.errors = errors;
}
Expand Down
4 changes: 2 additions & 2 deletions src/app/components/modal/modal-dialog.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ import { DynamicComponent } from "./dynamic.component";
'modal__header-ok': context && context.status === 'ok',
'modal__header-warning': context && context.status === 'warning',
'modal__header-error': context && context.status === 'error',
'modal__header-black': context && context.status === 'dialog_question'
'modal__header-black': context && context.status === 'dialog_question',
}"
>
{{ context && context.title }}
Expand Down Expand Up @@ -45,7 +45,7 @@ import { DynamicComponent } from "./dynamic.component";
[style]="{
width: computeWidth(),
display: 'flex',
alignItems: 'center'
alignItems: 'center',
}"
>
<button
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
metadataBlockFragment.author.accountName,
datasetName,
URL_BLOCK,
metadataBlockFragment.blockHash
metadataBlockFragment.blockHash,
]"
>{{ descriptionForMetadataBlock }}</a
>
Expand All @@ -60,7 +60,7 @@
[value]="metadataBlockFragment.blockHash"
[navigationTargetDataset]="{
accountName: metadataBlockFragment.author.accountName,
datasetName: this.datasetName
datasetName: this.datasetName,
}"
[class]="'f6 link--secondary text-mono ml-2 d-none d-lg-inline'"
/>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@
[value]="block.blockHash"
[navigationTargetDataset]="{
accountName: block.author.accountName,
datasetName: this.datasetName
datasetName: this.datasetName,
}"
[showCopyButton]="true"
[class]="'text-dark mr-4 hashBlock'"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@
appFeatureFlag="flowDetails.summary"
class="action-list-item"
[ngClass]="{
'action-list-item__nav-active': activeTab === FlowDetailsTabs.SUMMARY
'action-list-item__nav-active': activeTab === FlowDetailsTabs.SUMMARY,
}"
>
<a routerLinkActive="active" [routerLink]="getRouteLink(FlowDetailsTabs.SUMMARY)">
Expand All @@ -69,7 +69,7 @@
appFeatureFlag="flowDetails.history"
class="action-list-item"
[ngClass]="{
'action-list-item__nav-active': activeTab === FlowDetailsTabs.HISTORY
'action-list-item__nav-active': activeTab === FlowDetailsTabs.HISTORY,
}"
>
<a routerLinkActive="active" [routerLink]="getRouteLink(FlowDetailsTabs.HISTORY)">
Expand All @@ -82,7 +82,7 @@
appFeatureFlag="flowDetails.logs"
class="action-list-item"
[ngClass]="{
'action-list-item__nav-active': activeTab === FlowDetailsTabs.LOGS
'action-list-item__nav-active': activeTab === FlowDetailsTabs.LOGS,
}"
>
<a routerLinkActive="active" [routerLink]="getRouteLink(FlowDetailsTabs.LOGS)">
Expand All @@ -96,7 +96,7 @@
appFeatureFlag="flowDetails.usage"
class="action-list-item"
[ngClass]="{
'action-list-item__nav-active': activeTab === FlowDetailsTabs.USAGE
'action-list-item__nav-active': activeTab === FlowDetailsTabs.USAGE,
}"
>
<a routerLinkActive="active" [routerLink]="getRouteLink(FlowDetailsTabs.USAGE)">
Expand All @@ -109,7 +109,7 @@
appFeatureFlag="flowDetails.admin"
class="action-list-item"
[ngClass]="{
'action-list-item__nav-active': activeTab === FlowDetailsTabs.ADMIN
'action-list-item__nav-active': activeTab === FlowDetailsTabs.ADMIN,
}"
>
<a routerLinkActive="active" [routerLink]="getRouteLink(FlowDetailsTabs.ADMIN)">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ export class DatasetSettingsSchedulingTabComponent extends BaseComponent {
.setDatasetTriggers({
datasetId: this.datasetBasics.id,
datasetFlowType: DatasetFlowType.ExecuteTransform,
paused: !(batchingTriggerForm.controls.updatesState.value as boolean),
paused: !batchingTriggerForm.controls.updatesState.value,
triggerInput: this.setBatchingTriggerInput(batchingTriggerForm),
datasetInfo: {
accountName: this.datasetBasics.owner.accountName,
Expand All @@ -78,7 +78,7 @@ export class DatasetSettingsSchedulingTabComponent extends BaseComponent {
.setDatasetTriggers({
datasetId: this.datasetBasics.id,
datasetFlowType: DatasetFlowType.Ingest,
paused: !(pollingForm.controls.updatesState.value as boolean),
paused: !pollingForm.controls.updatesState.value,
triggerInput: this.setPollingTriggerInput(pollingForm),
datasetInfo: {
accountName: this.datasetBasics.owner.accountName,
Expand Down
Loading

0 comments on commit 57f0c86

Please sign in to comment.