this notification pill should be clenaed up #168
Notifications
Total Time Spent: 3 hours 48 minutes
fen
3 hours 48 minutes
No due date set.
Dependencies
No dependencies set.
Reference: poslop/palette#168
Reference in New Issue
Block a user
it should only say something like
Paste Created
Link Copied
it should also be smaller and on the side somewhere
QA passed on palette-dev (dev merge commit
362a596, CI docker build success, pod rolled out). Rendered verification via headless chromium on /dakhab?created=1: notification pill renders as a single compact fixed bottom-right pill with exactly the text 'Paste Created · Link Copied' (13px font, 4px 12px padding, fixed right/bottom positioning out of content flow), fade-in JS ran (class 'show' applied), zero CSP violations in console. Old bulky created-banner removed from /new and paste view. Acceptance criteria met.QA passed and deployed to palette-dev. Verified live rendered output (headless chromium, desktop 1400x900 and mobile 375x812) on paste 24f24r?created=1: pill renders 'Paste Created · Link Copied', position:fixed corner-anchored (right/bottom 16px), 13px font, no anchor/link inside the pill, no host string, no horizontal scroll at mobile width, zero CSP violations or console errors. go build/test pass. PR #178 merged into dev (
362a596), CI success, fix-168 branch deleted.QA passed on palette-dev (merge commit
362a596, CI docker run success, dev image rolled out).Verified live with headless Chromium at 1400x900 and 375x812:
Closing as fixed by #178.
QA FAILED (PR #181, dev tip
0e5cfcd, deployed palette-dev image sha256:02d01f47). Rendered verification: pill is compact and correctly anchored bottom-right (fixed right:12px bottom:12px, font 11.5px) on both 1400x900 and 375x812, no CSP violations, no inline styles/scripts. BUT the rendered pill text is exactly "Paste Created" - the required "Paste Created · Link Copied" is missing from the DOM (template paste.html renders only "Paste Created"; paste.js shows a separate toast("Link Copied") on copy click instead of composing the combined pill text). Evidence: /tmp/qa168_dom.html + screenshots /tmp/qa168_desktop.png, /tmp/qa168_mobile.png. Reopen fix-168 and have the pill render the combined text.QA passed on palette-dev for PR #180 (merge commit
02fcb80on dev). Rendered verification: .created-pill text is exactly "Paste Created", smaller pill (font-size 11.5px, padding 2px 8px, fixed bottom-right), paste.js serves "Link Copied" toast. No CSP violations, no inline styles/scripts. Verified at 1400x900 and 375x812 on the dev deploy.