Conversation
…onent pages - Replace blanket console route footer hiding with specific page targeting - Only hide footer on pages that use CardPro component: * /console/channel (channels management) * /console/log (usage logs) * /console/redemption (redemption codes) * /console/user (user management) * /console/token (token management) * /console/midjourney (midjourney logs) * /console/task (task logs) * /console/models (model management) * /pricing (pricing page) - Footer now displays on other console pages (dashboard, settings, topup, etc.) - Improves UI consistency by showing footer where CardPro's internal pagination isn't used This change ensures footer is only hidden when CardPro component provides its own pagination/footer functionality, while preserving footer visibility on other pages that benefit from the global footer navigation.
alpha -> main
feat(i18n): add and update French translations
chore: go version & sonic dep
…onent pages - Replace blanket console route footer hiding with specific page targeting - Only hide footer on pages that use CardPro component: * /console/channel (channels management) * /console/log (usage logs) * /console/redemption (redemption codes) * /console/user (user management) * /console/token (token management) * /console/midjourney (midjourney logs) * /console/task (task logs) * /console/models (model management) * /pricing (pricing page) - Footer now displays on other console pages (dashboard, settings, topup, etc.) - Improves UI consistency by showing footer where CardPro's internal pagination isn't used This change ensures footer is only hidden when CardPro component provides its own pagination/footer functionality, while preserving footer visibility on other pages that benefit from the global footer navigation.
…le-footer # Conflicts: # web/src/components/table/channels/modals/EditChannelModal.jsx # web/src/hooks/common/useSidebar.js
- Removed the 'chatnio' link from the footer. - Added new links for 'CoAI' and 'GPT-Load' in the footer. - Updated the localization key for '基于New API的项目' to '友情链接' for better clarity. - Adjusted the design of the footer to improve layout and visibility of the developer credit.
✨ feat(layout): refine footer visibility logic to target CardPro component pages
…le image configuration
|
Caution Review failedThe pull request is closed. WalkthroughAdds a new Doubao video channel (type 54) with task adaptor, token-based billing for video tasks, common Claude header handling, header override processing with {api_key} substitution, Gemini config enhancement, Docker default DB switched to PostgreSQL, Go/tooling dependency bumps, README updates including Japanese localization, and UI/i18n tweaks. Changes
Sequence Diagram(s)sequenceDiagram
autonumber
actor User
participant Web as Web Console
participant API as New API
participant Doubao as Doubao Video API
participant Billing as Billing/Ratios
rect rgba(230,245,255,0.6)
note right of Web: Submit video generation task
User->>Web: Configure model/prompts/assets
Web->>API: POST /task (channel=doubao-video)
API->>API: Validate & build Doubao request
API->>Doubao: Create task (auth + headers)
Doubao-->>API: task_id
API-->>Web: task_id
end
rect rgba(240,255,240,0.6)
note right of API: Poll task status
Web->>API: GET /task/:id
API->>Doubao: Fetch status/result
Doubao-->>API: status + tokens/urls
API->>Billing: Compute final quota using model & group ratios
alt delta > 0
Billing->>API: Deduct difference
else delta < 0
Billing->>API: Refund difference
else exact
Billing->>API: No adjustment
end
API-->>Web: Status/result (url, progress, tokens)
end
sequenceDiagram
autonumber
participant Admin as Admin UI
participant API as New API
participant Upstream as Upstream API
rect rgba(255,248,230,0.6)
note over Admin,API: Header override with {api_key}
Admin->>API: Save header_override JSON (uses {api_key})
end
rect rgba(245,245,255,0.6)
note right of API: Request execution
API->>API: processHeaderOverride({api_key}→real key)
API->>Upstream: Request with overridden headers
Upstream-->>API: Response
API-->>Admin: Result
end
Estimated code review effort🎯 4 (Complex) | ⏱️ ~60 minutes Possibly related PRs
Suggested reviewers
Poem
✨ Finishing touches
🧪 Generate unit tests
📜 Recent review detailsConfiguration used: CodeRabbit UI Review profile: CHILL Plan: Pro ⛔ Files ignored due to path filters (1)
📒 Files selected for processing (41)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Summary by CodeRabbit
New Features
UI
Documentation
i18n
Chores