Skip to content

view-chain-layout: close the list before the button in the example - #271

Merged
oblomov-dev merged 1 commit into
mainfrom
claude/peaceful-hopper-cylhj7
Oct 14, 2026
Merged

oblomov-dev merged 1 commit into
mainfrom
claude/peaceful-hopper-cylhj7

Conversation

@oblomov-dev

Copy link
Copy Markdown
Member

This is the shared copy of the fix in abap2UI5/abap2UI5. abap2UI5 is the source of .claude/skills/view-chain-layout/SKILL.md, and its shared-file-gate requires this copy to stay byte-identical.

The example chain closed List and items with only one end( ), so the Save button landed inside the List (<List>…<Button/></List>) instead of on the Page. This change adds the missing end( ), so each end( ) stands in the column of the ele( ) it closes, as rule 4 says. It is one line and only touches this skill file.

🤖 Generated with Claude Code

https://claude.ai/code/session_01QYMKjK1h4aPzf4w4E7RCZW


Generated by Claude Code

The example chain opened List and items and closed them with ONE end( ),
written in the column of List. end( ) ascends one level, so that end( )
closed only items, and the Save button that follows became a child of the
List (its default aggregation items) instead of the Page:

  before  <List><items><StandardListItem/></items><Button/></List>
  after   <List><items><StandardListItem/></items></List><Button/>

The example now has the second end( ), each in the column of the ele( )
it closes - rule 4 of the same file, which the old example broke while
teaching it. The file is shared byte-for-byte between abap2UI5, samples,
samples-controls and samples-stack (shared-file-gate in abap2UI5), so
the same one-line change goes to all four.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01QYMKjK1h4aPzf4w4E7RCZW
@oblomov-dev
oblomov-dev merged commit 07fdbab into main Oct 14, 2026
22 checks passed
@oblomov-dev
oblomov-dev deleted the claude/peaceful-hopper-cylhj7 branch October 14, 2026 11:13
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