Defines the actions in one place and uses them for the context menus and
buttons in the two preview panes. This reduces code duplication, adds
actions to the context menu which couldn't be triggered from there before
and makes it easier to add new features with only needing to touch one place
instead of potentially three. Furthermore this also reduces the risk of bugs
caused by copy-pasting, for example the screenshot actions didn't work before
in responsive mode.
The actionsMenu component is based on the one from Kirigami with the same name.
Details
Details
- Reviewers
ngraham cblack - Group Reviewers
Plasma - Commits
- R118:6e3f467ad266: [Cuttlefish] Use the same actions in all menus
Everything works
Diff Detail
Diff Detail
- Repository
- R118 Plasma SDK
- Lint
Automatic diff as part of commit; lint not applicable. - Unit
Automatic diff as part of commit; unit tests not applicable.