Skip to content

Conversation

@Nicolass67
Copy link
Contributor

PR description

What

  • Auto select the Reference in the top bar when a matching solvent is found
  • Use a robust matcher on solvent label and name
  • Keep manual choice if a Reference is already set

Why

Restores expected behavior where the solvent reference is preselected

How

  • Build a normalized solvent key from feature metadata
  • Score each candidate and choose the best one
  • Select value is now ref.name

@PiTrem PiTrem requested review from PiTrem and Copilot November 5, 2025 15:42
@Nicolass67 Nicolass67 force-pushed the feat/auto-select-solvent-reference branch from 5ee13de to 0c9e0a6 Compare November 5, 2025 15:49
@Nicolass67 Nicolass67 marked this pull request as ready for review November 5, 2025 15:57
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

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

Copilot encountered an error and was unable to review this pull request. You can try again by re-requesting a review.

@PiTrem PiTrem linked an issue Nov 7, 2025 that may be closed by this pull request
@PiTrem PiTrem merged commit 55cbb6b into master Nov 7, 2025
4 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.

Solvent not automatically selected in reference dropdown

3 participants