Skip to content

[add] File View button & example of File Picker component - #17

Merged
TechQuery merged 5 commits into
mainfrom
copilot/sync-component-changes-from-pr-29
Aug 8, 2026
Merged

[add] File View button & example of File Picker component#17
TechQuery merged 5 commits into
mainfrom
copilot/sync-component-changes-from-pr-29

Conversation

Copilot AI commented Aug 7, 2026

Copy link
Copy Markdown
Contributor

PR-17 PR-17 PR-17 Powered by Pull Request Badge

  1. [add] File View button & example of File Picker component (resolve 让 MobX-RESTful-table 文件选择器支持自定义查看 MobX-RESTful-table#28)
  2. [optimize] support Source Object for Image & File Preview components
  3. [optimize] upload files to Fake API as an example
  4. [optimize] upgrade to MobX 7 & other latest Upstream packages

Co-authored-by: TechQuery <19969570+TechQuery@users.noreply.github.com>
@TechQuery
TechQuery force-pushed the copilot/sync-component-changes-from-pr-29 branch from c21972a to b20499b Compare August 7, 2026 22:29
@github-actions

github-actions Bot commented Aug 7, 2026

Copy link
Copy Markdown

Cloudflare Preview Deployment

  • Branch: copilot/sync-component-changes-from-pr-29
  • Commit: b20499b
  • Preview Alias: b-copilot-sync-component-changes-from-pr-2

Wrangler Output

@TechQuery TechQuery left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@copilot idea2app/MobX-RESTful-table#29 中的预览示例代码也要同步啊!

Co-authored-by: TechQuery <19969570+TechQuery@users.noreply.github.com>

Copilot AI commented Aug 7, 2026

Copy link
Copy Markdown
Contributor Author

@copilot idea2app/MobX-RESTful-table#29 中的预览示例代码也要同步啊!

已补充同步预览示例代码:在 file-picker 示例里新增 onView 回调预览用法(含实时预览区)。对应提交:f3232da

Copilot AI requested a review from TechQuery August 7, 2026 22:34

@TechQuery TechQuery left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@copilot 上传文件的示例 API 变更同步到哪儿去了:https://github.com/idea2app/MobX-RESTful-table/pull/29/changes#diff-d3f16224d24b26df1d25c70f819bd9bb05e766727eb8a44d1c46368f986e14b6R40-R57

PR 标题和描述也得总结一下写上呀~

Co-authored-by: TechQuery <19969570+TechQuery@users.noreply.github.com>

Copilot AI commented Aug 7, 2026

Copy link
Copy Markdown
Contributor Author

@copilot 上传文件的示例 API 变更同步到哪儿去了:https://github.com/idea2app/MobX-RESTful-table/pull/29/changes#diff-d3f16224d24b26df1d25c70f819bd9bb05e766727eb8a44d1c46368f986e14b6R40...

已补上上传示例 API 同步:file-uploader/example.tsx 里的 MyFileModel.upload() 现在按上游一样走 https://api.escuelajs.co/api/v1/files/upload,并用返回的 location 调用 super.upload()。对应提交:9d3c2e5。另外已在本次 PR 进展描述里补充同步内容摘要。

Copilot AI requested a review from TechQuery August 7, 2026 23:06
@TechQuery TechQuery added the enhancement Some improvements label Aug 8, 2026
@TechQuery TechQuery changed the title Synchronizing changes from PR #29 [add] File View button & example of File Picker component Aug 8, 2026
@TechQuery
TechQuery marked this pull request as ready for review August 8, 2026 22:38
@TechQuery
TechQuery force-pushed the copilot/sync-component-changes-from-pr-29 branch from 22e3d9c to ae56bca Compare August 8, 2026 22:41
@github-actions

github-actions Bot commented Aug 8, 2026

Copy link
Copy Markdown

Cloudflare Preview Deployment

  • Branch: copilot/sync-component-changes-from-pr-29
  • Commit: ae56bca
  • Preview Alias: b-copilot-sync-component-changes-from-pr-2

Wrangler Output

Uploaded 1 of 4 assets
Uploaded 2 of 4 assets
Uploaded 4 of 4 assets
✨ Success! Uploaded 4 files (49 already uploaded) (1.20 sec)
Uploaded mobx-restful-shadcn (5.25 sec)
Worker Version ID: 03c6f6ee-04f6-48a5-9326-4d07399fc30f
Version Preview URL: https://03c6f6ee-mobx-restful-shadcn.shiy2008.workers.dev
Version Preview Alias URL: https://b-copilot-sync-component-changes-from-pr-2-mobx-restful-shadcn.shiy2008.workers.dev

@TechQuery
TechQuery merged commit 366a62c into main Aug 8, 2026
1 check passed
@TechQuery
TechQuery deleted the copilot/sync-component-changes-from-pr-29 branch August 8, 2026 22:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement Some improvements

Projects

None yet

Development

Successfully merging this pull request may close these issues.

让 MobX-RESTful-table 文件选择器支持自定义查看

2 participants