Skip to content

Should forbid comma in "activity/category" fields in "add/update activity window" #758

Open
@rhertzog

Description

In the "add/edit activity" window, it's possible to input an activity name or a category name with a comma, but that is not allowed by the (command line) syntax. When you type a comma in those fields, the "Save" button is (correctly) greyed out but that's not a particularly pleasant user experience

Example:
image

In particular because the cmdline is still updated to reflect the comma in the activity or category and if you switch back to the cmdline and make further changes, it will interpret the input entirely differently and will overwrite all the other fields based on this new interpretation and it will thus re-enable the "Save" button:

image

It would be better to simply refuse to input the comma in the activity and category fields. You type it and nothing happens (or it's immediately removed).

/cc @Flupp @GeraldJansen @mwilck

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions