You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
memos/web
Steven 8a7e00886d fix(web): convert enum values to string names in API resource paths
Frontend was incorrectly using numeric enum values (e.g., 1, 2, 3) instead
of string names (e.g., "GENERAL", "STORAGE") when constructing API resource
paths. This caused the backend to fail with "unsupported instance setting
key: INSTANCE_SETTING_KEY_UNSPECIFIED" errors during initialization.

Changes:
- Add helper functions in store/common.ts to convert enum values to names
  - getInstanceSettingKeyName() and buildInstanceSettingName()
  - getUserSettingKeyName() and buildUserSettingName()
- Update instance store to use string enum names in API calls
- Update user store to use string enum names in API calls
- Update all components to use new helper functions for setting names

Fixes enum string conversion for:
- InstanceSetting_Key (6 locations)
- UserSetting_Key (2 locations)

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

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
6 months ago
..
public chore: enhance site.webmanifest in firefox (#4828) 11 months ago
src fix(web): convert enum values to string names in API resource paths 6 months ago
.gitignore chore: update gitignore 1 year ago
biome.json chore(web): migrate from ESLint+Prettier to Biome 7 months ago
components.json feat: themes (#4824) 11 months ago
index.html chore: remove fixed theme color 11 months ago
package.json refactor: migrate to connect-rpc (#5338) 6 months ago
pnpm-lock.yaml refactor: migrate to connect-rpc (#5338) 6 months ago
tsconfig.json
vite.config.mts refactor(web): improve MemoContent security and maintainability 7 months ago