mirror of
https://github.com/iflytek/skillhub.git
synced 2026-08-28 11:25:00 +00:00
* feat(profile): add field policy config and GET response Add per-field edit policy configuration (editable, requiresReview) to application.yml and expose it in the GET /api/v1/user/profile response via a new fieldPolicies map, enabling the frontend to dynamically render fields based on backend-driven policies. * feat(profile): implement mixed submission in PATCH Split profile update changes by per-field policy: fields without requiresReview apply immediately, fields with requiresReview enter the pending queue. Return PARTIALLY_APPLIED status with appliedFields and pendingFields maps when both paths trigger in a single request. * feat(web): rewrite profile page with dynamic fields Render profile fields dynamically from backend fieldPolicies, with whole-page read/edit mode toggle. Handle APPLIED, PENDING_REVIEW, and PARTIALLY_APPLIED responses. Add i18n keys for review hints and partial-apply toasts in both en and zh. * merge: resolve deepwiki.yml conflict with package-lock.json fix * api schema * fix(profile): align moderation defaults and tests * ci(deepwiki): run crawler on release publish
30 lines
626 B
YAML
30 lines
626 B
YAML
name: DeepWiki Documentation Crawler
|
|
|
|
on:
|
|
release:
|
|
types: [published]
|
|
|
|
concurrency:
|
|
group: deepwiki-${{ github.ref }}
|
|
cancel-in-progress: true
|
|
|
|
permissions:
|
|
contents: read
|
|
|
|
jobs:
|
|
crawl:
|
|
name: Crawl DeepWiki Documentation
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
- name: Check out repository
|
|
uses: actions/checkout@v4
|
|
|
|
- name: Create package-lock.json for action cache
|
|
run: echo '{}' > package-lock.json
|
|
|
|
- name: DeepWiki Documentation Crawler
|
|
uses: erayack/deepwiki-action@v1
|
|
with:
|
|
repository: ${{ github.repository }}
|
|
max_concurrency: '3'
|