-
Notifications
You must be signed in to change notification settings - Fork 12
Feature/1168 creation and update times and ids of elements #1175
base: master
Are you sure you want to change the base?
Feature/1168 creation and update times and ids of elements #1175
Conversation
|
This ended up touching more files that I liked. |
c7fc7cc to
3f271e4
Compare
b26bcc2 to
d1c1ba2
Compare
backend/src/schema_old.rs
Outdated
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.
Is this included for a reason or by mistake?
| setSingleNodeInTransformer: (node: Node) => { | ||
| get().transformer?.current?.nodes([node]); | ||
| }, | ||
| addNodeToTransformer: (node: Node) => { | ||
| const currentNodes = get().transformer.current?.nodes() ?? []; | ||
| if (!currentNodes.includes(node)) { | ||
| get().transformer?.current?.nodes([...currentNodes, node]); | ||
| } | ||
| }, | ||
| removeNodeFromTransformer: (node: Node) => { | ||
| const currentNodes = get().transformer.current?.nodes() ?? []; | ||
| const nodeToRemove = currentNodes.indexOf(node); | ||
|
|
||
| if (nodeToRemove !== -1) { | ||
| const newNodes = currentNodes.slice(); | ||
| newNodes.splice(nodeToRemove, 1); | ||
| get().transformer.current?.nodes(newNodes); | ||
| } | ||
| }, |
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.
These 3 functions do not seem to be used anywhere?
| } | ||
|
|
||
| constructor(private readonly _data: CreatePlantActionPayload[], public actionId = v4()) { | ||
| // TODO: Sollte hier beim constructor nicht NewPlantingDto verwendet werden? |
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.
| // TODO: Sollte hier beim constructor nicht NewPlantingDto verwendet werden? |
d1c1ba2 to
bb87951
Compare
|
I cleaned up the PR now, it should be good now... (I know changelog is missing, will fix that in the evening when I'm on my PC) |
|
@horenso thx ❤️ Unfortunately, there is still one file conflicting ❓ |
7d91073 to
90a84f6
Compare
|
CI unfortunately did not run through. Please tick the points in "Basics" or even "Checklist" if it makes sense. |
5f5b3a2 to
bdcfc34
Compare
|
jenkins build please |
|
I added tests, I think this can be merged (if CI runs through let's see) |
|
jenkins build please |
|
@horenso unfortunately there is a merge conflict now... 😢 |
Co-authored-by: chr-schr <[email protected]>
Co-authored-by: Jannis Adamek <[email protected]>
426eedd to
feb1d8c
Compare
|
jenkins build please |
Basics
close #X, are in the commit messages and changelogChecklist
First Time Checklist
Review