sergeyteleshev and mr-anton-t
78daa21c87
[CB] update frontend deps ( #3973 )
...
* dbeaver/pro#7748 updates yarn.locks
* fixes incorrect types
* updates helper libs
* updates vitest + fixes test cases incorrect mocks
* runs tests sequentially with document and windows objects to prevent mock collisions
* Revert "runs tests sequentially with document and windows objects to prevent mock collisions"
This reverts commit f871837df3 .
* skips download test
* removes export from resetDeprecatedSettings
* updates react-data-grid to beta-59 and react to 19.2
* updates storybook
* pr fixes
* updates yarn lock
* removes skip for download test
* cleanups download ts with empty body html
* updates vitest for core-connections
* updates yarn.lock
* linter fix + mocks once
* fixes hotkeys
* reverts version of react-hotkeys-hook library
---------
Co-authored-by: mr-anton-t <42037741+mr-anton-t@users.noreply.github.com >
2025-12-18 12:49:11 +01:00
sergeyteleshev
5d2c6dc062
[CB] write unit tests ( #3928 )
...
* dbeaver/pro#7563 adds unit tests for core-utils
* removes restore all mocks
* adds eslint rules: now arrow function + no unnamed functions (to improve debug experience)
* fixes test according new eslint rules
* removes arrow function expression eslint
* adds Icon Or Image unit tests
* removes problematic test
* useSMock & sMock + reuses these mocks
* adds StaticImage tests
* adds UploadArea tests
* adds tests for useAdministrationSettings
* un-skips useCombinedHandler
* tries to fix useObjectRef via correct mocking (failed github action)
* adds useErrorDetails tests
* rewrites useObjectRef tests so it works stable
* unskips app-init & getTextFileReadingProcess
* adds useFuzzySearch tests
* adds useSearch tests
* pr fixes after copilot review
* self review fixes
* pr fixes
* introduces user events
* uses get by role id to check accessibility of the components
* fixes redefined focus in body
* removes mocks
* removes mocks 2
* removes mocks 3
* removes repeated test cases
2025-12-12 18:55:50 +08:00
Alexey Potsetsuev and mr-anton-t
0fe432f45c
dbeaver/pro#6783 refactor: plugins bundles ( #3761 )
...
Co-authored-by: mr-anton-t <42037741+mr-anton-t@users.noreply.github.com >
2025-09-23 18:37:24 +08:00
Alexey Potsetsuev
f41b9d24fe
dbeaver/pro#6662 chore: cleanup ( #3713 )
2025-09-02 18:41:49 +08:00
Alexey Potsetsuev and mr-anton-t
80f258b561
dbeaver/pro#6744 refactor: migration to @wroud/di ( #3704 )
...
* dbeaver/pro#6744 refactor: migration to `@wroud/di`
* tests: enable settings tests
* chore: update syntax
* fix: dynamic theme detection
* fix: skip not stable test
* fix: skip whole test
* fix: make theme optional
* fix: page reload
* tests: skip unstable test
* fix: remove optional
* fix: load system theme
* fix: prevent the system theme from always loading despite not being selected
---------
Co-authored-by: mr-anton-t <42037741+mr-anton-t@users.noreply.github.com >
2025-08-29 18:22:11 +08:00
sergeyteleshev
a0def9f3ae
[CB] write unit tests ( #3621 )
...
* dbeaver/pro#6436 initializes unit tests for common-react
* installs common-react in the scripts
* adds @dbeaver/react-tests
* setups @dbeaver/react-test into tests-runner
* implements react-testing library into @dbeaver/react-tests
* removes unused deps
* adds test for frontend build github action
2025-08-04 18:45:22 +08:00
sergeyteleshev
444ff0d672
[CB] fix unit tests issue with console mocking ( #3589 )
...
* dbeaver/pro#6288 adds init for console mocks
* test fix 2
* test fix 3
* test fix 4
* resetets deprecated settings
2025-07-22 09:33:33 +02:00
Alexey Potsetsuev and mr-anton-t
f5380093ca
dbeaver/pro#5763 chore: update deps ( #3571 )
...
* dbeaver/pro#5763 chore: update deps
* fix: linting
* chore: fix gql client
* chore: force version upgrade
* fix: gql error catching
---------
Co-authored-by: mr-anton-t <42037741+mr-anton-t@users.noreply.github.com >
2025-07-10 03:09:19 +08:00
Alexey and Daria Marutkina
7c0d666b0a
dbeaver/pro#5122 fix: settings alias resolving ( #3544 )
...
* dbeaver/pro#5122 fix: settings alias resolving
* chore: skip failing tests
---------
Co-authored-by: Daria Marutkina <125263541+dariamarutkina@users.noreply.github.com >
2025-07-01 19:57:28 +08:00
Alexey
f0010494fa
dbeaver/pro#5889 fix: unit tests win ( #3522 )
2025-06-13 17:33:06 +08:00
Alexey
786babc988
dbeaver/pro#5889 fix: unit tests ( #3515 )
2025-06-10 20:33:53 +08:00
1f4266ec95
dbeaver/pro#5745 [CB] Bump NPM dependencies #5745 ( #3457 )
...
* dbeaver/pro#5745 updates frontend deps
* updates graphql-request
* updates yarn locks for common-typescript, common-react
* updates engines node version
* react-hotkeys-hook + fixes hotkeys so it continues to work
* code cleanup for parseHotKey
* uses fixed version of tailwindcss
* adds 4.0.6 versions for tailwindcss with resolutions
* reverts tailwind 4.0.6 version for yarn.lock
* removes redundant resolutions for tailwindcss
* Update readme.md with new NodeJS version
* Update README.md with correct nodejs version according to our documentation
* updates talewindcss version 4.0.7
* fix: hotkeys types
---------
Co-authored-by: Wroud <wrouds@gmail.com >
Co-authored-by: Evgenia <139753579+EvgeniaBzzz@users.noreply.github.com >
Co-authored-by: mr-anton-t <42037741+mr-anton-t@users.noreply.github.com >
2025-05-23 17:31:13 +08:00
Alexey
08346ebc12
dbeaver/pro#5494 feat: refactor tests ( #3388 )
...
* dbeaver/pro#5494 feat: refactor tests
* chore: update yarn.lock
* chore: strict build script
* fix: review
2025-04-23 18:18:13 +08:00
sergeyteleshev
143cbb0d88
Cb 6265 Return front unit tests after migration ( #3338 )
...
* СB-6265 sets up vitest instead of jest
* CB-6265 gets back core-utils tests
* СB-6265 gets back react-testing-library tests
* СB-6265 gets back some tests from another plugins
* CB-6265 renames dist -> lib in each plugin + removes all jest from the repo
* CB-6265 disables watch mode so build can go on
* CB-6265 extends tests types for react-testing-library
* CB-6265 reverts dist->lib rename cause it contains other assets also
* CB-6265 moves setupFiles to the vitest.config.ts
* CB-6265 pr fixes
* CB-6265 fixes tests run for Windows
* CB-6265 removes global: true in config + uses jest-dom/vitest lib to have extended expect types
* CB-6565 removes unused deps
* СB-6265 improves performance of the test x10 times
* CB-6265 gets back renderInApp, fixes vitest setup reset config for mocks, cleans up
* CB-6265 reset -> restore all mocks
* CB-6265 fixes unit tests
* CB-6265 vitest.setup.ts cleanup
* CB-6265 timestamp to date shows military time both: on unix and windows (win tests fix)
* CB-6265 improves tests running (sequential run instead of parallel)
* CB-6265 cleanup
* CB-6265 eslint fix
* CB-6265 eslint fix 2
* CB-6265 reverts useCombined handler
* CB-6265 reverts some tests
* CB-6265 removes all redundant timer configs
* Merge branch 'devel' into CB-6265-return-front-unit-tests-after-migration
* CB-6265 pr fixes
* CB-6265 fixes time for windows
* CB-6265 removes default fake timers before each test
2025-04-14 18:48:33 +08:00
a76dc9cdbf
CB-6219 refactor: migrate to react 19 ( #3252 )
...
* CB-6219 refactor: migrate to react 19
* chore: tune backend build
* chore: fix loaders
---------
Co-authored-by: Evgenia <139753579+EvgeniaBzzz@users.noreply.github.com >
Co-authored-by: mr-anton-t <42037741+mr-anton-t@users.noreply.github.com >
2025-02-12 00:55:20 +08:00
2fc9c72908
dbeaver/dbeaver-vscode#77 refactor: yarn & vit migration ( #3229 )
...
* dbeaver/vscode#77 refactor: yarn & vit migration
* chore: configure eslint & typescript & prettier
* fix: chunk splitting & assets loading
* fix: enable corepack
* refactor: dev environment
* chore: remove corepack enable from build scripts
* chore: make script executable
* fix: SSL check in vite dev
* chore: update debug launch configs
---------
Co-authored-by: mr-anton-t <42037741+mr-anton-t@users.noreply.github.com >
Co-authored-by: Evgenia <139753579+EvgeniaBzzz@users.noreply.github.com >
2025-02-05 00:20:23 +08:00
8f54e759dd
CB-4541 feat: tree filter ( #2908 )
...
* CB-4541 feat: tree filter
* CB-4541 feat: tree empty placeholders
* CB-4541 fix: settings overflow scroll effect
* CB-4541 fix: settings groups size
* CB-4541 fix: sync groups when filtering
* CB-4541 chore: performance optimization
* chore: review fixes
* chore: replace inline styles
* chore: replace inline styles
* chore: hide extra settings from UI
* chore: hide groups view from settings
* fix: add override options to devtools
* fix: trim filter in settings search
* chore: localization
---------
Co-authored-by: Evgenia Bezborodova <139753579+EvgeniaBzzz@users.noreply.github.com >
Co-authored-by: kseniaguzeeva <112612526+kseniaguzeeva@users.noreply.github.com >
Co-authored-by: mr-anton-t <42037741+mr-anton-t@users.noreply.github.com >
2024-09-25 19:46:13 +03:00
Alexey
6ad148850d
refactor: migrate to pure esm CB-5684 ( #2929 )
...
* refactor: migrate to pure esm
* chore: revert `useDefineForClassFields` tsconf
* chore: remove patch.js
2024-09-21 07:06:37 +03:00
sergeyteleshev and Aleksei Potsetsuev
74486b35b4
CB-5340 adds unit tests for basic hooks ( #2755 )
...
* CB-5340 adds unit tests for basic hooks
* CB-5340 test: trigger github actions
* CB-5340 fixes unit tests
* CB-5340 fixes unit tests
* CB-5340 fixes unit tests
* CB-5340 adds jest moduled imports for unit tests
* CB-5340 adds jest moduled imports for unit tests
* CB-5340 revert some changes
* CB-5340 cleanup
* CB-5340 replaces global jest to moduled
* CB-5340 uncomment tests and skip it
* CB-5340 cleanup
* chore: enable jest globals
* CB-5340 fix unit tests
---------
Co-authored-by: Aleksei Potsetsuev <wrouds@gmail.com >
2024-08-07 12:42:43 +03:00
b48684b65d
CB-3823 refactor: introduce service provider ( #2774 )
...
* CB-3823 refactor: introduce service provider
* CB-3823 fix: tests
* CB-5361 api for db tools
* CB-3823 feat: table group
* CB-3823 feat: connection tools resource
* CB-3823 refactor: database result action
* CB-3823 feat: session manager
* CB-3823 fix: data viewer error tracking
* CB-5361 add tools for rm admin
* CB-3823 fix: review
* CB-5361 fixes after review
* CB-5361 add comment
* CB-5361 fix permissions
* CB-3823 fix: service provider
* CB-3823 fix: useController services fallback
---------
Co-authored-by: Ainur <ainur.iagudin@dbeaver.com >
Co-authored-by: Evgenia Bezborodova <139753579+EvgeniaBzzz@users.noreply.github.com >
2024-07-16 17:38:00 +02:00
Alexey
f88eb8610c
chore: remove unused npm command ( #2771 )
2024-07-09 16:45:49 +03:00
sergeyteleshev and Alexey
6e4f16e824
Cb 5293 unit tests for hooks in core blocks ( #2724 )
...
* CB-5293 adds unit tests for useState delay hook
* CB-5293 removes unused helper hook
* СB-5277 adds tests for useClipboard hook
---------
Co-authored-by: Alexey <wrouds@gmail.com >
2024-06-26 16:38:07 +03:00
Alexey
4078b6aa16
CB-5250 refactor: move task manager to core manifest ( #2726 )
...
* refactor: move task manager to core manifest
* chore: update dependencies
2024-06-25 18:15:32 +03:00
c3ae4acdfb
Cb 5164 deps update ( #2675 )
...
* CB-5164 update sup deps
* CB-5164 update typescript and mobx
* CB-5164 update react
* CB-5164 fix: specify only major versions
* CB-5164 fix class format
---------
Co-authored-by: Aleksei Potsetsuev <wrouds@gmail.com >
Co-authored-by: mr-anton-t <42037741+mr-anton-t@users.noreply.github.com >
2024-06-05 13:29:38 +03:00
Alexey
8eaabce90b
CB-5228 feat: fast frontend unit tests ( #2677 )
...
* fix: try to fix make docker container.sh
* fix: specify correct docker build scripts folder
* fix: validate branch to valid docker tag name
* feat: combined workflows
* feat: add readable names for github actions
* feat: add docker pull command comment
* fix: comment publishing comment with docker instructions
* feat: improve build & test performance
* feat: add option to skip cache
* fix: flush cache
* fix: flush cache
* feat: merge tests and build steps
* fix: github action outputs keys
* feat: add lint job
* feat: change file to trigger lint
* fix: omit webapp path
* fix: trigger lint
* fix: continue on linting errors
* feat: add publishing container to github docker registry
* feat: add lint status
* chore: re-trigger-lint
* feat: add java checkstyle
* fix: java linting
* fix: github token
* fix: update jave checkstyle action
* chore: simplify frontend lint action
* chore: remove changed java files
* feat: revert lint trigger frontend
* feat: add docker credentials helper
* fix: remove credentials warning
* fix: tests and clean command
* CB-5228 feat: run frontend tests for every build
* fix: clean tasks
* feat: update cli tools
2024-05-31 21:34:57 +03:00
d280171b97
CB-4978 feat: handle app update ( #2579 )
...
* CB-4978 feat: handle app update
* CB-4978 fix: app loading status info
* feat: async module loading and preload api
* chore: disable SW in dev env
* CB-4978 feat: improve precaching
* CB-4978 fix: split style chunks in two file
* CB-4978 fix: App rebinding
* CB-4978 fix: styles specificity
* CB-4978 fix: app loading
* CB-4978 fix: styles specificity
* CB-4978 fix: flickering bad positioned loader
* CB-4978 fix: styles specificity
* CB-4978 fix: table presentation scrolls
* CB-4978 chore: add extra error logging
* CB-4978 chore: add extra error logging
* CB-4978 fix: toolbar scrolling
* CB-4978 fix: log viewer empty message
* CB-4978 fix: cell styles
* CB-4978 fix: tabs styles
* CB-4978 fix: tests
---------
Co-authored-by: Daria Marutkina <125263541+dariamarutkina@users.noreply.github.com >
Co-authored-by: kseniaguzeeva <112612526+kseniaguzeeva@users.noreply.github.com >
2024-05-14 09:16:46 +03:00
2a610c3f50
Cb 4911 add license headers with git hooks ( #2504 )
...
* adds husky with license script
* fix: license can pass file not fitted to provided FILES_PATH pattern
* license: notify user for updated files with new license header
* moves husky to frontend directory
* adds check for unstaged files with license
* change pre commit to pre push
* test: remove license from value panel
* Revert "test: remove license from value panel"
This reverts commit b690b75c6b .
* adds postinstall
* test: remove license from value panel [2]
* Revert "test: remove license from value panel [2]"
This reverts commit ea86fd3c57 .
* sets back precommit
* CB-4911 validate missed license
* CB-4911 fix linter
* CB-4911 check license line by line
* CB-4911 feat: use node for license check
---------
Co-authored-by: s.teleshev <s.teleshev@mu.se >
Co-authored-by: Aleksei Potsetsuev <wrouds@gmail.com >
2024-04-10 14:08:20 +03:00
eaa26dfe52
CB-4619 user scope settings ( #2471 )
...
* CB-4619 feat: update gql schema
* CB-4808 bulk update user parameters
* CB-4808 param type fix
* CB-4619 feat: updateUserPreferences API
* CB-4619 refactor: settings api
* CB-4619 refactor: move file
* CB-4619 refactor: settings api
* CB-4619 fix: pr review
* CB-4619 refactor: remove web-based product settings
* CB-4619 fix: after pr review
* CB-4619 refactor: move product conf to cloudbeaver conf
* CB-4619 fix: hide settings bar and log exception with changing session language
* CB-4619 fix: revert after merge
* CB-4808 new settings api
* CB-4808 update product.conf format
* CB-4808 update product.conf format
* CB-4619 feat: support server provided settings
* CB-4619 feat: prettify settings
* CB-4619 chore: map sql editor settings group
* CB-4808 add use short/long object name settings to CloudBeaver
* CB-4808 update default product.conf
* CB-4808 mode short/long settings to SQLModelPreferences
* CB-4808 review fix
* CB-4619 refactor: unit tests
* CB-4619 fix: prevent websocket opening spam
* CB-4619 fix: dependencies
* CB-4619 fix: remove extra theme loading
* CB-4619 fix: rename settings alias resolver file
* CB-4619 fix: after review
* CB-4619 fix conflicts
* CB-4619 rename server property
* CB-4619 remove shortname property
* CB-4619 fix legacy product conf reading
* CB-4619 merge root and runtime configurations
* CB-4619 chore: remove log viewer setting
* CB-4619 integer fields with env variables fix
* CB-4619 fix: property naming
* CB-4619 fix: parseJSONFlat null values
* CB-4619 fix: settings loading
* CB-4619 fix: save only actual settings
---------
Co-authored-by: Aleksandr Skoblikov <aleksandr.skoblikov@dbeaver.com >
Co-authored-by: kseniaguzeeva <112612526+kseniaguzeeva@users.noreply.github.com >
Co-authored-by: Evgenia Bezborodova <139753579+EvgeniaBzzz@users.noreply.github.com >
2024-03-28 10:30:52 +00:00
Alexey and mr-anton-t
e13368db00
CB-4818 refactor: update NPM dependencies ( #2450 )
...
* CB-4818 refactor: update NPM dependencies
* CB-4818 chore: update react-data-grid fork
* CB-4818 fix: tests
---------
Co-authored-by: mr-anton-t <42037741+mr-anton-t@users.noreply.github.com >
2024-03-07 14:32:43 +03:00
serge-rider
904375aa66
dbeaver/pro#2341 Copyright update
2024-01-10 10:31:38 +03:00
807365f42c
CB-4306 update ce deps ( #2206 )
...
* CB-4306 update ce deps
* CB-4306 update yarn lock
* CB-4306 revert quadtree-ts
* CB-4306 lock version
* CB-4306 pass missed globals to the vm context
* CB-4306 revert prettier version
* CB-4306 add types
* CB-4306 fix: msw types
* CB-4306 refactor: remove reshadow types declaration
---------
Co-authored-by: Alexey <wrouds@gmail.com >
Co-authored-by: mr-anton-t <42037741+mr-anton-t@users.noreply.github.com >
2023-12-14 15:25:10 +03:00
Alexey
01bcf9479d
fix: resolve npm dependencies ( #2050 )
...
* fix: resolve npm dependencies
* fix: types
* chore: add manual frontend cache actin running
* fix: github workflows
* fix: types
* fix: types
* fix: types
2023-10-09 16:25:07 +03:00
Alexey
ff4c453f8d
fix: webpack dev mode ( #2048 )
2023-10-06 17:29:29 +02:00
Alexey
be5bb95154
fix: ts configs ( #2047 )
2023-10-06 15:35:07 +02:00
Alexey
ece5e8f3f1
fix: unix paths ( #2046 )
2023-10-06 14:35:38 +02:00
Alexey
4550a71298
Refactor CB-3819 resources ( #2031 )
...
* CB-3819 refactor: split resources to modules
* CB-3819 refactor: move resource API to separate package
* CB-3819 refactor: move resource API to separate package
* CB-3819 refactor: split to submodules
* CB-3819 chore: update ts configuration
* CB-3819 refactor: move administration top bar to separate plugin
* CB-3819 feat: update tests
* CB-3819 chore: add pre scripts
* CB-3819 fix: prebuild tests-runner
* chore: restore cache for jest-tests github action
* chore: update configs
* chore: add frontend build action
* chore: rename build frontend github action
* chore: include test dependencies
* fix: default product build script
* chore: update github action
* chore: rename validation github action
* chore: update typescript cache key
* chore: update naming for github actions
* chore: run tests on ubuntu
* CB-3819 fix: pre build tasks
* CB-3819 fix: ignore order
* CB-3819 fix: remove prettier from gql sdk
2023-10-05 23:36:54 +03:00