Skip to content

Conversation

@guigro
Copy link
Contributor

@guigro guigro commented Nov 10, 2025

Summary

  • Add new "Add to existing Row" input event that appends values to existing rows based on a key identifier
  • Optimize data fetching to only fetch column A first, then the specific row (instead of fetching all columns A:ZZ)
  • Update README with documentation for the new feature

How it works

  • The first value is used as a key (ID) to find the row
  • If the key exists: values are appended at the end of that row
  • If the key doesn't exist: a new row is created with the key + values

Performance optimization

Instead of fetching all columns upfront, the code now:

  1. Fetches only column A to find the matching key
  2. Fetches only the specific row to determine its length
  3. Appends values at the correct position

This reduces data transfer significantly while maintaining full functionality.

@chetbox
Copy link
Collaborator

chetbox commented Nov 11, 2025

This is neat, thanks so much! I left just a couple of comments for improvements.

Changed from fetching all columns (A:ZZ) to:
1. First fetch only column A to find the key
2. Then fetch only the specific row to get its length

This reduces data transfer while maintaining full functionality of appending values to existing rows.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
Copy link
Collaborator

Choose a reason for hiding this comment

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

One last tiny thing, could you remove this file? It's not a big deal but we just like to keep our repo so only necesary files are included.

@chetbox
Copy link
Collaborator

chetbox commented Nov 19, 2025

Thanks so much for this feature @guigro! ⚙️

@chetbox chetbox merged commit e825a3d into clockwork-dog:main Nov 19, 2025
1 check passed
@chetbox
Copy link
Collaborator

chetbox commented Nov 19, 2025

This feature has been released in v0.3.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants