Skip to content
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

Feat: Bulk Deletion #485

Merged
merged 9 commits into from
Aug 9, 2023
Merged

Conversation

TGlide
Copy link
Contributor

@TGlide TGlide commented Jul 31, 2023

What does this PR do?

  • Adds bulk deletion to Databases, Collections and Documents

Test Plan

Manual

Related PRs and Issues

Depends on #479

Have you read the Contributing Guidelines on issues?

Yes

@TGlide TGlide added the enhancement New feature or request label Jul 31, 2023
@TGlide TGlide self-assigned this Jul 31, 2023
@vercel
Copy link

vercel bot commented Jul 31, 2023

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
console ❌ Failed (Inspect) Aug 8, 2023 0:26am
console-cloud ❌ Failed (Inspect) Aug 8, 2023 0:26am
console-next ❌ Failed (Inspect) Aug 8, 2023 0:26am

type="checkbox"
bind:this={element}
bind:checked={value}
on:invalid={handleInvalid} />
on:invalid={handleInvalid}
on:click />
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

shouldn't on:click have a handler ?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nope, this forwards the event in case you need it

@@ -2,6 +2,7 @@
import type { Action } from 'svelte/action';

export let isSticky = false;
export let noMargin = false;
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

any reason we use noMargin=false instead of margin=true ?
It's harder to parse through conditions when using double negatives.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

While I do agree, this is something that's present console wise. If we change it here, we would have to change it everywhere, which is fine by me, but I'd like to run it by Torsten.

Also, if we do change it, I'd argue for hasMargin instead of just margin. Margin sounds like I'm going to pass in a numeric value

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yea sounds fair 👍 if this pattern is already being followed we can delay this decision for later.

Copy link
Member

@christyjacob4 christyjacob4 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Left some comments. Looks good otherwise 👌

@christyjacob4 christyjacob4 merged commit 98143ef into command-center-and-migrations Aug 9, 2023
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants