Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

fix: gist history updating on gist action#1845

Merged
codebytere merged 2 commits intomain from
fix-history-update
Feb 10, 2026
Merged

fix: gist history updating on gist action #1845
codebytere merged 2 commits intomain from
fix-history-update

Conversation

@codebytere
Copy link
Member

@codebytere codebytere commented Feb 5, 2026

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.

dsanders11 reacted with heart emoji
Copy link

coveralls commented Feb 5, 2026
edited
Loading

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

@felixrieseberg felixrieseberg Feb 9, 2026

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

@codebytere codebytere merged commit 506ad8f into main Feb 10, 2026
15 checks passed
@codebytere codebytere deleted the fix-history-update branch February 10, 2026 13:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

@felixrieseberg felixrieseberg felixrieseberg approved these changes

@dsanders11 dsanders11 Awaiting requested review from dsanders11

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Gist History Doesn't Update With Gist Operations

AltStyle によって変換されたページ (->オリジナル) /