feat(wikibase-schema-editor): add qualifiers display#96
Conversation
📝 WalkthroughSummary by CodeRabbit
WalkthroughThis change refines the display semantics and user interface for qualifiers within the Wikibase Schema Editor. It updates requirements and tasks documentation, restructures and restyles the qualifier display in Vue components, adjusts local state management for statement editing, and introduces new integration and logic tests for qualifier handling. Changes
Sequence Diagram(s)sequenceDiagram
participant User
participant WikibaseSchemaEditor
participant StatementEditor
participant QualifiersEditor
User->>WikibaseSchemaEditor: Add/Edit Statement
WikibaseSchemaEditor->>StatementEditor: Pass currentStatementWithQualifiers
StatementEditor->>QualifiersEditor: Pass qualifiers array
User->>QualifiersEditor: Add/Remove/Edit Qualifier
QualifiersEditor-->>StatementEditor: Emit updated qualifiers
StatementEditor-->>WikibaseSchemaEditor: Emit updated statement with qualifiers
WikibaseSchemaEditor-->>User: Update UI with new statement and qualifiers
Estimated code review effort🎯 3 (Moderate) | ⏱️ ~18 minutes Possibly related PRs
Note ⚡️ Unit Test Generation is now available in beta!Learn more here, or try it out under "Finishing Touches" below. 📜 Recent review detailsConfiguration used: CodeRabbit UI 📒 Files selected for processing (7)
🧰 Additional context used📓 Path-based instructions (3)**/*.{ts,tsx,js,jsx}📄 CodeRabbit Inference Engine (.cursor/rules/use-bun-instead-of-node-vite-npm-pnpm.mdc)
Files:
**/*.test.{ts,tsx,js,jsx}📄 CodeRabbit Inference Engine (.cursor/rules/use-bun-instead-of-node-vite-npm-pnpm.mdc)
Files:
**/*.{html,ts,tsx,css}📄 CodeRabbit Inference Engine (.cursor/rules/use-bun-instead-of-node-vite-npm-pnpm.mdc)
Files:
🧠 Learnings (3)📚 Learning: applies to src/**/*.vue : no inline style attributes in templates...Applied to files:
📚 Learning: applies to src/**/*.vue : use reactive objects for form state and errors...Applied to files:
📚 Learning: applies to **/*.test.{ts,tsx,js,jsx} : use `bun test` instead of `jest` for running tests...Applied to files:
🔇 Additional comments (14)
✨ Finishing Touches
🧪 Generate unit tests
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. 🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
SupportNeed help? Create a ticket on our support page 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 (
|
Addresses Task 22 of #66