Commit graph

24 commits

Author SHA1 Message Date
39886291cf HiDPI support
the main canvas is now DPI-aware; it should no longer be pixelated on 4k
this couldn't be done for the brush preview, so it's just kinda pixelated
also fixed the horrendous scrollbar that could appear on HiDPI for some reason
2025-05-25 21:26:21 +02:00
913d65b0a8 implement brush cost gauges
they're a little ugly at the moment, and can be a little useless for most simple brushes, but whatever we'll make them better later
2024-10-25 21:39:53 +02:00
37520f34f7 add brush preview 2024-09-08 12:09:21 +02:00
ec773b7fe1 add error squiggles to brush editor
gosh I hate this code. CSS custom highlight API when, pleeeeeease Firefooooox
2024-09-06 22:51:19 +02:00
3cd0d4afb5 fix code editor gutter sizing 2024-09-05 22:13:19 +02:00
92e3b8fcb7 add line numbers to code editor
this is the sort of fancy stuff we can do now
2024-09-05 22:06:02 +02:00
b8d6b3edb3 introduce new code editor with support for extra shortcuts such as Tab for indenting/unindenting lines
I'm sure this will yield _lots_ of bugs in the long run, but it's also a really exciting thing to have.
2024-09-05 21:30:47 +02:00
a924147e26 force font size to 14px in the app
I've been (hotly) debating this with myself today and I _think_ this is the right decision for an app.
note that I'm not changing the font size in the docs; that I think is valuable to have be user-controllable, but I'd really prefer if users would see the app the way _I_ design it to look
2024-09-03 22:58:08 +02:00
bfbde0dee3 simplify CSS rules for brush editor overflow 2024-09-03 22:42:09 +02:00
5b22a50036 fix overflow in brush editor 2024-09-03 22:40:08 +02:00
b3911b7af1 add resize handle to brush editor 2024-09-02 22:38:12 +02:00
6cfbc4f05f fix nickname in cursor reticle being able to wrap onto multiple lines 2024-09-01 20:03:04 +02:00
a3e5e8bd10 change fonts to Atkinson Hyperlegible and a custom-built variant of Iosevka 2024-08-27 20:44:39 +02:00
ca25f27b4b fix horizontal scrollbar in docs
maybe putting domain-specific rules in your shared css doesn't make sense
2024-08-27 14:24:18 +02:00
3380498441 add a menu bar; and also a favicon because there's now a logo 2024-08-27 14:13:19 +02:00
879d17d904 docs; rendering docs from .dj to .html
still no in-app link to these docs though
2024-08-26 23:26:03 +02:00
8aa38ae4c4 change layout of brush editor side panel to limit its height and scroll when it gets too big 2024-08-25 14:37:20 +02:00
0d831698e2 add proper error and disconnect handling
error handling shows you the error and offers the ability to reload;
disconnect handling shows you that the page will reload in a few seconds.
it uses exponential backoff with some random sprinkled into it to prevent overwhelming the server once people's clients decide to reconnect.
2024-08-25 12:55:07 +02:00
84abba3e0b add loading screens instead of dropping the user into an app that's not ready to use 2024-08-25 00:06:49 +02:00
4761fd40ba fix sizing of the brush-editor textarea 2024-08-24 17:54:59 +02:00
3a438359c3 replace the accursed contenteditable text box with an ordinary textarea
you could paste discord convos into it.

discord.
conversations.
and they'd render.
like in Discord.

lmao.

I still do wonder how to do syntax highlighting on it, but I've seen prism-code-editor, which I _think_ hides the textarea's text and overlays a non user-interactable syntax highlighted version on top.
what's cool is that we could theoretically have many such overlays - for things like highlights too
but we'll see how that goes
2024-08-24 17:50:06 +02:00
1c0fa7197c rudimentary error reporting 2024-08-20 23:00:29 +02:00
2f7bcbb14e sync 2024-08-17 22:16:21 +02:00
26ba098183 a whole load of work in progress 2024-08-15 20:01:10 +02:00