I've already essentially disabled the ability to change the log type in TasksEdit, since it was always conditional on there being no id field on the log, and now since logs always have a client-generated id, it will always be fixed. Therefore, pressing the + FAB (floating action button) will always create an activity, the default type. The most obvious alternative is probably to emit related actions, as described in the Material docs:
I've already essentially disabled the ability to change the log type in
TasksEdit
, since it was always conditional on there being noid
field on the log, and now since logs always have a client-generatedid
, it will always be fixed. Therefore, pressing the + FAB (floating action button) will always create an activity, the default type. The most obvious alternative is probably to emit related actions, as described in the Material docs:https://material.io/components/buttons-floating-action-button#types-of-transitions