12 Commits
Author SHA1 Message Date
科林 KELIN 58f76d8f83 fix: show "NEED KEY" status for providers without API key configured (#18) 2026-04-13 08:03:39 +08:00
科林_Cyril Pilgrim 46a3db8053 style(ui): refine toggle switch animation for a silkier feel
Motivation:
User feedback indicated that the strong spring animation felt rigid and 'blocking' during interactions.

Implementation:
Adjusted CSS transition cubic-bezier curves from an aggressive spring (.34,1.56,.64,1) to a smoother, faster ease-out curve (.25,1.1,.5,1). Reduced transition durations to 0.2s-0.28s to make the interaction feel instantaneous and fluid.
2026-03-05 12:27:56 +08:00
科林_Cyril Pilgrim 910d2792ce feat(ui): implement smooth Apple-style spring animation for toggle switch
Motivation:
The previous toggle switch animation was abrupt and rigid. The clickable area also spanned the entire row width, which led to unintentional clicks.

Implementation:
- CSS: Replaced static transitions with cubic-bezier spring physics, hardware-accelerated transforms (translate), and pressed-state squish feedback.
- JS: Wrapped the switch in a constrained flex container, replacing the full-width <label> wrapper to fix the clickable area.
2026-03-05 12:06:48 +08:00
科林_Cyril Pilgrim f6d72ef002 feat(ui): refine save button style and add ESC key listener to close manager
Motivation:
The save button's style was originally an overly bright gradient, making it feel out of place compared to the frosted glass aesthetics. Additionally, the user requested the ability to close the modal using the Escape key.

Implementation:
1. Updated '.llm-pm-actions-right button:last-child' CSS to use a restrained translucent background similar to the sidebar items, keeping it cohesive with the glassmorphism design.
2. Added a global 'keydown' listener on 'Escape' inside 'ProviderManager.show()' which correctly triggers 'closeModal()' (also checking for unsaved changes) and automatically removes itself when closed.
2026-03-05 09:34:16 +08:00
科林_Cyril Pilgrim 7f22ab5b07 style: reduce hover glow intensity on Custom Provider button 2026-03-04 18:17:01 +08:00
科林_Cyril Pilgrim a244b74140 style: align Custom Provider button with glassmorphism active style 2026-03-04 18:15:19 +08:00
科林_Cyril Pilgrim 8d2dbdcb9e style: remove active provider left border 2026-03-04 18:09:02 +08:00
科林_Cyril Pilgrim dc653c0cf2 style: remove SYSTEM tags & redesign active sidebar item 2026-03-04 18:02:20 +08:00
科林_Cyril Pilgrim 0754a7aa85 feat(ui): refine glassmorphism details (inline eye icon, loading animations) 2026-03-04 16:41:10 +08:00
科林_Cyril Pilgrim 0590ed5d17 feat(ui): complete glassmorphism UI redesign - Apple frosted glass aesthetic 2026-03-04 16:08:03 +08:00
科林_Cyril Pilgrim c64a887021 style(ui): unify font family across LLM Manager UI 2026-03-04 15:31:08 +08:00
科林_Cyril Pilgrim 36c5f3028c refactor(web): extract 300+ line CSS into dedicated provider_manager.css 2026-03-03 19:06:43 +08:00