Add checklist creation for filtered game results
All checks were successful
Deploy Sokko G / deploy (push) Successful in 18s
All checks were successful
Deploy Sokko G / deploy (push) Successful in 18s
This commit is contained in:
parent
0acf5ecf21
commit
962816bbb9
15 changed files with 414 additions and 40 deletions
|
|
@ -100,8 +100,21 @@ export function validateSiteContent(site) {
|
|||
"guideChecklist.completed",
|
||||
"guideChecklist.checkCard",
|
||||
"guideChecklist.uncheckCard",
|
||||
"guideChecklist.resultsModalTitle",
|
||||
"guideChecklist.resultsModalDescription",
|
||||
"guideChecklist.resultsChecklistLabel",
|
||||
"guideChecklist.resultsTargetLabel",
|
||||
"guideChecklist.resultsNoToolbox",
|
||||
"guideChecklist.resultsCopyLabel",
|
||||
"guideChecklist.resultsCreateLabel",
|
||||
"guideChecklist.resultsCreatingLabel",
|
||||
"guideChecklist.resultsClose",
|
||||
"guideChecklist.resultsCopied",
|
||||
"guideChecklist.resultsCopyError",
|
||||
"guideChecklist.resultsCreateError",
|
||||
"aniimo.copyChecklist",
|
||||
"aniimo.copyVariantsChecklist",
|
||||
"aniimo.variantsChecklistTitle",
|
||||
"aniimo.statsTitle",
|
||||
"aniimo.statsTotal",
|
||||
"aniimo.stats.hp",
|
||||
|
|
|
|||
|
|
@ -49,6 +49,10 @@ test("generic game routes and shared game components are wired", async () => {
|
|||
assert.match(checklistCopyButton, /# \$\{title\}/);
|
||||
assert.match(checklistCopyButton, /navigator\.clipboard\.writeText/);
|
||||
assert.match(checklistCopyButton, /results-copy-button/);
|
||||
assert.match(checklistCopyButton, /results-checklist-modal/);
|
||||
assert.match(checklistCopyButton, /filteredResults/);
|
||||
assert.match(checklistCopyButton, /Créer dans la toolbox/);
|
||||
assert.match(checklistCopyButton, /resultsNoToolbox/);
|
||||
assert.match(gameListsPage, /export function GameListsPage/);
|
||||
assert.match(gameListsPage, /game-list-selector/);
|
||||
assert.match(gameListsPage, /game-list-create-button/);
|
||||
|
|
@ -78,6 +82,8 @@ test("mhwilds and diablo pages expose expected route pieces", async () => {
|
|||
assert.match(diablo4Overview, /export function Diablo4Overview/);
|
||||
assert.match(diablo4Listing, /export function Diablo4Listing/);
|
||||
assert.match(diablo4Listing, /CopyChecklistItemsButton/);
|
||||
assert.match(diablo4Listing, /checklistTitle="Affixes"/);
|
||||
assert.match(diablo4Listing, /filteredResults/);
|
||||
assert.match(diablo4Filters, /export function Diablo4Filters/);
|
||||
assert.match(diablo4Filters, /GameFiltersPanel/);
|
||||
assert.match(diablo4Filters, /variant="horizontal-menu"/);
|
||||
|
|
@ -92,11 +98,15 @@ test("mhwilds and diablo pages expose expected route pieces", async () => {
|
|||
assert.match(mhwildsListing, /export function MhwildsListing/);
|
||||
assert.match(mhwildsListing, /GameBreadcrumb/);
|
||||
assert.match(mhwildsListing, /CopyChecklistItemsButton/);
|
||||
assert.match(mhwildsListing, /checklistTitle=\{label\}/);
|
||||
assert.match(mhwildsListing, /filteredResults/);
|
||||
assert.match(mhwildsListing, /endemic_life/);
|
||||
assert.match(mhwildsLists, /export function MhwildsLists/);
|
||||
assert.match(mhwildsLists, /GameListsPage/);
|
||||
assert.match(mhwildsLists, /selectedListId/);
|
||||
assert.match(aniimoPage, /AniimoLists/);
|
||||
assert.match(aniimoPage, /content\.variantsChecklistTitle/);
|
||||
assert.match(aniimoPage, /filteredResults/);
|
||||
assert.match(aniimoPage, /games\/aniimo\/lists/);
|
||||
assert.match(aniimoFilters, /data-variant="horizontal-menu"/);
|
||||
assert.match(aniimoFilters, /GameFilterDropdown/);
|
||||
|
|
|
|||
|
|
@ -34,6 +34,9 @@ test("toolbox cards and pages retain their public UI conventions", async () => {
|
|||
assert.match(toolboxActions, /type: "memos"/);
|
||||
assert.match(toolboxActions, /type: "links"/);
|
||||
assert.match(toolboxActions, /#\/library/);
|
||||
assert.match(toolboxActions, /async function createChecklistFromResults/);
|
||||
assert.match(toolboxActions, /persistToolboxSnapshot/);
|
||||
assert.match(toolboxActions, /createChecklistFromList/);
|
||||
assert.match(toolboxStorage, /TOOLBOX_ICON_FILES/);
|
||||
assert.match(toolboxStorage, /export function normalizeToolboxIcon/);
|
||||
assert.match(toolboxStorage, /export function normalizeToolboxCustomCover/);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue