1 Commits

Author SHA1 Message Date
Zoe
55e132d80b Vastly overhaul admin UI
Some checks failed
Build and Push Docker Image to GHCR / build-and-push (push) Failing after 21s
Admin UI now has the ability to edit links that exist. Deleting items is
more accessible and asks for a confirmation before deleting. Link and
Category names as well as link descriptions now have a length limit
(todo: make it configurable?). Small bug fixes related to image saving
are also included in this commit.
2025-09-30 01:06:52 -05:00

View File

@@ -1,6 +1,6 @@
{ {
"name": "passport", "name": "passport",
"version": "0.3.0", "version": "0.2.0",
"description": "Passport is a simple, lightweight, and fast dashboard/new tab page for your browser.", "description": "Passport is a simple, lightweight, and fast dashboard/new tab page for your browser.",
"author": "juls0730", "author": "juls0730",
"license": "BSL-1.0", "license": "BSL-1.0",
@@ -11,7 +11,7 @@
}, },
"scripts": { "scripts": {
"dev": "go generate ./src/; PASSPORT_DEV_MODE=true go run src/main.go", "dev": "go generate ./src/; PASSPORT_DEV_MODE=true go run src/main.go",
"build": "go generate ./src/ && go build -tags netgo,prod -ldflags=\"-w -s\" -o passport src/main.go" "build": "go generate ./src/ && go build -tags netgo,prod -ldflags=\"-w -s\" -o passport"
}, },
"pattern": "src/**/*.{go,hbs,scss,svg,png,jpg,jpeg,webp,woff2,ico,webp}", "pattern": "src/**/*.{go,hbs,scss,svg,png,jpg,jpeg,webp,woff2,ico,webp}",
"shutdown_signal": "SIGINT" "shutdown_signal": "SIGINT"