Skip to content

new plugin JumpToTop - #4717

Merged
Nuckyz merged 12 commits into
Vendicated:devfrom
Kaerion0:jump-to-top
Oct 22, 2026
Merged

Nuckyz merged 12 commits into
Vendicated:devfrom
Kaerion0:jump-to-top

Conversation

@Kaerion0

@Kaerion0 Kaerion0 commented Oct 20, 2026 •

Copy link
Copy Markdown

Describe your Changes

The plugin adds a "Jump to top" button to the header, which takes the user back to the very beginning of the chat.
The arrow icon is taken from the following source: https://lucide.dev/icons/arrow-up-to-line

Tested in private messages, server chats, and threads

This is my first plugin. Claude helped with explanations and code review, but I wrote the code myself. HeaderBarIcon is taken from VencordToolbox, the patch is modeled after Equicord, and I borrowed the plugin's structure from other plugins.

Screenshots (if applicable)

image

Checklist before submitting

  • I have read the contribution rules and made sure this pull request complies with it
  • This pull request was written by me, and not an AI agent.
  • I understand that if any of the above conditions are not met, this pull request will be closed and I will be banned from future contributions without further warning

@Vendicated

Copy link
Copy Markdown
Owner

Great ideaa

You should copy the icon from forum threads:
image

Comment thread src/plugins/jumpToTop/index.tsx Outdated
Comment thread src/plugins/jumpToTop/index.tsx Outdated
Comment thread src/plugins/jumpToTop/index.tsx Outdated
Comment thread src/plugins/jumpToTop/index.tsx Outdated
@Vendicated

Copy link
Copy Markdown
Owner

You're using the wrong component, it looks different

image

Also in forum posts where there's already a native Jump to Top button, this leads to duplicate buttons
image

@Kaerion0

Copy link
Copy Markdown
Author

Fixed the duplicate button in forum posts; the button now uses the same component as the other buttons on the panel

image

@Kaerion0 Kaerion0 closed this Oct 21, 2026
@Kaerion0 Kaerion0 reopened this Oct 21, 2026
@Kaerion0

Copy link
Copy Markdown
Author

misclick

Comment thread src/plugins/jumpToTop/index.tsx Outdated
Comment thread src/plugins/jumpToTop/index.tsx Outdated
Comment thread src/plugins/jumpToTop/index.tsx Outdated
Comment thread src/plugins/jumpToTop/README.md Outdated
@Nuckyz

Nuckyz commented Oct 21, 2026

Copy link
Copy Markdown
Collaborator

one last thing I think the image should show the rest of the toolbar buttons so when you look at the image it also hints the location of the button

@Nuckyz Nuckyz left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

I also cant access the new README image, gives 404. Upload it here instead #1749

Comment thread src/plugins/jumpToTop/index.tsx Outdated

@Nuckyz Nuckyz left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

lgtm

@Nuckyz
Nuckyz changed the base branch from main to dev October 21, 2026 23:53
@Nuckyz
Nuckyz enabled auto-merge (squash) October 22, 2026 14:31
@Nuckyz
Nuckyz merged commit 149207d into Vendicated:dev Oct 22, 2026
1 check passed
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.

3 participants