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): optimize performance by removing CPU backdrop blurs, redesign support & quit section with pill buttons
Deepender2554295099ae1f
diff --git a/edge-drop-translations/en.json b/edge-drop-translations/en.jsonindex c08bbbb..255a59b 100644--- a/edge-drop-translations/en.json+++ b/edge-drop-translations/en.json@@ -245,6 +245,6 @@"githubPromo": "If you like Edge-Drop, please consider starring the project on GitHub!","version": "Version","supportPromo": "Edge-Drop is 100% free & open-source. If it helps your daily workflow, consider supporting development to make it even better!",- "supportOnKofi": "Support on Ko-fi"+ "supportOnKofi": "Support via Ko-fi / UPI"}}\ No newline at end of filediff --git a/scripts/generate_translations_ts.cjs b/scripts/generate_translations_ts.cjsindex d45d036..503fece 100644--- a/scripts/generate_translations_ts.cjs+++ b/scripts/generate_translations_ts.cjs@@ -236,7 +236,7 @@ const masterEn = {quitTitle: 'Quit Edge-Drop',quitDesc: 'Exit application and stop background process',supportPromo: 'Edge-Drop is 100% free & open-source. If it helps your daily workflow, consider supporting development to make it even better!',- supportOnKofi: 'Support Edge-Drop on Ko-fi',+ supportOnKofi: 'Support via Ko-fi / UPI',starOnGithub: 'Star on GitHub',githubPromo: 'Enjoying Edge-Drop? Show your support by starring the project on GitHub!',version: 'Version'diff --git a/src/components/Panel.tsx b/src/components/Panel.tsxindex 2dbc88d..680963c 100644--- a/src/components/Panel.tsx+++ b/src/components/Panel.tsx@@ -447,9 +447,7 @@ function DropOverlay() {justifyContent: 'center',gap: '14px',pointerEvents: 'none',- background: 'rgba(6, 6, 8, 0.82)',- backdropFilter: 'blur(28px)',- WebkitBackdropFilter: 'blur(28px)',+ background: 'rgba(6, 6, 8, 0.95)',textAlign: 'center',padding: '24px'}}diff --git a/src/components/PreviewFlyout.tsx b/src/components/PreviewFlyout.tsxindex e88b06d..fe8d92d 100644--- a/src/components/PreviewFlyout.tsx+++ b/src/components/PreviewFlyout.tsx@@ -268,7 +268,6 @@ export function PreviewFlyout({ isRight }: { isRight: boolean }) {display: 'flex',alignItems: 'center',justifyContent: 'space-between',- backdropFilter: 'blur(20px)',zIndex: 20}}>@@ -463,8 +462,7 @@ function QuickActionButton({justifyContent: 'center',transition: 'all 0.15s ease',flexShrink: 0,- boxShadow: solidDark ? '0 4px 12px rgba(0, 0, 0, 0.5)' : undefined,- backdropFilter: solidDark ? 'blur(8px)' : undefined+ boxShadow: solidDark ? '0 4px 12px rgba(0, 0, 0, 0.5)' : undefined}}onMouseEnter={(e) => {if (!copied) {@@ -772,7 +770,6 @@ function PreviewContent({alignItems: 'center',justifyContent: 'center',boxShadow: '0 4px 12px rgba(0, 0, 0, 0.5)',- backdropFilter: 'blur(8px)',transition: 'all 0.15s ease',flexShrink: 0}}@@ -884,8 +881,7 @@ function PreviewContent({alignItems: 'center',justifyContent: 'center',transition: 'all 0.15s ease',- flexShrink: 0,- backdropFilter: 'blur(8px)'+ flexShrink: 0}}onMouseEnter={(e) => {e.currentTarget.style.background = 'rgba(0, 0, 0, 0.95)'diff --git a/src/components/Settings.tsx b/src/components/Settings.tsxindex e8841df..dd713a6 100644--- a/src/components/Settings.tsx+++ b/src/components/Settings.tsx@@ -4,7 +4,7 @@ import { useStore } from '../store/appStore'import type { DisplayInfo } from '../../shared/types'import { LiquidOctopusLoader } from './LiquidOctopusLoader'import { TickIndicatorIcon, CopyIndicatorIcon, SparkleIndicatorIcon } from './CopyIndicatorCurve'-import { ChevronRightIcon, CloseIcon, LogOutIcon, StarIcon, KofiLogo, GithubOctocatLogo } from './icons'+import { ChevronRightIcon, CloseIcon, LogOutIcon, StarIcon, GithubOctocatLogo } from './icons'import { ChangelogView } from './ChangelogView'import { playDialTickSound, playToggleSound, playButtonClickSound } from '../lib/soundEffects'import { useTranslation } from '../i18n'@@ -168,43 +168,27 @@ export function Settings({ inlineIndicatorStyle }: { inlineIndicatorStyle?: bool</button></div>- {/* Application */}- <div className="setting-group-label" style={{ marginTop: 20 }}>{t('footer.applicationGroup')}</div>-- <div className="setting-row vertical" style={{ gap: 10 }}>- <div className="setting-info">- <div className="setting-title">{t('footer.quitTitle')}</div>- <div className="setting-desc">{t('footer.quitDesc')}</div>- </div>- <button- className="quit-app-btn"- onClick={() => {- playButtonClickSound()- void window.edge.quitApp()- }}- >- <LogOutIcon width={14} height={14} />- {t('tray.quit')}- </button>- </div>-{/* Support & GitHub Promo Footer */}- <div className="setting-divider" style={{ marginTop: 16 }} />+ <div className="setting-divider" style={{ marginTop: 20 }} /><div className="support-promo"><div className="support-promo-title">{t('footer.supportPromo')}</div><div className="support-buttons-group">- {/* Primary Feature Action: Ko-fi */}+ {/* Primary Action: Support via Ko-fi / UPI */}<buttonclassName="kofi-support-btn"onClick={() => {playButtonClickSound()- window.open('https://ko-fi.com/deepender', '_blank')+ window.open('https://edgedrop.vercel.app/supportedgedrop', '_blank')}}>- <KofiLogo width={18} height={18} className="kofi-logo-icon" />+ <div className="support-btn-heart-badge">+ <svg width="13" height="13" viewBox="0 0 24 24" fill="#ff5252" stroke="none">+ <path d="M12 21.35l-1.45-1.32C5.4 15.36 2 12.28 2 8.5 2 5.42 4.42 3 7.5 3c1.74 0 3.41.81 4.5 2.09C13.09 3.81 14.76 3 16.5 3 19.58 3 22 5.42 22 8.5c0 3.78-3.4 6.86-8.55 11.54L12 21.35z"/>+ </svg>+ </div><span>{t('footer.supportOnKofi')}</span></button>@@ -225,6 +209,20 @@ export function Settings({ inlineIndicatorStyle }: { inlineIndicatorStyle?: bool{t('footer.version')} {currentVersion || '0.2.5'}</div></div>++ {/* Subtle Bottom Quit Button */}+ <div style={{ display: 'flex', justifyContent: 'center', marginTop: 14, marginBottom: 6 }}>+ <button+ className="subtle-quit-btn"+ onClick={() => {+ playButtonClickSound()+ void window.edge.quitApp()+ }}+ >+ <LogOutIcon width={13} height={13} />+ <span>{t('tray.quit')}</span>+ </button>+ </div></>)@@ -1219,9 +1217,7 @@ export function Settings({ inlineIndicatorStyle }: { inlineIndicatorStyle?: boolmargin: '0 auto',width: 'fit-content',maxWidth: 'calc(100% - 24px)',- background: 'rgba(76, 175, 80, 0.95)',- color: '#ffffff',- backdropFilter: 'blur(12px)',+ background: '#388e3c',border: '1px solid rgba(255, 255, 255, 0.25)',borderRadius: 20,padding: '6px 14px',diff --git a/src/i18n/translations.ts b/src/i18n/translations.tsindex 8fa111a..9ae04ac 100644--- a/src/i18n/translations.ts+++ b/src/i18n/translations.ts@@ -660,7 +660,7 @@ export const en: TranslationKeys = {"quitTitle": "Quit Edge-Drop","quitDesc": "Close application and stop background process","supportPromo": "Edge-Drop is 100% free & open-source. If it helps your daily workflow, consider supporting development to make it even better!",- "supportOnKofi": "Support on Ko-fi",+ "supportOnKofi": "Support via Ko-fi / UPI","starOnGithub": "Star on GitHub","githubPromo": "If you like Edge-Drop, please consider starring the project on GitHub!","version": "Version"diff --git a/src/styles/item.css b/src/styles/item.cssindex 38b1790..9519c95 100644--- a/src/styles/item.css+++ b/src/styles/item.css@@ -211,9 +211,7 @@display: flex;gap: 3px;padding: 3px 5px;- background: rgba(14, 14, 14, 0.94);- backdrop-filter: blur(12px);- -webkit-backdrop-filter: blur(12px);+ background: #141416;border: 1px solid rgba(255, 255, 255, 0.12);border-radius: 999px;opacity: 0;diff --git a/src/styles/panel.css b/src/styles/panel.cssindex 6a11248..83d6b70 100644--- a/src/styles/panel.css+++ b/src/styles/panel.css@@ -432,8 +432,7 @@/* Quick Type Segmented Control */.filter-segmented-track {- backdrop-filter: blur(12px);- -webkit-backdrop-filter: blur(12px);+ background: rgba(255, 255, 255, 0.05);}.filter-chip {outline: none;diff --git a/src/styles/settings.css b/src/styles/settings.cssindex 5c59089..8c64d8b 100644--- a/src/styles/settings.css+++ b/src/styles/settings.css@@ -515,16 +515,17 @@display: inline-flex;align-items: center;justify-content: center;- gap: 8.5px;+ gap: 9px;width: 100%;- padding: 9px 14px;- border-radius: 9px;+ padding: 9.5px 16px;+ min-height: 40px;+ border-radius: 999px;font-size: 12.5px;font-weight: 650;color: #ffffff;- background: #ff5e5b;- border: 1px solid rgba(255, 255, 255, 0.15);- box-shadow: 0 2px 10px rgba(255, 94, 91, 0.25);+ background: #ff7675;+ border: 1px solid rgba(255, 255, 255, 0.2);+ box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);cursor: pointer;white-space: normal;word-break: break-word;@@ -538,87 +539,107 @@}.kofi-support-btn:hover {- background: #ff4744;- border-color: rgba(255, 255, 255, 0.25);+ background: #ff6b6b;+ border-color: rgba(255, 255, 255, 0.35);color: #ffffff;- box-shadow: 0 4px 16px rgba(255, 94, 91, 0.42);- transform: translateY(-1px);+ box-shadow: 0 3px 10px rgba(0, 0, 0, 0.35);+ transform: translateY(-1.5px);}.kofi-support-btn:active {transform: translateY(0) scale(0.98);}-.kofi-support-btn .kofi-logo-icon {- color: #ffffff;- transition: transform 0.2s ease;-}--.kofi-support-btn:hover .kofi-logo-icon {- transform: scale(1.12);-}--/* GitHub Star Promo Footer */-.github-promo {+.support-btn-heart-badge {display: flex;- flex-direction: column;align-items: center;- gap: 14px;- padding: 18px 16px;- background: rgba(255, 255, 255, 0.025);- border: 1px solid rgba(255, 255, 255, 0.08);- border-radius: 14px;- margin: 20px 4px 6px 4px;- text-align: center;+ justify-content: center;+ width: 21px;+ height: 21px;+ border-radius: 50%;+ background: #ffffff;+ box-shadow: 0 2px 6px rgba(0, 0, 0, 0.18);+ flex-shrink: 0;+ transition: transform 0.2s ease;}-.github-promo-text {- font-size: 11.5px;- color: rgba(255, 255, 255, 0.85);- line-height: 1.4;- font-weight: 400;- max-width: 100%;- white-space: normal;- word-break: break-word;- overflow-wrap: break-word;+.kofi-support-btn:hover .support-btn-heart-badge {+ transform: scale(1.14);}+/* GitHub Star Promo Footer */.github-promo-btn {display: inline-flex;align-items: center;justify-content: center;- gap: 6px;+ gap: 7px;width: 100%;- padding: 8px 14px;- border-radius: 8px;- font-size: 12px;- font-weight: 550;- color: rgba(255, 255, 255, 0.85);- background: rgba(255, 255, 255, 0.04);- border: 1px solid rgba(255, 255, 255, 0.1);+ padding: 9.5px 16px;+ min-height: 40px;+ border-radius: 999px;+ font-size: 12.5px;+ font-weight: 650;+ color: rgba(255, 255, 255, 0.92);+ background: rgba(255, 255, 255, 0.05);+ border: 1px solid rgba(255, 255, 255, 0.14);+ box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);cursor: pointer;white-space: normal;word-break: break-word;overflow-wrap: break-word;line-height: 1.3;text-align: center;- transition: all 0.2s ease;+ transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);}.github-promo-btn:hover {- background: rgba(255, 255, 255, 0.09);+ background: rgba(255, 255, 255, 0.1);color: #ffffff;- border-color: rgba(255, 255, 255, 0.2);+ border-color: rgba(255, 255, 255, 0.28);+ box-shadow: 0 4px 14px rgba(0, 0, 0, 0.4);+ transform: translateY(-1.5px);+}++.github-promo-btn:active {+ transform: translateY(0) scale(0.98);}.github-promo-btn .github-octocat-icon {- color: rgba(255, 255, 255, 0.85);+ color: rgba(255, 255, 255, 0.9);}.github-promo-btn .star-icon {color: #fbbf24;}+/* Subtle Bottom Quit Button */+.subtle-quit-btn {+ display: inline-flex;+ align-items: center;+ justify-content: center;+ gap: 6.5px;+ padding: 6px 16px;+ border-radius: 999px;+ font-size: 11.5px;+ font-weight: 500;+ color: rgba(255, 120, 120, 0.75);+ background: rgba(255, 255, 255, 0.025);+ border: 1px solid rgba(255, 100, 100, 0.18);+ cursor: pointer;+ transition: all 0.2s ease;+}++.subtle-quit-btn:hover {+ background: rgba(255, 80, 80, 0.12);+ border-color: rgba(255, 80, 80, 0.38);+ color: #ff6b6b;+ transform: translateY(-1px);+}++.subtle-quit-btn:active {+ transform: translateY(0) scale(0.97);+}+.app-version-footer {font-size: 11.5px;color: rgba(255, 255, 255, 0.55);