Skip to content

feat(inventory): label info popover and improve error guidance#2973

Merged
PiTrem merged 2 commits intomainfrom
add-info-button-for-inventory-label-field-in-sample-properties-tab
Mar 3, 2026
Merged

feat(inventory): label info popover and improve error guidance#2973
PiTrem merged 2 commits intomainfrom
add-info-button-for-inventory-label-field-in-sample-properties-tab

Conversation

@adambasha0
Copy link
Contributor

What: Adds an info popover to the Inventory label input and improves error messaging.
Why: Users previously had no clear guidance about where to configure inventory labels and did not have an accessible navigation link to the docs.

Changes:

  • Replaced tooltip with Bootstrap Popover (interactive, persistent until dismissed) next to the Inventory label field.
  • The popover content explains where to create/assign inventory labels and the link to documentation of the feature and has the documentation link of the feature.
  • Error messages updated to point users to Account & Profile → Sample Inventory Label and explain required steps (assign name, prefix, starting counter).

  • rather 1-story 1-commit than sub-atomic commits

  • commit title is meaningful => git history search

  • commit description is helpful => helps the reviewer to understand the changes

  • code is up-to-date with the latest developments of the target branch (rebased to it or whatever) => ⏩-merge for linear history is favoured

  • added code is linted

  • tests are passing (at least locally): we still have some random test failure on CI. thinking of asking spec/examples.txt to be commited

  • in case the changes are visible to the end-user,  video or screenshots should be added to the PR => helps with user testing

  • testing coverage improvement is improved.

  • CHANGELOG :  add a bullet point on top (optional: reference to github issue/PR )

  • parallele PR for documentation  on docusaurus  if the feature/fix is tagged for a release

 - Add an interactive info popover next to the Inventory label field explaining where to create/assign inventory labels and the link to documentation of the feature.
 - Replace transient tooltip with a popover so the documentation link is clickable.
 - Improve user-facing error messages when no inventory label is found; point users  to Account & Profile → Sample Inventory Label.
@adambasha0 adambasha0 self-assigned this Feb 26, 2026
Copilot AI review requested due to automatic review settings February 26, 2026 11:16
@adambasha0 adambasha0 linked an issue Feb 26, 2026 that may be closed by this pull request
@adambasha0
Copy link
Contributor Author

image

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.

Pull request overview

This pull request enhances user guidance for the inventory label feature by replacing a tooltip with an interactive Bootstrap Popover and improving error messaging. The changes provide clearer instructions on where to configure inventory labels and include a direct link to the documentation.

Changes:

  • Added an info popover with detailed guidance next to the Inventory label field
  • Improved error messages to provide specific navigation instructions to Account & Profile → Sample Inventory Label
  • Refactored the inventory label section to accommodate the new info button alongside the label

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@adambasha0 adambasha0 force-pushed the add-info-button-for-inventory-label-field-in-sample-properties-tab branch from e555105 to 64f340f Compare February 26, 2026 12:02
@PiTrem PiTrem changed the title Add inventory-label info popover and improve error guidance feat(inventory): label info popover and improve error guidance Mar 3, 2026
@PiTrem PiTrem merged commit 3c955c4 into main Mar 3, 2026
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Inventory label button

4 participants