Skip to content

fix: Restore the summary and illustration note when reverting to a previous version- MEED-10085 - meeds-io/meeds#3943 #1591

Merged
MayTekayaa merged 2 commits intofeature/maintenancefrom
MEED-10085
Jan 22, 2026
Merged

fix: Restore the summary and illustration note when reverting to a previous version- MEED-10085 - meeds-io/meeds#3943 #1591
MayTekayaa merged 2 commits intofeature/maintenancefrom
MEED-10085

Conversation

@MayTekayaa
Copy link
Copy Markdown
Contributor

@MayTekayaa MayTekayaa commented Jan 21, 2026

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.

@exo-swf exo-swf force-pushed the feature/maintenance branch from cf88c3e to f04f649 Compare January 22, 2026 00:18
@sonarqubecloud
Copy link
Copy Markdown

@MayTekayaa MayTekayaa requested review from ahamdi and rdenarie January 22, 2026 09:44
@MayTekayaa MayTekayaa changed the title fix: Restore the summary when restoring a note- MEED-10085 - meeds-io/meeds#3943 fix: Restore the summary and illustration note when reverting to a previous version- MEED-10085 - meeds-io/meeds#3943 Jan 22, 2026
Copy link
Copy Markdown
Member

@rdenarie rdenarie left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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

@MayTekayaa
Copy link
Copy Markdown
Contributor Author

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!

@MayTekayaa MayTekayaa merged commit 0da33cb into feature/maintenance Jan 22, 2026
13 checks passed
@MayTekayaa MayTekayaa deleted the MEED-10085 branch January 22, 2026 15:34
MayTekayaa added a commit that referenced this pull request Jan 23, 2026
…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.
MayTekayaa added a commit that referenced this pull request Jan 23, 2026
…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.
MayTekayaa added a commit that referenced this pull request Jan 23, 2026
…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.
MayTekayaa added a commit that referenced this pull request Jan 23, 2026
…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.
exo-swf pushed a commit that referenced this pull request Jan 24, 2026
…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.
exo-swf pushed a commit that referenced this pull request Jan 31, 2026
…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.
exo-swf pushed a commit that referenced this pull request Feb 10, 2026
…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.
exo-swf pushed a commit that referenced this pull request Feb 11, 2026
…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.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants