Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Component] Add the ribbon #56

Open
kirill-grouchnikov opened this issue Dec 8, 2022 · 1 comment
Open

[Component] Add the ribbon #56

kirill-grouchnikov opened this issue Dec 8, 2022 · 1 comment
Assignees
Labels
2.0 - Everest Release 2.0 - 2023.H1

Comments

@kirill-grouchnikov
Copy link
Owner

No description provided.

@kirill-grouchnikov kirill-grouchnikov added the 2.0 - Everest Release 2.0 - 2023.H1 label Dec 8, 2022
@kirill-grouchnikov kirill-grouchnikov self-assigned this Dec 8, 2022
kirill-grouchnikov added a commit that referenced this issue Dec 8, 2022
kirill-grouchnikov added a commit that referenced this issue Dec 9, 2022
kirill-grouchnikov added a commit that referenced this issue Dec 11, 2022
Start splitting them into separate files
Also add ribbon band resize policies

For #56
kirill-grouchnikov added a commit that referenced this issue Dec 14, 2022
kirill-grouchnikov added a commit that referenced this issue Dec 14, 2022
kirill-grouchnikov added a commit that referenced this issue Dec 19, 2022
Default taskbar key policy, sample anchored commands

For #56
kirill-grouchnikov added a commit that referenced this issue Dec 20, 2022
Add color selector command and projection

For #56
kirill-grouchnikov added a commit that referenced this issue Dec 21, 2022
Add taskbar content

For #56
kirill-grouchnikov added a commit that referenced this issue Dec 22, 2022
Add application menu for #56

Also convert all icon sizes from `Dp` to `DpSize` to fix #57
kirill-grouchnikov added a commit that referenced this issue Dec 29, 2022
Contextual task groups for #56
kirill-grouchnikov added a commit that referenced this issue Dec 29, 2022
* Remove generics from the `BaseCommand` interface and all its implementing command classes
* Convert the command button layout managers to work with `BaseCommand` instead of `Command`
* First pass to convert `AuroraCommandButton` to work with `BaseCommand`

For #56 and #58
kirill-grouchnikov added a commit that referenced this issue Dec 30, 2022
Break the logic into three things:

* Computing the layout info for different content parts of the popup
* Configuring the AWT popup machinery
* Generating the popup composable content

Extract the first and the third ones into a new handler interface, along with the implementation for the general command that was already there.

This enables configuring color selector menu content for #56 and #58
kirill-grouchnikov added a commit that referenced this issue Jan 3, 2023
This enables configuring color selector menu content for #56 and #58
kirill-grouchnikov added a commit that referenced this issue Jan 3, 2023
This enables configuring color selector menu content for #56 and #58
kirill-grouchnikov added a commit that referenced this issue Jan 14, 2023
* Move its pieces to `RibbonApplicationMenu.kt`
* Add a layout manager
* First pass for popup handler

Also fix the logic that determines the text color in split command button

For #56
kirill-grouchnikov added a commit that referenced this issue Jan 14, 2023
Also move the popup menu presentation model to be non-configurable in preparation for the work on it

For #56
kirill-grouchnikov added a commit that referenced this issue Jan 15, 2023
* Fix for fill alignment under Medium state in RTL
* Support fill alignment under Tile state
* Add `menuHorizontalAlignment` to `CommandPopupMenuPresentationModel` and set its default value to fill
* Small visual tweaks for first level content in ribbon application menu

For #56
kirill-grouchnikov added a commit that referenced this issue Feb 12, 2023
In preparation for two-panel popup layout of the ribbon menu content, split the handler logic and move most of it into the new `CascadingCommandMenuHandler` - which is used for regular multi-level popup menus where each level is displayed in its own window.

For #56
kirill-grouchnikov added a commit that referenced this issue Feb 12, 2023
And remove the popup layout info type from the base command menu handler

For #56
kirill-grouchnikov added a commit that referenced this issue Feb 12, 2023
* Add `RibbonApplicationMenuCommandPopupMenuPresentationModel` for configuring the presentation of the level 2 panel (width) and footer (content padding)
* Add footer to the ribbon application menu display

For #56
kirill-grouchnikov added a commit that referenced this issue Feb 13, 2023
kirill-grouchnikov added a commit that referenced this issue Feb 14, 2023
One line of text and 2 lines of extra text

For #56
kirill-grouchnikov added a commit that referenced this issue Feb 15, 2023
* Center icon + text if there is no extra text
* Force same (max) height on all level 2 buttons
* Initial detection on whether vertical scrolling is needed

For #56
kirill-grouchnikov added a commit that referenced this issue Jul 3, 2023
kirill-grouchnikov added a commit that referenced this issue Jul 4, 2023
Kick in horizontal scrolling when there's not enough horizontal space to display ribbon bands in their most restrictive resize policy

For #56
kirill-grouchnikov added a commit that referenced this issue Aug 23, 2023
And wire it track and display active and preview color selection

For #56
kirill-grouchnikov added a commit that referenced this issue Aug 31, 2023
Is needed (with upcoming tweaks) for global ribbon contextual menu and key tips

For #56
kirill-grouchnikov added a commit that referenced this issue Sep 1, 2023
Display contextual menu for the ribbon and wire it to some of the ribbon's contextual menu listener logic for galleries. For #56
kirill-grouchnikov added a commit that referenced this issue Sep 2, 2023
* Add `tag` attribute to all commands
* Remove `InRibbonGalleryPresentationModel` and `RibbonBandGallery`
* Everything uses `RibbonGalleryProjection`

For #56
kirill-grouchnikov added a commit that referenced this issue Sep 2, 2023
* Rename `RibbonGalleryMetaPresentationModel` to `RibbonGalleryPresentationModel`
* Rename ribbon taskbar element classes to remove the word "projection" from them as they wrap projections, but are not projections themselves
* Change `RibbonTaskbarGallery` to work directly with `RibbonGalleryProjection`
* `BoundsTracker.getGalleryProjectionUnder` now returns the original gallery projection used for the command button that "represents" a pinned ribbon gallery

For #56
kirill-grouchnikov added a commit that referenced this issue Sep 10, 2023
Use a new internal composition local to exclude specific ribbon elements such as application menu button, collapsed ribbon band buttons, title pane control buttons and others from being "eligible" to be considered for the taskbar content.

For #56
kirill-grouchnikov added a commit that referenced this issue Sep 12, 2023
* Properly anchor the tips based on the anchor coordinates passed in
* Wire key tips on ribbon task toggle buttons
* Fix a few tips in the demo app

For #56
kirill-grouchnikov added a commit that referenced this issue Sep 12, 2023
* Propagate the gallery expand key tip to the matching button
* Wire key tips on meta components

For #56
kirill-grouchnikov added a commit that referenced this issue Sep 12, 2023
Add two functions to CommandButtonLayoutManager to return the anchor points for action and popup keytips. The per-layout logic will be added separately.

For #56
kirill-grouchnikov added a commit that referenced this issue Sep 12, 2023
Implement custom anchoring for small, medium, big and tile presentation states, as well as a custom presentation state for the ribbon task toggle buttons that positions its keytips along the bottom edge.

For #56
kirill-grouchnikov added a commit that referenced this issue Sep 13, 2023
Also support disabled look for keytips. For #56
kirill-grouchnikov added a commit that referenced this issue Oct 30, 2023
And handling of left/right arrows to change selected task

For #56
kirill-grouchnikov added a commit that referenced this issue Oct 30, 2023
Begin wiring the visibility of key tips to Alt key, for #56
kirill-grouchnikov added a commit that referenced this issue Nov 3, 2023
Associate a chain root for each key tip (ribbon, ribbon task, ribbon app menu, command secondary / popup model). Only display top-level key tips when Alt key is pressed in the ribbon window. For #56
kirill-grouchnikov added a commit that referenced this issue Nov 3, 2023
Find the key tip that matches the pressed key character and push its chain to be displayed. Works for default selected ribbon task. For #56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
2.0 - Everest Release 2.0 - 2023.H1
Projects
None yet
Development

No branches or pull requests

1 participant