Files
cal.diy/packages/app-store
292073eb4a feat: make Salesforce WriteToObjectSettings entries editable with save/cancel functionality (#22440)
* feat: make Salesforce WriteToObjectSettings entries editable with save/cancel functionality

- Add editingRows and editingData state to track which rows are being edited
- Implement startEditing, cancelEditing, and saveEditing functions for row-level edit management
- Replace read-only existing entries with editable fields when in edit mode
- Add save/cancel buttons with appropriate icons (check/x) for each row
- Include field name validation to prevent duplicate entries
- Maintain existing delete functionality alongside new edit capabilities
- Update action column width to accommodate save/cancel buttons

Co-Authored-By: joe@cal.com <j.auyeung419@gmail.com>

* fix: address Code Rabbit review feedback for WriteToObjectSettings

- Fix spread operator usage to use editData instead of prev[key]
- Add validation for empty field names
- Implement single-row editing for better UX

Co-Authored-By: joe@cal.com <j.auyeung419@gmail.com>

---------

Co-authored-by: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
2025-07-17 10:48:54 -04:00
..
2025-02-04 20:45:44 +00:00
2024-09-21 02:10:12 +00:00
2025-03-05 14:58:02 -03:00
2024-09-21 02:10:12 +00:00
2025-02-27 03:58:17 +00:00
2025-01-10 14:47:18 +00:00
2025-04-16 14:27:53 +00:00
2024-09-21 02:10:12 +00:00
2025-02-19 18:20:47 +05:30
2024-09-21 02:10:12 +00:00
2025-05-22 09:18:45 -07:00
2025-03-20 21:30:51 -03:00
2023-11-22 12:19:30 -07:00