Minor help text & QA affordance improvements (#2189)

Some minor UX improvements, mostly suggested by @dcgomes

### Changes
- Updates in-app help text for crawl workflow limits.
- Adds a prompt to view error logs on the QA screen if failed pages > 1
- The error logs will give some insight as to why the pages failed every
time! Good thing to make the user do next!

### Screenshots

<img width="324" alt="Screenshot 2024-11-29 at 6 44 28 PM"
src="https://github.com/user-attachments/assets/fc481576-6f7f-461b-b8f2-5cbf7fcec0bc">

---------

Co-authored-by: Shrinks99 <Shrinks99@users.noreply.github.com>
Co-authored-by: Ilya Kreymer <ikreymer@gmail.com>
Co-authored-by: Ilya Kreymer <ikreymer@users.noreply.github.com>
This commit is contained in:
Henry Wilkinson 2024-12-05 17:17:04 -05:00 committed by GitHub
parent f3ed70a1db
commit 17459dc8cd
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 301 additions and 199 deletions

View File

@ -265,6 +265,14 @@ export class ArchivedItemDetailQA extends BtrixElement {
<span class="text-danger">${errorCount}</span>
Failed ${pluralOf("pages", errorCount)}
`)}
${errorCount > 0
? html`
<a
class="text-primary"
href=${`/orgs/${this.orgSlug}/workflows/${this.workflowId}/crawls/${this.crawlId}#logs`}
>${msg("View error logs")}</a
>`
: ""}
</p>
</div> `
: html`

View File

@ -12,10 +12,10 @@ const infoText: Partial<Record<Field, string | TemplateResult>> = {
"Adds a hard limit on the number of pages that will be crawled.",
),
crawlTimeoutMinutes: msg(
`Gracefully stop the crawler after a specified time limit.`,
`Gracefully stop archiving after the specified amount of time has elapsed.`,
),
maxCrawlSizeGB: msg(
`Gracefully stop the crawler after a specified size limit.`,
`Gracefully stop archiving after the specified amount of data has been captured.`,
),
pageLoadTimeoutSeconds: msg(
`Limits amount of time to wait for a page to load. Behaviors will run after this timeout only if the page is partially or fully loaded.`,
@ -33,7 +33,7 @@ const infoText: Partial<Record<Field, string | TemplateResult>> = {
msg(`Choose a custom profile to make use of saved cookies and logged-in
accounts. Note that websites may log profiles out after a period of time.`),
crawlerChannel: msg(
`Choose a Browsertrix Crawler Release Channel. If available, other versions may provide new/experimental crawling features.`,
`Choose a Browsertrix Crawler release channel. If available, other versions may provide new/experimental crawling features.`,
),
blockAds: msg(
html`Blocks advertising content from being loaded. Uses

File diff suppressed because it is too large Load Diff