Commit Graph
4102 Commits
Author SHA1 Message Date
AlexeyandEvgenia Bezborodova afb4ea205c CB-5393 fix: modal submenu (#2830)
Co-authored-by: Evgenia Bezborodova <139753579+EvgeniaBzzz@users.noreply.github.com>
2024-08-07 16:20:36 +03:00
sergeyteleshevandAleksei 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
Alexeyandmr-anton-t babb29f05a CB-5333 chore: update npm dependencies (#2827)
Co-authored-by: mr-anton-t <42037741+mr-anton-t@users.noreply.github.com>
2024-08-07 12:30:30 +03:00
alexandDaria Marutkina 12b5b2b941 CB-5437 use flex component instead of container (#2818)
* CB-5437 use flex component instead of container

* CB-5437 use data attributes to apply styles

* CB-5437 simplify logic

---------

Co-authored-by: Daria Marutkina <125263541+dariamarutkina@users.noreply.github.com>
2024-08-07 12:06:50 +03:00
sergeyteleshevandEvgenia Bezborodova 23b70441b8 CB-4618 Profile, changing password - after a successful change red borders appear (#2820)
* CB-4618 removes red border after form submission

* Revert "CB-4618 removes red border after form submission"

This reverts commit 703da4eea9.

* CB-4618 removes red border after form submission in useForm hook

---------

Co-authored-by: Evgenia Bezborodova <139753579+EvgeniaBzzz@users.noreply.github.com>
2024-08-06 15:53:52 +03:00
sergeyteleshevandDaria Marutkina ffee7a1f2f CB-5414 Import table - wrong description for canceled import (#2821)
* feat: adds correct cancellation message to DataImportService

* Update Russian translation for the data import process fail cancel message

* CB-5414 do not set message on cancelled task during import into table

---------

Co-authored-by: Daria Marutkina <125263541+dariamarutkina@users.noreply.github.com>
2024-08-06 12:39:31 +03:00
alexandDaria Marutkina 62d1f05188 CB-5215 move form component (#2815)
Co-authored-by: Daria Marutkina <125263541+dariamarutkina@users.noreply.github.com>
2024-08-05 19:31:23 +03:00
Serge Rider ab7e17900c 24.1.5 version bump 2024-07-31 16:45:10 +03:00
alexandDaria Marutkina c4f9764e02 CB-3789 make switch color brighter in dark theme (#2799)
* CB-3789 make switch color brighter in dark theme

* CB-3789 fix dense colors

---------

Co-authored-by: Daria Marutkina <125263541+dariamarutkina@users.noreply.github.com>
2024-07-30 15:43:40 +02:00
sergeyteleshevandEvgenia Bezborodova 45683f1a48 CB-3733 Close data editor tabs with the middle mouse button (#2805)
* feat: Add closeOnMouseWheelClick prop to Tab components

* fix: close tab on middle mouse button if tab can be closed

* fix: closes tabs for Safari also

* CB-3733 removes closeOnMouseWheelClick prop

---------

Co-authored-by: Evgenia Bezborodova <139753579+EvgeniaBzzz@users.noreply.github.com>
2024-07-29 11:23:55 +03:00
sergeyteleshevandDaria Marutkina 701e681fbd CB-5081 makes search icon always visible for local databases list (#2800)
* CB-5081 makes search icon always visible for local databases list

* CB-5081 renames search icon props

---------

Co-authored-by: Daria Marutkina <125263541+dariamarutkina@users.noreply.github.com>
2024-07-25 16:39:19 +03:00
081b0eaead Cb 4653 aws settings form migration (#2785)
* CB-4653 demo fixes

* CB-4653 chore: log message

---------

Co-authored-by: mr-anton-t <42037741+mr-anton-t@users.noreply.github.com>
Co-authored-by: Evgenia Bezborodova <139753579+EvgeniaBzzz@users.noreply.github.com>
2024-07-25 07:48:03 +03:00
AnastasiyaandEvgenia Bezborodova fa0cd1ea78 CB-5394 change descriptions for administrator rights (#2794)
Co-authored-by: Evgenia Bezborodova <139753579+EvgeniaBzzz@users.noreply.github.com>
2024-07-24 17:15:53 +03:00
sergeyteleshev 949722cd5a CB-4537 fixes textarea size for firefox browser in ErrorDialogDetails component (#2801) 2024-07-24 17:15:18 +03:00
sergeyteleshevandDaria Marutkina 0171240ac8 CB-5329 refactors isControlPresented to be more readable (#2798)
Co-authored-by: Daria Marutkina <125263541+dariamarutkina@users.noreply.github.com>
2024-07-24 14:27:27 +03:00
e4345ffc63 Cb 5178 redesign administration menu (#2775)
* CB-5357 resolves auth dialog on successful login (removes no license notification bug on login)

* CB-5178 fix settings names

* CB-5178 adds to the drawer items the new order

* CB-5178 removes license build and build time info from new "About" menu setting

* CB-5178 renames: plugin product -> plugin-product-information

* CB-5178 adds products info settings tab and page template

* CB-5178 adds product-info tabs

* CB-5178 revert changes from another branch

* CB-5178 fixes disappearing for sub tabs

* CB-5178 removes license redirect memory leaks + redirects correctly

* CB-5178 updates tabs state if license has new available version

* CB-5178 updates locale for new tabs

* CB-5178 moves product and product-info-administration to separate packages

* CB-5178 cleanup

* CB-5178 uses TabsContainer for Product Information Administration tabs

* CB-5178 cleanup

* CB-5178 cleanup

* CB-5178 cleanup

* CB-5178 replace icon

* CB-5178 removes extra icons

* CB-5178 fix: navigation sync with URL

* CB-5178 fix: plugin name

* CB-5178 fix: new version detection

* CB-5178 chore: add comment about style duplication

* Revert "CB-5178 removes extra icons"

This reverts commit 659b5720d5.

* CB-5178 adds about labels

* CB-5178 fixes disabled tabs for invalid license

* Revert "CB-5178 fixes disabled tabs for invalid license"

This reverts commit 2584a73219.

* CB-5178 disables administration items if license is expired (fix)

* CB-5178 disable product info tabs if no license required

* Revert "CB-5178 disable product info tabs if no license required"

This reverts commit e3d6c85313.

---------

Co-authored-by: Aleksei Potsetsuev <wrouds@gmail.com>
Co-authored-by: Daria Marutkina <125263541+dariamarutkina@users.noreply.github.com>
2024-07-23 19:24:45 +03:00
sergeyteleshevandEvgenia Bezborodova 7959357668 CB-4823 Result set - no vertical and horizontal scrolls appear for long errors (#2797)
* CB-4823 fixes table error overflow and icon position

* CB-4823 CB-4823 fixes scroll for collapsed error icon

---------

Co-authored-by: Evgenia Bezborodova <139753579+EvgeniaBzzz@users.noreply.github.com>
2024-07-23 18:26:26 +03:00
AlexeyandAleksandr Skoblikov 6b91a0e9e6 CB-5288 fix: connection secrets cache (#2748)
Co-authored-by: Aleksandr Skoblikov <aleksandr.skoblikov@dbeaver.com>
2024-07-23 09:36:20 +00:00
AlexeyandDaria Marutkina f834169414 chore: localization (#2406)
Co-authored-by: Daria Marutkina <125263541+dariamarutkina@users.noreply.github.com>
2024-07-23 12:13:23 +03:00
3a10080956 CB-5134. Added flag for node features (#2770)
* CB-5134. Added flag for node features

* CB-5134 check canFilter feature

* CB-5134. Added filter for connections when connected

* CB-5134. Fix filter for schemas

* CB-5314. Fix diagram view

* CB-5314. Fix diagram view

* CB-5314. Fix diagram view

* CB-5134. Refactor after review

* CB-5134 fix: typescript error

* CB-5134 fix: typescript error

---------

Co-authored-by: naumov <iamemptyhuh@gmail.com>
Co-authored-by: Daria Marutkina <125263541+dariamarutkina@users.noreply.github.com>
Co-authored-by: Aleksei Potsetsuev <wrouds@gmail.com>
Co-authored-by: Alexander Skoblikov <aleksandr.skoblikov@dbeaver.com>
2024-07-22 12:32:49 +00:00
Anastasiya b967cde145 24.1.4 version bump (#2793) 2024-07-22 12:59:12 +03:00
Alexey 75fdc2bcec Fix/cb-3823/typescript-error (#2784)
* CB-5134 fix: typescript error

* CB-5134 fix: typescript error
2024-07-16 19:23:50 +02: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 f5149c6324 CB-5337 fix: checkbox color (#2781) 2024-07-16 18:25:28 +03:00
AlexeyandEvgenia Bezborodova 87cd84881d CB-5318 fix: language sync (#2782)
Co-authored-by: Evgenia Bezborodova <139753579+EvgeniaBzzz@users.noreply.github.com>
2024-07-16 18:25:17 +03:00
Alexey 16e2920937 CB-5380 fix: grid loading (#2779) 2024-07-16 16:31:42 +03:00
alexandEvgenia Bezborodova d0f82d95a6 CB-5121 use different regex for long proposals mode (#2778)
Co-authored-by: Evgenia Bezborodova <139753579+EvgeniaBzzz@users.noreply.github.com>
2024-07-15 15:26:21 +03:00
sergeyteleshevandDaria Marutkina fb9cd47bed CB-5357 Expiring license notification is not shown after login (#2767)
* CB-5357 resolves auth dialog on successful login (removes no license notification bug on login)

* CB-5357 fix: do not show 2 notifications

* CB-5357 reverts authPromise logic

---------

Co-authored-by: Daria Marutkina <125263541+dariamarutkina@users.noreply.github.com>
2024-07-14 17:42:24 +03:00
9e74f18be3 CB-5338 simplify data grid styling logic (#2762)
* CB-5338 simplify data grid styling logic

* CB-5338 do not inherit color scheme from react data grid

* CB-5338 remove DataGridContainer

* CB-5338 sync focus status

* CB-5338 review fixes

---------

Co-authored-by: mr-anton-t <42037741+mr-anton-t@users.noreply.github.com>
Co-authored-by: Daria Marutkina <125263541+dariamarutkina@users.noreply.github.com>
2024-07-12 16:00:43 +03:00
alexandDaria Marutkina c8436f93e1 CB-4860 change save icon (#2773)
Co-authored-by: Daria Marutkina <125263541+dariamarutkina@users.noreply.github.com>
2024-07-10 19:05:54 +03:00
alexandEvgenia Bezborodova 190a9db695 CB-5084 use columnIndex instead of plain (#2769)
Co-authored-by: Evgenia Bezborodova <139753579+EvgeniaBzzz@users.noreply.github.com>
2024-07-10 12:15:29 +03:00
sergeyteleshev aa52372422 CB-5332 updates frontend dependencies (#2772) 2024-07-10 12:15:07 +03:00
Alexey f88eb8610c chore: remove unused npm command (#2771) 2024-07-09 16:45:49 +03:00
Alexey 1298f7e294 fix: prettier (#2765) 2024-07-05 16:26:31 +03:00
Alexey 3ea4443f48 CB-5341 chore: auto refresh localization (#2761) 2024-07-04 16:30:10 +03:00
Alexey 1be6ddaf1c CB-5342 fix: database data source tasks result (#2756)
* CB-5342 fix: database data source tasks result

* CB-5342 fix: database data source tasks tracking

* CB-5342 fix: add stop auto refresh button
2024-07-04 11:08:39 +03:00
Serge Rider 0d53211b88 24.1.3 version bump 2024-07-04 06:45:10 +02:00
e259606422 CB-4885 feat: components registry (#2745)
* CB-4885 feat: components registry

* CB-4885 fix: table data loading behaviour

* CB-4885 chore: remove unused comments

* CB-4885 fix: dispose tables correctly

* CB-4885 fix: cache invalidation

* CB-4885 fix: nav tree state persistence

* CB-4885 fix: database disconnect detection

* CB-4885 fix: auto refresh on error

* CB-4885 fix: auto refresh behaviour

* CB-4885 fix: auto refresh behaviour

* CB-4885 fix: top menu bar styles

* CB-4885 fix: auto refresh error handling

* CB-4885 chore: add comment about implementation

---------

Co-authored-by: mr-anton-t <42037741+mr-anton-t@users.noreply.github.com>
Co-authored-by: kseniaguzeeva <112612526+kseniaguzeeva@users.noreply.github.com>
2024-07-02 20:00:39 +02:00
faafcee1a4 CB-4961 Control files downloading ability (#2744)
* CB-4961 adds "disable download" setting to data viewer

* CB-4691 removes unneeded alias for new disable download setting

* CB-4691 pr fixes

* CB-4961 reverts image value presentation canSave logic

* CB-4961 disables download from image context menu

* CB-4691 fixes unit tests

* CB-4691 change new setting to existing one

* CB-4691 renames disable download -> disable export

* CB-4691 pr fixes

* CB-4691 updates tests for new export setting

---------

Co-authored-by: Alexey <wrouds@gmail.com>
Co-authored-by: Evgenia Bezborodova <139753579+EvgeniaBzzz@users.noreply.github.com>
2024-07-02 16:48:37 +03:00
sergeyteleshevandEvgenia Bezborodova 7e4411c0a9 CB-5153 Change description for 'Save credentials' mark on connection auth pop-up + unify (#2746)
* CB-5153 adds more UX friendly texts for connection "save credentials" checkbox

* CB-5153 fix build

* CB-5153 changes admins "Preferences" name to "Global Preferences"

* CB-5153 pr fixes

* CB-5153 adds logic to ssh/ssl login auth connection popup share cred checkboxes

* CB-5153 fixes translations with grammarly

* CB-5153 fixes tooltip texts for all languages

---------

Co-authored-by: Evgenia Bezborodova <139753579+EvgeniaBzzz@users.noreply.github.com>
2024-07-02 14:46:28 +03:00
b2c6306d21 CB-5114 add gql api for bigquery trace info (#2732)
* CB-5114 add gql api for bigquery trace info

* CB-5114 add has dynamic trace to gql

* CB-5114 has dynamic trace prop fix

* CB-5114 fixes after review

* CB-5113 add result trace details panel

* CB-5113 connect plugin

* CB-4882 review fixes

* CB-4882 update references

* CB-4882 use suspense instead of loader

* CB-4882 use metadata to keep promise

* CB-4882 add overflow to container

---------

Co-authored-by: naumov <iamemptyhuh@gmail.com>
Co-authored-by: Evgenia Bezborodova <139753579+EvgeniaBzzz@users.noreply.github.com>
2024-07-01 13:21:21 +00:00
49875e4dc1 CB-5197 create main connection fields dynamically (#2693)
* CB-5238 add main properties for connections

* CB-5197 render main properties

* CB-5197 render main properties

* CB-5238 set default values to main properties

* CB-5197 fix(ci/cd): respect base and target branches

* CB-5238 fixes after review

* CB-5197 review fixes

* CB-5197 switch to new model

* CB-5238 fixes after review

* CB-5197 remove custom configuration type

* CB-5238 remove custom config type from gql schema

* CB-5197 do not check configuration type for creds

* CB-5197 make argument optional

* CB-5238 fix creating connection with url

* CB-5238 rename param

* CB-5238 rename param

* CB-5197 rename field

---------

Co-authored-by: naumov <iamemptyhuh@gmail.com>
Co-authored-by: Alexey <wrouds@gmail.com>
Co-authored-by: Evgenia Bezborodova <139753579+EvgeniaBzzz@users.noreply.github.com>
2024-07-01 12:45:57 +00:00
4433018ed2 Cb 5124 add a notification about the upcoming expiration of the license add to status (#2733)
* CB-5124. Add license status to /status api

* CB-5124. Add license status to /status api

* CB-5124 adds reminder for soon expiring license

* CB-5124. Refactor after review

* CB-5153 adds core-website package

* CB-5124 updates TS references

* CB-5124 refactors website links service

* CB-5124 pr fixes

* CB-5124 update TS references

* CB-5124 removes WebSiteLinks from coreWebsiteManifest

---------

Co-authored-by: sergeyteleshev <iamsergeyteleshev@gmail.com>
Co-authored-by: Evgenia Bezborodova <139753579+EvgeniaBzzz@users.noreply.github.com>
2024-06-28 17:14:33 +00:00
0755561250 CB-5165. Add parameter to api - autocommit (#2737)
* CB-5165. Add parameter to api - autocommit

* CB-5165. Refactor after review

* CB-5165 add auto commit checkbox

* CB-5165 add gap between elements

* CB-5165. Refactor after review

* CB-5165. Refactor after review

* CB-5165. Refactor after review

* CB-5165. Refactor after review

* CB-5165 change category name

---------

Co-authored-by: naumov <iamemptyhuh@gmail.com>
Co-authored-by: Evgenia Bezborodova <139753579+EvgeniaBzzz@users.noreply.github.com>
2024-06-28 16:26:34 +00:00
sergeyteleshevandEvgenia Bezborodova ea87a48619 CB-5299 fixes border for value panel icon in different browsers (#2740)
Co-authored-by: Evgenia Bezborodova <139753579+EvgeniaBzzz@users.noreply.github.com>
2024-06-27 17:43:13 +03:00
serge-rider dab4a0d033 Merge remote-tracking branch 'origin/devel' into devel 2024-06-26 16:02:37 +02:00
serge-rider 05507db706 24.1.2 version bump 2024-06-26 16:01:46 +02:00
sergeyteleshevandAlexey 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
alexandAlexey 56a2e8c13d Cb 5277 test components (#2721)
* CB-5277 add tests for core blocks components

* CB-5277 add tests for link and status message

* CB-5277 add Cell test

---------

Co-authored-by: Alexey <wrouds@gmail.com>
2024-06-26 16:37:38 +03:00
sergeyteleshevandEvgenia Bezborodova 4842cba903 CB-5181 Display User Notification Pop-up When Copy/Paste Functionality is Disabled by Administrator (#2730)
* CB-5181 adds copy event handler for data viewer (cells, value panel)

* CB-5181 makes edit/copy settings independent from each other

* CB-5181 adds disable copy case for read state JsonLine (pre)

* CB-5181 changes message text for popup

* CB-5181 changes message text for popup 2

* СB-5181 fixes rus locale for copy message

---------

Co-authored-by: Evgenia Bezborodova <139753579+EvgeniaBzzz@users.noreply.github.com>
2024-06-25 18:17:40 +03:00