Skip to content

Add URL param preselect support#226

Closed
ryanbasic1 wants to merge 1 commit intoArduPilot:mainfrom
ryanbasic1:preselect-dropdown-url
Closed

Add URL param preselect support#226
ryanbasic1 wants to merge 1 commit intoArduPilot:mainfrom
ryanbasic1:preselect-dropdown-url

Conversation

@ryanbasic1
Copy link

Adds support for pre-selecting vehicle, version, and board from URL parameters.

Example:
?vehicle=copter&version=stable&board=pixhawk

**- Frontend-only change

  • No backend changes
  • Safe fallback if parameters are invalid
  • Does not affect existing behavior

This allows external links to directly open pre-configured build selections.**
Closes #181

@shiv-tyagi
Copy link
Member

shiv-tyagi commented Feb 10, 2026

Hey! Thanks for the PR. Did you test it?

I think it requires more than just the frontend changes. Can you confirm if it works without that? Then I will do a full review.

@ryanbasic1
Copy link
Author

Hey! Yes — I tested it locally and confirmed it works with frontend-only changes.

The URL parameters correctly pre-select vehicle, version, and board, and invalid params fall back safely to defaults. No backend changes were needed for this to function.

I’ve pushed fixes in the latest commits to address the issues.

Please let me know if you’d like any additional changes or tests. Happy to adjust 👍

Adds support for pre-selecting vehicle, version, and board from URL parameters.

Example: ?vehicle=copter&version=stable&board=pixhawk

- Frontend-only change
- No backend changes
- Safe fallback if parameters are invalid
- Does not affect existing behavior

This allows external links to directly open pre-configured build selections.
@ryanbasic1 ryanbasic1 force-pushed the preselect-dropdown-url branch from 09ab069 to 9a111be Compare February 14, 2026 15:18
@ryanbasic1 ryanbasic1 closed this Feb 14, 2026
@ryanbasic1 ryanbasic1 deleted the preselect-dropdown-url branch February 14, 2026 17: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.

Allow passing vehicle, version and board in HTTP request to pre-select options in the dropdowns

2 participants