I have several JavaScript triggers that change the look of entries in the list view. Specifically, my scripts change fields that are set to appear in the 'Entry description' and 'Entry status'. They also change the background color of the entry as it appears in the list view using a Color field that is linked to the background color using the 'Entry background color' in the main tab of 'Edit library' screen.
My JavaScript triggers work fine when I set them to run in the BEFORE SAVE phase, but deep triggers are computationally intense because they need to calculate a lot of stuff, so they hold up the interface. But when I changed them to run in the AFTER SAVE phase, the user interface doesn't update until I do something else like cause another trigger to run. I have checked that my scripts are updating the fields as expected, it's simply that the updating of the fields does not trigger the expected change in the user interface.
How do I fix this?
Note that I am not using the ui() API. I am purely updating fields in the entries in my database. Note also that I'm using the Android app.
Thanks.