Skip to content

Conversation

@joshliebe
Copy link
Contributor

@joshliebe joshliebe commented Jan 20, 2026

Task/Issue URL: https://app.asana.com/1/137249556945/project/1200204095367872/task/1212864806121264?focus=true

Description

  • Adds the return button back to Duck.ai tab and sets the keyboard action to submit.

Steps to test this PR

  • Open in the Input Screen
  • Go to Duck.ai tab and type something
  • Verify that the return button works as expected
  • Repeat above steps with bottom address bar enabled

UI changes

Top address bar Bottom address bar
Screenshot_20260120_130726 Screenshot_20260120_130700

Note

Introduces an explicit multiline entry control and ties it into visibility/state and telemetry.

  • Adds actionNewLine button to view_input_screen_buttons.xml and InputScreenButtons, with floating styling, click handler, and visibility control
  • Extends InputScreenVisibilityState with newLineButtonVisible and includes it in actionButtonsContainerVisible; InputScreenViewModel sets it (true in chat, based on text) and clears it in search
  • Wires onNewLineClick in InputScreenFragment to InputModeWidget.printNewLine() and fires DUCK_CHAT_EXPERIMENTAL_OMNIBAR_FLOATING_RETURN_PRESSED
  • Implements printNewLine() in InputModeWidget and changes chat imeOptions to IME_ACTION_GO
  • Updates button container visibility logic to account for the new button; minor visibility tweaks (e.g., send button default to gone)

Written by Cursor Bugbot for commit d58c840. This will update automatically on new commits. Configure here.

Copy link
Contributor Author

Warning

This pull request is not mergeable via GitHub because a downstack PR is open. Once all requirements are satisfied, merge this PR as a stack on Graphite.
Learn more

This stack of pull requests is managed by Graphite. Learn more about stacking.

@joshliebe joshliebe mentioned this pull request Jan 20, 2026
16 tasks
Copy link

@cursor cursor bot left a comment

Choose a reason for hiding this comment

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

Cursor Bugbot has reviewed your changes and found 1 potential issue.

Copy link
Contributor

@malmstein malmstein left a comment

Choose a reason for hiding this comment

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

:shipit:

@joshliebe joshliebe merged commit 55f3426 into feature/josh/update-input-screen-ui Jan 20, 2026
20 of 21 checks passed
@joshliebe joshliebe deleted the feature/josh/revert-return-button-behavior branch January 20, 2026 13:16
joshliebe added a commit that referenced this pull request Jan 20, 2026
Task/Issue URL:
https://app.asana.com/1/137249556945/project/1200204095367872/task/1212864806121264?focus=true

### Description

- Adds the return button back to Duck.ai tab and sets the keyboard
action to submit.

### Steps to test this PR

- [ ] Open in the Input Screen
- [ ] Go to Duck.ai tab and type something
- [ ] Verify that the return button works as expected
- [ ] Repeat above steps with bottom address bar enabled

### UI changes
| Top address bar  | Bottom address bar |
| ------ | ----- |
<img width="1280" height="2856" alt="Screenshot_20260120_130726"
src="https://github.com/user-attachments/assets/b3002224-05bf-4394-a956-edbcf5093988"
/>|<img width="1280" height="2856" alt="Screenshot_20260120_130700"
src="https://github.com/user-attachments/assets/de52bec1-c19d-4c13-afab-de0bef3429be"
/>



<!-- CURSOR_SUMMARY -->
---

> [!NOTE]
> Introduces an explicit multiline entry control and ties it into
visibility/state and telemetry.
> 
> - Adds `actionNewLine` button to `view_input_screen_buttons.xml` and
`InputScreenButtons`, with floating styling, click handler, and
visibility control
> - Extends `InputScreenVisibilityState` with `newLineButtonVisible` and
includes it in `actionButtonsContainerVisible`; `InputScreenViewModel`
sets it (true in chat, based on text) and clears it in search
> - Wires `onNewLineClick` in `InputScreenFragment` to
`InputModeWidget.printNewLine()` and fires
`DUCK_CHAT_EXPERIMENTAL_OMNIBAR_FLOATING_RETURN_PRESSED`
> - Implements `printNewLine()` in `InputModeWidget` and changes chat
`imeOptions` to `IME_ACTION_GO`
> - Updates button container visibility logic to account for the new
button; minor visibility tweaks (e.g., send button default to `gone`)
> 
> <sup>Written by [Cursor
Bugbot](https://cursor.com/dashboard?tab=bugbot) for commit
d58c840. This will update automatically
on new commits. Configure
[here](https://cursor.com/dashboard?tab=bugbot).</sup>
<!-- /CURSOR_SUMMARY -->
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