This repository has been archived by the owner on Mar 11, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 86
WIP: update event system #2189
Closed
Closed
WIP: update event system #2189
Changes from 8 commits
Commits
Show all changes
13 commits
Select commit
Hold shift + click to select a range
0a74f33
update events system
kwk e32b79c
Allow any value (not only strings) for event old/new
kwk e906d66
The fields API doesn't deliver UUIDs yet, so stick to strings
kwk 66f153f
Fixup
kwk 7849d0e
Fix comment and error message
kwk 8f874de
tests for single/list non-relational field kinds. Fix JSONAPI
kwk cdb7a39
Fix golden files
kwk 927e482
Merge remote-tracking branch 'upstream/master' into update-event-system
kwk 6020b73
wit as relationship
kwk 09ae9ad
Readded old tests
kwk 5038e34
Fix tests
kwk 1479f0b
Merge remote-tracking branch 'upstream/master' into update-event-system
kwk 30ad4c8
Merge remote-tracking branch 'upstream/master' into update-event-system
kwk File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,18 +3,19 @@ | |
{ | ||
"attributes": { | ||
"name": "system.description", | ||
"newValue": null, | ||
"newValue": { | ||
"content": "# Description is modified1", | ||
"markup": "Markdown" | ||
}, | ||
"oldValue": null, | ||
"timestamp": "0001-01-01T00:00:00Z" | ||
"timestamp": "0001-01-01T00:00:00Z", | ||
"workItemTypeID": "00000000-0000-0000-0000-000000000001" | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Note, that an event needs to know about the work item type at the given point int type. This is important so that the UI can find out how to resolve the There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I think I should make this a relationships really. Let me do that. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Done in 6020b73 |
||
}, | ||
"id": "00000000-0000-0000-0000-000000000001", | ||
"id": "00000000-0000-0000-0000-000000000002", | ||
"relationships": { | ||
"modifier": { | ||
"data": { | ||
"id": "00000000-0000-0000-0000-000000000002", | ||
"links": { | ||
"related": "http:///api/users/00000000-0000-0000-0000-000000000002" | ||
}, | ||
"id": "00000000-0000-0000-0000-000000000003", | ||
"type": "identities" | ||
} | ||
} | ||
|
This file contains 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
This file contains 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
This file contains 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
Oops, something went wrong.
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.
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.
Please note that JSONAPI doesn't allow both to be specified: type+id and links. Instead only one is allowed.