Skip to content

Name the seven new samples on the pages they belong to - #322

Merged
oblomov-dev merged 1 commit into
mainfrom
claude/tender-clarke-am5979
Sep 14, 2026
Merged

oblomov-dev merged 1 commit into
mainfrom
claude/tender-clarke-am5979

Conversation

@oblomov-dev

Copy link
Copy Markdown
Member

abap2UI5/samples is adding seven samples for framework capabilities its catalogue never showed, and each carries a " @docs line pointing at a page here.

That pairing is declared on this side — a page's samples: frontmatter — and generated on both, so a sample pointing at a page that does not name it back fails check-docs-links over there. This is that half, and it has to land first.

Page Samples
cookbook/event_navigation/frontend 513, 514, 515, 518 — the css pseudo-method, aggregation items addressed by index, the global BusyIndicator, and registering an icon font
cookbook/browser_interaction/soft_keyboard 516 — beside 352: that one asks for the keypad with the keyboard_set_mode action, this one binds z2ui5.cc.InputExt's inputMode property instead
cookbook/device_capabilities/upload_download 517 — beside 074's FileUploader: the same job through sap.m.upload.UploadSet
cookbook/translation_messages/translation_i18n 519 — the page had no samples: block at all until now

The generated blocks are rewritten with npm run link:samples; nothing else on any page changes.

All gates pass locally: test, check:conventions, check:examples, check:playground, check:api-names, check:api-reference, check:samples, check:design, check:images.

🤖 Generated with Claude Code

https://claude.ai/code/session_019rmo8XKoBEpBRZ2TZMUQrF


Generated by Claude Code

abap2UI5/samples is adding seven samples for framework capabilities its
catalogue never showed, and each carries a `" @docs` line pointing at a page
here. That pairing is declared on THIS side - a page's `samples:` frontmatter -
and generated on both, so a sample pointing at a page that does not name it
back fails `check-docs-links` over there. This is that half.

  cookbook/event_navigation/frontend            513, 514, 515, 518
    the css pseudo-method, aggregation items addressed by index, the global
    BusyIndicator, and registering an icon font - four more of the frontend
    actions this page is about
  cookbook/browser_interaction/soft_keyboard    516
    beside 352: that one asks for the keypad with the keyboard_set_mode
    action, this one binds z2ui5.cc.InputExt's inputMode property instead
  cookbook/device_capabilities/upload_download  517
    beside 074's FileUploader: the same job through sap.m.upload.UploadSet
  cookbook/translation_messages/translation_i18n  519
    the page had no samples block at all until now

The generated blocks are rewritten with `npm run link:samples`.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_019rmo8XKoBEpBRZ2TZMUQrF
oblomov-dev pushed a commit to abap2UI5/samples that referenced this pull request Sep 14, 2026
The pairing is checked from both sides against the OTHER repository's `main`
(check-docs-links here reads abap2UI5/docs at main; link-samples.mjs there reads
this catalogue at main), so a new sample and its page entry cannot land
together: each gate fails on what the other has not merged yet.

The classes go in without their `" @docs` line, abap2UI5/docs#322 then has
classes to name, and a follow-up here adds the seven lines back against a docs
main that already carries them. Three green merges instead of two red ones.

Generated artefacts regenerated: the `docs:` row in SAMPLES.md and the
catalogue entries come off with the lines.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_019rmo8XKoBEpBRZ2TZMUQrF
@oblomov-dev
oblomov-dev merged commit 9de1cd9 into main Sep 14, 2026
0 of 2 checks passed
@oblomov-dev
oblomov-dev deleted the claude/tender-clarke-am5979 branch September 14, 2026 17:10
oblomov-dev added a commit to abap2UI5/samples that referenced this pull request Sep 14, 2026
The other half of the pairing abap2UI5/docs#322 declares: 513, 514, 515 and 518
at cookbook/event_navigation/frontend, 516 at browser_interaction/soft_keyboard,
517 at device_capabilities/upload_download, 519 at
translation_messages/translation_i18n. The docs: rows in SAMPLES.md and the
catalogue entries come back with them.

A second pull request because each side checks the pairing against the OTHER
repository's main, in both directions - check-docs-links here wants the page to
name the class, link-samples.mjs there wants the class to point back - so the
two halves can never both be green before both have merged. #844 went in
without these lines to keep that side clean.
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.

2 participants