arrow_backRetour aux issues
fu351/Doberman-Core
#432
Débutant
Ouvrirarrow_forward
Débutant
Ouvrirarrow_forward
Débutant
Ouvrirarrow_forward
auth dialog: give the window a Doberman taskbar/title-bar icon
ecoDébutant
enhancement
good first issue
level-3
descriptionDescription
The approval dialog draws the Doberman mark inside the canvas (`_load_logo`, `src/doberman/auth/gui_prompter.py:153`, loads `auth/_assets/doberman-mark.png` as a stdlib `tkinter.PhotoImage`), but the window itself still carries Tk's default feather in the title bar, the Windows taskbar, and Alt-Tab. `_configure_window` (`:117`) sets the title, topmost and the dark title bar, and never calls `root.iconphoto`. There are no `iconphoto`/`iconbitmap` calls in the module.
**What to do**
1. In `_configure_window` (or right after `_open_root`), load the same PNG as a `PhotoImage` and call `root.iconphoto(True, image)`. Keep a reference on `root` (the file already does `root._logo_ref = logo` at line 254 for the same reason: Tk drops unreferenced images).
2. Wrap it the way the rest of that function treats cosmetics: a failure to set the icon must never stop the dialog from opening.
3. Add a faked-root test in `tests/unit/test_gui_prompter.py` asserting `iconphoto` was called once (the file already fakes the root and canvas for the stacking and theme tests).
Cosmetic; no change to what the dialog does or decides.
Issues similaires
calkit/calkit
star53
Poids du dépôt moyen
VS Code extension should be robust to YAML parser errors
Seeing this error: ``` Failed to read calkit.yaml: YAMLParseError: A block sequence may not be used as an implicit map…
Python
bug
good first issue
fu351/Doberman-Core
star211
Poids du dépôt léger
dash: a manual Refresh control
The dashboard polls: `refreshStats()` (`src/doberman/dash/app.py:408`) every 5 s and `refreshPending()` (`:546`) every …
Python
enhancement
good first issue
fu351/Doberman-Core
star211
Poids du dépôt léger
dash: "Copy details" button on each pending-approval card
Each pending-approval card in the dashboard (`renderPending`, `src/doberman/dash/app.py:448-544`) shows the risk badge,…
Python
enhancement
good first issue