X Tutup
Skip to content

jump-to-conversation-close-event - Restore on long issues#8892

Merged
SunsetTechuila merged 17 commits intorefined-github:mainfrom
SunsetTechuila:jump-to-close
Feb 1, 2026
Merged

jump-to-conversation-close-event - Restore on long issues#8892
SunsetTechuila merged 17 commits intorefined-github:mainfrom
SunsetTechuila:jump-to-close

Conversation

@SunsetTechuila
Copy link
Member

@SunsetTechuila SunsetTechuila commented Jan 23, 2026

addresses #8296 (comment)

depends on #8891

Test URLs

#4166

Screenshot

@SunsetTechuila SunsetTechuila changed the title Jump to close jump-to-conversation-close-event - Restore feature on long issues Jan 23, 2026
@github-actions github-actions bot changed the title jump-to-conversation-close-event - Restore feature on long issues jump-to-conversation-close-event - Restore feature on long issues Jan 23, 2026
@SunsetTechuila SunsetTechuila changed the title jump-to-conversation-close-event - Restore feature on long issues jump-to-conversation-close-event - Restore on long issues Jan 23, 2026
@fregante fregante added the bug label Jan 24, 2026
@SunsetTechuila
Copy link
Member Author

SunsetTechuila commented Jan 26, 2026

I'm going to force push this to clean-up the commit history

@SunsetTechuila SunsetTechuila marked this pull request as ready for review January 26, 2026 19:30
Copy link
Member

@fregante fregante left a comment

Choose a reason for hiding this comment

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

Can be merged after the 2 changes

@SunsetTechuila

This comment was marked as outdated.

/>,
);
for (const statusBadge of statusBadges) {
const maybeWrapper = statusBadge.parentElement!;
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
const maybeWrapper = statusBadge.parentElement!;
const maybeWrapper = statusBadge.parentElement as HTMLAnchorElement

! and as are both assertions, no need to use both

Copy link
Member Author

Choose a reason for hiding this comment

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

We can't be sure that it is HTMLAnchorElement until we check the class

Copy link
Member Author

Choose a reason for hiding this comment

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

I just dislike this block, but I can’t think of anything better. I guess it’s not worth caring about so much

image

Copy link
Member

Choose a reason for hiding this comment

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

Yes but it doesn't really matter, we only use it as an anchor. I'm not a fan of (obj as T).prop inline assertions, same as https://github.com/sindresorhus/eslint-plugin-unicorn/blob/main/docs/rules/no-await-expression-member.md but for assertions

@SunsetTechuila SunsetTechuila merged commit 594979a into refined-github:main Feb 1, 2026
8 checks passed
@SunsetTechuila SunsetTechuila deleted the jump-to-close branch February 1, 2026 15:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Development

Successfully merging this pull request may close these issues.

2 participants

X Tutup