Commit graph

58 commits

Author SHA1 Message Date
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
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
a24532d9cc Add sunrise/sunset document 2025-04-09 19:24:28 +02:00
14b48c3c21 Update dependencies 2025-03-05 13:27:23 +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
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
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
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
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
c7c640eeff Improve shadows slightly 2025-03-03 02:29:11 +01:00
93fe8f1031 Design some nice-looking shadows 2025-03-03 02:19:43 +01:00
fe906d9242 Improve text-printing UI
- UI elements are now inside a form
- ctrl+enter on textarea submits the form
- UI becomes greyed-out while printing, as visual feedback
2025-03-03 01:45:07 +01:00
0dd973c5d6 Print text from UI 2025-03-03 00:49:09 +01:00
e8c09f3b6d Scroll relative to bottom of screen
From my experiments, setting flex-direction: column-reverse on the body
doesn't work, it has to be a separate element. Maybe I made a mistake
somewhere though. In any case, this code seems to work properly.
2025-03-03 00:43:02 +01:00
32d68cb60c Update page html
Setting the title and removing the no-longer-existing favicon. Any
webpage this server runs on better be serving a favicon at a well-known
location!
2025-03-03 00:41:43 +01:00
1cb07fb126 Get tp server and ui dev server to talk to each other 2025-03-03 00:26:47 +01:00
328922bd7b Lint weird variable names 2025-03-03 00:21:52 +01:00
8eaf465101 Design rudimentary UI for printing text 2025-03-02 23:17:14 +01:00
fe1dc28ec2 Experiment with css and masks 2025-03-02 21:07:35 +01:00
7ea8ac6715 Set up typed eslint 2025-03-02 19:24:55 +01:00
dbdb3c66a3 Set up my own eslint rules 2025-03-02 18:50:34 +01:00
de4574f938 Set up eslint 2025-03-02 18:49:30 +01:00
4c8a22368d Run pnpm update -r 2025-03-02 18:44:06 +01:00
5c80ec185d Configure more aggressive type checks 2025-03-02 18:43:47 +01:00
8729cf09b1 Set up @ alias for src/ 2025-03-02 18:43:47 +01:00