Skip to content

Redesign overview app header with improved navigation UI - #20

Merged
oblomov-dev merged 2 commits into
mainfrom
claude/samples-overview-ui-7nhh5k
Aug 13, 2026
Merged

Redesign overview app header with improved navigation UI#20
oblomov-dev merged 2 commits into
mainfrom
claude/samples-overview-ui-7nhh5k

Conversation

@oblomov-dev

Copy link
Copy Markdown
Member

Summary

Refactored the shared header component across abap2UI5 overview apps to improve user experience and provide better feedback for unavailable repositories. The header now uses a custom Bar with semantic icons instead of buttons, and displays informative popovers for uninstalled sample repositories.

Key Changes

  • Header Structure: Moved from page header buttons to a custom Bar in customHeader with left and right content areas

    • Left side: back button and page title
    • Right side: regenerate button, sample repository icons, separator, and external links
  • Icon-based Navigation: Replaced Button controls with core:Icon elements for repository navigation

    • Active entries use accent blue color (#0064D9)
    • Inactive entry (current repository) uses semantic grey
    • Icons are now interactive with proper press handlers
  • Install Feedback: Added install_display() method to show popovers for uninstalled repositories

    • Displays informative message when a sample repository is not installed
    • Provides direct GitHub link to install the repository
    • Triggered via new INSTALL event type
  • Removed Startup Reference: Eliminated the framework startup page from the shared header

    • Removed cs_overview-startup constant
    • Removed cs_url-framework constant
    • Simplified header to focus on sample repositories and external resources
  • Color Constants: Added cs_color structure to define semantic colors for active/inactive states

  • Header Separator: New header_separator() method to visually group related header entries with ToolbarSeparator

  • Updated Documentation: Revised class and method comments to reflect new header behavior and architecture

Implementation Details

  • The header now properly distinguishes between:

    • Installed repositories (active, clickable, blue)
    • Current repository (inactive, grey, no action)
    • Uninstalled repositories (active, blue, shows install instructions)
    • External links (active, blue, opens in new tab)
  • Icon IDs match class names to enable popover anchoring for install messages

  • Maintains consistency with copies in abap2UI5/samples and abap2UI5/samples-controls repositories

https://claude.ai/code/session_015z7hsoV9crzhp65ou1Cq9v

claude added 2 commits August 13, 2026 10:57
The header of every abap2UI5 overview app gets a ToolbarSpacer between the
four repository buttons (they open an app in this system) and the
documentation and GitHub links (they leave it), and the GitHub button drops
sap-icon://source-code - reserved for the per-sample source links - for
sap-icon://chain-link.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_015z7hsoV9crzhp65ou1Cq9v
The header moves from the page's headerContent into a Bar in its customHeader:
back button and title on the left, on the right this repository's Regenerate
Demo Data button, then - behind a separator - the sample repositories of the
family, another separator, documentation and GitHub. The entries become
core:Icons - a Button on 1.71 cannot carry a colour, its coloured ButtonType
values are 1.73+ - with two states and no more: active in the sap_horizon
accent #0064D9, and the one inactive icon, this repository's own entry, in the
semantic Neutral grey.

A repository that is not on this system stays active: install_display( ) opens
a popover on the pressed icon saying what has to be installed, with the link
to it, instead of dropping the user on GitHub without a word. The framework's
start page entry is gone - the row lists sample repositories - the GitHub icon
is sap-icon://globe, and the siblings are named Control Samples and Stack
Samples. The overview also gets a back button, which it never had: the family
icons navigate into it, so there has to be a way out.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_015z7hsoV9crzhp65ou1Cq9v
Copilot AI lite review requested due to automatic review settings August 13, 2026 15:10

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

@oblomov-dev
oblomov-dev merged commit 05b7075 into main Aug 13, 2026
14 checks passed
@oblomov-dev
oblomov-dev deleted the claude/samples-overview-ui-7nhh5k branch August 13, 2026 15:10
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.

3 participants