diff --git a/frontend/src/components/config-details.ts b/frontend/src/components/config-details.ts index 35fc02a5..ef7c5935 100644 --- a/frontend/src/components/config-details.ts +++ b/frontend/src/components/config-details.ts @@ -98,14 +98,10 @@ export class ConfigDetails extends LiteElement { return html`
- -

- ${msg("Crawler Settings")} -

+ +

${msg("Crawler Settings")}

${this.renderAnchorLink("crawler-settings")} -
+
${when( crawlConfig?.jobType === "seed-crawl", @@ -176,14 +172,10 @@ export class ConfigDetails extends LiteElement {
- -

- ${msg("Browser Settings")} -

+ +

${msg("Browser Settings")}

${this.renderAnchorLink("browser-settings")} -
+
${this.renderSetting( msg("Browser Profile"), @@ -212,14 +204,10 @@ export class ConfigDetails extends LiteElement {
- -

- ${msg("Crawl Scheduling")} -

+ +

${msg("Crawl Scheduling")}

${this.renderAnchorLink("crawl-scheduling")} -
+
${this.renderSetting( msg("Crawl Schedule Type"), @@ -238,14 +226,10 @@ export class ConfigDetails extends LiteElement {
- -

- ${msg("Crawl Metadata")} -

+ +

${msg("Crawl Metadata")}

${this.renderAnchorLink("crawl-metadata")} -
+
${this.renderSetting(msg("Name"), crawlConfig?.name)} ${this.renderSetting( @@ -378,7 +362,7 @@ export class ConfigDetails extends LiteElement { if (!this.anchorLinks) return; const currentUrl = window.location.href; return html` - + + > `; } @@ -67,7 +73,7 @@ export class CopyButton extends LitElement { this.timeoutId = window.setTimeout(() => { this.isCopied = false; - const button = this.shadowRoot?.querySelector('sl-icon-button'); + const button = this.shadowRoot?.querySelector("sl-icon-button"); button?.blur(); // Remove focus from the button to set it back to its default state }, 3000); } diff --git a/frontend/src/components/crawl-logs.ts b/frontend/src/components/crawl-logs.ts index bfa21899..93045a4f 100644 --- a/frontend/src/components/crawl-logs.ts +++ b/frontend/src/components/crawl-logs.ts @@ -61,7 +61,6 @@ export class CrawlLogs extends LitElement { overflow: hidden; white-space: nowrap; } - `, ]; @@ -100,7 +99,11 @@ export class CrawlLogs extends LitElement { ${log.logLevel}
${log.message}
- + ` diff --git a/frontend/src/components/input/input.ts b/frontend/src/components/input/input.ts index ee48aa28..ad78d3b6 100644 --- a/frontend/src/components/input/input.ts +++ b/frontend/src/components/input/input.ts @@ -72,7 +72,9 @@ export class Input extends LiteElement { ? html` diff --git a/frontend/src/components/markdown-editor.ts b/frontend/src/components/markdown-editor.ts index 2351e03b..90f062a4 100644 --- a/frontend/src/components/markdown-editor.ts +++ b/frontend/src/components/markdown-editor.ts @@ -53,7 +53,7 @@ export class MarkdownEditor extends LitElement { ?data-invalid=${isInvalid} ?data-user-invalid=${isInvalid} > - + ${guard( [this.initialValue], () => html` diff --git a/frontend/src/components/orgs-list.ts b/frontend/src/components/orgs-list.ts index ea1416a0..c18235fd 100644 --- a/frontend/src/components/orgs-list.ts +++ b/frontend/src/components/orgs-list.ts @@ -33,8 +33,7 @@ export class OrgsList extends LiteElement { return html`
    - ${this.orgList?.map(this.renderOrg)} - ${this.renderOrgQuotas()} + ${this.orgList?.map(this.renderOrg)} ${this.renderOrgQuotas()}
`; } @@ -45,29 +44,29 @@ export class OrgsList extends LiteElement { } return html` - (this.currOrg = null)} - > - ${Object.entries(this.currOrg.quotas).map(([key, value]) => { - return html` - `; - })} -
- ${msg("Update Quotas")} - -
-
+ (this.currOrg = null)} + > + ${Object.entries(this.currOrg.quotas).map(([key, value]) => { + return html` `; + })} +
+ ${msg("Update Quotas")} + +
+
`; } @@ -81,7 +80,9 @@ export class OrgsList extends LiteElement { private onSubmitQuotas() { if (this.currOrg) { - this.dispatchEvent(new CustomEvent("update-quotas", {detail: this.currOrg})); + this.dispatchEvent( + new CustomEvent("update-quotas", { detail: this.currOrg }) + ); } this.currOrg = null; } @@ -121,7 +122,11 @@ export class OrgsList extends LiteElement { ? msg(`1 member`) : msg(str`${memberCount} members`)} - + `; diff --git a/frontend/src/components/profile-browser.ts b/frontend/src/components/profile-browser.ts index 689caf12..dc6fe0e9 100644 --- a/frontend/src/components/profile-browser.ts +++ b/frontend/src/components/profile-browser.ts @@ -200,7 +200,9 @@ export class ProfileBrowser extends LiteElement { return html` (this.showOriginSidebar = !this.showOriginSidebar)} > diff --git a/frontend/src/components/workflow-list.ts b/frontend/src/components/workflow-list.ts index 58495beb..0b92396b 100644 --- a/frontend/src/components/workflow-list.ts +++ b/frontend/src/components/workflow-list.ts @@ -296,8 +296,7 @@ export class WorkflowListItem extends LitElement { (workflow) => html` ` @@ -334,7 +333,11 @@ export class WorkflowListItem extends LitElement {
${this.safeRender((workflow) => { - if (workflow.isCrawlRunning && workflow.totalSize && workflow.lastCrawlSize) { + if ( + workflow.isCrawlRunning && + workflow.totalSize && + workflow.lastCrawlSize + ) { return html``; + value=${workflow.totalSize} + display="narrow" + >`; } if (workflow.isCrawlRunning && workflow.lastCrawlSize) { return html` diff --git a/frontend/src/pages/org/browser-profiles-detail.ts b/frontend/src/pages/org/browser-profiles-detail.ts index d9dcca98..47de8c7b 100644 --- a/frontend/src/pages/org/browser-profiles-detail.ts +++ b/frontend/src/pages/org/browser-profiles-detail.ts @@ -269,7 +269,9 @@ export class BrowserProfilesDetail extends LiteElement { private renderMenu() { return html` - ${msg("Actions")} + ${msg("Actions")}
    + ${msg("Check For Sitemap")} `)} ${this.renderHelpTextCol( - msg(`If checked, the crawler will check for a sitemap at /sitemap.xml and use it to discover pages to crawl if present.`), + msg( + `If checked, the crawler will check for a sitemap at /sitemap.xml and use it to discover pages to crawl if present.` + ), false )}
    diff --git a/frontend/src/pages/org/workflows-new.ts b/frontend/src/pages/org/workflows-new.ts index 157d4002..221d0d8f 100644 --- a/frontend/src/pages/org/workflows-new.ts +++ b/frontend/src/pages/org/workflows-new.ts @@ -29,7 +29,7 @@ const defaultValue = { crawlTimeout: null, jobType: undefined, scale: 1, - autoAddCollections: [] + autoAddCollections: [], } as WorkflowParams; /**