node-tasks-app icon indicating copy to clipboard operation
node-tasks-app copied to clipboard

Maximum task title length

Open colmdoyle opened this issue 4 years ago • 1 comments

When we render open tasks, we do so with a checkbox which is a type of option. Per the documentation, an option has a maximum text length of 75 characters, so we need to handle that somehow.

colmdoyle avatar Jun 26 '21 20:06 colmdoyle

Up for debate how we do this. Possible options would be

Limit it at creation to 75 characters This would catch it right at the start, but is very limiting and in various places where we could render it (like Modals/Messages etc), we don't have the 75 character limit

Add an ellipsis (...) for long task titles Gives us flexibility to render longer where possible, but the task list on App Home is currently the most prominent place we render a task title. Could also truncate strangely.

Add a "read more" button Same as above, but also add a "read more" button that pushes a Modal with more detail. Might clutter up the UI.

colmdoyle avatar Jun 26 '21 20:06 colmdoyle