Skip to content

Convert PreflightStatusPanel to TS#205

Merged
ntamas merged 4 commits into
devfrom
uav-details-dialog-ts-conversion
Jun 10, 2026
Merged

Convert PreflightStatusPanel to TS#205
ntamas merged 4 commits into
devfrom
uav-details-dialog-ts-conversion

Conversation

@volfpeter

Copy link
Copy Markdown
Contributor

I removed the PreflightCheckResult enum to avoid conversions from the flockwave message. The types match, except Live adds an extra unknown option, which I didn't want to remove. Let me know if you'd prefer removing the unknown option or restoring the enum and converting in the getPreflightStatus() query.

@volfpeter volfpeter requested a review from ntamas June 10, 2026 12:31
Comment thread src/components/MiniTable.tsx
@ntamas

ntamas commented Jun 10, 2026

Copy link
Copy Markdown
Member

Looks fine to me; I don't mind removing the PreflightCheckResult enum now that we have a lower-level spec module (we did not have it at the time when this was introduced).

See my single comment above.

@ntamas ntamas merged commit a1b7f79 into dev Jun 10, 2026
4 checks passed
@ntamas ntamas deleted the uav-details-dialog-ts-conversion branch June 10, 2026 14:07
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