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

#317: Improve validation logic and button formatting #563

Merged

Conversation

janoliver20
Copy link

Refactor validation to use a new hasData utility, ensuring non-empty strings are considered valid. Simplify button formatting for trigger group actions by removing unnecessary span closing tags. Added a utility function in dataUtils.ts to streamline data presence checks.

Refactor validation to use a new `hasData` utility, ensuring non-empty strings are considered valid. Simplify button formatting for trigger group actions by removing unnecessary span closing tags. Added a utility function in `dataUtils.ts` to streamline data presence checks.
Copy link

github-actions bot commented Dec 3, 2024

Test Results

0 tests  ±0   0 ✅ ±0   0s ⏱️ ±0s
0 suites ±0   0 💤 ±0 
0 files   ±0   0 ❌ ±0 

Results for commit a32b1eb. ± Comparison against base commit 94e3ed6.

Copy link
Member

@ja-fra ja-fra left a comment

Choose a reason for hiding this comment

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

A little clean-up suggestion, otherwise LGTM!

@janoliver20 janoliver20 merged commit 6656909 into develop Dec 3, 2024
3 checks passed
@janoliver20 janoliver20 deleted the 317-configuring-a-trigger---0-for-gps-data-throws-error branch December 3, 2024 07:36
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