oxidecomputer / oxidecomputer/console
Table bulk actions
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 228
- Forks
- 22
- Avg merge
- 19h 42m
- Merged PRs (30d)
- 32
Description
Low priority because we can't actually do this yet on the API side and I'm not about to fire off a request for every selected row. But it will come in handy to have a generic thing in the table controls that takes a list of bulk actions, something like
{
label: ReactNode ,
action: (selectedRows: Row[]) => void
}
action could take IDs instead of the whole rows, but if everything is done by name, then we'll need names instead. Passing rows is more flexible, with no downside that I can see.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
No file or test is named. Start by locating the table controls and row-selection implementation, then check how the API-side limitation affects the design. Done means the table controls can accept generic bulk actions and invoke an action with the selected rows when the supporting API work is available.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- react, typescript
- Domain
- frontend
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100