Skip to content

refactor(desktop): simplify entrypoint and unify configuration via HE…#6655

Merged
bxy4543 merged 1 commit intolabring:release-v5.1from
bxy4543:release-v5.1-cherry-pick-pr-6652
Feb 3, 2026
Merged

refactor(desktop): simplify entrypoint and unify configuration via HE…#6655
bxy4543 merged 1 commit intolabring:release-v5.1from
bxy4543:release-v5.1-cherry-pick-pr-6652

Conversation

@bxy4543
Copy link
Member

@bxy4543 bxy4543 commented Feb 3, 2026

…LM_OPTIONS (#6652)

  • init

  • refactor(desktop): simplify entrypoint and unify configuration via HELM_OPTIONS

  • Simplify desktop-frontend-entrypoint.sh from 319 to 141 lines (56% reduction)
  • Remove all environment variable to Helm value conversion logic
  • Remove CURRENCY environment variable, use direct Helm values instead
  • Update all documentation to use correct sealos run syntax (-e flag only)
  • Add HELM_OPTIONS support for passing Helm --set parameters
  • Make all config.yaml values configurable via Helm values (60+ parameters)
  • Update README and HELM_VALUES_GUIDE documentation
  • Remove workorder and invite from allowedOrigins

All configuration now unified through HELM_OPTIONS environment variable.

🤖 Generated with Claude Code

Co-Authored-By: Claude noreply@anthropic.com

  • refactor(desktop): auto-configure language and currency from version
  • Simplify configuration by removing forcedLanguage and currencySymbol
  • Auto-configure forcedLanguage based on version: cn→zh, en→en
  • Auto-configure currencySymbol based on version: cn→shellCoin, en→usd
  • Auto-configure discordInviteLink based on version: shown for en, empty for cn
  • Update all documentation to reflect simplified configuration
  • Reduce configuration parameters from 3 to 1 for language/currency settings

Users now only need to set desktopConfig.version to cn or en.

🤖 Generated with Claude Code

Co-Authored-By: Claude noreply@anthropic.com


Co-authored-by: Claude noreply@anthropic.com

(cherry picked from commit 78c8052)

…LM_OPTIONS (labring#6652)

* init

* refactor(desktop): simplify entrypoint and unify configuration via HELM_OPTIONS

- Simplify desktop-frontend-entrypoint.sh from 319 to 141 lines (56% reduction)
- Remove all environment variable to Helm value conversion logic
- Remove CURRENCY environment variable, use direct Helm values instead
- Update all documentation to use correct sealos run syntax (-e flag only)
- Add HELM_OPTIONS support for passing Helm --set parameters
- Make all config.yaml values configurable via Helm values (60+ parameters)
- Update README and HELM_VALUES_GUIDE documentation
- Remove workorder and invite from allowedOrigins

All configuration now unified through HELM_OPTIONS environment variable.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>

* refactor(desktop): auto-configure language and currency from version

- Simplify configuration by removing forcedLanguage and currencySymbol
- Auto-configure forcedLanguage based on version: cn→zh, en→en
- Auto-configure currencySymbol based on version: cn→shellCoin, en→usd
- Auto-configure discordInviteLink based on version: shown for en, empty for cn
- Update all documentation to reflect simplified configuration
- Reduce configuration parameters from 3 to 1 for language/currency settings

Users now only need to set desktopConfig.version to cn or en.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>

---------

Co-authored-by: Claude <noreply@anthropic.com>

(cherry picked from commit 78c8052)
@bxy4543 bxy4543 requested a review from a team as a code owner February 3, 2026 09:24
@pull-request-size
Copy link

Whoa! Easy there, Partner!

This PR is too big. Please break it up into smaller PRs.

@bxy4543 bxy4543 linked an issue Feb 3, 2026 that may be closed by this pull request
@cuisongliu cuisongliu added this to the v5.1 milestone Feb 3, 2026
@bxy4543 bxy4543 merged commit 863b299 into labring:release-v5.1 Feb 3, 2026
18 checks passed
@bxy4543 bxy4543 deleted the release-v5.1-cherry-pick-pr-6652 branch February 3, 2026 09:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Error cherry-picking PR #6652

2 participants