Skip to content

Conversation

@ushahidlee
Copy link
Contributor

@ushahidlee ushahidlee commented Apr 11, 2024

Issue

There is no way to persist fields in data source settings that arent user-modifiable. For example. the email data source needs to store the id of the last retrieved email to prevent it being imported multiple times.

Solution

This PR adds a field type of 'hidden' to the data source config form, allowing the system to hide config values from the user.

Testing

  • Data Source config forms appear and behave correctly.
  • The email data source form has an input of type=hidden in it called "incoming_last_uid".

@linear
Copy link

linear bot commented Apr 11, 2024

@ushahidlee ushahidlee requested a review from tuxpiper April 11, 2024 10:44
@ushahidlee ushahidlee marked this pull request as ready for review April 11, 2024 12:04
Copy link
Member

@tuxpiper tuxpiper left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nice 👍

@tuxpiper
Copy link
Member

Heads up though that e2e-tests are red

@ushahidlee ushahidlee merged commit 23a19f4 into development Apr 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants