oxidecomputer / oxidecomputer/console

Table bulk actions

Open
#424 2 comments 0 reactions 0 assignees View on GitHub

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.

image

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.