Skip to content

2.4: put ProScan on the page, restyle the popup, rewrite the README - #10

Open
EnesYilmazcode wants to merge 24 commits into
rebuild/p4-syncfrom
rebuild/p5-onpage
Open

EnesYilmazcode wants to merge 24 commits into
rebuild/p4-syncfrom
rebuild/p5-onpage

Conversation

@EnesYilmazcode

Copy link
Copy Markdown
Owner

Stacked on #9.

  • One dock bottom-right on Amazon replaces the chat bubble. On a search or storefront it offers Scrape; it shows page x of y and Stop while running, then Excel, CSV and JSON downloads, and holds Ask (the chat) and settings.
  • Never shown on product, cart, checkout, sign-in or account pages. "Not now" hides it for the tab.
  • The popup is restyled to match and becomes a fallback. Inline icons, no remote font.
  • No permission change. web_accessible_resources is removed, since the dock needs no extension files. npm run lock passes.
  • README rewritten around the dock; the deep detail moved to docs/ARCHITECTURE.md.

Tested: jest, the permission lock, and the Chromium e2e including tests/e2e/dock.spec.mjs (suggest, scrape in its tab, stop, dismiss, download, absent on product pages).

The run keeps the store name from the tab title, so the dock, the chat
scope line and the popup say "Cedar & Pine Home" instead of a raw seller
id. The name stays local; the cloud source is built field by field.
Ask on the seller profile launcher too, say "Reached the last page" once
in the done header and keep the strip line to why the run ended early,
shorten "Scrape this page again", and draw the compose focus as one ring.
The last-scrape card shows the median price like the dock does, the
fallback button says Scrape this storefront or Scrape this search, the
saved-key placeholder fits the field, and fields focus with one ring.
Short and plain: how it works, a system diagram, permissions, how to run
it and the known gaps. The data flow, sync, chat and scoring detail moves
to docs/ARCHITECTURE.md.
The blue accent did not fit the logo. Primary actions are now slate on
white, or white on slate in dark mode, and the launcher shows the real
binoculars logo instead of a drawn glyph.
The finished card now shows the product count, a strip with one segment
per page scraped, and Download Excel with CSV and JSON behind an arrow.
The median price, rating and sponsored figures, the finish time and the
last-page sentence are gone, Scrape again is an icon, and the running
and ready cards lose their extra lines. Compare seller prices is hidden
until the offer parser works on Amazon's current pages (F-30).
A download no longer adds a box to the card; a toast above the dock says
it finished and goes away. The pages strip spans the page limit again.
Ask loses its intro line and long prompts: a product count, three short
suggestions and the input.
Scrape now starts with the page limit from settings. Scrape again is a
bordered button next to Download Excel and starts right away. The gear
is a real gear, and settings are one line each with no helper text.
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.

1 participant