Macro toolbar: user-chosen macro buttons
I maintainer di solito rispondono entro 1 giorno
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 5/5
- Tempo stimato
- Più di una settimana
- Idoneità per principianti
- 35/100
Direzione di ricerca
The proposal names the Macro manager, the separate QToolBar, opensak.json, User Guide section 29, and the language files. Start by locating the Macro manager and how toolbar state is saved and restored. The acceptance criteria define done: per-macro buttons persist across restart, upgrades, and backup/restore, handle missing or incompatible macros, and the guide and translations are updated.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
Raised in the Facebook group: "Is it possible to add macro buttons to the toolbar?"
Not possible today. This issue proposes a design that stays stable across upgrades. Planned for after v1.22.0 stable (tracked in #1195).
Proposal
- A separate "Macros" toolbar (own
QToolBar), not mixed into the main toolbar. Hidden when empty; position/visibility saved viasaveState()/restoreState(). - The user chooses which macros get a button: a "Show on toolbar" checkbox per macro in the Macro manager. Optionally a keyboard shortcut in the same place (already mentioned in the original concept, §7).
- A macro can not add itself to the toolbar. Macros come from external sources, so a button must always be the user's choice. An optional header key (e.g.
Toolbar-Label:/Icon:) may suggest a label/icon, but doesn't enable anything by itself.
Upgrade and robustness
- Stored as UI settings in
opensak.json, not part of the macro API, so the API 4 promise is unaffected. A new header key is an addition, which API 4 allows. - Buttons reference the macro by its code/path (same approach as approvals, #1091), not by position.
- Edge cases:
- Macro missing after update/removal: button hidden or greyed out with a tooltip, no error.
- Macro changed (approval hash mismatch): clicking goes through the normal approval dialog, so no shortcut around it.
Requires-APIhigher than the app supports: button disabled with an explanation.
- Backup/restore: covered by #1137 (settings + macros folder).
Open questions
- Icons in v1: text-only / default icon, or custom SVG/PNG from the macros folder?
- Show the macro name or a separate short label?
Acceptance criteria
- Macros toolbar can be shown/hidden and remembers its position
- Toolbar buttons can be enabled/disabled per macro in the Macro manager
- Buttons survive restart, upgrade and backup/restore
- Missing/changed/incompatible macro is handled as described above
- User Guide section 29 updated
- All language files updated with the new strings
- Lingua principale
- Python
- Stelle
- 37
- Fork
- 17
- Merge medio
- 16h 7m
- PR unite (30g)
- 128
Preparare l'ambiente
- Nessun Dockerfile né file Docker Compose
- Nessun modello di pull request
- Leggi la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di OpenSAK-Org/OpenSAK
-
Make it clear that the Windows ZIP download is portable (no installer, not in Apps & Features)Apertaarea: documentation documentation good first issue OS: windows
Difficoltà 2/5 Mezza giornata Idoneità per principianti 78/100
OpenSAK-Org/OpenSAK#1289 ·
I maintainer di solito rispondono entro 1 giorno
-
area: geo-data improvement
Difficoltà 2/5 1-3 ore Idoneità per principianti 65/100
OpenSAK-Org/OpenSAK#1285 ·
I maintainer di solito rispondono entro 1 giorno
-
area: geo-data good first issue improvement
Difficoltà 2/5 1-3 ore Idoneità per principianti 80/100
OpenSAK-Org/OpenSAK#789 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
-
area: UI improvement
Difficoltà 2/5 1-3 ore Idoneità per principianti 62/100
OpenSAK-Org/OpenSAK#729 ·
I maintainer di solito rispondono entro 1 giorno
-
area: import improvement
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
OpenSAK-Org/OpenSAK#648 ·
I maintainer di solito rispondono entro 1 giorno
Tutte le issue di OpenSAK-Org/OpenSAK
Issue simili
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 82/100
I maintainer di solito rispondono entro 1 giorno
-
Treat corrupt-shape state files as missing in `load_state`Forse già presa @Qrytics l’ha presa oggi. Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 85/100
OvertureMaps/overturemaps-py#175 ·
I maintainer di solito rispondono entro 1 giorno
-
enhancement
Difficoltà 2/5 1-3 ore Idoneità per principianti 74/100
I maintainer di solito rispondono entro 1 giorno
-
bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 83/100
awslabs/visual-asset-management-system#1278 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 82/100
aws-samples/sample-per-model-bedrock#835 ·
I maintainer di solito rispondono entro 1 giorno