[go: up one dir, main page]

Skip to content

Model selection dropdown move to input box

What does this MR do?

Moves the model selection dropdown to a dedicated agentic-model slot in the Duo Agentic Chat component, separating it from the footer controls.

Why?

The model dropdown was previously located in the footer-controls slot alongside the toggle control. Moving it to a dedicated slot in the input will move us closer to the design mockups.

Changes

  • Relocated ModelSelectDropdown from #footer-controls to new #agentic-model slot
  • Updated dropdown styling to use gl-max-w-31 instead of absolute positioning classes
  • Added test to verify the dropdown renders in the correct slot

Context

There are going to be further MRs that will address the visual side

Related to

https://gitlab.com/gitlab-org/duo-ui/-/issues/99

Screenshots

before after
image image
image image

MR acceptance checklist

Evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.

Edited by Tomas Bulva

Merge request reports

Loading