Skip to content

Conversation

@bolinocroustibat
Copy link
Contributor

@bolinocroustibat bolinocroustibat commented Jan 27, 2026

Add tooltip to explain why tag suggestion button is disabled

Adds a tooltip to the tag suggestion button in DescribeDataset.vue to explain why it's disabled, matching the behavior of the short description suggestion button and of #884.

The tooltip shows:

  • Missing fields (title, description) when the button is disabled
  • Maximum tags reached message when 5 tags are already present

This improves UX by clarifying why the feature is unavailable.

:icon="RiSparklingLine"
:loading="isGeneratingTags"
:disabled="!canGenerateTags"
:disabled="!!tagsSuggestionDisabledMessage"
Copy link
Contributor

Choose a reason for hiding this comment

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

if there is tagsSuggestionDisabledMessage this button is never rendered

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Not sure I get you; the "normal" (not the disabled) BrandedButton component is in he v-else condition, so it is rendered when tagsSuggestionDisabledMessage is empty. But we can actully get rid of :disabled="!!tagsSuggestionDisabledMessage" which is redundant

Copy link
Contributor

Choose a reason for hiding this comment

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

Yes, disabled is never true since it's in the v-else

@bolinocroustibat bolinocroustibat merged commit 62400ab into main Jan 27, 2026
3 checks passed
@bolinocroustibat bolinocroustibat deleted the suggest-tags-tooltip branch January 27, 2026 18:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

2 participants