Releases: MikaStiebitz/React-Modern-Gantt
Releases · MikaStiebitz/React-Modern-Gantt
v0.6.1 - Granular Editing Controls
🎛️ New Feature: Fine-Grained Permission Control
Added three new props for precise control over editing features:
allowProgressEdit- Enable/disable progress bar editing independentlyallowTaskResize- Control task resizing via handlesallowTaskMove- Control task drag & drop
Key Highlights
✅ Master Switch: editMode acts as global on/off, new props provide fine-grained control
✅ UI Feedback: Cursors and handles adapt to permissions
✅ 100% Backwards Compatible: All new props are optional with sensible defaults
Example Usage
// Show progress without allowing edits
<GanttChart
tasks={tasks}
showProgress={true}
allowProgressEdit={false}
/>
// Allow movement but not resizing
<GanttChart
tasks={tasks}
allowTaskResize={false}
allowTaskMove={true}
/>Previous Features (v0.5.x)
- ⚡ Performance optimization (500-interval limit for Minute View)
- 🔄 Infinite scroll with automatic timeline extension
- 📊 Enhanced progress bar UI with larger handles
Install
npm install [email protected]
or
npm install react-modern-gantt@latest