-
Notifications
You must be signed in to change notification settings - Fork 6
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
Add attribute manipulation to the CME #867
base: main
Are you sure you want to change the base?
Conversation
Resolve conflicts in dia-controller and dia-api
Resolve conflicts in dia-controller and add-class-to-vis
…ock-fix Try to resolve by building on top of lock from main
Deploying dataspecer with Cloudflare Pages
|
applications/conceptual-model-editor/src/action/actions-react-binding.tsx
Show resolved
Hide resolved
applications/conceptual-model-editor/src/action/add-semantic-attribute-to-visual-model.ts
Outdated
Show resolved
Hide resolved
applications/conceptual-model-editor/src/action/add-semantic-attribute-to-visual-model.ts
Show resolved
Hide resolved
applications/conceptual-model-editor/src/action/open-add-attribute-for-entity-dialog.ts
Show resolved
Hide resolved
applications/conceptual-model-editor/src/action/open-create-class-dialog-with-derived-model.tsx
Outdated
Show resolved
Hide resolved
moveToNewPosition: ( | ||
sourceFieldInState: keyof EditNodeAttributesState, | ||
targetFieldInState: keyof EditNodeAttributesState, | ||
oldPosition: number, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This can use a comment.
Again, interface, API --> comments.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Commented, at least here (+ improved the API).
As for the rest I will try to document as I go and document the remainders later in the cleaning up PR.
applications/conceptual-model-editor/src/dialog/class/edit-node-attributes-dialog.tsx
Outdated
Show resolved
Hide resolved
applications/conceptual-model-editor/src/dialog/class/edit-node-attributes-dialog.tsx
Outdated
Show resolved
Hide resolved
applications/conceptual-model-editor/src/dialog/class/edit-node-attributes-dialog.tsx
Outdated
Show resolved
Hide resolved
{...provided.draggableProps} | ||
{...provided.dragHandleProps} | ||
className="relative flex w-full flex-row justify-between z-50" | ||
style={{ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Some of those, perhaps all, have their version in Tailwind.
Use of Tailwind classes is preffered to CSS style.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Rewritten using tailwind, I don't remember but I mostly use either tailwind. And .css files for the diagram entities
What this PR does:
content
ofVisualNode
s, that meanscontent
array)