Bulk actions from data grid #3567
-
BackgroundWe're introducing folders to Engage templates. Users should be able to select multiple templates from a data grid, and then choose to move, remove, or create a folder. FeedbackI'm wondering what the best way to provide the above template actions once templates are selected in the data grid. I see from past discussions an 'actions' button is often used. Is the actions button persistent, even when rows aren't selected in the data grid? This could work for 'move' and 'remove' actions, but we already have 'create folder' as an option on the primary CTA, so I don't know how that jives with the 'actions' route. (Figma exploration) Stage of designMid-fi ResearchEngage audiences folder pattern Relevant linksAre you looking for visual design support?
Additional InformationNo response |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 3 replies
-
Disclaimer: This is a very experimental bot using OpenAI's GPT-4. The answers may not be correct, a human will review the answer and update it if necessary. Based on the Paste design system documentation, here are some suggestions for your design:
#### Actionable:
* Data grid cells lose the ability to focus. However, focusable elements inside each cell regain
their tabindex.
* The user can \[Tab] through all the focusable elements in the table.
* Pressing the \[Escape] key returns the user to **Navigational** mode, and moves the focus to the closest parent cell.
* When interacting with a component in a cell that also uses the \[Escape] key, the
user will need to press the \[Escape] key twice to return to **Navigational** mode.
### Standard
This is a standard create pattern. The create action is the primary action on the page, and clicking it will trigger an in-page interaction, such as opening a modal where the user will enter details about the new object.
The create action is placed at the top right of the area where the object will appear once it has been created. In this example, the entire page is dedicated to displaying the user’s services, so the “create new service” action is placed at the top of the page next to the page header.
Here are some similar discussions:
|
Beta Was this translation helpful? Give feedback.
-
Hey @tesshannel, we haven't formalized any guidelines around bulk table actions yet, especially because we've been waiting to see more use cases like these! But in general it's better to show the button as persistent, so there's some indication to customers about what type of actions are possible. See Katie's more detailed reply about this here: #942 This exploration you have could work, where the button stays persistent: When there's nothing selected, the "Move # templates to folder" button could still be enabled and clicking on it could pop a dialog telling a user to select something first. If you need to include an Remove action, it's fine if you need to put it inside an "Actions" menu, but still keep "Create" as the primary CTA next to it as a standalone action. Is that what you mean by whether it jives with the Actions route? Questions/comments:
|
Beta Was this translation helpful? Give feedback.
-
Ooh this is helpful, thank you!
1. We were thinking of copying the Audiences create pattern, which has the
user select 'audience / folder' from the create dropdown:
https://github.com/twilio-labs/paste/assets/3821840/cc61fdb6-ce73-4c37-83b4-fd84e0d1c179
2. Could the Actions button be in line with the tabs, kinda like this? I
think I prefer the Actions route as it provides more affordance for future
functionality like bulk delete, export, etc
https://github.com/twilio-labs/paste/assets/3821840/b347e5b8-f2b7-4af2-bc0c-61ac61b28c50
…On Tue, Oct 24, 2023 at 3:50 PM Sarah ***@***.***> wrote:
Hey @tesshannel
<https://urldefense.com/v3/__https://github.com/tesshannel__;!!NCc8flgU!b9o7yfD9JB94s6kTYn9fKFzN8MACBKOL25kmT54ocjzrLlIzkw2DNPcbvj2PCgtxFYEYPRcmR0mREe2mbie6agtmEQ$>,
we haven't formalized any guidelines around bulk table actions yet,
especially because we've been waiting to see more use cases like these! But
in general it's better to show the button as persistent, so there's some
indication to customers about what type of actions are possible. See
Katie's more detailed reply about this here: #942
<https://urldefense.com/v3/__https://github.com/twilio-labs/paste/discussions/942__;!!NCc8flgU!b9o7yfD9JB94s6kTYn9fKFzN8MACBKOL25kmT54ocjzrLlIzkw2DNPcbvj2PCgtxFYEYPRcmR0mREe2mbieYT-UqyQ$>
This exploration you have could work, where the button stays persistent:
[image: image]
<https://urldefense.com/v3/__https://user-images.githubusercontent.com/3821840/277822362-bd9f3529-26e0-4c0d-8a11-8165c5e125d5.png__;!!NCc8flgU!b9o7yfD9JB94s6kTYn9fKFzN8MACBKOL25kmT54ocjzrLlIzkw2DNPcbvj2PCgtxFYEYPRcmR0mREe2mbiefRRgRgg$>
When there's nothing selected, the "Move # templates to folder" button
could still be enabled and clicking on it could pop a dialog telling a user
to select something first.
If you need to include an Remove action, it's fine if you need to put it
inside an "Actions" menu, but still keep "Create" as the primary CTA next
to it as a standalone action. Is that what you mean by whether it jives
with the Actions route?
Questions/comments:
1. Does the "Create" button create a folder or a template?
2. If the Tabs are meant to swap the content in the Data Grid, you'll
have to have the width of the Tabs extend the full width of the Data Grid,
and move the actions underneath the tabs.
—
Reply to this email directly, view it on GitHub
<https://urldefense.com/v3/__https://github.com/twilio-labs/paste/discussions/3567*discussioncomment-7375131__;Iw!!NCc8flgU!b9o7yfD9JB94s6kTYn9fKFzN8MACBKOL25kmT54ocjzrLlIzkw2DNPcbvj2PCgtxFYEYPRcmR0mREe2mbieIzW_Xrg$>,
or unsubscribe
<https://urldefense.com/v3/__https://github.com/notifications/unsubscribe-auth/APFJSN22D5ZVFXEVCXP2DTLYBBA2PAVCNFSM6AAAAAA6H73LSOVHI2DSMVQWIX3LMV43SRDJONRXK43TNFXW4Q3PNVWWK3TUHM3TGNZVGEZTC__;!!NCc8flgU!b9o7yfD9JB94s6kTYn9fKFzN8MACBKOL25kmT54ocjzrLlIzkw2DNPcbvj2PCgtxFYEYPRcmR0mREe2mbiebWW4_YQ$>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
Beta Was this translation helpful? Give feedback.
Did an async office hours (basically) with Tess through Slack. Transcript here:
Tess:
Sarah: