Task enter screen: Don't load contexts via ajax (autocomplete)
The context field on task enter screen is set to autocomplete via ajax. This request takes long time and slows down task entering.
I suggest to preload them (don't do a remote autocomplete), because users normally won't have a huge load of contexts. This could also be done for projects.
I can implement this, if there aren't any objections.
Some notes for the implementer:
List has to be extended if a new context is created.
I suggest to preload them (don't do a remote autocomplete), because users normally won't have a huge load of contexts. This could also be done for projects.
I can implement this, if there aren't any objections.
Some notes for the implementer:
List has to be extended if a new context is created.
Leave a comment
I would welcome this feature, because it speeds up data entry.
A clear problem though is when people work with multiple tabs where they create a new context in one tab and expect it to be then instantaneously present in the autocomplete in the other tab (without another reload).
A clear problem though is when people work with multiple tabs where they create a new context in one tab and expect it to be then instantaneously present in the autocomplete in the other tab (without another reload).
I begun with this ticket here: https://github.com/u2ix/tracks/tree/feature-autocomplete (diff)
@popsch I could add an update to TodoController#check_deferred which is called via ajax periodically. But this won't be 'instantaneously'. Do you think this is a big problem?
@popsch I could add an update to TodoController#check_deferred which is called via ajax periodically. But this won't be 'instantaneously'. Do you think this is a big problem?
Migrated to GitHub issue #1188