-
Notifications
You must be signed in to change notification settings - Fork 10
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(writer): ranged writes #66
base: main
Are you sure you want to change the base?
Conversation
What is the expected behaviour if:
|
Personally, I would allow it. Would actually be nice UX because you won't always know the size of the data you're writing so just clicking on a single column to get the range URL would be expected behavior |
It also seems like that's the behavior from the Google Sheets API since this currently works that way and I guess one of the aims is to maintain parity between extension behavior and API behavior |
One of the things I plan to use this feature for (thank you by the way!) is exactly this. I would love to just update a few columns of a spreadsheet and not have to specify the rows. |
Would you be open to adding a test that uses a few whole columns as a range? Something like |
Another question! Does this continue the prior behavior of clearing out the whole sheet upon write? Ideally, I would love to see just the specified range get cleared out prior to insertion. If it clears out the whole sheet, I don't think it will be as easy to use for my use case. Similarly, if it is append only, I don't think it would work for what I am hoping to use it for. |
Sure thing on adding the test. I think that's a good idea. I haven't tested that behavior myself. As for wiping the sheet before write and having append only writes, that behavior is the same since I didn't touch any of that. Let's create a new issue to track that. I've seen some comments sprinkled throughout that make me think this isn't how we want to do it long term but I also don't want to be the one to touch that right now without some direction since I'm still getting up to speed with the codebase and why we do things the way we do. |
Closes #58
Adds ranged writes to
COPY TO
. This should round out the full feature release of supporting ranges.