-
Notifications
You must be signed in to change notification settings - Fork 4.9k
rerefactor(miniapp): Miniapp V2 #13468
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from 1 commit
Commits
Show all changes
43 commits
Select commit
Hold shift + click to select a range
70fd062
feat(miniapp): add mini-app database and API definitions
chengcheng84 4d84c4d
Merge branch 'v2' of https://github.com/CherryHQ/cherry-studio into v…
chengcheng84 b9bc857
feat: add miniapp table and update mcp_server schema
chengcheng84 c4ae413
feat: add miniapp presets and seeding
chengcheng84 69f05d3
feat: add icon support to miniapps
chengcheng84 8a43e87
fix: db schema
chengcheng84 3a391d7
refactor: remove seeding, MiniApps now read directly from config by d…
chengcheng84 23a85fa
feat: add MiniApp migrator
chengcheng84 a1eb04d
refactor: remove miniapp seed migration
chengcheng84 0491482
fix: bodered to bordered
chengcheng84 438fb9a
refactor: remove type field from CreateMiniappDto
chengcheng84 8eefcef
feat: icon
chengcheng84 f1ebebb
Merge remote-tracking branch 'v2' into v2-miniapps
chengcheng84 a7a051e
feat: update miniapp table
chengcheng84 71ff5ee
fix: icon
chengcheng84 dd000c2
fix
chengcheng84 3090640
feat: add miniapp API handlers and service
chengcheng84 32d5a8d
feat: add builtin miniapp preset definitions
chengcheng84 2c8e03a
refactor: replace icon references with asset imports in minapps config
chengcheng84 c1f0105
fix: review
chengcheng84 62fc7e9
fix: ci
chengcheng84 b7b9576
chore: update migration snapshot ids
chengcheng84 9ae73ac
fix: BootConfigMigrator removed from named exports
chengcheng84 5e8538d
Merge branch 'v2' into v2-miniapps
chengcheng84 24d180f
Merge remote-tracking branch 'origin/v2' into v2-miniapps
DeJeune aef5b3a
fix: address code review findings for miniapp v2 (C4-C6, I1-I6, I9-I12)
DeJeune 8a35e48
fix(minapp): remove deprecated key
DeJeune 98fef87
fix: refine Zod schema nullability for background and configuration
DeJeune 147b3e3
fix: use string logo key for openclaw miniapp
DeJeune 65e691d
fix: require logo, bordered, supportedRegions in CreateMiniappSchema
DeJeune f6ed05c
fix: remove unnecessary non-null assertions in MiniAppMigrator
DeJeune edf5024
fix: replace deprecated InsertMiniAppRow/MiniAppRow with new type names
DeJeune 9c4ff7c
refactor: remove redundant PUT /miniapps/:id/status endpoint
DeJeune 65be026
fix: add minapps slice to ReduxExporter for v2 migration
DeJeune 687cb73
fix: add missing hailuo and ling icons to getMiniAppsLogo
DeJeune 8728fe1
feat: add application icon to @cherrystudio/ui provider icons
DeJeune f5f815c
Merge branch 'v2' into v2-miniapps
0xfullex 10b56dd
fix: address PR review Round 2 feedback for miniapps data layer
DeJeune fb89862
Merge branch 'v2' into v2-miniapps
0xfullex 445d244
Merge branch 'v2' into v2-miniapps
0xfullex 14fc4f7
test: add comprehensive tests for MiniAppService functionality
chengcheng84 794b26b
feat: add endpoint to reset default miniapps
chengcheng84 05896cd
fix(logo): use minimax agent logo
DeJeune File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,25 @@ | ||
| CREATE TABLE `miniapp` ( | ||
| `id` text PRIMARY KEY NOT NULL, | ||
| `name` text NOT NULL, | ||
| `app_id` text NOT NULL, | ||
| `url` text NOT NULL, | ||
| `logo` text, | ||
| `type` text DEFAULT 'default' NOT NULL, | ||
| `status` text DEFAULT 'enabled' NOT NULL, | ||
| `sort_order` integer DEFAULT 0, | ||
| `bordered` integer DEFAULT true, | ||
| `background` text, | ||
| `supported_regions` text, | ||
| `configuration` text, | ||
| `name_key` text, | ||
| `added_at` integer, | ||
| `created_at` integer, | ||
| `updated_at` integer, | ||
| `deleted_at` integer | ||
| ); | ||
| --> statement-breakpoint | ||
| CREATE INDEX `miniapp_status_sort_idx` ON `miniapp` (`status`,`sort_order`);--> statement-breakpoint | ||
| CREATE INDEX `miniapp_app_id_idx` ON `miniapp` (`app_id`);--> statement-breakpoint | ||
| CREATE INDEX `miniapp_type_idx` ON `miniapp` (`type`);--> statement-breakpoint | ||
| CREATE INDEX `miniapp_pinned_idx` ON `miniapp` (`status`,`sort_order`);--> statement-breakpoint | ||
| CREATE INDEX `miniapp_status_type_idx` ON `miniapp` (`status`,`type`); | ||
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.