DEV Community

Discussion on: Another stupid idea - another mini tool

Collapse
 
alexanderjanke profile image
Alex Janke

Looks pretty neat as a little sandboxy-tool that works on the fly!

If you're open to suggestions:

  • Maybe increase the font size in the editor-window just a tad? Seems a little small, especially when mixed with the orange font. Or even better add a slider/option so the users can choose the font site for themselves. For extra convenience save the value in localStorage
  • Dark mode? Those poor people opening the site past midnight :)
  • A hotkey to format the code. Maybe use the VsCode one (Alt + Shift + F)

I don't use React at all but is it intended that the textbox looses focus whenever you enter a character into the textbox?

Collapse
 
barelyhuman profile image
Reaper • Edited

I'm aware of the focus issue and trying to figure out why the re render occurs and puts the focus away.

1 , 2nd they are in scope, I normally post unfinished projects here and based on user response decide whether I should work on it. Plan on adding multiple themes for the editor and the app like Twitter

the shortcut key is added in the local build of mine, will deploy that soon

Still, a huge thanks for the suggestions