Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: More accurate archived item details #2364

Open
wants to merge 5 commits into
base: main
Choose a base branch
from

Conversation

SuaYoo
Copy link
Member

@SuaYoo SuaYoo commented Feb 5, 2025

Resolves #2334

Changes

  • Moves page count out from under "Size" label in archived item detail
  • Renames "Pages Crawled" to "Pages" in archived item leading heading and detail overview
  • Renames "Crawl ID" to "Archived Item ID"

Screenshots

Page Image/video
Archived Items Screenshot 2025-02-05 at 12 27 11 PM
Archived Item - Overview Screenshot 2025-02-05 at 12 30 43 PM

@SuaYoo SuaYoo changed the title fix: Separate out archived item page count from size fix: More accurate archived item details Feb 5, 2025
@SuaYoo SuaYoo marked this pull request as ready for review February 5, 2025 20:32
Comment on lines -862 to -875
})}${this.item.stats?.done
? html`<span>,</span
><span
class="tracking-tighter${this.isActive
? " text-violet-600"
: ""} font-mono"
>
${this.localize.number(+this.item.stats.done)}
<span class="text-0-400">/</span>
${this.localize.number(+this.item.stats.found)}
</span>
<span
>${pluralOf("pages", +this.item.stats.found)}</span
>`
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The logic here enabled us to show the current page count (out of total queued and done) for running crawls - might be worth keeping that in? Otherwise it's hard to know when you're deep in a crawl detail for a running crawl how far along that crawl is.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hmm, good catch, this highlights a larger UX issue. I thought this was a leftover from when we migrated towards showing crawl status only in workflows, but we do link to active crawls from the workflow crawl list... I think this was originally an oversight, but it seems like the natural inclination is to see crawl status from the archived item page. Do we want to continue to support this? @Shrinks99 ?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Gah, yeah this is a left over that I've been meaning to bring up for a long time!

I would like to remove this to keep the "workflow produces an archived item" concept intact. There isn't much one can do in an archived item that is currently being crawled, and as far as users are concerned an archived item shouldn't exist until a crawl is stopped, canceled, or completes.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Separate archived item page count out from size
3 participants