Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

feat(site): make TaskPrompt PromptTextarea read-only when submitting#20363

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
johnstcn merged 5 commits intomainfromcj/task-textarea-readonly-submit
Oct 17, 2025

Conversation

@johnstcn
Copy link
Member

@johnstcnjohnstcn commentedOct 17, 2025
edited
Loading

  • Makes the text area of TaskPrompt read-only when submitting
  • Adds a "scanning" animation to the textarea on submit.
Screen.Recording.2025-10-17.at.17.35.53.mov

@johnstcnjohnstcn self-assigned thisOct 17, 2025
@BrunoQuaresma
Copy link
Contributor

Could you share a quick screen recording showing how the changes look? It would also be great to add a Story for that change.

@johnstcn
Copy link
MemberAuthor

Could you share a quick screen recording showing how the changes look? It would also be great to add a Story for that change.

Added! I'll get to work on the storybook changes.

BrunoQuaresma reacted with thumbs up emoji

@BrunoQuaresma
Copy link
Contributor

I’m not sure about the cursor animation though. I think it has too much movement. Maybe double-check with a PM? 🤔

@johnstcn
Copy link
MemberAuthor

I’m not sure about the cursor animation though. I think it has too much movement. Maybe double-check with a PM? 🤔

I updated the animation to be a little less 'busy'.

@johnstcnjohnstcn changed the titlechore(site): make TaskPrompt PromptTextarea read-only when submittingfeat(site): make TaskPrompt PromptTextarea read-only when submittingOct 17, 2025
@johnstcnjohnstcn marked this pull request as ready for reviewOctober 17, 2025 16:43
@johnstcnjohnstcn requested review fromDanielleMaywood andmafredri and removed request forParkreiner andaslilacOctober 17, 2025 16:43
@BrunoQuaresma
Copy link
Contributor

Just one more thing: we’re using Tailwind CSS now, so defining styles like that is an anti-pattern. This might help:https://tailwindcss.com/docs/animation. Maybe Claude Code could help with this.

johnstcn reacted with thumbs up emoji

@johnstcn
Copy link
MemberAuthor

Just one more thing: we’re using Tailwind CSS now, so defining styles like that is an anti-pattern. This might help:https://tailwindcss.com/docs/animation. Maybe Claude Code could help with this.

e2295fa (and Claude did)

Copy link
Contributor

@DanielleMaywoodDanielleMaywood left a comment

Choose a reason for hiding this comment

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

I'm not sold on the cursor animation but we have a couple weeks until code-freeze so plenty of time to decide we do/don't like it

johnstcn reacted with thumbs up emoji
@johnstcnjohnstcn merged commitf6526b7 intomainOct 17, 2025
31 checks passed
@johnstcnjohnstcn deleted the cj/task-textarea-readonly-submit branchOctober 17, 2025 17:11
@github-actionsgithub-actionsbot locked and limited conversation to collaboratorsOct 17, 2025
@michaelvp411Coder
Copy link
Contributor

PR Summary

This PR improves the user experience of the TaskPrompt component by making the textarea read-only during submission.

Changes:

  • Modifiedsite/src/modules/tasks/TaskPrompt/TaskPrompt.tsx:60 to add areadOnly prop to the textarea
  • The textarea becomes read-only whenisSubmitting is true, preventing users from modifying the prompt while it's being processed

Impact:
This prevents potential issues where users might edit their prompt while it's being submitted, improving data integrity and providing clearer feedback about the submission state.

Sign up for freeto subscribe to this conversation on GitHub. Already have an account?Sign in.

Reviewers

@DanielleMaywoodDanielleMaywoodDanielleMaywood approved these changes

@mafredrimafredriAwaiting requested review from mafredri

+1 more reviewer

@BrunoQuaresmaBrunoQuaresmaBrunoQuaresma approved these changes

Reviewers whose approvals may not affect merge requirements

Assignees

@johnstcnjohnstcn

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

5 participants

@johnstcn@BrunoQuaresma@michaelvp411@DanielleMaywood

[8]ページ先頭

©2009-2025 Movatter.jp