Commit Graph
51 Commits
Author SHA1 Message Date
LTbinglingfeng f0d669f98a feat: remove Home control plane configuration and related validation logic 2026-05-19 00:25:45 +08:00
LTbinglingfeng d6f5c45aa5 feat(i18n): add Home control plane settings and various enhancements
- Introduced Home control plane configuration options in English, Russian, Simplified Chinese, and Traditional Chinese locales.
- Added new fields for error log retention, usage statistics, and image generation settings in visual configuration.
- Enhanced payload model entries to include header management and condition matching capabilities.
- Updated default visual configuration values to accommodate new settings.
2026-05-18 03:08:05 +08:00
LTbinglingfeng cd1e7ff574 feat: refactor ConfigSection styles to improve layout and responsiveness 2026-05-18 02:45:26 +08:00
LTbinglingfeng 4ef5869850 Refactor localization strings for Antigravity Credits and update ConfigPage styles
- Updated English, Russian, Simplified Chinese, and Traditional Chinese localization files to change "Antigravity Credits Retry" to "Use Antigravity Credits" and removed associated descriptions.
- Modified ConfigPage.module.scss to improve layout and styling, including adjustments to widths, gaps, paddings, and border-radius for various elements.
- Simplified the structure of the ConfigPage component by removing unused variables and streamlining the JSX.
2026-05-18 02:38:21 +08:00
Supra4E8C 632be0bbe0 refactor: remove unused chart configuration and latency utilities
- Deleted chartConfig.ts and its exports from index.ts, as they are no longer needed.
- Removed latency.ts and its related functions for latency statistics and formatting.
- Cleaned up usageIndex.ts by removing functions related to indexing usage details, as they are not in use.
2026-05-02 03:41:14 +08:00
Supra4E8C 3212f6591b feat(config): add session affinity routing settings 2026-04-20 23:44:22 +08:00
Supra4E8C 5cbfbe8fea feat(config): add antigravity credits visual toggle 2026-04-12 00:41:53 +08:00
Supra4E8C 7333e98db0 perf(config): gate visual editor observers by layer 2026-04-03 01:46:23 +08:00
Supra4E8C 66a03364a7 perf(config): lazy-mount source editor 2026-04-03 01:45:20 +08:00
Supra4E8C 5ad32a1892 perf(styles): degrade glass blur on mobile 2026-04-03 00:04:26 +08:00
Supra4E8C 7aa6744f20 refactor(VisualConfigEditor): simplify floating element positioning and style management 2026-03-28 06:36:43 +08:00
Supra4E8CandGitHub 3868ca172e Merge pull request #166 from Xvvln/feat/expandable-payload-inputs
feat(config): add expandable input for long payload override values
2026-03-28 01:10:30 +08:00
Supra4E8C 208a26441d fix(config): prevent mobile section jump scroll conflicts 2026-03-27 21:15:06 +08:00
Supra4E8C 12103835ec fix(config): tighten visual editor small-screen layout 2026-03-27 19:40:22 +08:00
Supra4E8C 8ac6b3bcfa feat(config): add mobile section quick navigation 2026-03-27 19:38:29 +08:00
Supra4E8C b823bc38ea feat(ConfigPage, VisualConfigEditor): integrate page transition layer for improved rendering control 2026-03-27 19:23:00 +08:00
Supra4E8C 693d821e1a feat(VisualConfigEditor): enhance sidebar behavior and styling for better responsiveness 2026-03-22 23:28:16 +08:00
Xvvln bcaf637253 feat(config): add expandable input for long payload override values
- Add ExpandableInput component that toggles between single-line <input>
  and auto-resizing <textarea> for long content (>30 chars)
- Apply to all payload rule fields: model name (both layout branches),
  json_path, param value, filter model name, and string list items
- Strip newline characters in both input and textarea onChange handlers
  to prevent multi-line values from breaking YAML serialization
- Use useLayoutEffect for resize to avoid visual flicker
- Remove redundant autoResize call from click handler (handled by effect)
- Disable expand/collapse buttons when field is disabled, with proper
  cursor and opacity styles
- Localize button labels via i18n (en, zh-CN, ru)
- Use explicit .expandableInputExpanded class instead of CSS :has()
  for cross-browser compatibility
2026-03-22 18:52:32 +08:00
Supra4E8C 8758a75b39 feat(visual-config): enhance overview layout and improve visual section translations 2026-03-22 17:35:06 +08:00
Supra4E8C 5469945019 refactor: enhance ConfigPage styling and structure
- Updated SCSS for ConfigPage to improve layout and visual hierarchy.
- Introduced new styles for page header, including background gradients and responsive design.
- Refined tab bar and status badge styles for better user experience.
- Adjusted search input and actions for improved accessibility and usability.
- Enhanced editor wrapper and floating actions to prevent overlap with content.
- Cleaned up code structure in ConfigPage component for better readability and maintainability.
2026-03-22 17:10:17 +08:00
Supra4E8C 34a6f44b85 feat(visual-config): add max retry credentials configuration and update validation messages 2026-03-22 16:14:46 +08:00
Supra4E8C e50e088409 feat(payload-rules): add support for raw JSON rules in payload configuration 2026-03-22 15:55:17 +08:00
Supra4E8C beeecf7d01 fix(types): restore missing deps and resolve type-check errors 2026-03-13 12:24:50 +08:00
Supra4E8C dd08c469f4 fix(config): label payload editor row inputs 2026-03-07 14:51:53 +08:00
Supra4E8C f37e6dac93 refactor(config): extract visual editor blocks 2026-03-07 14:50:07 +08:00
Supra4E8C b00d647066 perf(config): memoize heavy visual editor blocks 2026-03-07 14:47:06 +08:00
Supra4E8C 8796a5f618 fix(ui): improve editor accessibility flows 2026-03-07 14:43:39 +08:00
Supra4E8C 1fc12c504f fix(config): localize api key card title 2026-03-07 14:28:44 +08:00
Supra4E8C bfd3632f95 fix(config): make api key modal input layout responsive 2026-03-07 14:24:26 +08:00
Supra4E8C 56da24765f perf(config): narrow api key editor store subscription 2026-03-07 14:22:23 +08:00
Supra4E8C ffc4fcd5b3 fix(config): edit api keys by stable item id 2026-03-07 14:21:00 +08:00
Supra4E8C ac44308fbd fix(config): stabilize string list item keys 2026-03-07 14:19:33 +08:00
Supra4E8C 6da473ed0f fix(config): validate payload param value types 2026-03-07 14:08:25 +08:00
Supra4E8C b1f05e8cd7 fix(config): validate visual numeric fields 2026-03-07 14:03:53 +08:00
Supra4E8C ee784b579c fix(config): normalize visual yaml diff and redesign diff modal 2026-02-28 18:19:52 +08:00
Supra4E8C 7d4c400084 fix(config): show diff chunks with line numbers and context 2026-02-17 00:01:54 +08:00
Supra4E8C 32bf103f15 fix(ui): add batch bar exit animation and chunked diff cards 2026-02-16 23:51:23 +08:00
Supra4E8C 47c3874244 fix(auth-files): polish selection UI and animate batch action bar 2026-02-16 23:13:26 +08:00
Supra4E8C b7794a91b4 feat(config): add YAML diff confirmation before save 2026-02-16 22:04:55 +08:00
Supra4E8C d09ea6aeab feat(config): add secure API key generator in visual editor 2026-02-16 21:49:45 +08:00
Supra4E8C faadc3ea3e refactor(select): unify dropdown implementations 2026-02-14 12:50:03 +08:00
Supra4E8C bf824f8561 fix(clipboard): add shared helper and remove lint warnings 2026-02-14 03:33:09 +08:00
Supra4E8C 3a7ddfdff1 fix(clipboard): add fallback helper and unify copy actions 2026-02-14 03:25:33 +08:00
Supra4E8C e2368ddfd7 Refactor color variables and styles across components for a cohesive design update
- Updated active state colors in ToastSelect component for better visibility.
- Adjusted box-shadow and border colors in ModelMappingDiagram styles.
- Changed provider colors in ModelMappingDiagram for improved aesthetics.
- Modified background and border styles in ProviderNav for a more modern look.
- Updated accent colors in StatCards to align with new color scheme.
- Refined token colors in TokenBreakdownChart for consistency.
- Adjusted sparkline colors in useSparklines hook to match new design.
- Changed error icon color in AiProvidersOpenAIEditPage for better contrast.
- Updated failure badge styles in AiProvidersPage for a cleaner appearance.
- Refined various status styles in AuthFilesPage for improved clarity.
- Updated colors in ConfigPage to use new variable definitions.
- Refined error and warning styles in LoginPage for better user feedback.
- Adjusted log status colors in LogsPage for consistency with new theme.
- Updated OAuthPage styles to reflect new color variables.
- Refined quota styles in QuotaPage for better visual hierarchy.
- Updated system page styles for improved user experience.
- Adjusted usage page styles to align with new design language.
- Refactored component styles to use new color variables in components.scss.
- Updated layout styles to reflect new primary color definitions.
- Refined theme colors in themes.scss for a more cohesive look.
- Updated color variables in variables.scss to reflect new design choices.
- Adjusted chart colors in usage.ts for consistency with new color scheme.
2026-02-14 02:25:58 +08:00
Supra4E8C b957d05636 Localize visual config select option labels 2026-02-12 23:57:02 +08:00
LTbinglingfeng 525b152a76 fix(config): preserve mobile scroll after API key modal close and add one-click key copy 2026-02-07 12:22:16 +08:00
LTbinglingfeng 3661530f5f fix(ui): make payload visual editor responsive on mobile 2026-02-06 18:38:37 +08:00
LTbinglingfeng f833f0dfd2 fix(config): align visual editor with backend config semantics 2026-02-06 18:14:13 +08:00
hkfires e568e4a2b5 feat(ui): show empty state for payload rules editor 2026-02-06 11:29:21 +08:00
LTbinglingfeng e6e62e2992 feat(i18n): add internationalization support for visual config editor 2026-02-06 03:34:38 +08:00