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
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
c81f331c04
Fix eslint not running in vscode
2025-03-02 22:52:11 +01:00
b2211efe52
Show automaton rule by default
2025-03-02 22:40:42 +01:00
fc51055e88
Generate only random cellular automata
2025-03-02 22:17:49 +01:00
b4e44b293b
Add title to tic tac toe
2025-03-02 22:05:35 +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
f2299a7219
Set up vue dev tools
2025-03-02 18:41:56 +01:00
972263a9d4
Update meta scripts
2025-03-02 18:41:24 +01:00
3109f510fd
Reformat using prettier
2025-03-02 18:41:24 +01:00
8e82248f5e
Set up prettier
2025-03-02 18:41:10 +01:00
4f994f183f
Simplify gitignore
2025-03-02 17:51:56 +01:00
770f1569e3
Configure vscode
2025-03-02 17:51:56 +01:00
f9a3d364b6
Remove template readme
2025-03-02 17:51:56 +01:00
addbe30ff1
Create vite+vue project
2025-03-02 15:54:13 +01:00