* dbeaver/pro#4583 feat: add tab reordering functionality in NavigationTabsService
* dbeaver/pro#4583 feat: update tab filtering to support tabs order
* dbeaver/pro#4583 feat: add tab drag-and-drop functionality and associated tests
* dbeaver/pro#4583 feat: implement tab drag-and-drop functionality
* dbeaver/pro#4583 fix: adjust tab reordering logic to handle dragged tab position correctly
since our reordering logic is duplicating in two components and, moreover, I found a bug in one of the implementations, I decided to put all the common logic to a dedicated helper with test coverage to be sure we use the right logic everywhere.
* dbeaver/pro#4583 test: remove redundant tests for onReorder in useTabDragAndDrop
* dbeaver/pro#4583 refactor: update reorderTab method to remove return value
* dbeaver/pro#4583 feat: add tab reordering functionality to SqlResultTabs component
* dbeaver/pro#4583 feat: add tabs order persistence via useUserData hook
* dbeaver/pro#4583 feat: integrate react-dnd for tab drag-and-drop functionality
* dbeaver/pro#4583 chore: update deps
* dbeaver/pro#4583 feat: integrate @dbeaver/js-helpers for array reordering in useHeaderDnD
* dbeaver/pro#4583 refactor: simplify reorderArray implementation by extracting some logic to helpers
* dbeaver/pro#4583 refactor: extracted tab reordering to a separate hook
- moved the tab order persistence logic into a new useTabOrderPersistence hook to make the flow is more obvious (we use this default persistence only with tabs container)
- introduced new reorderStateKey tab state to have an identifier for a tab panel, use it in canDrop check to prevent cross-panel DnD
-replaced reorderable prop with reorderStateKey, because without a key you can't use reordering
* dbeaver/pro#4583 refactor: add dropAllowed state to useTabDragAndDrop for improved drag-and-drop UI
* dbeaver/pro#4583 chore: add a comment about reorderStateKey
* dbeaver/pro#4583 refactor: add safe guard in SqlResultTabs.tsx
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
* dbeaver/pro#4583 refactor: wrap onReorder function into useCallback for improved performance
* dbeaver/pro#4583 refactor: remove applyOrder method from ITabsContainer and update useTabOrderPersistence to not have dependencies on container
* dbeaver/pro#4583 refactor: use refactored hook in SideBarPanel and ToolsPanel
Since we are not mutating a container state anymore, we have to update sorting separately in TabList level because it reads directly from the container.
* dbeaver/pro#4583 refactor: remove fallback for stateKey
* dbeaver/pro#4583 refactor: replace hardcoded values with constants in useTabDragAndDrop
* dbeaver/pro#4583 refactor: add DragPosition type
* dbeaver/pro#4583 refactor: remove dependencies in TabsState effect
* dbeaver/pro#4583 refactor: remove stateKey from useTab hook
* dbeaver/pro#4583 feat: add panelId prop to SideBarPanel and use as persistence key
* dbeaver/pro#4583 refactor: persistence key in useTabOrderPersistence
* dbeaver/pro#4583 feat: add reorderArrayWithOrder helper and update SqlResultTabs to use it
---------
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Daria Marutkina <125263541+dariamarutkina@users.noreply.github.com>
Co-authored-by: mr-anton-t <42037741+mr-anton-t@users.noreply.github.com>
* С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
* CB-6207 add order to setting group
* CB-6207 use method instead of const value
* CB-6207 remove const
* CB-6207 sort on tree level
---------
Co-authored-by: mr-anton-t <42037741+mr-anton-t@users.noreply.github.com>
* Add or improve Chinese translations
* Add or improve Chinese translations
* chore: Update Chinese translations
* chore: correct some translation
* fix: add mapping for all new zh files
---------
Co-authored-by: 李飞 <lif@tongfun.com>
Co-authored-by: Evgenia Bezborodova <139753579+EvgeniaBzzz@users.noreply.github.com>
* Added French translation file for core-administration (fr.ts)
I have added the fr.ts file to the cloudbeaver/webapp/packages/core-administration/src/locales/ directory. This file contains the French translations for various administration-related strings used in the application. The translations include menu entries, configuration wizard titles, and success messages.
* Added French translation file for core-authentication (fr.ts)
I have added the fr.ts file to the cloudbeaver/webapp/packages/core-authentication/src/locales/ directory. This file contains the French translations for various authentication-related strings used in the application. The translations include settings group labels, options for disabling anonymous access, and password policy requirements such as minimum length, case sensitivity, digits, and special characters.
* Added French translation file for core-blocks (fr.ts)
I have added the fr.ts file to the cloudbeaver/webapp/packages/core-blocks/src/locales/ directory. This file contains the French translations for various core-blocks related strings used in the application. The translations include properties table labels, filter options, add/reset/remove property actions, placeholder texts, error messages, and validation messages.
* Added French translation file for core-browser-settings (fr.ts)
I have added the fr.ts file to the cloudbeaver/webapp/packages/core-browser-settings/src/locales/ directory. This file contains the French translations for various browser settings related strings used in the application. The translations include settings for cookies and general browser settings.
* Added French translation file for core-connections (fr.ts)
I have added the fr.ts file to the cloudbeaver/webapp/packages/core-connections/src/locales/ directory. This file contains the French translations for various connection-related strings used in the application. The translations include settings for connections, connection templates, error messages, authentication details, network handler configurations, and various tooltips and placeholder texts related to database connections and SSH tunnels.
* Added French translation file for core-localization (fr.ts)
I have added the fr.ts file to the cloudbeaver/webapp/packages/core-localization/src/locales/ directory. This file contains the French translations for various UI-related strings used in the application. The translations include messages for renaming, themes, navigation steps, loading states, error handling, clipboard operations, authentication, settings, file operations, and more.
* Added French translation file for core-navigation-tree (fr.ts)
I have added the fr.ts file to the cloudbeaver/webapp/packages/core-navigation-tree/src/locales/ directory. This file contains the French translation for the navigation tree settings group string used in the application.
* Added French translation file for core-projects (fr.ts)
I have added the fr.ts file to the cloudbeaver/webapp/packages/core-projects/src/locales/ directory. This file contains the French translation for the message indicating that a project is not found.
* Added French translation file for core-resource-manager (fr.ts)
I have added the fr.ts file to the cloudbeaver/webapp/packages/core-resource-manager/src/locales/ directory. This file contains the French translation for the resource manager settings group string used in the application.
* Added French translation file for core-settings-localization (fr.ts)
I have created the fr.ts file in the cloudbeaver/webapp/packages/core-settings-localization/src/locales/ directory. This file contains the French translations for the localization settings, including the labels and descriptions for language settings in the application.
* Added French translation file for core-settings-user (fr.ts)
I have created the fr.ts file in the cloudbeaver/webapp/packages/core-settings-user/src/locales/ directory. This file currently does not contain any translations, but it has been set up for future French translations for user settings in the application.
* Added French translation file for core-settings (fr.ts)
I have added the fr.ts file to the cloudbeaver/webapp/packages/core-settings/src/locales/ directory. This file contains the French translations for the interface and root settings groups used in the application.
* Added French translation file for core-theming (fr.ts)
I have added the fr.ts file to the cloudbeaver/webapp/packages/core-theming/src/locales/ directory. This file contains the French translations for the theming settings, including the labels and descriptions for the application color theme.
* Added French translation file for core-ui (fr.ts)
I have added the fr.ts file to the cloudbeaver/webapp/packages/core-ui/src/locales/ directory. This file contains the French translations for various UI-related messages used in the application, including messages for empty states, form save errors, and tab switching errors during form validation.
* Added French translation file for core-version-update (fr.ts)
I have added the fr.ts file to the cloudbeaver/webapp/packages/core-version-update/src/locales/ directory. This file contains the French translations for various version update-related messages used in the application, including messages about version status, refresh actions, and update instructions.
* Added French translation file for core-version (fr.ts)
I have added the fr.ts file to the cloudbeaver/webapp/packages/core-version/src/locales/ directory. This file contains the French translations for various version-related strings used in the application, including version information, release dates, tags, and error messages for loading version information.
* Added French translation file for core-view (fr.ts)
I have added the fr.ts file to the cloudbeaver/webapp/packages/core-view/src/locales/ directory. This file contains the French translations for various view-related strings used in the application, including layout settings, zoom actions, and labels for creating and editing items and folders.
* Added French translation file for plugin-administration (fr.ts)
I have added the fr.ts file to the cloudbeaver/webapp/packages/plugin-administration/src/locales/ directory. This file contains the French translations for various administration-related messages used in the application, including server configuration, welcome messages, security settings, and navigation options.
* Added French translation file for plugin-authentication-administration (fr.ts)
I have added the fr.ts file to the cloudbeaver/webapp/packages/plugin-authentication-administration/src/locales/ directory. This file contains the French translations for various authentication and administration-related messages used in the application, including user connections, access management, identity providers, and team management.
* Added French translation file for plugin-authentication (fr.ts)
I have added the fr.ts file to the cloudbeaver/webapp/packages/plugin-authentication/src/locales/ directory. This file contains the French translations for various authentication-related messages used in the application, including login, logout, user credentials, error messages, and identity provider configurations.
* Added French translation file for plugin-browser (fr.ts)
I have added the fr.ts file to the cloudbeaver/webapp/packages/plugin-browser/src/locales/ directory. This file contains the French translations for various update-related messages used in the application, including installation of the application, installation of updates, and restart messages with progress information.
* Added French translation file for plugin-connection-custom (fr.ts)
I have added the fr.ts file to the cloudbeaver/webapp/packages/plugin-connection-custom/src/locales/ directory. This file contains the French translations for various custom connection-related messages used in the application, including parameters, URL, main settings, driver properties, and connection actions like testing and creating connections.
* Added French translation file for plugin-connection-search (fr.ts)
I have added the fr.ts file to the cloudbeaver/webapp/packages/plugin-connection-search/src/locales/ directory. This file contains the French translation for the label used in the plugin-connection-search, specifically the message "Find Local Database" which is translated to "Trouver une base de données locale".
* Added French translation file for plugin-connection-template (fr.ts)
I have added the fr.ts file to the cloudbeaver/webapp/packages/plugin-connection-template/src/locales/ directory. This file contains the French translations for various strings used in the connection template plugin. The translations include labels and messages related to new connections, database connection dialogs, and connection templates. This addition will help French-speaking users interact with the connection template plugin more easily.
* Added French translation file for plugin-connections-administration (fr.ts)
I have added the fr.ts file to the cloudbeaver/webapp/packages/plugin-connections-administration/src/locales/ directory. This file contains the French translations for various connection-related strings used in the application. The translations include menu items for editing connections, confirmation messages for reconnection, and descriptions of the templates used by administrators to create reusable connection parameters.
* Added French translation file for plugin-connections (fr.ts)
I have added the fr.ts file to the cloudbeaver/webapp/packages/plugin-connections/src/locales/ directory. This file contains the French translations for various connection-related strings used in the application. The translations include messages for editing connections, connection status updates, and SSL settings.
* Added French translation file for plugin-data-export (fr.ts)
Added French translations for various data export-related strings in the plugin-data-export module. This includes translations for dialogs, notifications, and settings related to data export functionality.
* Added French translation file for plugin-data-import (fr.ts)
- Added French translations for the data import plugin.
- Included translations for various stages and messages related to data import process.
* Add French translation file for plugin-data-spreadsheet-new (fr.ts)
Added French translations for plugin-data-spreadsheet-new. This includes translations for various table and data grid related functionalities such as table editing, sorting, filtering, and error messages.
* Added French translation file for plugin-data-viewer (fr.ts)
This commit includes the French translation for the plugin-data-viewer module.
* Add French translation for Data Viewer plugin (fr.ts)
Added French translations for the Data Viewer plugin.
* Added French translation to plugin-datasource-context-switch (fr.ts)
Added French translations for the context switch plugin messages.
* Added French translation to plugin-datasource-transaction-manager (fr.ts)
Added French translations for the transaction manager plugin messages.
* Added French translation to plugin-gis-viewer (fr.ts)
Added French translations for the GIS viewer plugin messages.
* Added French translation to plugin-help (fr.ts)
Added French translations for the help plugin messages.
* Added French translation to plugin-log-viewer (fr.ts)
Added French translations for the log viewer plugin messages.
* Added French translation to plugin-navigation-tree-filters (fr.ts)
Added French translations for the navigation tree filters plugin messages.
* Added French translation to plugin-navigation-tree-rm (fr.ts)
Added French translations for the navigation tree remove plugin messages.
* Added French translation to plugin-navigation-tree (fr.ts)
Added French translations for the navigation tree plugin messages.
* Added French translation to plugin-object-viewer (fr.ts)
Added French translations for the object viewer plugin messages.
* Added French translation to plugin-product (fr.ts)
Added French translations for the product plugin messages.
* Added French translation to plugin-projects (fr.ts)
Added French translations for the projects plugin messages.
* Added French translation to plugin-resource-manager-administration (fr.ts)
Added French translations for the resource manager administration plugin messages.
* Added French translation to plugin-resource-manager-scripts (fr.ts)
Added French translations for the resource manager scripts plugin messages.
* Added French translation to plugin-resource-manager (fr.ts)
Added French translations for the resource manager plugin messages.
* Added French translation to plugin-root (fr.ts)
Added French translations for the root plugin messages.
* Added French translation to plugin-session-expiration (fr.ts)
Added an empty template for French translations for the session expiration plugin messages.
* Added French translation to plugin-settings-administration (fr.ts)
Added French translations for the settings administration plugin messages.
* Added French translation to plugin-settings-panel (fr.ts)
Added French translations for the settings panel plugin messages.
* Added French translation to plugin-sql-editor-navigation-tab-script (fr.ts)
Added French translations for the SQL editor navigation tab script plugin messages.
* Added French translation to plugin-sql-editor-navigation-tab (fr.ts)
Added French translations for the SQL editor navigation tab plugin messages.
* Added French translation to plugin-sql-editor-new (fr.ts)
Added French translations for the new SQL editor plugin messages.
* Added French translation to plugin-sql-editor-screen (fr.ts)
Added French translations for the SQL editor screen plugin messages.
* Added French translation to plugin-sql-editor (fr.ts)
Added French translations for the SQL editor plugin messages.
* Added French translation to plugin-sql-generator (fr.ts)
Added fr.ts to cloudbeaver/webapp/packages/plugin-sql-generator/src/locales
* Added French translation to plugin-task-manager (fr.ts)
Added French translations for the task manager plugin messages.
* Added French translation to plugin-tools-panel (fr.ts)
Added French translations for the tools panel plugin messages.
* Added French translation to plugin-user-profile-settings (fr.ts)
Added French translations for the user profile settings plugin messages.
* Added French translation to plugin-user-profile (fr.ts)
Added French translations for the user profile plugin messages.
* Added French translation to plugin-version-update-administration (fr.ts)
Added French translations for the version update administration plugin messages.
* Added French translation to product-default (fr.ts)
Added French translations for the default product plugin messages.
* CB-5266 registers french localization all over the app
* CB-5266 adds core-app localization from other PR
* CB-5266 shorter translate for log-viewer french action enable label
---------
Co-authored-by: sergeyteleshev <iamsergeyteleshev@gmail.com>
Co-authored-by: Evgenia Bezborodova <139753579+EvgeniaBzzz@users.noreply.github.com>
* CB-4382 fixed anonymous error
* CB-4382 move EAdminPermission to root-resources in order to FeatureResource can import it
* CB-4282 EAdminPermission moved to core-root
* CB-4382 update-ts-references
* СB-4382 removed unneeded deps in packages
* CB-4282 revert needed deps to be present
* CB-4382 reverted popperjs for plugin-data-spreadsheet-new
* CB-4382 TE error fix for fast opening admin server settings
* CB-4382 update yarn lock
---------
Co-authored-by: s.teleshev <s.teleshev@mu.se>
Co-authored-by: Alexey <wrouds@gmail.com>
Co-authored-by: kseniaguzeeva <112612526+kseniaguzeeva@users.noreply.github.com>
* feat: CB-3517 css-modules for styling components
* CB-3517 refactor: use new styles system for Menu
* CB-3517 refactor: new styling system
* CB-3517 fix: log viewer styles
* CB-3517 chore: remove extra styles
* CB-3517 fix: context menu offset
* CB-3517 chore: review code cleanup
* CB-3087 hide private project for special roles
* CB-3087 add new permission for private project access
* CB-2808 feat: add lm roles list
* CB-3070 feat: settings resolver API
* CB-3085 add plugins settings
* CB-3086 hide scripts for the viewer and editor
* CB-3085 hide tools panel
* CB-2808 resolve conflict
* CB-3085 fix splitter disabled mode
* CB-3085 add disabled state to the log viewer settings
* CB-3085 mark disabled as computed
* CB-2808 hide menu if all sub items are hidden
* CB-2808 hide connection's selector if connections are disabled
---------
Co-authored-by: Aleksey Potsetsuev <wrouds@gmail.com>
Co-authored-by: naumov <iamemptyhuh@gmail.com>
Co-authored-by: MarinaVorobeva21 <98399603+MarinaVorobeva21@users.noreply.github.com>