kbin-kes icon indicating copy to clipboard operation
kbin-kes copied to clipboard

[FEAT] Add MES icon to sticky footer (anchored)

Open aclist opened this issue 10 months ago • 2 comments

Browser

Firefox-based

Script manager

Tampermonkey

KES version

4.3.0-beta.12

Describe the feature

This proposal would put a second icon in a sticky footer that travels with the page so it is always onscreen. Approximate location would be adjacent to the native "back to top" (#scroll-top) element that is onscreen when the user scrolls any increment past the top of the page.

Currently, the only way to open the MES menu if the navbar is scrolled off is to invoke the keybinding. Having a clickable icon here would make it accessible at any time.

aclist avatar Feb 10 '25 16:02 aclist

The #scroll-top element is always on the page, just hidden until the user scrolls past the top. So the MES icon could be added as a sibling or child of this element so that it appears/disappears in conjunction with the scroll to top icon. However, if a child, its default onClick action would have to be overridden so that it does not inherit the action of its parent.

aclist avatar Feb 16 '25 13:02 aclist

This feature would need to check if the Mbin navbar contains the class .fixed-navbar, in which case the user has already set a sticky navbar in the sidebar settings, so no action needs to be taken.

aclist avatar Feb 17 '25 14:02 aclist