diff options
author | Profpatsch <mail@profpatsch.de> | 2024-07-29T09·48+0200 |
---|---|---|
committer | Profpatsch <mail@profpatsch.de> | 2024-07-30T12·41+0000 |
commit | e682e5ce2a9e5da5e3c70617fbfeb0c7ad091547 (patch) | |
tree | 9985b81f7e24037a90195216f2b618852c527677 /tvix/castore/src/directoryservice/mod.rs | |
parent | a86dca8c784887b2eb3f2cd172e18ecad6f06acb (diff) |
fix(users/Profpatsch/whatcd-resolver): make getTorrent no js r/8428
Start of an effort to make the app work without javascript enabled (graceful degradation yay). We use a trick where buttons are nested into a form element, passing their value as input; this should be better than depending on `hx-vals`. If htmx is disabled, just redirect and reload the full page instead of sending back the snippet. Probably depends on the use-case of each snippet though. Change-Id: I6c73e624c4bd29b1cbd5492b2f84f48102edc68b Reviewed-on: https://cl.tvl.fyi/c/depot/+/12056 Tested-by: BuildkiteCI Reviewed-by: Profpatsch <mail@profpatsch.de>
Diffstat (limited to 'tvix/castore/src/directoryservice/mod.rs')
0 files changed, 0 insertions, 0 deletions