-
-
Notifications
You must be signed in to change notification settings - Fork 367
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Add keyboard shortcuts for setting a cell to NULL #936
Comments
hi @seancolsen can I work on this |
Go ahead @nk183, thanks! |
@nk183 Are you still working on this? We'll be working to close out this milestone soon, so we'll need to re-assign it to a core team member if we don't get a PR by 2022-04-19. Thanks. |
hi @Anish9901, I need some help on this. I have figured out the part of how to run the keyboard shortcut but I am unable to figure the file where I should make the desired changes and how to check whether the edit mode is enabled or not. |
I have completed setting up the keyboard shortcut. But I could not figure it out the "NOT NULL constraint" segment , can you please guide me on that? |
@AbhinavOhri Each Refer As part of this issue, if the column does not allow null, you should be showing a toast message and not send any requests. If it allows null, you can set the value in the cell to |
Hey @Anish9901 Because it has been 2 weeks since an update, can I work on this? |
Go ahead @ParthShirole |
@Anish9901 I am still working on this. I am done setting up the keybind. I had some doubts about the not null constraint due to which I did not open a draft PR. |
I understand that @AbhinavOhri but opening a draft PR helps us to keep track of the progress and since there wasn't one I assumed that no progress was made. Anyway, feel free to open a PR. |
Assigned this back to @AbhinavOhri since there's a PR open. |
can i work on this |
@Fares-Basousy there's already a PR under review for this. Please choose another issue. |
Hi, @Anish9901 can I work on this. as the last PR is in waiting for one month? |
@Pulkit0729 I think @rajatvijay is taking care of this issue. You can look through other issues to fix. |
Hello @Anish9901 |
Hey @siddhiagarkar, this issue is being worked on by one of our core team member and is therefore not up for grabs, please find other issues that might interest you. |
Desired behavior
Shift+Delete
orShift+Backspace
.Notes
The keyboard shortcuts should only be active when in select mode -- in edit mode there should not be any keyboard shortcuts for the user to set the cell value to NULL.
If the column has a NOT NULL constraint, then an error toast message should show before a request is sent to the server, and no changes should be made.
The toast message should read:
Within the toast message, the The column name should be stylized with the
Identifier
component and NULL should be stylized with theNull
component.If the cell is already NULL, then no request should be sent to the server and no toast message should display.
Additional context
Delete
orShift+Delete
.See also
The text was updated successfully, but these errors were encountered: