* CB-5807. Implemented logic to get localized text by locale, translated global prefer and part of identity provider on en/ru
* CB-5807. Refactor after review
* CB-5807. Refactor after review, move logic to base class
* CB-5807. Refactor after review, move logic to base class
* CB-5807. Added new translation for IP
* CB-5807. Refactor after review
* CB-5807. Refactor after review
* CB-5807. Refactor after review
* CB-5807. Fixed typo in ru locale
* CB-5807. Refactor after review
* CB-5807. Revert
* CB-5807. Remove comment
---------
Co-authored-by: mr-anton-t <42037741+mr-anton-t@users.noreply.github.com>
Co-authored-by: Evgenia <139753579+EvgeniaBzzz@users.noreply.github.com>
Co-authored-by: Ainur <59531286+yagudin10@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>
* CB-5584. Added more logs for gql and rest in RM. Added new parameter in global preferences for showing additional logs
* CB-5584. Added more logs for gql and rest in RM. Added new parameter in global preferences for showing additional logs
* CB-5584. Rename parameter
* CB-5584. Rename parameter
* CB-5584. Refactor after review
* CB-5584. Refactor after review
* CB-5584. Renamed parameter
* CB-5584. Added check variable for contains restricted variable
* CB-5584. Fixed showing wrong sessionId.
---------
Co-authored-by: Evgenia <139753579+EvgeniaBzzz@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>