please do not override default scroll behavior
I def wanted to read more, I'm playing around with retro games and agents, using emulators and old terminal games slippedy mind (I also just want to give FF1 a shot first)
please do not override default scroll behavior
I def wanted to read more, I'm playing around with retro games and agents, using emulators and old terminal games slippedy mind (I also just want to give FF1 a shot first)
I am aware of issues. Note that this is not a "website" in the regular sense of the word. This is actually a TUI app written in rust and compiled to wasm (and other platforms too: https://github.com/ronilan/incredible/releases) as parrt of alpha testing of the Incredible TUI framework.
Creating the screen, reading a markdown file, laying out the text, colouring it, enabling the scroll, managing it, changing the mouse pointer over the scroll bar, responding to the drag on said scroll bar, underlining the links, colouring them when they are hovered, removing colour when they are not, inverting them when they are clicked, loading the next markdown page, changing the browser URL hash, the keyboard shortcuts, Ctrl+e to select all, Ctrl+c to copy, etc. - it's all coming from Incredible TUI framework, not the browser.
Feedback on all aspects much appriciated.
Scrolling while selecting text (by moving mouse above or below where page is on screen) doesn't work. In the past I managed to get mouse events outside of the page area by attaching the mouse handler to "window" instead of "document" (at least in Firefox at the time, not sure about Chrome).
Text selection should highlight a character when the mouse is beyond mid point and not after the whole character. Double clicking should highlight a word, triple clicking should highlight a paragraph. When clicking more times it should cycle. It should also support dragging after double/triple click to continue selection of more words/paragraphs.
URLs are not shown when hovering over links. Ideally some invisible overlay that is actually a real link would be preferrable. This way all the ways to open links would work.
The color scheme button is almost invisible.
1. landing page, normal tech so you don't turn people off immediately 2. app/tui page, linked to from landing page letting the user know you did some cool rust/wasm/tui thing, don't necessarily have to call out scroll issues, it will be understood/accepted by way of the weird web tech they have clicked through to
I see it on mobile/desktop | chrome/vivaldi