fix: Restore the summary and illustration note when reverting to a previous version- MEED-10085 - meeds-io/meeds#3943 #1591
Conversation
cf88c3e to
f04f649
Compare
774138e to
7d73f50
Compare
7d73f50 to
d7eafad
Compare
|
rdenarie
left a comment
There was a problem hiding this comment.
Hi.
Can you complete your commit message ?
You perfectly describe WHAT is the problem, but 2 information are missing :
WHY this problem occurs ?
HOW your fix correct the problem ?
You can help by using
Before this fix, when restoring a note, summary and title where not restored because ...
This commit ensure to ....
Thanks
Done! |
…evious version- MEED-10085 - Meeds-io/meeds#3943 (#1591) Before this change, when restoring a note, the summary and featured image were not restored because these properties of each version of the note are saved, but they are not restored when the version details are retrieved. In addition, the properties of the first version of the note were not saved. This commit adapts the code; change the pageHistory model and add buildNotePageMetadata method when retrieving note versions to obtain the properties of each one with the appropriate version number.
…to a previous version- MEED-10085 - Meeds-io/meeds#3943 (#1591) Before this change, when restoring a note, the title, summary and featured image were not restored because these properties of each version of the note are saved, but they are not restored when the version details are retrieved. In addition, the properties of the first version of the note were not saved. This commit adapts the code; change the pageHistory model and add buildNotePageMetadata method when retrieving note versions to obtain the properties of each one with the appropriate version number.
…to a previous version- MEED-10085 - Meeds-io/meeds#3943 (#1591) Before this change, when restoring a note, the title, summary and featured image were not restored because these properties of each version of the note are saved, but they are not restored when the version details are retrieved. In addition, the properties of the first version of the note were not saved. This commit adapts the code; change the pageHistory model and add buildNotePageMetadata method when retrieving note versions to obtain the properties of each one with the appropriate version number.
…to a previous version- MEED-10085 - Meeds-io/meeds#3943 (#1591) Before this change, when restoring a note, the title, summary and featured image were not restored because these properties of each version of the note are saved, but they are not restored when the version details are retrieved. In addition, the properties of the first version of the note were not saved. This commit adapts the code; change the pageHistory model and add buildNotePageMetadata method when retrieving note versions to obtain the properties of each one with the appropriate version number.
…evious version- MEED-10085 - Meeds-io/meeds#3943 (#1591) Before this change, when restoring a note, the summary and featured image were not restored because these properties of each version of the note are saved, but they are not restored when the version details are retrieved. In addition, the properties of the first version of the note were not saved. This commit adapts the code; change the pageHistory model and add buildNotePageMetadata method when retrieving note versions to obtain the properties of each one with the appropriate version number.
…evious version- MEED-10085 - Meeds-io/meeds#3943 (#1591) Before this change, when restoring a note, the summary and featured image were not restored because these properties of each version of the note are saved, but they are not restored when the version details are retrieved. In addition, the properties of the first version of the note were not saved. This commit adapts the code; change the pageHistory model and add buildNotePageMetadata method when retrieving note versions to obtain the properties of each one with the appropriate version number.
…evious version- MEED-10085 - Meeds-io/meeds#3943 (#1591) Before this change, when restoring a note, the summary and featured image were not restored because these properties of each version of the note are saved, but they are not restored when the version details are retrieved. In addition, the properties of the first version of the note were not saved. This commit adapts the code; change the pageHistory model and add buildNotePageMetadata method when retrieving note versions to obtain the properties of each one with the appropriate version number.
…evious version- MEED-10085 - Meeds-io/meeds#3943 (#1591) Before this change, when restoring a note, the summary and featured image were not restored because these properties of each version of the note are saved, but they are not restored when the version details are retrieved. In addition, the properties of the first version of the note were not saved. This commit adapts the code; change the pageHistory model and add buildNotePageMetadata method when retrieving note versions to obtain the properties of each one with the appropriate version number.



Before this change, when restoring a note, the summary and featured image were not restored because these properties of each version of the note are saved, but they are not restored when the version details are retrieved. In addition, the properties of the first version of the note were not saved.
This commit adapts the code; change the pageHistory model and add buildNotePageMetadata method when retrieving note versions to obtain the properties of each one with the appropriate version number.