Skip to content

Conversation

@codebytere
Copy link
Member

Closes #1840

Fixes several bugs with gist history: activeGistRevision now gets set correctly after publish/update operations, and the history dialog properly refreshes when revisions change. Also fixed the initial "Created" revision being incorrectly filtered out, and a state mutation bug that caused the revision list to display inconsistently.

Also added a bunch more tests.

@codebytere codebytere requested a review from dsanders11 February 5, 2026 20:43
@codebytere codebytere requested a review from a team as a code owner February 5, 2026 20:43
@coveralls
Copy link

coveralls commented Feb 5, 2026

Coverage Status

coverage: 79.539% (+1.0%) from 78.498%
when pulling eab5583 on fix-history-update
into ee5c030 on main.


class OctokitMock {
private static nextId = 1;
private static nextVersion = 1;
Copy link
Member

Choose a reason for hiding this comment

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

Real nit: We might want to reset this between runs

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.

Gist History Doesn't Update With Gist Operations

3 participants