[pull] master from marmelab:master#21
Conversation
…ead of field prop
…/react-admin into integrate-datatable-in-guessers
Co-authored-by: Jean-Baptiste Kaiser <jb@marmelab.com>
Integrate `DataTable` in Guessers
Reviewer's GuideThis PR renames the Datagrid component to DataTable across the tutorial, UI library mappings, guesser logic, stories, and tests; wraps fields in DataTable.Col; adds an Sequence Diagram: Interactive CLI Project SetupsequenceDiagram
actor User
participant CLI as "create-react-admin CLI"
User->>CLI: Executes `npm create react-admin ... -- --interactive`
CLI-->>User: Prompt: Choose Data Provider
User->>CLI: Selects Data Provider
CLI-->>User: Prompt: Choose Auth Provider
User->>CLI: Selects Auth Provider
CLI-->>User: Prompt: Add resources
User->>CLI: Provides resource information (or none)
CLI-->>User: Prompt: Choose package manager
User->>CLI: Selects package manager
CLI->>CLI: Installs dependencies
CLI->>CLI: Scaffolds project files
CLI-->>User: Output: Project created successfully
ER Diagram: Updated Data Structures in Storybook ExampleserDiagram
Product {
int id PK
string name
float price
date last_update "new"
string email "new"
int category_id FK
}
Category {
int id PK
string name
string alternativeName "new, list of names"
boolean isVeganProduction "new"
}
Tag {
int id PK
string name
string url "new"
}
Product ||--o{ Category : "belongs to (one)"
Product }o--o{ Product_Tag_Relation : "has (many via)"
Tag }o--o{ Product_Tag_Relation : "associated with (many via)"
Product_Tag_Relation {
int product_id PK, FK
int tag_id PK, FK
}
File-Level Changes
Tips and commandsInteracting with Sourcery
Customizing Your ExperienceAccess your dashboard to:
Getting Help
|
|
Important Review skippedBot user detected. To trigger a single review, invoke the You can disable this status message by setting the 🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
SupportNeed help? Join our Discord community for assistance with any issues or questions. Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
CodeRabbit Configuration File (
|
See Commits and Changes for more details.
Created by
pull[bot] (v2.0.0-alpha.1)
Can you help keep this open source service alive? 💖 Please sponsor : )
Summary by Sourcery
Replace the legacy Datagrid with a new DataTable API across tutorials, field type mappings, guessers, stories, and tests; update code examples and CLI commands accordingly.
New Features:
Enhancements:
Documentation:
Tests: