ushahidi / platform

Ushahidi Platform API version 3+
http://ushahidi.com
Other
665 stars 502 forks source link

Ush 1164 - Gmail settings #4918

Closed ushahidlee closed 1 month ago

ushahidlee commented 1 month ago

Issue

Each visit to a data source settings page, rewrites the entire config for the data source, wiping out any data that isnt included in the form.

Solution

This PR adds a hidden field to store the id of the last retrieved email which will persist even when settings are changed. It works in combination with a frontend PR (https://github.com/ushahidi/platform-client-mzima/pull/1008).

Testing

linear[bot] commented 1 month ago

USH-1164 Gmail should work when setup as a data source via email