@nuxtseo/pro-indexing 0.1.9 → 0.1.10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md
CHANGED
|
@@ -150,7 +150,7 @@ The site builds `model` with `buildIndexingOverviewModel(input, diagnose)` from
|
|
|
150
150
|
|
|
151
151
|
### Submissions
|
|
152
152
|
|
|
153
|
-
A Submission is a notification a Site sent to a search engine, through IndexNow or Google's Indexing API. The section answers "what did sending do?" with three rules: an accepted Submission Receipt proves receipt only, "Afterwards" is order in time and never cause, and no string states an indexing timeframe. The shapes live in `shared/submissions.ts`. Outcomes anchor where gscdump's `listSiteSubmissionOutcomes` anchors them. The
|
|
153
|
+
A Submission is a notification a Site sent to a search engine, through IndexNow or Google's Indexing API. The section answers "what did sending do?" with three rules: an accepted Submission Receipt proves receipt only, "Afterwards" is order in time and never cause, and no string states an indexing timeframe. The shapes live in `shared/submissions.ts`. Outcomes anchor where gscdump's `listSiteSubmissionOutcomes` anchors them. The source can count distinct URLs or set `countBasis: 'url-sends'` to include repeat sends from `getSiteSubmissionSummary`.
|
|
154
154
|
|
|
155
155
|
```vue
|
|
156
156
|
<IndexingSubmissionsCard :site="site">
|
|
@@ -164,7 +164,7 @@ A Submission is a notification a Site sent to a search engine, through IndexNow
|
|
|
164
164
|
<IndexingSubmissionsCell :site="site" />
|
|
165
165
|
```
|
|
166
166
|
|
|
167
|
-
- `IndexingSubmissionSummary`
|
|
167
|
+
- `IndexingSubmissionSummary` defaults to distinct URLs per engine, by each URL’s latest Submission Receipt. With `countBasis: 'url-sends'`, the help explains that repeat sends count.
|
|
168
168
|
- `completeness: { _tag: 'partial', receipts }` says the source stopped reading Submission Receipts before the window start. The card says how many it counted.
|
|
169
169
|
- `IndexingSubmissionOutcomes` joins each sent URL to Google's latest URL Inspection result from a check made after the URL's newest Submission in the window that the engine received: IndexNow at HTTP 200 or HTTP 202, or Google accepted. This matches gscdump's `listSiteSubmissionOutcomes`. A result checked before it reads `not-inspected`. A URL that no engine received stays out of the totals. A source may still return its row, anchored on its newest Submission, so the timeline shows the Submission that failed. `checked` below `sent` says the totals cover fewer URLs than the Site sent, for example when the source caps its lookups or no engine received some URLs. The source never starts a URL Inspection for this read.
|
|
170
170
|
- `automaticSending` is null when the Site has no IndexNow key. `key-unverified` is the switch on while the key file needs verification.
|
|
@@ -78,7 +78,7 @@ const afterwardsFacts = computed(() => {
|
|
|
78
78
|
})
|
|
79
79
|
|
|
80
80
|
function reasonLabel(reason: string): string {
|
|
81
|
-
return copy.urls.coverageStates[reason as keyof typeof copy.urls.coverageStates] ?? reason
|
|
81
|
+
return copy.urls.coverageStates[reason as keyof typeof copy.urls.coverageStates] ?? reason.replaceAll('_', ' ')
|
|
82
82
|
}
|
|
83
83
|
|
|
84
84
|
const automaticState = computed(() => {
|
|
@@ -110,7 +110,7 @@ const automaticState = computed(() => {
|
|
|
110
110
|
>
|
|
111
111
|
<div class="flex flex-wrap items-center justify-between gap-x-3 gap-y-1">
|
|
112
112
|
<h3 :id="headingId" class="text-sm font-strong text-highlighted">
|
|
113
|
-
<UiHelpLabel :text="text.title" :tooltip="fillCopy(text.titleTooltip, { days })" />
|
|
113
|
+
<UiHelpLabel :text="text.title" :tooltip="fillCopy(summary?.countBasis === 'url-sends' ? text.urlSendsTooltip : text.titleTooltip, { days })" />
|
|
114
114
|
</h3>
|
|
115
115
|
<div class="flex items-center gap-2">
|
|
116
116
|
<span class="text-mini text-dimmed">{{ fillCopy(text.window, { days }) }}</span>
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nuxtseo/pro-indexing",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "0.1.
|
|
4
|
+
"version": "0.1.10",
|
|
5
5
|
"description": "Nuxt SEO Pro indexing layer: the dashboard indexing sections (Portfolio overview, issues and changes, the per-Site diagnosis panel, coverage trend, Index cohorts, and the indexing URLs table) over one IndexingSource adapter and a route map. Extends @nuxtseo/pro-shell.",
|
|
6
6
|
"license": "MIT",
|
|
7
7
|
"homepage": "https://nuxtseo.com",
|
|
@@ -37,8 +37,8 @@
|
|
|
37
37
|
"@gscdump/contracts": "^7.13.0",
|
|
38
38
|
"@gscdump/sdk": "^7.13.0",
|
|
39
39
|
"@nuxt/ui": "^4.11.1",
|
|
40
|
-
"@nuxtseo/design-system": "^0.1.
|
|
41
|
-
"@nuxtseo/pro-shell": "^0.1.
|
|
40
|
+
"@nuxtseo/design-system": "^0.1.10",
|
|
41
|
+
"@nuxtseo/pro-shell": "^0.1.10",
|
|
42
42
|
"@vueuse/core": "^14.0.0 || ^15.0.0",
|
|
43
43
|
"nuxt": "^4.6.0",
|
|
44
44
|
"typescript": ">=5.8.0 <7",
|
|
@@ -52,8 +52,8 @@
|
|
|
52
52
|
"@gscdump/contracts": "7.17.0",
|
|
53
53
|
"@gscdump/sdk": "7.17.0",
|
|
54
54
|
"@nuxt/ui": "^4.11.1",
|
|
55
|
-
"@nuxtseo/design-system": "0.1.
|
|
56
|
-
"@nuxtseo/pro-shell": "0.1.
|
|
55
|
+
"@nuxtseo/design-system": "0.1.10",
|
|
56
|
+
"@nuxtseo/pro-shell": "0.1.10",
|
|
57
57
|
"@vueuse/core": "^14.4.0",
|
|
58
58
|
"nuxt": "4.6.1",
|
|
59
59
|
"site-typecheck": "0.0.0",
|
package/shared/copy.ts
CHANGED
|
@@ -125,6 +125,7 @@ const DEFAULTS = {
|
|
|
125
125
|
},
|
|
126
126
|
submissions: {
|
|
127
127
|
title: 'Sent to search engines',
|
|
128
|
+
urlSendsTooltip: 'URLs sent to search engines in the last {days} days. Each send counts, including repeat sends. An accepted Submission Receipt proves only that the engine received the URL.',
|
|
128
129
|
titleTooltip: 'URLs sent to search engines in the last {days} days. Each URL counts once per engine, by its latest Submission Receipt. An accepted Submission Receipt proves that the engine received the URL. It does not prove a crawl or indexing.',
|
|
129
130
|
window: 'Last {days} days',
|
|
130
131
|
engineIndexNow: 'IndexNow',
|
package/shared/submissions.ts
CHANGED
|
@@ -2,11 +2,7 @@
|
|
|
2
2
|
// Google reported afterwards. The `submissions`, `submissionOutcomes` and
|
|
3
3
|
// `submissionsRollup` Indexing capabilities return these shapes. Outcomes
|
|
4
4
|
// anchor where gscdump's `listSiteSubmissionOutcomes` anchors them. The
|
|
5
|
-
// summary
|
|
6
|
-
// every receipt, so a URL sent twice counts twice. Here each URL counts once
|
|
7
|
-
// per engine, by its latest Submission Receipt. gscdump's summary cannot say
|
|
8
|
-
// which URLs repeat, so a site builds `IndexingSubmissionSummary` from its
|
|
9
|
-
// receipt lists.
|
|
5
|
+
// summary can count distinct URLs or use the engine’s URL send counts.
|
|
10
6
|
//
|
|
11
7
|
// Rules every section keeps:
|
|
12
8
|
// - An accepted receipt proves the engine received the URL. Nothing more.
|
|
@@ -34,7 +30,7 @@ export type IndexingReceiptState = 'accepted' | 'in-progress' | 'failed'
|
|
|
34
30
|
/** One engine's Submissions in the window. */
|
|
35
31
|
export interface IndexingSubmissionEngineTotals {
|
|
36
32
|
readonly engine: IndexingSubmissionEngine
|
|
37
|
-
/**
|
|
33
|
+
/** URLs counted using the summary’s countBasis. */
|
|
38
34
|
readonly urls: number
|
|
39
35
|
/** `accepted + inProgress + failed` is `urls`. */
|
|
40
36
|
readonly accepted: number
|
|
@@ -82,7 +78,9 @@ export interface IndexingSubmissionSummary {
|
|
|
82
78
|
/** The window start, an ISO date-time. */
|
|
83
79
|
readonly since: string
|
|
84
80
|
readonly days: number
|
|
85
|
-
/**
|
|
81
|
+
/** Defaults to counting each distinct URL by its latest receipt. */
|
|
82
|
+
readonly countBasis?: 'url-sends'
|
|
83
|
+
/** One entry per engine reported by the source. */
|
|
86
84
|
readonly engines: readonly IndexingSubmissionEngineTotals[]
|
|
87
85
|
/** Null when the Site has no IndexNow key, so Automatic sending cannot turn on. */
|
|
88
86
|
readonly automaticSending: IndexingAutomaticSending | null
|