-
Notifications
You must be signed in to change notification settings - Fork 841
Forms Update to use words in the single response actions. #45947
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
base: trunk
Are you sure you want to change the base?
Changes from 2 commits
a0af587
1aa55ca
8b40859
c97522c
d70e37e
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,4 @@ | ||
| Significance: patch | ||
| Type: changed | ||
|
|
||
| Forms: update the icons to now be label | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -130,6 +130,11 @@ | |
| } | ||
| } | ||
|
|
||
| .jp-forms__response-actions .components-button { | ||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I think you should be able to handle these spacings with HStack component; we sort of rarely need to add things like these anymore. |
||
| padding-left: 8px; | ||
| padding-right: 8px; | ||
| } | ||
|
|
||
| .jp-forms__inbox__tip-container { | ||
| border-top: 1px solid var(--jp-forms-border-color); | ||
| margin: 8px 0 0 0; | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -685,7 +685,7 @@ export const markAsReadAction: Action = { | |
| id: 'mark-as-read', | ||
| isPrimary: false, | ||
| icon: <Icon icon={ seen } />, | ||
| label: __( 'Mark as read', 'jetpack-forms' ), | ||
| label: __( 'Read', 'jetpack-forms' ), | ||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. @ilonagl I'm not sure this is a good rename; it's clearer "mark as read" in the dropdown
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. +1 |
||
| isEligible: item => item.is_unread, | ||
| supportsBulk: true, | ||
| async callback( items, { registry } ) { | ||
|
|
@@ -800,7 +800,7 @@ export const markAsUnreadAction: Action = { | |
| id: 'mark-as-unread', | ||
| isPrimary: false, | ||
| icon: <Icon icon={ unseen } />, | ||
| label: __( 'Mark as unread', 'jetpack-forms' ), | ||
| label: __( 'Unread', 'jetpack-forms' ), | ||
| isEligible: item => ! item.is_unread, | ||
| supportsBulk: true, | ||
| async callback( items, { registry } ) { | ||
|
|
||

Uh oh!
There was an error while loading. Please reload this page.