Skip to content
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

Capture edit history #7

Open
MikeBishop opened this issue Sep 11, 2020 · 2 comments
Open

Capture edit history #7

MikeBishop opened this issue Sep 11, 2020 · 2 comments
Labels
enhancement New feature or request

Comments

@MikeBishop
Copy link
Owner

The tool currently captures the state of comments when it runs, but doesn't see previous states of edited comments. It might be worth adding edit history to ensure the archive file doesn't lose information if someone wants us to forget what they said. (This would be a file version rev.)

@MikeBishop MikeBishop added the enhancement New feature or request label Sep 11, 2020
@MikeBishop
Copy link
Owner Author

MikeBishop commented Apr 21, 2023

At a first pass, this is fairly simple -- you can capture the edit history of anything of type Comment (issues, issue comments, PR comments, etc.) fairly easily. What still needs to be checked is whether editing a comment causes the parent issue to appear updated; if not, there may be a trade-off between not revisiting old nodes and ensuring we've captured any changes.

Testing now. 😉

@MikeBishop
Copy link
Owner Author

It appears that the entire thread does show as updated when any comment in the chain is edited; great!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant