-
Notifications
You must be signed in to change notification settings - Fork 1.1k
feat(site): add bulk delete for tasks #20905
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
Conversation
e90e182 to
fecb385
Compare
aslilac
left a comment
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 feel like the text/stages could use a little more tweaking. I expect people to care a lot less about what terraform resources are being destroyed when deleting a task than they would when deleting workspaces that people actually ssh into.
and as danielle was saying, I definitely think we should convert the styles to tailwind. the goal has been "no new emotion styles, full stop" for quite a while. this would even be a good opportunity to convert the styles of the components these are taking from. leave the campsite better than you found it!
166b19d to
e9b3b69
Compare
e9b3b69 to
89dd770
Compare
|
@aslilac @DanielleMaywood I believe I've addressed your feedback. PTAL (I haven't approved Chromatic changes yet so you can check those out too.) Also: #20946 |
|
@DanielleMaywood could you highlight the difference? I don't see it. |
On the tasks page, when you bulk select the rows change color, when they don't on the workspaces page. Notice the rows have a different color in the screenshots |
|
Ah, nvm. See it now. The color changes. Not sure if it's better or worse but I can align. |
1584949 to
af188b1
Compare
DanielleMaywood
left a comment
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.
From my side I'm happy
Add comprehensive documentation for active frontend pattern migrations discovered through analysis of 200+ git commits touching site/ files: Core Migrations: - Emotion → Tailwind CSS (strict 'no new emotion' policy) - MUI Components → Custom/Radix/shadcn (Tooltips, Tables, Buttons) - MUI Icons → lucide-react with specific icon mappings - spyOn → queries parameter for GET endpoint mocks in Storybook - localStorage → user_configs table for user preferences New Documentation: - Icon migration mappings (BusinessIcon→Building2Icon, etc.) - Radix component prop naming conventions (placement→side) - cn() utility usage for conditional className merging - Chromatic testing best practices (prefer snapshots over assertions) Includes concrete before/after examples and migration patterns to guide developers away from deprecated approaches toward current best practices. Analysis based on PRs: #20948, #20946, #20938, #20905, #20900, #20869, #20849, #20808, #20530, #20479, #20261, #20201, #20200, #20193, #20318 --- 🤖 This change was written by Claude Sonnet 4.5 Thinking using mux and reviewed by a human 🏂


This change implements bulk delete for tasks, closely copying UI and components from workspaces batch actions.
Since workspace batch actions are behind a feature, we add one for tasks as well.
Fixes coder/internal#1088
🤖 PR was written by Claude Sonnet 4.5 Thinking and reviewed by a human 🏂🏻