Your one-stop-cake-shop for everything Freshly Baked has to offer

feat(m): add "list links" page #169

merged opened by a.starrysky.fyi targeting main from private/minion/push-mkpovzswunnr

The main page should list all of our links, as well as allowing us to edit or delete them. I've also rewritten the templating system here to work off a regex, which is a lot more comfortable and also means that templates which aren't used can avoid being evaluated (at the cost of making a template that is used multiple times be evaluated multiple times - perhaps we should be memoizing here?)

Labels

None yet.

requested-reviewers

None yet.

approved

None yet.

tested-working

None yet.

rejected

None yet.

assignee

None yet.

Participants 1
AT URI
at://did:plc:uuyqs6y3pwtbteet4swt5i5y/sh.tangled.repo.pull/3mc6qjooc5c22
+35 -32
Interdiff #1 โ†’ #2
-32
menu/.sqlx/query-1b4988d7979a505b569cfd4df711f85ea7a93074611822c91974eda5a473cff1.json
··· 1 - { 2 - "db_name": "PostgreSQL", 3 - "query": "SELECT \"from\", \"to\", \"owner\" FROM direct", 4 - "describe": { 5 - "columns": [ 6 - { 7 - "ordinal": 0, 8 - "name": "from", 9 - "type_info": "Varchar" 10 - }, 11 - { 12 - "ordinal": 1, 13 - "name": "to", 14 - "type_info": "Varchar" 15 - }, 16 - { 17 - "ordinal": 2, 18 - "name": "owner", 19 - "type_info": "Varchar" 20 - } 21 - ], 22 - "parameters": { 23 - "Left": [] 24 - }, 25 - "nullable": [ 26 - false, 27 - false, 28 - false 29 - ] 30 - }, 31 - "hash": "1b4988d7979a505b569cfd4df711f85ea7a93074611822c91974eda5a473cff1" 32 - }
menu/.sqlx/query-1b4988d7979a505b569cfd4df711f85ea7a93074611822c91974eda5a473cff1.json.license

This file has not been changed.

menu/Cargo.lock

This file has not been changed.

menu/Cargo.toml

This file has not been changed.

menu/src/html/index.html

This file has not been changed.

menu/src/html/public/tables.css

This file has not been changed.

menu/src/main.rs

This file has not been changed.

+32
menu/.sqlx/query-069d278baf0c78799bcc919daec41ecd2a331e10d5a315a7eb133289c1689167.json
··· 1 + { 2 + "db_name": "PostgreSQL", 3 + "query": "SELECT \"from\", \"to\", \"owner\" FROM direct ORDER BY direct.\"from\" DESC", 4 + "describe": { 5 + "columns": [ 6 + { 7 + "ordinal": 0, 8 + "name": "from", 9 + "type_info": "Varchar" 10 + }, 11 + { 12 + "ordinal": 1, 13 + "name": "to", 14 + "type_info": "Varchar" 15 + }, 16 + { 17 + "ordinal": 2, 18 + "name": "owner", 19 + "type_info": "Varchar" 20 + } 21 + ], 22 + "parameters": { 23 + "Left": [] 24 + }, 25 + "nullable": [ 26 + false, 27 + false, 28 + false 29 + ] 30 + }, 31 + "hash": "069d278baf0c78799bcc919daec41ecd2a331e10d5a315a7eb133289c1689167" 32 + }
+3
menu/.sqlx/query-069d278baf0c78799bcc919daec41ecd2a331e10d5a315a7eb133289c1689167.json.license
··· 1 + SPDX-FileCopyrightText: 2026 Freshly Baked Cake 2 + 3 + SPDX-License-Identifier: CC0-1.0

History

5 rounds 0 comments
sign up or login to add to the discussion
1 commit
expand
feat(m): add "list links" page
5/5 success
expand
expand 0 comments
pull request successfully merged
1 commit
expand
feat(m): add "list links" page
5/5 success
expand
expand 0 comments
1 commit
expand
feat(m): add "list links" page
5/5 success
expand
expand 0 comments
1 commit
expand
feat(m): add "list links" page
1/5 failed, 4/5 success
expand
expand 0 comments
1 commit
expand
feat(m): add "list links" page
5/5 success
expand
expand 0 comments