Commit Graph
6 Commits
Author SHA1 Message Date
nezumi f5666a29da fix: update the ui for the dashboard 2026-07-21 09:48:33 +07:00
nezumi 0e8a21fdbe fix: update logic for showing the infomation 2026-07-20 11:27:36 +07:00
nezumi fa7cd62d58 fix: enhanced the dasboard ui 2026-07-19 12:00:03 +07:00
nezumi 6bb03d85f7 feat: remove tunnel and tailscale feature 2026-07-18 19:46:52 +07:00
nezumi 4ac342c5a2 fix: update the permission for create and read the api keys 2026-07-11 15:28:52 +07:00
decoluaandCursor fbf973f2e7 refactor(app): DRY pass — split large files, extract shared utils
S1: delete page.new.js (1724L abandoned) + remove dead getAntigravityProjectId
S2: split large files by natural seams
  - usage.js → usage/{github,google,claude,codex,kiro,minimax,misc,shared}.js
  - media-providers page → components/{Embedding,Tts,Generic,Stt}ExampleCard.js
  - EndpointPageClient → endpointConstants.js + endpointPing.js + components/
  - tokenRefresh.js → tokenRefresh/{dedup,providers}.js
  - ProviderLimits/index.js: 16 pure fn + 9 constants → utils.js
  - oauth/providers.js: 7 pure helpers → providerHelpers.js
S3: shared utils
  - getModelKind(m, fallback) → shared/constants/models.js (replaces 20× m.kind||m.type)
  - getStatusVariant → shared/utils/connectionStatus.js (dedup ConnectionRow/ConnectionsCard)
  - sseChunk → open-sse/utils/sse.js (dedup grok-web/perplexity-web)
  - fetchWithTimeout → usage/shared.js (replace 4× AbortController pattern in google.js)
fix: enableObservability2 field name in requestDetailsRepo
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-06-14 19:31:09 +07:00