Skip to content

docs: move the telemetry callback reference out of the README - #179

Merged
floyd-soomgo merged 2 commits into
masterfrom
docs/telemetry-callbacks-split
Aug 25, 2026
Merged

docs: move the telemetry callback reference out of the README#179
floyd-soomgo merged 2 commits into
masterfrom
docs/telemetry-callbacks-split

Conversation

@floyd-soomgo

Copy link
Copy Markdown
Member

Why

The README's telemetry section had grown into the full callback reference: every signature, the UpdateArchiveResult fields, and the fallback reasons. That is reference material, and it pushed the install guide out of the way.

What

  • README.md — section 4-1 keeps a short paragraph and a link. Section 4-2 keeps only what the install guide needs: a table of the three archives in the order a client tries them, and the two exceptions to that order.
  • docs/telemetry-callbacks.md (new) — the reference itself: the callback table, what onUpdateArchiveResult reports, the UpdateArchiveResult and UpdateArchiveAttempt fields, the fallbackReason words, and why a fallback is not a failed update.
  • docs/telemetry-callbacks.ko.md (new) — the same reference in Korean. The two versions link to each other from the top, and they match section for section: 8 headings, 4 code blocks, and tables of 7 / 5 + 4 / 8 rows in both.

Notes

  • Docs only. No source or test changes.
  • The two language versions are kept in step by hand, so a wording change in one needs the same change in the other.
  • Link targets checked: #4-codepush-ify-your-app and #4-2-asset-diff-archives in the README, #codepushoptions, #codepushnotifyappready and #syncstatus in docs/api-js.md, and #what-onupdatearchiveresult-reports in the new document.

The README's telemetry section carried the whole callback reference: every
signature, the UpdateArchiveResult fields, and the fallback reasons. It now
keeps a short paragraph and a link, and docs/telemetry-callbacks.md holds the
reference - the callback table, what onUpdateArchiveResult reports, the
UpdateArchiveResult and UpdateArchiveAttempt fields, the fallbackReason words,
and why a fallback is not a failed update.

What the README keeps of the archives is what the install guide needs: a table
of the three archives in the order a client tries them, and the two exceptions
to that order.
docs/telemetry-callbacks.ko.md carries the same sections and tables as the
English reference, and the two link to each other from the top.
@floyd-soomgo
floyd-soomgo marked this pull request as ready for review August 25, 2026 12:52
@floyd-soomgo
floyd-soomgo merged commit ea5f00d into master Aug 25, 2026
1 check passed
@floyd-soomgo
floyd-soomgo deleted the docs/telemetry-callbacks-split branch August 25, 2026 12:55
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