Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adds hidden field functionality to data source settings #1008

Merged
merged 1 commit into from
Apr 17, 2024

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".

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
11 of 12 checks passed
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.

2 participants