Commit graph

231 commits

Author SHA1 Message Date
9e0e0f4359 Port photo ui to vue 2025-04-09 19:24:28 +02:00
06ec6d7792 Update ui dependencies 2025-04-09 19:24:28 +02:00
df9880284c Move photo implementation to vue component 2025-04-09 19:24:28 +02:00
1a6431b922 Add vue app to photo.html 2025-04-09 19:24:28 +02:00
ad028bc522 Build photo.html with vite 2025-04-09 19:24:28 +02:00
4ab15ab61a Fix sunrise/sunset date off-by-one 2025-04-09 19:24:28 +02:00
c6f5e373da Fix cellular automaton form 2025-04-09 19:24:28 +02:00
711fed91c9 Make bright the default for xkcds 2025-04-09 19:24:28 +02:00
c4c6887603 Add more dithering options 2025-04-09 19:24:28 +02:00
618f298cc6 Add xkcd document 2025-04-09 19:24:28 +02:00
f8076e6b66 Add chain helper method to library 2025-04-09 19:24:28 +02:00
4e82a51212 Fix line spacing
The characters should touch each other horizontally and vertically. That
way, things like half-height block character based QR codes look correct
instead of seeming stretched.
2025-04-09 19:24:28 +02:00
b8fb4153c1 Add more ideas 2025-04-09 19:24:28 +02:00
c7d8eec1d8 Respect system time zone for sunrise/sunset times 2025-04-09 19:24:28 +02:00
a24532d9cc Add sunrise/sunset document 2025-04-09 19:24:28 +02:00
14b48c3c21 Update dependencies 2025-03-05 13:27:23 +01:00
8b659eff32 Fix image rotation for /api/image 2025-03-05 03:13:33 +01:00
aa6aadc559 Fix photo mode on spinch 2025-03-04 15:54:50 +01:00
56884acb38 Add visual feedback to photo mode 2025-03-04 15:52:15 +01:00
0e9aeb928a Allow pasting of images 2025-03-04 15:28:36 +01:00
4fba556c35 Add todo 2025-03-04 03:23:38 +01:00
d09063b3f3 Fix text area width on chrome 2025-03-03 23:53:25 +01:00
fc56be9466 Add slight radius to document close button 2025-03-03 22:40:50 +01:00
f4eb4d58b0 Fix spinch deployment 2025-03-03 22:25:38 +01:00
a92ef78133 Fix egg typst preview 2025-03-03 21:01:19 +01:00
d9dbd90ff2 Remove typst plugin
It was nice but really slow.
2025-03-03 21:01:11 +01:00
3a2637bb34 Remove ui dist dir in clean meta script 2025-03-03 20:54:59 +01:00
c0fe22922d Dither image outside of typst 2025-03-03 20:52:50 +01:00
81c994c8be Link to photo page from selector 2025-03-03 20:32:17 +01:00
5275a84dac Rename components
I'm already using the term "document" on the Rust side. Makes sense to
call it the same in the UI.
2025-03-03 20:32:17 +01:00
aaa1a916da Show rendering errors to user
This also delays the response to the HTTP request until the printer has
printed whatever it should.
2025-03-03 20:32:17 +01:00
14a0596a25 Simplify font setup
Now, when I update the unifont files, I only need to change files in the
showbits-assets crate and update the CSS in the UI. I no longer have to
remember to update any symlinks.
2025-03-03 20:32:16 +01:00
38994a86ae Serve new UI from axum server 2025-03-03 19:36:32 +01:00
5e60dd2e30 Remove unnecessary return type 2025-03-03 18:58:13 +01:00
99eb75f758 Add image segment 2025-03-03 18:58:13 +01:00
afe9b3c869 Fix error not disappearing on next print 2025-03-03 18:20:36 +01:00
83ab81d0c5 Tweak some form fields
Making them required and/or disabled where necessary, and adding some
bounds.
2025-03-03 18:20:16 +01:00
900482bacf Add chat segment 2025-03-03 18:10:13 +01:00
f327547570 Make forms more consistent
The form elements now all become disabled while printing, and the code
has a little more whitespace.
2025-03-03 17:49:09 +01:00
5ddc162a60 Add cells segment 2025-03-03 17:43:11 +01:00
5f1efd4e32 Remove unnecessary form ref 2025-03-03 17:36:19 +01:00
ea1a0cbeab Add tictactoe segment 2025-03-03 16:49:37 +01:00
965cedf5a2 Add "wide" class for form inputs 2025-03-03 16:49:37 +01:00
d1371ace02 Make close button square 2025-03-03 16:49:37 +01:00
e4545c5a33 Add egg segment 2025-03-03 16:49:37 +01:00
db73dee8d7 Extract api request logic into component 2025-03-03 15:12:51 +01:00
8df09e1b21 Extract error into component 2025-03-03 14:53:50 +01:00
020daf8a16 Add calendar segment 2025-03-03 14:52:32 +01:00
b0353dc334 Add back button for segments 2025-03-03 14:05:15 +01:00
dc64aa0bc8 Display error when request fails 2025-03-03 13:35:33 +01:00