Skip to content

Conversation

@aprentout
Copy link
Contributor

What does this PR do?

Related to: #DRA-3516

What are the observable changes?

Add new OSS::Smart::Textarea component :)

Enregistrement.de.l.ecran.2025-08-18.a.15.34.44.mov
  • Smart loading state
  • Smart animation after load

Good PR checklist

  • Title makes sense
  • Is against the correct branch
  • Only addresses one issue
  • Properly assigned
  • Added/updated tests
  • Added/updated documentation
  • Migrated touched components to Glimmer Components
  • Properly labeled

@aprentout aprentout self-assigned this Aug 18, 2025
@linear
Copy link

linear bot commented Aug 18, 2025

<span class="hidden-span">
{{if (or this.inputValue this.isInputFocused) this.inputValue this.placeholder}}
</span>
<span class="hidden-span">{{this.hiddenSpanValue}}</span>
Copy link
Contributor Author

Choose a reason for hiding this comment

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

🥷 Remove span strange escape, which lead to unconsistent behavior between classic & loading state

.oss-textarea-container;
flex: 1;
// max-width: fit-content;
// width: 100%;
Copy link
Contributor

Choose a reason for hiding this comment

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

forgotten comments


hooks.beforeEach(function () {
this.value = 'Data';

Copy link
Contributor

Choose a reason for hiding this comment

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

can remove the linebreak here

return this.args.rows || 2;
}

get resize(): 'vertical' | 'horizontal' | 'none' | undefined {
Copy link
Contributor

Choose a reason for hiding this comment

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

Nit but we might export the resize types from the parent component & import it in the extended component


@action
onTextAreaChange(value: string): void {
console.log('Text area value changed:', value);
Copy link
Contributor

Choose a reason for hiding this comment

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

forgotten log

Copy link
Contributor Author

Choose a reason for hiding this comment

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

It's in dummy app :)

@aprentout aprentout merged commit 78f97e5 into feature/jace-experience-system Aug 20, 2025
3 checks passed
@aprentout aprentout deleted the ap/dra-3516 branch August 20, 2025 16:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants