From 38efeccc2507ad20d63450098910a06f4916b894 Mon Sep 17 00:00:00 2001 From: sua yoo Date: Tue, 3 Oct 2023 21:02:32 -0700 Subject: [PATCH] Limit URL list entry to maximum URLs (#1242) - Limits URL list entry to 1,000 URLs - Limits additional URL list entry to 100 URLs - Shows first invalid URL in list in error message - Quick and dirty fix for long URLs wrapping: Show URLs in list on one line, with entire container scrolling --------- Co-authored-by: Henry Wilkinson --- frontend/src/components/config-details.ts | 7 +- frontend/src/pages/org/workflow-editor.ts | 130 +++++++++++++++------- frontend/src/theme.ts | 5 + 3 files changed, 100 insertions(+), 42 deletions(-) diff --git a/frontend/src/components/config-details.ts b/frontend/src/components/config-details.ts index c90530640d..c4ceac740b 100644 --- a/frontend/src/components/config-details.ts +++ b/frontend/src/components/config-details.ts @@ -290,12 +290,13 @@ export class ConfigDetails extends LiteElement { private renderConfirmUrlListSettings = () => { const crawlConfig = this.crawlConfig; + return html` ${this.renderSetting( msg("List of URLs"), html` -