Conversation
16 tasks
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
- Replace duplicated ICON_MAP + resolveIcon in MetadataManagerPage, MetadataDetailPage, and SystemHubPage with shared getIcon utility - Extract toObjectDefinition/toFieldDefinition to utils/metadataConverters.ts - Remove unused DesignerFieldType import from ObjectManagerPage Agent-Logs-Url: https://github.com/objectstack-ai/objectui/sessions/e40e09cf-a76e-4479-a267-2b75d2430a31 Co-authored-by: xuyushun441-sys <255036401+xuyushun441-sys@users.noreply.github.com>
…ailView
- Add listMode ('card'|'grid'|'table') config to MetadataTypeConfig
- Add grid/table rendering mode to MetadataManagerPage with column headers
- Enhance ObjectDetailView with dedicated Relationships section
- Add Keys management section (primary key, unique, external ID)
- Add Data Experience placeholder section (Forms, Views, Dashboards)
- Update test for new relationship section format
Agent-Logs-Url: https://github.com/objectstack-ai/objectui/sessions/e40e09cf-a76e-4479-a267-2b75d2430a31
Co-authored-by: xuyushun441-sys <255036401+xuyushun441-sys@users.noreply.github.com>
…hensive tests - Add number and boolean field type support to MetadataFormFieldDef - MetadataFormDialog renders number inputs and Switch toggles - Add grid mode tests for MetadataManagerPage (report type) - Add keys/relationships/data-experience section tests to ObjectManagerPage - Add number/boolean field tests to MetadataFormDialog - Add metadataConverters utility tests (toObjectDefinition, toFieldDefinition) - Set report type to use listMode: 'grid' in registry Agent-Logs-Url: https://github.com/objectstack-ai/objectui/sessions/e40e09cf-a76e-4479-a267-2b75d2430a31 Co-authored-by: xuyushun441-sys <255036401+xuyushun441-sys@users.noreply.github.com>
- Add entries for grid list mode, Power Apps detail view, MetadataFormDialog number/boolean types, icon resolver unification, and metadataConverters - Update ROADMAP P1.16 section with new capabilities Agent-Logs-Url: https://github.com/objectstack-ai/objectui/sessions/e40e09cf-a76e-4479-a267-2b75d2430a31 Co-authored-by: xuyushun441-sys <255036401+xuyushun441-sys@users.noreply.github.com>
- Remove `any` type from relationship mapping in metadataConverters.ts - Fix redundant relationship label display when label equals relatedObject - Add comment explaining boolean string storage in MetadataFormDialog Agent-Logs-Url: https://github.com/objectstack-ai/objectui/sessions/e40e09cf-a76e-4479-a267-2b75d2430a31 Co-authored-by: xuyushun441-sys <255036401+xuyushun441-sys@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Improve object management functionality with grid component upgrade
feat: Object Management upgrade — grid list mode, Power Apps detail view, form types & tech debt cleanup
Apr 7, 2026
Contributor
|
@copilot 仔细评估是否完成了任务中要求的所有开发 |
… redirect, data preview, system field hints, MetadataProvider extension - Extract reusable MetadataGrid component from MetadataManagerPage - MetadataDetailPage redirects Object type to /system/objects/:name - Add inline data preview placeholder section in ObjectDetailView - Add system field non-editable visual hint in field management - Add getItemsByType() to MetadataProvider for registry-driven access - Add tests: redirect, data preview, system field hint, route regression (107 total) - Update CHANGELOG.md and ROADMAP.md Agent-Logs-Url: https://github.com/objectstack-ai/objectui/sessions/a91e30f5-ae13-4f73-bec8-74a019aa8135 Co-authored-by: xuyushun441-sys <255036401+xuyushun441-sys@users.noreply.github.com>
… typed comments - Replace useRef+useEffect redirect with declarative Navigate component - Add aria-label to row action buttons in MetadataGrid for accessibility - Improve getItemsByType JSDoc to explain any[] consistency with MetadataState Agent-Logs-Url: https://github.com/objectstack-ai/objectui/sessions/a91e30f5-ae13-4f73-bec8-74a019aa8135 Co-authored-by: xuyushun441-sys <255036401+xuyushun441-sys@users.noreply.github.com>
Contributor
Author
经过仔细审核,我已补充完成了之前遗漏的开发项。以下是完整清单与完成状态: 1. 通用 Grid 组件与列表页 ✅
2. Object 详情页对标 Power Apps ✅
3. 详情与表单 ✅
4. 技术债 ✅
5. 测试 ✅ — 107 个测试全部通过
完成于 commit |
Contributor
❌ Console Performance Budget
📦 Bundle Size Report
Size Limits
|
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Upgrades ObjectManagerPage and MetadataManagerPage toward Power Apps parity: professional grid listing, richer detail sections, expanded form field types, and consolidated shared utilities.
Grid list mode for MetadataManagerPage
MetadataTypeConfiggainslistMode: 'card' | 'grid' | 'table'— defaults to'card'(existing behavior).<table>with column headers and inline action buttons.reporttype uses grid by default.MetadataGridcomponent (components/MetadataGrid.tsx) for cross-page reuse, with configurable columns, action buttons, row click handlers, and delete confirmation state.Object detail view (Power Apps alignment)
ObjectDetailView now has dedicated sections beyond properties + fields:
MetadataDetailPage redirect for custom types
MetadataDetailPage now uses a declarative
<Navigate>redirect for metadata types withhasCustomPage: true. For example, navigating to/system/metadata/object/accountautomatically redirects to/system/objects/account.MetadataFormDialog field types
MetadataFormFieldDef.typeextended with'number'(HTML number input) and'boolean'(Shadcn Switch toggle). Values remainRecord<string, string>— booleans stored as'true'/'false'.MetadataProvider dynamic type access
Added
getItemsByType(type)method toMetadataContextValue, allowing pages to access cached metadata items for any known type without hardcoding property names.Tech debt cleanup
ICON_MAP+resolveIcon()(MetadataManagerPage, MetadataDetailPage, SystemHubPage) with sharedgetIcon()fromutils/getIcon.ts.toObjectDefinition()/toFieldDefinition()from ObjectManagerPage toutils/metadataConverters.tsfor cross-page reuse.Tests
107 tests across 6 files — added coverage for grid mode rendering, relationship/key/data-experience sections, number/boolean form fields, metadata converter edge cases, MetadataDetailPage redirect, inline data preview, system field hints, and route compatibility regression tests.