3 ms·
Nice work - The link is broken due to the `www.`, works fine without it https://thezentask.netlify.app https://thezentask.netlify.app A couple of suggestions:
by loueed 2y ago
Nice work - The link is broken due to the `www.`, works fine without it https://thezentask.netlify.app https://thezentask.netlify.app
A couple of suggestions:
1. Instead of multiple tiny inputs, you could have a single form with a date picker which defaults to todays date. Clicking a column header could set the date input value.
2. An end user wont know about the formatting requirements for entering task duration. A more user friendly option would be to parse the duration from the task name. Using some regex to match, heres an example.
// Look for time patterns like "30min", "1h", "2 hours", etc.
const timeRegex = /(\d+)\s*(min|mins|minutes|h|hr|hrs|hours)/;
const match = text.match(timeRegex);