-
Notifications
You must be signed in to change notification settings - Fork 7
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
WIP feat(APP-3895): Implement various UX improvements #425
base: main
Are you sure you want to change the base?
Conversation
|
||
const inputLabels = !hideLabels ? { label: name, helpText: notice } : undefined; | ||
const formFieldName = proposalActionsDecoderUtils.getFieldName(fieldName, formPrefix); | ||
|
||
const commonProps = { placeholder: type, className, ...inputLabels }; | ||
const commonProps = { placeholder: '0x...', className, ...inputLabels }; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Couldn't find any mention to the fields placeholder on the Jira ticket, this component moreover is used for any transaction input and not just address
types, so a 0x...
placeholder would be wrong
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I interpreted that from below on ticket, but do agree that it's a bit tricky to extricate as the form/input relationship is fairly complex and we discussed at offsite that this has implications:
"When entering raw calldata for custom actions don’t pre-populate data with a value of “0x”. It should be placeholder text of “0x…”."
src/modules/components/proposal/proposalActions/proposalActionsItem/proposalActionsItem.tsx
Outdated
Show resolved
Hide resolved
tailwind.config.js
Outdated
@@ -290,9 +290,6 @@ module.exports = { | |||
}, | |||
p: { | |||
fontSize: theme('fontSize.base'), | |||
'@screen md': { | |||
fontSize: theme('fontSize.lg'), |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Let's double check this with design
Description
Task: APP-3895
Type of change
Checklist:
CHANGELOG.md
file after the [UPCOMING] title and before the latest version