Skip to content

Create a clear text input button - #53

Merged
andrewtavis merged 2 commits into
scribe-org:mainfrom
Femimat:feature/25-create-text-input-button
Jul 18, 2026
Merged

andrewtavis merged 2 commits into
scribe-org:mainfrom
Femimat:feature/25-create-text-input-button

Conversation

@Femimat

@Femimat Femimat commented Jul 18, 2026

Copy link
Copy Markdown
Collaborator

Contributor checklist


Description

This pull request adds a clear button to the GUI text input so users can quickly remove all entered text without repeatedly pressing backspace.

Changes made:

  • Added a new ClearInput message in scribe/src/bin/gui.rs.
  • Added a clear button that appears beside the text input when text is present.
  • Updated the app state so clicking the button clears the current input.
  • Added a unit test to verify that the clear action empties the input text.

Related issue

@github-actions

Copy link
Copy Markdown

Thank you for the pull request! 💙

The Scribe-Desktop team will do our best to address your contribution as soon as we can. The following are some important points:

  • Those interested in developing their skills and expanding their role in the community should read the mentorship and growth section of the contribution guide
  • If you're not already a member of our public Matrix community, please consider joining!
    • We'd suggest that you use the Element client as well as Element X for a mobile app
    • Join the General and Desktop rooms once you're in
  • Also consider attending our bi-weekly Saturday developer syncs!
    • Details are shared in the General room on Matrix each Wednesday before the sync
    • It would be great to meet you 😊

Note

Scribe uses Conventional Comments in reviews to make sure that communication is as clear as possible.

@github-actions

Copy link
Copy Markdown

Maintainer Checklist

The following is a checklist for maintainers to make sure this process goes as well as possible. Feel free to address the points below yourself in further commits if you realize that actions are needed :)

  • The CHANGELOG has been updated with a description of the changes for the upcoming release and the corresponding issue (if necessary)

@andrewtavis

Copy link
Copy Markdown
Member

Great to have this PR up, @Femimat! Could you fix the CI errors? We'll work to bring it in after that :)

@Femimat

Femimat commented Jul 18, 2026

Copy link
Copy Markdown
Collaborator Author

Thanks @andrewtavis! I've fixed the CI formatting issue and pushed the changes.

@andrewtavis andrewtavis left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

praise: All's looking and working great here, @Femimat! Thanks for the quick work to improve user experience 😊

@andrewtavis
andrewtavis merged commit bc20ae9 into scribe-org:main Jul 18, 2026
2 checks passed
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.

Creat a clear text input button

2 participants