Repository navigation
Conversation
…ial runs with crawl --only
…s file isn't counted as a change
…s scale down to fit the format's limit
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Updating a catalogue after code changes
visualice-sourceline invisualice.routes.md, andsourcein the run'scrawl-map.json(branch, uncommitted files, local or deployed target, config hash).visualice changes [--json] [--discover]: diffs the project against that commit and gives a verdict (none/partial/full/unknown):crawl --only=<paths|globs>: shoots just those pages and copies every other page's shots from the last finished run as hard links, so each run still covers the whole site. A page the last run can't cover is shot anyway, and copied shots record the run and commit they came from./visualice: newupdate-mode.mdflow (runchanges, trace the pages, ask whether to rerun those or everything, then run it).Update notice
visualice serveshows the same news as a banner across the top of the viewer, with the update steps and copy buttons. It comes from the CLI's cached check via/update.json, so the viewer never contacts npm. Dismissing it hides it until the next version, and exports never show it.--quiet, in CI, in a source checkout, or withVISUALICE_NO_UPDATE_CHECK=1.Hardening (from code and security review)
--configis hashed consistently.full.--onlypaths aren't saved to the routes file, and a 404 one is dropped.Tests
changes,source,carry,update-check).partial.test.ts(full crawl, then--only) andupdate-flow.test.ts(the real CLI in a git repo: crawl →changesnone → page edits give partial → suggested--onlyrun → none → CSS edit gives full).After merge
Release 0.2.0: bump the version and plugin pins, then tag
v0.2.0. Thennpm deprecate visualice@0.1.1with an update message, so new 0.1.1 installs see it.