-
Notifications
You must be signed in to change notification settings - Fork 327
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 our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add height attribute to ui.copyable_text if multiline is True #1308
Comments
Hey @mturoci, can I take this issue? I haven't worked with UI specifically for python before but I am experienced in the language. Any additional guidelines would be very helpful! |
Hi @scharf-roie, definitely go for it! However, note that the work needed to be done is going to be in React/Typescript mostly - https://github.com/h2oai/wave/blob/master/ui/src/copyable_text.tsx. Please go through our contributing guide and set up your dev env first. Should you have any questions, do not hesitate to ask on our Discord :) |
Since 4 days have passed already, the issue is up for grabs again. |
Hi @mturoci, I am a student looking to contribute to Wave. This task seems like a good starting point, do you think I could take this issue? I propose a simple change to Also, I plan to add test case(s) for this, but I'm not sure I understand the current tests just by looking at them. Is there some resource for writing TypeScript tests for Wave that you could point me to? |
Hi @cvanvoorhis, please go ahead and create a PR.
Wave has 2 types of tests currently:
|
Thank you @mturoci! Been a little busy so I'm planning to get a PR up tomorrow when I have more time. |
Co-authored-by: Martin Turoci <[email protected]>
Discussed in #1302
Originally posted by azim-b March 22, 2022
can we add a
height
param to theui.copyable_text()
component?Example use case:
ui.copyable_text()
of same height)Description
Allow controlling height of the
ui.copyable_text
ifmultiline
is set to True. Should work the same asui.textbox
.The text was updated successfully, but these errors were encountered: