Comments (3)
sure @pacyL2K19, thank you!
from twenty.
Disclaimer: This comment was automatically generated with AI. It can give some useful hints as to where to look for, but sometimes it can also give very inaccurate answers so takes this with a pinch of salt :).
To fix the 'Delete' option in the Kanban board contextual menu:
- Open
RecordBoardColumnNewOpportunityButton.tsx
. - Locate the
useDeleteOneRecord
hook. - Ensure the
deleteRecord
function is correctly called within the contextual menu's 'Delete' option handler. - Verify that the
deleteRecord
function is properly updating the state to reflect the deletion.
Example:
const handleDelete = (recordId) => {
deleteRecord(recordId).then(() => {
// Update state or refetch data to remove the deleted record from the UI
});
};
- Ensure the contextual menu's 'Delete' option calls
handleDelete
with the correct record ID.
References
from twenty.
I can pick this up @charlesBochet
from twenty.
Related Issues (20)
- [Timebox] Refactor Messaging and Calendar modules HOT 1
- [Timebox] Clean 400 API Errors in Sentry HOT 1
- UI Overlap and State Persistence in Filter Menus HOT 1
- Inconsistent Tab Layouts on Record Pages HOT 1
- Relations many field HOT 1
- Add a Skip Button to the Onboarding Invite Team Screen HOT 1
- Optimize Effect state sync components in Index scope HOT 1
- Clean up V2 and refactoring leftover HOT 1
- Remove custom events for table cell managemnet HOT 1
- Optimistic effect on create should be modified HOT 1
- Migrate to twenty-ui HOT 1
- Remove CSS modules HOT 1
- Create alert banner component HOT 1
- Update Link Chip Styles and Hover Effects HOT 1
- Hover Not Triggered on First Row from Top Field Bar HOT 2
- Border-Radius on Calendar HOT 2
- Remove Right-Edge Gap in Table Cell Display HOT 1
- Selected Line Not Fully Highlighted in Blue HOT 1
- Update Country Selector background color HOT 2
- Improve Relation Picker Loading Sequence HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from twenty.