* CB-5978 hides API Token provider during configuration wizzard
* CB-5978 hides API token only for config mode (fix)
---------
Co-authored-by: Daria Marutkina <125263541+dariamarutkina@users.noreply.github.com>
* CB-3508 create events for session async tasks
* CB-3508 remove redundant events
* CB-3508 update async web task event logic
* CB-6000 refactor: migrate AsyncTask code to core-root package
* CB-6000: fix
* CB-3508 use only update async task event
* CB-3508 add result info to async task event
* CB-6000 feat: change the way of updating task state
* CB-6000 refactor: rename type and property
* CB-6000 fix: use id from server
* CB-3508 do not have results in task info event
* CB-6000 changes after BE update
* CB-6000 fix: set only status on status update
* CB-3508 fixes after review
* CB-6000 refactor: task id
return back task id generation and saving on creation. Added second map filled on running and linking backend Id and frontend Id. Added helper method to get task
* CB-6000 refactor: handle race condition
add pending events map to save last status if it's came earlier than we saved the task
* CB-6000 refactor: AsyncTask creation
* CB-3508 fixes build
* CB-6000 fix: retry update task info later if locked
* CB-6000 refactor: add a comment about delayed update
---------
Co-authored-by: Andrey Sychev <nukemoore@gmail.com>
Co-authored-by: Sychev Andrey <44414066+SychevAndrey@users.noreply.github.com>
Co-authored-by: mr-anton-t <42037741+mr-anton-t@users.noreply.github.com>
Co-authored-by: sergeyteleshev <iamsergeyteleshev@gmail.com>
Co-authored-by: Daria Marutkina <125263541+dariamarutkina@users.noreply.github.com>
* CB-5955 adds create menu (connection, folder)
* CB-5955 hides folder creation for non authorized users
* CB-5955 fixes label
* CB-5955 disable new connection
* CB-5955 shows create actions only for folders and connections nodes
* CB-5955 cleanup
* CB-5955 Add handler to hide create menu when no items are available
* CB-5955 Refactor handler to directly bind elementsTreeActionHandler for folder creation
* CB-5955 pr fixes
* CB-5955 creates connection according to the selected in tree project + tree selection refactor
* CB-5955 reverts old behavior with Generate SQL submenu for connections
* CB-5955 cleanup
* CB-5955 adds connection via menu into any folder
* CB-5955 updates TS references
* CB-5955 cleanup
* CB-5955 pr fixes
* CB-5955 pr fixes
* CB-5955 pr fixes
* CB-5955 cleanup
* CB-5955 fixes bug with dissapeared create connection button at top bar
* CB-5955 pr fixes
---------
Co-authored-by: Evgenia <139753579+EvgeniaBzzz@users.noreply.github.com>
* CB-5831 migrate data grid context menu
* CB-5831 use switch instead of return
* CB-5831 migrate save actions
* CB-5831 apply primary color
* CB-4071 simplify logic
* CB-4071 simplify logic
* CB-4071 change naming
* CB-4071 review fixes
* CB-4071 add items based on condition
* CB-4071 remove old context menu
* CB-4071 pass handlers to panel
* CB-4071 add gap to the menu
* CB-4071 check data source
* CB-4071 support prev behaviour
* CB-4071 make context more strict
---------
Co-authored-by: Evgenia <139753579+EvgeniaBzzz@users.noreply.github.com>
* CB-3332 refactor: data-viewer shortcuts
move them to the plugin folder, make them IKeyBinding shape to use in transformKeys
* CB-3332 refactor: change ctrl hotkey to mod
* CB-3332 refactor: use new DATA_VIEWER_SHORTCUTS, don't replace backspace
* CB-3332 refactor: remove redundant shortcuts, update naming
* CB-3332 feat: introduce new shortcuts for rows managing
In order to let mac users use shortcuts, Insert key was changed to KeyR
* CB-3332 feat: move shift key to the beginning of all shortcuts
---------
Co-authored-by: Daria Marutkina <125263541+dariamarutkina@users.noreply.github.com>
* CB-5918 add holidays plugin
* CB-5918 add plugin-holidays as a reference to product default
* CB-5918 fix holidays plugin, add icons
* CB-5918 fix: don't run many renders simultaneously
* CB-5918 fix: flakes respawn
previously flakes kept x position that looked weird especially when user resize the window making it bigger
* CB-5918 refactor: adjust flakes size and speed
make flakes bigger and a little bit slower, reduce amount of flakes
* CB-5918 refactor: make flakes look like flakes
add shape prop to create different shapes of snowflakes
add drawSnowflake to render snowflakes
* CB-5918 Extract Logo registration to separate plugin
In order to customize Logo for different occasions without creating circular dependencies with other plugins
* CB-5918 refactor: update exports in holiday plugin
* CB-5918 feat: make logo src a prop
use holidays service to set custom logo
* CB-5918 refactor: update logos
* CB-5918 refactor: snowflakes removing faster if more flakes
* CB-5918 refactor: reduce action icon rotation on click
* CB-5918 fix: deps
* CB-5918 fix: ts-config reference
* CB-5918 refactor: use debounce for resizing
* CB-5918 refactor: add throttle to handleMouseMove
* CB-5918 refactor: update logo
* CB-5918 fix: start date
* CB-5918 feat: add rotation to snowflakes
* CB-5918 fix: dep version
* CB-5918: refactor: split up app logo plugin to public and admin parts
* CB-5918 refactor: split holidays plugin up to two parts: admin and public
* CB-5918 refactor: avoid using anonymous functions in Christmas class
* CB-5918 refactor: HolidayActionButton
* CB-5918 refactor: IHoliday interface naming
* CB-5918 fix: update TS refs
* CB-5918 fix: legacy color notation and lost this
* CB-5918 refactor: remove redundant plugin bootstrap export
* CB-5918 refactor: rename private property
* CB-5918 refactor: use IconButton core block inside HolidayActionButton
* CB-5918 refactor: add check in addHoliday method
* CB-5918 refactor: simplify logoSrc condition
* CB-5918 refactor: remove redundant styles
* CB-5918 refactor: use descriptive names for plugins bootstrap
* CB-5918 refactor: specify dep version
* CB-5918 refactor: improve Christmas class readability
* CB-5918 refactor: use lazy import for logo
* CB-5918 refactor: export lazy components properly
* CB-5918 fix: holiday end date
---------
Co-authored-by: Daria Marutkina <125263541+dariamarutkina@users.noreply.github.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>
* CB-5125 do not trigger logo in configuration stage
* CB-5125 use publicDisabled field instead
* CB-5125 bind method
---------
Co-authored-by: Daria Marutkina <125263541+dariamarutkina@users.noreply.github.com>
handleScroll in DataGrid entails small performance degradation due to el.scrollTop, el.clientHeight, el.scrollHeight calls and hence reflow of layout, more on that here: https://gist.github.com/paulirish/5d52fb081b3570c81e3a/565c05680b27c9cfd9f5e971d295cd558c3e1843
What is done:
1. throttle added to not fire handleScroll on every render, because the main goal of that function is to detect when a user approaches the end of a page = reduce number of calls
2. Inside the handler the code was refactored in a way that we get scrollTop only once to calculate toBottom and inverse the clause logic and replace early return (!A || !B) with a clause with (A && B) logic to not check B on every call which is also triggering reflow.
Co-authored-by: Evgenia <139753579+EvgeniaBzzz@users.noreply.github.com>
* CB-5775 refactor: make default group text aligned with other tabs
* CB-5775: return accidentally removed gap prop
* CB-5775 refactor: return TextPlaceholder back
* CB-5775 refactor: make style important
---------
Co-authored-by: Daria Marutkina <125263541+dariamarutkina@users.noreply.github.com>
* CB-5891 on disable user changes form state according to its real state
* CB-5891 pr fixes
* CB-5891 cleanup
* CB-5891 pr fixes
---------
Co-authored-by: Evgenia <139753579+EvgeniaBzzz@users.noreply.github.com>
This commit handles the situations and sets fallback when there are text changes but selection has not been set (for example, its position outside of the doc). It that case we set the cursor in the end of the result string. It helps us to keep the cursor position more consistent.
Co-authored-by: Evgenia <139753579+EvgeniaBzzz@users.noreply.github.com>
Co-authored-by: mr-anton-t <42037741+mr-anton-t@users.noreply.github.com>
* CB-5691 adds ctrl+enter submit for textarea in form
* CB-5691 removes unneeded prop: disableCtrlEnterSubmit
---------
Co-authored-by: alex <48489896+devnaumov@users.noreply.github.com>