Skip to content

[action-bar]: responsive action bar for Drafts, Review, and Recommendations#774

Open
ArtemLazarchuk wants to merge 5 commits into
developmentfrom
724-action-bar-content-hidden-on-narrow-windows-in-recommendations-drafts-and-review-views
Open

[action-bar]: responsive action bar for Drafts, Review, and Recommendations#774
ArtemLazarchuk wants to merge 5 commits into
developmentfrom
724-action-bar-content-hidden-on-narrow-windows-in-recommendations-drafts-and-review-views

Conversation

@ArtemLazarchuk
Copy link
Copy Markdown
Collaborator

Summary

Fixes #724

Action bar buttons in the Drafts, Review, and Recommendations views were
clipped when the window was too narrow. This PR adds horizontal scrolling so all
buttons remain accessible.

Changes

  • Apps/Plans/ActionBarView.cs.Scroll(Scroll.Horizontal) on both normal and edit mode bars
  • Apps/Review/ContentView.cs.Scroll(Scroll.Horizontal) on the review action bar
  • Apps/Recommendations/ContentView.cs.Scroll(Scroll.Horizontal) on the recommendations action bar

Dependency

Requires Ivy-Interactive/Ivy-Framework#4462 — adds frontend support for Scroll.Horizontal in StackLayoutWidget. Without that PR the .Scroll(Scroll.Horizontal) call has no visual effect.

2026-05-20.13.22.25.mov

…ing support for better usability. Updated ActionBarView, ContentView in Recommendations, and ContentView in Review to include Scroll.Horizontal in their layout definitions.
@rorychatt
Copy link
Copy Markdown
Collaborator

rorychatt commented May 20, 2026

@ArtemLazarchuk I am thinking about responsive UI instead

not all people have a touchpad or know they can shift+scroll_wheel to do horizontal scrolling

@rorychatt
Copy link
Copy Markdown
Collaborator

@ArtemLazarchuk
image

can you make it so on smaller screens we remove text and just have icons + KBD?

…s. Introduced new methods for handling button visibility based on screen size, enhancing the user interface for different device types.
… improved button visibility and responsiveness across different screen sizes. Introduced new helper methods for managing action button layouts, enhancing the user interface for both plan and review views.
… methods for improved readability and maintainability. Enhanced button layout responsiveness across different screen sizes, ensuring a better user experience in the Recommendations view.
… from layout definitions, enhancing button visibility and responsiveness. This change improves the user interface across different screen sizes while maintaining consistent alignment and spacing.
@artem-ivy-ai
Copy link
Copy Markdown

Staging preview

📄 Docs: https://ivy-tendril-staging-docs-774.sliplane.app

@ArtemLazarchuk
Copy link
Copy Markdown
Collaborator Author

2026-05-21.20.08.36.mov

Responsive action bar

Shared ActionBarResponsive helper for Drafts, Review, and Recommendations.

Breakpoints

Width Layout
≥ 1024px (Wide) All actions on the bar with labels and keyboard shortcuts. Extra actions in .
768–1023px (Desktop) Primary actions on the bar as icon-only (shortcuts kept). Everything else in .
< 768px (Mobile / Tablet) Only Previous / Next on the bar + . All other actions in the menu.

The menu holds actions that do not fit at the current width. Each breakpoint has its own menu so items are not duplicated.

Ivy maps Responsive.Wide to 1024px+ (not 1280px).

How to test

  • Resize the window across the three ranges in Drafts, Review, and Recommendations.
  • Confirm shortcuts still work on the desktop (icon-only) tier.
  • Confirm mobile shows only ‹ › and .

@ArtemLazarchuk ArtemLazarchuk changed the title [action-bar]: add horizontal scroll when buttons overflow [action-bar]: responsive action bar for Drafts, Review, and Recommendations May 23, 2026
{
if (hasActiveSplitJob) return;
.OnClick(SplitPlan))
| ActionBarResponsive.AtWide(new Button("Expand").Icon(Icons.UnfoldVertical).Outline().ShortcutKey("x")
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

got a feedback there should be a lot more reused components / there could be too much object recreation here with the new keywords

Copy link
Copy Markdown
Collaborator

@rorychatt rorychatt left a comment

Choose a reason for hiding this comment

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

If you can address my feedback relatively quickly, do it, but we do not plan on merging this in the upcoming days

Another comment is that prioritization of what remains on the action bar (previous and next maybe are less important that other buttons)

Need to rethink if this is the right way to do what we want. Leave that with the core team.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Action bar content hidden on narrow windows in Recommendations, Drafts, and Review views

3 participants