chore: restart the repository with a clean history
CI / Docker image (push) Successful in 12s
CI / Server (push) Successful in 25s
CI / CLI (push) Successful in 13s
Development image / Development image (push) Successful in 21s
CI / CLI (windows) (push) Successful in 57s
CI / CLI (linux-arm64, static) (push) Successful in 1m37s
Release / Prepare release (push) Successful in 2s
Release / Server (linux-x64) (push) Successful in 53s
Release / CLI (linux-arm64, static) (push) Successful in 1m32s
Release / Docker image (push) Successful in 2m48s
Release / Server (windows-x64) (push) Successful in 6m20s
Release / CLI (windows-x64) (push) Successful in 6m48s
Release / CLI (linux-x64) (push) Successful in 7m8s
Release / Publish release (push) Successful in 1s

Squash the tree into one commit, drop docs/architecture.html, reset the version line to 0.3.0, consolidate the changelog, enable Renovate automerge for non-major updates and add AGENTS.md.
This commit is contained in:
fristy committed 2026-11-10 11:31:13 +03:00
commit 650807c1fb
438 files changed
+45070

No files matched your search

@@ -0,0 +1,52 @@
import "./styles.sass";
import { useState } from "react";
import { DialogProvider } from "@/common/components/Dialog";
import Button from "@/common/components/Button";
import Input from "@/common/components/Input";
import { postRequest } from "@/common/utils/RequestUtil.js";
import { useToast } from "@/common/contexts/toast.js";
export const ReserveDialog = ({ open, setOpen, onReserved }) => {
const { sendToast } = useToast();
const [name, setName] = useState("");
const [busy, setBusy] = useState(false);
const close = () => {
setOpen(false);
setName("");
};
const submit = async event => {
event.preventDefault();
setBusy(true);
try {
const result = await postRequest("persistent", { name: name.trim().toLowerCase() });
sendToast("Success", result.message);
close();
onReserved?.(result.tunnel);
} catch (error) {
sendToast("Error", error.message);
} finally {
setBusy(false);
}
};
return (
<DialogProvider open={open} onClose={close}>
<form className="reserve" onSubmit={submit}>
<div className="reserve-head">
<h2>Reserve a name.</h2>
<p>Reserved for your account, with its own access rules and domains.</p>
</div>
<Input id="reserve-name" label="Name" value={name} setValue={setName} placeholder="myapp"
autoComplete="off" autoFocus required />
<div className="reserve-actions">
<Button text="Cancel" type="secondary" onClick={close} buttonType="button" />
<Button text={busy ? "Reserving..." : "Reserve"} buttonType="submit" disabled={busy || !name.trim()} />
</div>
</form>
</DialogProvider>
);
};
@@ -0,0 +1 @@
export { ReserveDialog as default } from "./ReserveDialog.jsx";
@@ -0,0 +1,22 @@
@use "@/common/styles/colors"
.reserve
display: flex
flex-direction: column
gap: 1rem
.reserve-head
h2
font-size: 1.25rem
p
margin: 0.5rem 0 0
color: colors.$subtext
font-size: 0.8125rem
line-height: 1.55
.reserve-actions
display: flex
justify-content: flex-end
gap: 0.5rem
margin-top: 0.25rem