Edge-Drop is a clipboard shelf on the edge of your screen. Hover to open it. Drag files and images into any app, click to copy text and links. Free and open-source for Windows.
TypeScript clipboardclipboard-managerdesktop-appdrag-and-dropelectronopen-sourceproductivityproductivity-toolwindows
feat(ui): add vertical position presets, ergonomic card actions guard, and unbranded header
Deepender25101ff7b21226
diff --git a/README.md b/README.mdindex 8e0e107..bb2d1de 100644--- a/README.md+++ b/README.md@@ -110,6 +110,7 @@ npm run build:store # outputs an MSIX .appx for Microsoft Store submission- Frameless, transparent, always-on-top `BrowserWindow` anchored at `x=0`- 100% click-through when collapsed — desktop stays fully usable- Configurable hot-zone height (25% / 40% / 60% of screen) and blade height (40% – 100%)+- **Vertical Position Presets:** Customize screen edge placement with **Top**, **Center** (default), or **Bottom** vertical alignment presets, featuring exact dynamic boundary clamping (zero clipping/out-of-bounds).- **Multi-monitor support:** Pick exactly which display the panel sticks to, with options for Left or Right screen edges. Features a single source of truth multi-display engine (`getDisplayListOptions()`) with real-time physical resolution calculation (3840×2160, 2560×1440, 1920×1080) across all High-DPI Windows display scaling factors.- **Fullscreen Protection (Game Mode):** Native Windows `SHQueryUserNotificationState` OS detection (`fullscreen.ts`) automatically suppresses edge hover when Direct3D games, fullscreen videos, or presentations are active.- **Ultra-lightweight:** Optimized memory footprint (~60% reduced RAM) using custom `edgelocal://` streaming protocols and compressed WebM assets.@@ -140,6 +141,8 @@ npm run build:store # outputs an MSIX .appx for Microsoft Store submission- Double-click to expand, drag a sub-item to the left edge to split it back out**UI / UX**+- **Ergonomic Card Action Bar & Safety Guard**: Re-ordered card actions (`Pin`, `Expand`, `Copy`, `Open Link`, `Divider`, `Delete`) with a physical safety hairline divider and 100% layout consistency across normal hover and preview mode.+- **Ultra-Minimal Header**: Sleek, unbranded top header maximizing usable vertical space for clipboard items and sub-views.- **Pinned Deck**: Dedicated Pinned items deck container with custom icon header, smooth Framer Motion spring collapse/expand height physics, and clean text count.- **Tactile Framer Motion Switches**: Settings toggle switches powered by Framer Motion spring physics (`stiffness: 600`, `damping: 35`) with dark/light contrast styling.- **What's New Release History View**: Integrated in-app release notes timeline viewer (`ChangelogView.tsx`) connected to live GitHub Releases API with pure formatted text highlights and zero-lag offline fallbacks.diff --git a/electron/main/ipc.ts b/electron/main/ipc.tsindex 5c08f3a..a424c4b 100644--- a/electron/main/ipc.ts+++ b/electron/main/ipc.ts@@ -191,40 +191,12 @@ export function registerIpc(): void {})handle('app:get-releases', async () => {- try {- const response = await fetch('https://api.github.com/repos/Deepender25/Edge-Drop/releases', {- headers: { 'User-Agent': 'Edge-Drop-App' },- signal: AbortSignal.timeout(12000)- })- if (!response.ok) {- return STATIC_CHANGELOG_FALLBACK- }- const data = (await response.json()) as any[]- if (!Array.isArray(data) || data.length === 0) {- return STATIC_CHANGELOG_FALLBACK- }-- return data.slice(0, 10).map((rel, index) => {- const tag = rel.tag_name || rel.name || `v0.1.${index}`- const dateStr = rel.published_at- ? new Date(rel.published_at).toLocaleDateString('en-US', { month: 'short', day: 'numeric', year: 'numeric' })- : ''-- const rawBody = rel.body || ''- const { summary, highlights } = parseReleaseBodyToCleanText(rawBody)-- return {- version: tag.startsWith('v') ? tag : `v${tag}`,- date: dateStr,- isLatest: index === 0,- summary: summary || `Release ${tag}`,- highlights- }- })- } catch (err) {- console.warn('[IPC] app:get-releases fetch failed, returning static fallback:', err)- return STATIC_CHANGELOG_FALLBACK+ if (_releasesCache) {+ // Re-validate in background asynchronously without blocking UI render+ fetchAndCacheReleases().catch(() => {})+ return _releasesCache}+ return fetchAndCacheReleases()})handle('file:reveal', (filePath) => {@@ -763,3 +735,57 @@ const STATIC_CHANGELOG_FALLBACK = [}]+let _releasesCache: Array<{+ version: string+ date: string+ isLatest: boolean+ summary: string+ highlights: Array<{ title: string; description: string }>+}> | null = null++async function fetchAndCacheReleases() {+ try {+ const response = await fetch('https://api.github.com/repos/Deepender25/Edge-Drop/releases', {+ headers: { 'User-Agent': 'Edge-Drop-App' },+ signal: AbortSignal.timeout(12000)+ })+ if (!response.ok) {+ return _releasesCache || STATIC_CHANGELOG_FALLBACK+ }+ const data = (await response.json()) as any[]+ if (!Array.isArray(data) || data.length === 0) {+ return _releasesCache || STATIC_CHANGELOG_FALLBACK+ }++ const parsed = data.slice(0, 10).map((rel, index) => {+ const tag = rel.tag_name || rel.name || `v0.1.${index}`+ const dateStr = rel.published_at+ ? new Date(rel.published_at).toLocaleDateString('en-US', { month: 'short', day: 'numeric', year: 'numeric' })+ : ''++ const rawBody = rel.body || ''+ const { summary, highlights } = parseReleaseBodyToCleanText(rawBody)++ return {+ version: tag.startsWith('v') ? tag : `v${tag}`,+ date: dateStr,+ isLatest: index === 0,+ summary: summary || `Release ${tag}`,+ highlights+ }+ })++ _releasesCache = parsed+ return parsed+ } catch {+ console.log('[IPC] GitHub releases fetch offline or timed out; using static fallback.')+ return _releasesCache || STATIC_CHANGELOG_FALLBACK+ }+}++// Background pre-fetch 3 seconds after startup so releases are cached in memory before user opens Settings+setTimeout(() => {+ fetchAndCacheReleases().catch(() => {})+}, 3000)++diff --git a/electron/store/settings.ts b/electron/store/settings.tsindex 7370e86..0a7c2f0 100644--- a/electron/store/settings.ts+++ b/electron/store/settings.ts@@ -17,6 +17,7 @@ function merge(base: Settings, patch: Partial<Settings>): Settings {out.hotZoneHeight = Math.min(0.6, Math.max(0.2, out.hotZoneHeight))out.historyLimit = Math.min(2000, Math.max(50, Math.round(out.historyLimit)))out.autoDeleteHours = Math.max(0, Number(out.autoDeleteHours) || 0)+ out.verticalOffset = Math.min(1.0, Math.max(0.0, typeof out.verticalOffset === 'number' ? out.verticalOffset : 0.5))if (out.uiStyle !== 'modern' && out.uiStyle !== 'compact') {out.uiStyle = 'modern'}diff --git a/shared/types.ts b/shared/types.tsindex ee440f8..4b58c91 100644--- a/shared/types.ts+++ b/shared/types.ts@@ -137,6 +137,8 @@ export interface Settings {showCopyIndicator: boolean/** Style variant of the copy indicator icon ('logo' | 'check' | 'copy' | 'sparkle'). Default: 'logo'. */copyIndicatorStyle: 'logo' | 'check' | 'copy' | 'sparkle'+ /** Vertical offset fraction along screen edge (0 = top, 0.5 = center, 1 = bottom). Default: 0.5. */+ verticalOffset: number/** Last version for which the user opened/viewed the What's New changelog panel. */lastSeenChangelogVersion?: string}@@ -159,6 +161,7 @@ export const DEFAULT_SETTINGS: Settings = {suppressInFullscreen: true,showCopyIndicator: true,copyIndicatorStyle: 'logo',+ verticalOffset: 0.5,lastSeenChangelogVersion: undefined}diff --git a/src/components/ChangelogView.tsx b/src/components/ChangelogView.tsxindex 37ff54e..5a7d77d 100644--- a/src/components/ChangelogView.tsx+++ b/src/components/ChangelogView.tsx@@ -15,10 +15,34 @@ interface ChangelogRelease {}const CHANGELOG_DATA: ChangelogRelease[] = [+ {+ version: 'v0.2.0',+ date: 'Jul 26, 2026',+ isLatest: true,+ summary: 'Silent background auto-updater, direct web link launcher, dedicated Pinned items deck, and interactive controls.',+ highlights: [+ {+ title: 'Silent Background Auto-Updates',+ description: 'New updates download silently in the background with a single-click Restart to Update button.'+ },+ {+ title: 'Direct One-Click Web Link Launcher',+ description: 'Copied links feature a dedicated launch button opening directly in your default browser.'+ },+ {+ title: 'Dedicated Pinned Items Deck',+ description: 'Encapsulated pinned items inside a dedicated deck container at the top of the shelf.'+ },+ {+ title: 'Live What\'s New Sync',+ description: 'Release history connects live to GitHub Releases with automatic offline safeguards.'+ }+ ]+ },{version: 'v0.1.5',date: 'Jul 24, 2026',- isLatest: true,+ isLatest: false,summary: 'Customizable Copy Indicator styles with a 2x2 grid selector flyout alongside panel hover stability fixes for medium and large panel heights.',highlights: [{@@ -193,6 +217,8 @@ export function ChangelogView() {padding: '16px',boxSizing: 'border-box',width: '100%',+ maxWidth: '100%',+ overflowX: 'hidden',fontFamily: 'system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif',color: '#ffffff'}}>@@ -206,13 +232,15 @@ export function ChangelogView() {display: 'flex',flexDirection: 'column',gap: '12px',+ maxWidth: '100%',+ overflowX: 'hidden',paddingBottom: index < CHANGELOG_DATA.length - 1 ? '24px' : '0',borderBottom: index < CHANGELOG_DATA.length - 1 ? '1px solid rgba(255, 255, 255, 0.08)' : 'none'}}>{/* Version Header */}- <div style={{ display: 'flex', alignItems: 'center', justifyContent: 'space-between' }}>- <div style={{ display: 'flex', alignItems: 'center', gap: '8px' }}>+ <div style={{ display: 'flex', alignItems: 'center', justifyContent: 'space-between', gap: '8px' }}>+ <div style={{ display: 'flex', alignItems: 'center', gap: '8px', minWidth: 0 }}><span style={{fontSize: '15px',fontWeight: 700,@@ -232,13 +260,14 @@ export function ChangelogView() {padding: '2px 6px',borderRadius: '4px',letterSpacing: '0.04em',- textTransform: 'uppercase'+ textTransform: 'uppercase',+ flexShrink: 0}}>LATEST</span>)}</div>- <span style={{ fontSize: '12px', color: 'rgba(255, 255, 255, 0.45)', fontWeight: 400 }}>+ <span style={{ fontSize: '12px', color: 'rgba(255, 255, 255, 0.45)', fontWeight: 400, flexShrink: 0 }}>{rel.date}</span></div>@@ -249,7 +278,9 @@ export function ChangelogView() {lineHeight: '1.6',color: 'rgba(255, 255, 255, 0.75)',margin: 0,- fontWeight: 400+ fontWeight: 400,+ overflowWrap: 'break-word',+ wordBreak: 'break-word'}}>{rel.summary}</p>@@ -264,24 +295,28 @@ export function ChangelogView() {alignItems: 'flex-start',gap: '10px',fontSize: '13px',- lineHeight: '1.55'+ lineHeight: '1.55',+ minWidth: 0}}><span style={{color: 'rgba(255, 255, 255, 0.35)',fontSize: '14px',lineHeight: '1.5',- userSelect: 'none'+ userSelect: 'none',+ flexShrink: 0}}>•</span>- <div style={{ display: 'flex', flexDirection: 'column', gap: '2px' }}>- <span style={{ fontWeight: 600, color: 'rgba(255, 255, 255, 0.95)' }}>+ <div style={{ display: 'flex', flexDirection: 'column', gap: '2px', flex: 1, minWidth: 0 }}>+ <span style={{ fontWeight: 600, color: 'rgba(255, 255, 255, 0.95)', overflowWrap: 'break-word', wordBreak: 'break-word' }}>{item.title}</span>- <span style={{ color: 'rgba(255, 255, 255, 0.6)', fontSize: '12.5px', lineHeight: '1.5' }}>- {item.description}- </span>+ {item.description && (+ <span style={{ color: 'rgba(255, 255, 255, 0.6)', fontSize: '12.5px', lineHeight: '1.5', overflowWrap: 'break-word', wordBreak: 'break-word' }}>+ {item.description}+ </span>+ )}</div></div>))}diff --git a/src/components/ClipboardItem.tsx b/src/components/ClipboardItem.tsxindex 91d65d8..e2aef7d 100644--- a/src/components/ClipboardItem.tsx+++ b/src/components/ClipboardItem.tsx@@ -195,6 +195,19 @@ function ClipboardItemBase({ item }: Props) {>{item.pinned ? <PinFillIcon /> : <PinIcon />}</button>+ <button+ className={`act${isPreviewing ? ' preview-contract active' : ' preview-expand'}`}+ title={isPreviewing ? 'Close Preview' : 'Expand Preview'}+ onClick={(e) => {+ e.stopPropagation()+ e.currentTarget.blur()+ const rect = e.currentTarget.closest('.item-main')?.getBoundingClientRect()+ const rectData = rect ? { y: rect.y, height: rect.height } : undefined+ useStore.getState().setPreviewItemId(isPreviewing ? null : item.id, rectData)+ }}+ >+ {isPreviewing ? <ContractIcon /> : <ExpandIcon />}+ </button><button className="act" title="Copy" onClick={(e) => {e.currentTarget.blur()onCopy(e)@@ -214,19 +227,7 @@ function ClipboardItemBase({ item }: Props) {<ExternalLinkIcon /></button>)}- <button- className={`act${isPreviewing ? ' preview-contract active' : ' preview-expand'}`}- title={isPreviewing ? 'Close Preview' : 'Expand Preview'}- onClick={(e) => {- e.stopPropagation()- e.currentTarget.blur()- const rect = e.currentTarget.closest('.item-main')?.getBoundingClientRect()- const rectData = rect ? { y: rect.y, height: rect.height } : undefined- useStore.getState().setPreviewItemId(isPreviewing ? null : item.id, rectData)- }}- >- {isPreviewing ? <ContractIcon /> : <ExpandIcon />}- </button>+ <div className="act-divider" /><buttonclassName="act danger"title="Delete"diff --git a/src/components/CopyIndicatorCurve.tsx b/src/components/CopyIndicatorCurve.tsxindex 288a121..ba05ad7 100644--- a/src/components/CopyIndicatorCurve.tsx+++ b/src/components/CopyIndicatorCurve.tsx@@ -253,7 +253,15 @@ export function CopyIndicatorCurve() {const showCurve = (settings.showCopyIndicator !== false) && copyFlareActive && !open- const topOffset = '50%'+ const screenH = typeof window !== 'undefined' ? window.innerHeight : 800+ const pFrac = settings.panelHeight || 0.6+ const panelH = screenH * pFrac+ const minY = panelH / 2+ const maxY = screenH - panelH / 2+ const vOffset = settings.verticalOffset ?? 0.5+ const midY = minY + vOffset * (maxY - minY)++ const topOffset = `${midY}px`const yOffset = '-50%'return (diff --git a/src/components/Header.tsx b/src/components/Header.tsxindex 90fba44..b850db5 100644--- a/src/components/Header.tsx+++ b/src/components/Header.tsx@@ -31,31 +31,10 @@ export function Header() {return (<div className="header" style={{ display: 'flex', justifyContent: 'space-between', width: '100%', alignItems: 'center', height: 40, padding: '0 14px 0 6px' }}>- <div style={{ display: 'flex', alignItems: 'center', gap: 8, paddingLeft: 6 }}>- <svg- version="1.0"- xmlns="http://www.w3.org/2000/svg"- viewBox="0 0 1800 1800"- preserveAspectRatio="xMidYMid meet"- width="26"- height="26"- shapeRendering="geometricPrecision"- style={{- display: 'block',- width: 26,- height: 26,- userSelect: 'none',- pointerEvents: 'none'- }}- >- <g transform="translate(0.000000,1800.000000) scale(0.100000,-0.100000)" fill="#FFFFFF" stroke="none">- <path d="M9005 14013 c-152 -19 -325 -52 -470 -89 -110 -29 -335 -99 -390 -123 -11 -5 -45 -19 -75 -31 -50 -20 -323 -153 -377 -184 -226 -128 -511 -348 -684 -527 -132 -136 -278 -319 -345 -432 -16 -27 -37 -61 -46 -75 -127 -202 -234 -494 -282 -768 -18 -104 -21 -364 -5 -434 6 -25 14 -65 19 -90 9 -50 36 -125 70 -193 45 -89 133 -164 229 -193 84 -25 233 -13 326 26 53 23 169 80 197 98 23 14 166 103 233 145 11 6 38 23 60 37 22 14 47 29 55 33 8 4 38 21 65 38 28 16 64 37 80 45 17 8 59 31 95 50 143 79 335 170 410 194 14 5 50 18 80 30 65 24 153 54 230 76 30 9 75 22 100 30 25 8 55 14 68 14 12 0 48 6 80 14 159 40 448 57 617 36 308 -38 435 -74 650 -181 193 -96 350 -224 464 -378 62 -84 151 -254 151 -289 0 -11 8 -37 17 -58 13 -31 17 -73 17 -204 1 -168 -6 -216 -51 -335 -150 -398 -550 -689 -1053 -765 -36 -5 -94 -14 -130 -20 -231 -35 -748 10 -1092 96 -153 38 -186 46 -228 60 -25 8 -53 14 -62 14 -10 0 -32 6 -50 14 -18 8 -80 29 -138 47 -143 44 -205 64 -270 89 -30 12 -68 26 -85 31 -16 5 -39 13 -50 18 -11 5 -42 16 -70 26 -27 9 -84 30 -125 47 -41 16 -92 36 -112 44 -21 8 -57 21 -80 30 -24 9 -59 22 -78 29 -19 7 -69 26 -110 43 -153 61 -356 135 -415 152 -28 8 -53 16 -135 45 -32 12 -83 27 -200 61 -66 19 -155 41 -235 58 -38 8 -102 22 -141 31 -40 8 -86 15 -103 15 -16 0 -76 7 -133 16 -80 13 -145 15 -307 11 -113 -3 -228 -10 -256 -16 -27 -6 -84 -18 -125 -27 -41 -9 -86 -21 -100 -26 -14 -6 -38 -14 -55 -19 -83 -22 -220 -88 -321 -155 -174 -115 -342 -310 -423 -489 -12 -27 -26 -58 -31 -67 -31 -57 -76 -233 -89 -344 -18 -154 -9 -299 30 -454 84 -341 313 -611 614 -723 120 -45 168 -52 335 -52 169 0 176 1 350 53 30 9 64 22 75 29 11 7 25 13 33 13 7 0 91 38 185 84 299 145 399 189 537 231 30 10 73 24 95 31 23 8 49 14 59 14 11 0 42 6 70 14 107 31 343 69 536 87 213 21 685 23 965 5 138 -9 338 -22 445 -28 449 -29 930 -7 1163 53 22 6 62 15 90 20 29 5 75 15 102 23 28 8 75 21 105 30 45 12 171 56 265 91 66 25 333 155 380 185 17 11 39 24 50 30 62 31 258 165 330 225 159 132 221 188 313 283 161 166 316 361 417 523 149 241 264 468 340 669 9 25 23 60 31 78 8 18 14 39 14 47 0 8 6 29 14 47 20 50 64 208 89 328 46 214 51 270 51 525 0 213 -4 268 -22 370 -32 172 -70 323 -91 364 -6 11 -11 27 -11 36 0 13 -45 118 -70 165 -5 8 -27 51 -50 95 -140 274 -377 541 -648 730 -136 95 -361 216 -502 270 -25 9 -60 23 -78 31 -18 8 -39 14 -47 14 -8 0 -29 6 -47 14 -90 38 -340 93 -548 121 -149 19 -596 19 -755 -2z"/>- <path d="M13015 11574 c-38 -14 -82 -29 -96 -33 -37 -12 -65 -29 -149 -93 -140 -104 -232 -231 -334 -462 -14 -32 -26 -65 -26 -72 0 -7 -6 -28 -14 -46 -38 -88 -83 -311 -120 -598 -8 -63 -22 -164 -31 -225 -8 -60 -15 -123 -15 -140 0 -58 -74 -434 -110 -560 -41 -140 -109 -337 -121 -349 -5 -6 -9 -18 -9 -27 0 -10 -6 -30 -14 -46 -7 -15 -36 -73 -62 -128 -94 -192 -192 -343 -316 -485 -291 -335 -615 -526 -1058 -624 -238 -52 -703 -39 -1030 29 -36 7 -103 21 -150 30 -47 9 -114 24 -150 32 -36 8 -94 21 -130 30 -36 8 -90 20 -120 28 -30 7 -91 21 -135 30 -44 9 -105 23 -135 30 -30 7 -91 21 -135 30 -601 126 -716 140 -1195 140 -386 0 -486 -8 -667 -50 -34 -8 -71 -15 -84 -15 -21 0 -42 -5 -189 -47 -104 -30 -360 -125 -385 -143 -5 -5 -44 -25 -85 -47 -41 -21 -95 -51 -120 -67 -71 -45 -195 -129 -200 -136 -3 -3 -32 -27 -65 -52 -94 -72 -253 -234 -337 -345 -43 -56 -78 -104 -78 -106 0 -3 -16 -29 -35 -59 -38 -56 -175 -329 -175 -347 0 -6 -6 -25 -14 -43 -33 -78 -70 -222 -92 -358 -13 -77 -17 -163 -17 -325 1 -272 17 -386 93 -650 25 -88 69 -199 133 -335 43 -92 235 -395 266 -420 3 -3 33 -36 65 -75 98 -115 271 -279 396 -375 65 -49 122 -90 125 -90 4 0 24 -13 45 -30 21 -16 40 -30 43 -30 3 0 38 -19 79 -43 74 -43 98 -55 243 -123 85 -40 218 -90 273 -104 19 -5 46 -13 60 -18 106 -39 342 -86 587 -117 340 -43 944 2 1234 91 25 8 53 14 62 14 10 0 33 6 51 14 18 7 58 21 88 30 54 17 82 27 170 62 154 60 411 188 517 257 24 15 45 27 47 27 3 0 53 33 113 72 59 40 116 77 125 83 9 5 50 33 90 61 198 138 305 210 438 296 418 271 740 388 1064 388 186 0 413 -50 676 -150 30 -12 73 -28 95 -36 22 -9 54 -19 70 -23 17 -5 41 -13 55 -19 40 -16 216 -64 300 -82 30 -6 131 -18 224 -26 146 -12 191 -12 320 0 83 8 174 20 201 26 153 36 175 43 285 85 103 39 130 52 225 108 206 121 414 319 517 493 18 31 42 70 52 88 29 48 110 234 128 296 39 133 48 172 63 285 19 150 19 237 0 373 -28 194 -53 286 -117 432 -121 274 -324 495 -570 620 -162 82 -287 110 -485 110 -172 0 -323 -26 -453 -78 -14 -5 -45 -18 -70 -27 -207 -81 -450 -238 -666 -430 -6 -5 -46 -41 -90 -80 -89 -78 -322 -310 -434 -431 -41 -44 -98 -105 -126 -135 -27 -30 -76 -83 -109 -119 -57 -64 -221 -239 -400 -430 -171 -182 -443 -446 -550 -535 -27 -22 -65 -54 -84 -71 -62 -53 -192 -149 -307 -225 -144 -96 -146 -98 -164 -106 -8 -4 -33 -18 -55 -32 -50 -31 -271 -141 -305 -152 -14 -4 -50 -17 -80 -29 -30 -12 -68 -26 -85 -30 -16 -5 -61 -18 -100 -30 -232 -68 -529 -86 -730 -43 -75 15 -204 61 -270 95 -44 23 -165 111 -205 149 -91 88 -156 189 -201 319 -33 92 -34 286 -2 377 53 149 164 293 313 408 32 25 61 45 64 45 3 0 22 12 43 26 102 69 308 150 503 197 139 33 484 77 605 77 123 0 511 46 645 76 106 25 183 45 215 55 17 6 44 14 60 19 116 32 360 139 475 209 19 11 42 24 50 28 23 11 201 133 236 162 124 105 252 218 289 256 50 52 199 211 280 300 102 113 328 341 401 406 90 80 205 168 314 240 109 72 369 209 434 228 17 5 56 19 86 31 64 25 137 47 198 60 23 5 51 14 61 20 11 5 30 10 42 10 12 0 45 6 73 14 28 8 87 22 131 31 436 94 699 247 911 530 155 206 235 393 290 675 13 69 15 128 11 310 -4 240 -15 314 -72 515 -58 202 -145 395 -243 544 -23 34 -42 65 -42 68 0 15 -256 313 -269 313 -3 0 -19 13 -36 28 -96 89 -257 189 -365 226 -114 38 -160 46 -277 45 -98 0 -130 -5 -188 -25z"/>- </g>- </svg>+ <div style={{ display: 'flex', alignItems: 'center', gap: 6, paddingLeft: 8 }}>{settingsOpen && (<span style={{ fontSize: 13, fontWeight: 600, color: '#8e8e93', letterSpacing: '0.01em' }}>- / {settingsSubView === 'changelog' ? "What's New" : 'Settings'}+ {settingsSubView === 'changelog' ? "What's New" : 'Settings'}</span>)}</div>diff --git a/src/components/Panel.tsx b/src/components/Panel.tsxindex ffbf6e7..f174dd3 100644--- a/src/components/Panel.tsx+++ b/src/components/Panel.tsx@@ -37,7 +37,14 @@ export function Panel() {}}, [open, setSettingsOpen, setQuery])- const topOffset = '50%'+ const screenH = typeof window !== 'undefined' ? window.innerHeight : 800+ const pFrac = settings.panelHeight || 0.6+ const panelH = screenH * pFrac+ const minY = panelH / 2+ const maxY = screenH - panelH / 2+ const vOffset = settings.verticalOffset ?? 0.5+ const midY = minY + vOffset * (maxY - minY)+ const topOffset = `${midY}px`// The actual pixel height of the trigger zone on the left edgeconst triggerHeightPx = window.innerHeight * settings.hotZoneHeightdiff --git a/src/components/Settings.tsx b/src/components/Settings.tsxindex 0ca47de..a992786 100644--- a/src/components/Settings.tsx+++ b/src/components/Settings.tsx@@ -45,7 +45,7 @@ export function Settings({ inlineIndicatorStyle }: { inlineIndicatorStyle?: boolanimate={{ opacity: 1, x: 0 }}exit={{ opacity: 0, x: -12 }}transition={{ type: 'spring', stiffness: 400, damping: 36, mass: 0.6 }}- style={{ width: '100%', height: '100%', overflowY: 'auto' }}+ style={{ width: '100%', height: '100%', overflowY: 'auto', overflowX: 'hidden' }}><ChangelogView /></motion.div>@@ -56,7 +56,7 @@ export function Settings({ inlineIndicatorStyle }: { inlineIndicatorStyle?: boolanimate={{ opacity: 1, x: 0 }}exit={{ opacity: 0, x: 12 }}transition={{ type: 'spring', stiffness: 400, damping: 36, mass: 0.6 }}- style={{ width: '100%', height: '100%', overflowY: 'auto' }}+ style={{ width: '100%', height: '100%', overflowY: 'auto', overflowX: 'hidden' }}><div className="settings-list">@@ -211,6 +211,31 @@ export function Settings({ inlineIndicatorStyle }: { inlineIndicatorStyle?: bool<div className="setting-divider" />+ {/* Vertical Position Presets */}+ <div className="setting-row vertical">+ <div className="setting-info">+ <div className="setting-title">Vertical position</div>+ <div className="setting-desc">Vertical alignment of the shelf along the screen edge</div>+ </div>+ <div className="setting-pills">+ {[+ { label: 'Top', val: 0 },+ { label: 'Center', val: 0.5 },+ { label: 'Bottom', val: 1.0 }+ ].map((opt) => (+ <button+ key={opt.label}+ className={`pill ${Math.abs((settings.verticalOffset ?? 0.5) - opt.val) < 0.05 ? 'active' : ''}`}+ onClick={() => patch({ verticalOffset: opt.val })}+ >+ {opt.label}+ </button>+ ))}+ </div>+ </div>++ <div className="setting-divider" />+<div className="setting-row vertical"><div className="setting-info"><div className="setting-title">Display</div>diff --git a/src/hooks/useEdgeHover.ts b/src/hooks/useEdgeHover.tsindex 0fb9737..c664f17 100644--- a/src/hooks/useEdgeHover.ts+++ b/src/hooks/useEdgeHover.ts@@ -84,12 +84,19 @@ export function useEdgeHover(): void {const recompute = () => {const h = window.innerHeightconst s = useStore.getState().settings+ const pFrac = s.panelHeight || 0.6+ const panelH = h * pFrac+ const minY = panelH / 2+ const maxY = h - panelH / 2+ const vOffset = s.verticalOffset ?? 0.5+ const midY = minY + vOffset * (maxY - minY)+const half = (h * (s.hotZoneHeight || 0.25)) / 2- const panelHalfH = (h * (s.panelHeight || 0.6)) / 2 + 24+ const panelHalfH = panelH / 2 + 24zone.current = {- top: h / 2 - half,- bottom: h / 2 + half,- midY: h / 2,+ top: midY - half,+ bottom: midY + half,+ midY,panelHalfH}}@@ -98,7 +105,8 @@ export function useEdgeHover(): void {const unsubStore = useStore.subscribe((state, prevState) => {if (state.settings.panelHeight !== prevState.settings.panelHeight ||- state.settings.hotZoneHeight !== prevState.settings.hotZoneHeight+ state.settings.hotZoneHeight !== prevState.settings.hotZoneHeight ||+ state.settings.verticalOffset !== prevState.settings.verticalOffset) {recompute()}diff --git a/src/styles/item.css b/src/styles/item.cssindex 8f80d92..792dcbe 100644--- a/src/styles/item.css+++ b/src/styles/item.css@@ -195,23 +195,25 @@/* Floating Actions Pill */.actions {position: absolute;- top: 50%;- right: 12px;- transform: translateY(-50%) translateX(12px) scale(0.95);+ top: 8px;+ right: 8px;+ transform: translateY(-2px) scale(0.92);display: flex;- gap: 4px;- padding: 4px;- background: rgba(20, 20, 20, 0.95);- border: 1px solid rgba(255, 255, 255, 0.1);+ gap: 3px;+ padding: 3px 5px;+ background: rgba(14, 14, 14, 0.94);+ backdrop-filter: blur(12px);+ -webkit-backdrop-filter: blur(12px);+ border: 1px solid rgba(255, 255, 255, 0.12);border-radius: 999px;opacity: 0;pointer-events: none;/* Specific properties — prevents `all` from catching unrelated inherited changes.will-change promotes the layer ahead of hover so the slide-in is smooth. */- transition: opacity 0.22s cubic-bezier(0.16, 1, 0.3, 1),- transform 0.22s cubic-bezier(0.16, 1, 0.3, 1);+ transition: opacity 0.2s cubic-bezier(0.16, 1, 0.3, 1),+ transform 0.2s cubic-bezier(0.16, 1, 0.3, 1);will-change: transform, opacity;- box-shadow: 0 4px 16px rgba(0, 0, 0, 0.8);+ box-shadow: 0 4px 16px rgba(0, 0, 0, 0.75);z-index: 20;}@@ -220,7 +222,7 @@.item-main.force-actions .actions {opacity: 1;pointer-events: auto;- transform: translateY(-50%) translateX(0) scale(1);+ transform: translateY(0) scale(1);}.act {@@ -238,14 +240,23 @@color: #fff;}.act.danger:hover {- background: rgba(255, 60, 60, 0.2);- color: #ff6b6b;+ background: rgba(239, 68, 68, 0.22);+ color: #f87171;}.act.active {color: #fff;background: rgba(255, 255, 255, 0.25);}+.act-divider {+ width: 1px;+ height: 14px;+ background: rgba(255, 255, 255, 0.15);+ margin: 0 2px;+ align-self: center;+ flex-shrink: 0;+}+/* ------------------------------------------------------------------ *//* Preview expand / contract button states *//* ------------------------------------------------------------------ */@@ -264,31 +275,16 @@transition: opacity 0.3s ease, filter 0.3s ease;}-/* In preview mode: center the pill horizontally over the card and enlarge everything */+/* In preview mode: keep the pill anchored in top-right corner without spatial jumping or obscuring center content */.item-main.previewing .actions {- right: 50%;- transform: translateY(-50%) translateX(50%);- padding: 6px;- gap: 6px;-}--/* All buttons in the pill get bigger when previewing */-.item-main.previewing .act {- width: 38px;- height: 38px;-}--/* Icons inside also scale up to match the larger buttons */-.item-main.previewing .act svg {- width: 20px;- height: 20px;-}--/* Hide the delete button while preview is active — prevents accidental deletion- when the pill repositions and the cursor lands on the trash icon.- User can close preview first if they want to delete. */-.item-main.previewing .act.danger {- display: none;+ top: 8px;+ right: 8px;+ transform: translateY(0) scale(1);+ padding: 3px 5px;+ gap: 3px;+ opacity: 1;+ pointer-events: auto;+ box-shadow: 0 4px 16px rgba(0, 0, 0, 0.85);}/* Brief pointer-events freeze on the pill right after preview opens,