refactor: formatting and accessibility improvements across admin components

- Enforce consistent code formatting via ESLint rules
- Add accessibility enhancements (input IDs, labels, ARIA attributes)
- Replace Svelte store initialization patterns with reactive $effect
- Use $derived for reactive computed values
- Update error-codes and og-types indentation to spaces
- Add TypeScript definitions for html-minifier-terser
- Use resolve() for internal links in error and login pages
This commit is contained in:
2026-01-06 14:39:21 -06:00
parent ae83569fd7
commit b3dd1954d3
29 changed files with 446 additions and 246 deletions
+1 -1
View File
@@ -25,6 +25,7 @@ function railwayFormatter(record: LogRecord): string {
}
function stripAnsi(str: string): string {
// eslint-disable-next-line no-control-regex
return str.replace(/\u001b\[[0-9;]*m/g, "").trim();
}
@@ -115,7 +116,6 @@ export function jsonLogger(): Plugin {
server = s;
const logger = getLogger(["vite"]);
const originalPrintUrls = server.printUrls;
server.printUrls = () => {
const urls = server.resolvedUrls;
if (urls) {