Skip to content

Conversation

@gtryus
Copy link
Contributor

@gtryus gtryus commented Jan 28, 2026

  • Updated PlanView to apply top padding for sticky toolbar, ensuring proper spacing with ActionHeight.
  • Refactored TabAppBar to fix mobile bar position and set its top value based on HeadHeight, enhancing mobile usability.
  • Added Cypress tests for TabAppBar to verify fixed positioning and height attributes.

- Updated PlanView to apply top padding for sticky toolbar, ensuring proper spacing with ActionHeight.
- Refactored TabAppBar to fix mobile bar position and set its top value based on HeadHeight, enhancing mobile usability.
- Added Cypress tests for TabAppBar to verify fixed positioning and height attributes.
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR enhances the mobile view by making the PlanBar sticky and adjusting PlanView spacing accordingly. The changes ensure the action bar remains visible while scrolling on mobile devices.

Changes:

  • Modified TabAppBar to use fixed positioning for mobile bar instead of unset positioning
  • Updated PlanView to add top padding that accounts for the sticky toolbar height
  • Added comprehensive Cypress tests to verify the positioning and spacing changes

Reviewed changes

Copilot reviewed 4 out of 4 changed files in this pull request and generated no comments.

File Description
src/renderer/src/control/TabAppBar.tsx Changed mobile bar from position: 'unset' to position: 'fixed' with top: HeadHeight to make it sticky below the app header
src/renderer/src/control/TabAppBar.cy.tsx Added new test file to verify mobile bar fixed positioning and height attributes
src/renderer/src/components/Sheet/PlanView.tsx Added top padding calculation (ActionHeight + 16px) to prevent content overlap with sticky toolbar and imported ActionHeight
src/renderer/src/components/Sheet/PlanView.cy.tsx Added test to verify the top padding is correctly applied to the Grid container

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@gtryus gtryus requested a review from sarahentzel January 28, 2026 22:01
@gtryus gtryus merged commit 5508aed into develop Jan 29, 2026
8 checks passed
@gtryus gtryus deleted the feature/TT-7049-sticky-page-header branch January 29, 2026 18:40
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