Commit Graph

8 Commits

Author SHA1 Message Date
Hristo Terezov
0913554af9 feat(MainToolbar): implement custom order.
As part of the PR, it also fixes:
 - Removes button aliases
 - Unifies the keys in the object returned by getAllToolboxButtons and the button keys
 - Makes sure that the number of buttons displayed are always the same as the number of buttons specified in the thresholds and removes the exception for not filling up the main toolbar with buttons from overflow menu when reactions button is disabled.
 - Introduces a priority for buttons that will be used to fill empty spaces in the main toolbar.
2024-05-23 12:34:15 -05:00
Robert Pintilii
2d8014775a ref(toolbar) Move getButtons to functions (#13502)
Move visible logic inside each button
Move click functionality inside each button
Extract getButtons function from Toolbox components to functions file
2023-06-29 14:59:12 +03:00
Horatiu Muresan
5172eda6b9 fix(toolbar) Fix auto-hide toolbar in tileview (#13424) 2023-06-06 15:32:50 +03:00
Robert Pintilii
ae281e9935 ref(TS) Improve TS (#13370)
Use correct types for action, dispatch and getState
2023-05-22 09:54:11 +03:00
Horatiu Muresan
051cf67ce9 aesthetics 2023-05-18 17:30:24 -05:00
Horatiu Muresan
85e1333ad9 fix(toolbox-visible) Fix hiding toolbox
- clicking toolbox button was keeping focus on toolbox even after mouse move(as focus would only be changed when clicking on some other element), so .toolbox-content-items:focus-within selector was returning a value even when mouse was moved from toolbox
- .filmstrip:focus-within did not seem to ever activate, I replaced with :hover since the intent was probably to keep the toolbox open while filmstrip is hovered
2023-05-18 17:30:24 -05:00
Robert Pintilii
e95b964b78 ref(TS) Convert some Abstract classes to TS (#13099) 2023-03-23 13:24:57 +02:00
Robert Pintilii
748b66b04a ref(toolbox) Convert feature to TS (#12413) 2022-10-19 14:38:38 +03:00