From e4c256381184d502170bdc731c9585793cc8f9fd Mon Sep 17 00:00:00 2001 From: MrMelon54 Date: Sat, 28 Oct 2023 22:44:18 +0100 Subject: [PATCH] Add descriptions for rotues and redirects --- src/components/RedirectCreator.svelte | 7 +++++-- src/components/RedirectRow.svelte | 4 ++++ src/components/RouteCreator.svelte | 7 +++++-- src/components/RouteRow.svelte | 8 ++++++++ src/types/target.ts | 6 ++++-- src/views/VioletView.svelte | 2 ++ test-server/main.go | 8 ++++++++ 7 files changed, 36 insertions(+), 6 deletions(-) diff --git a/src/components/RedirectCreator.svelte b/src/components/RedirectCreator.svelte index ec602a4..4827935 100644 --- a/src/components/RedirectCreator.svelte +++ b/src/components/RedirectCreator.svelte @@ -4,19 +4,22 @@ import Flags from "./Flags.svelte"; const dispatch = createEventDispatcher(); - let redirect: Redirect = {src: "", dst: "", flags: 0, active: true}; + let redirect: Redirect = {src: "", dst: "", desc: "", flags: 0, active: true}; + + const descCols = 50; +