Skip to content

31097 Feature hotfix/remove priority bubble text#850

Merged
eve-git merged 3 commits intobcgov:feature-hotfix/remove-priority-bubble-textfrom
eve-git:feature-hotfix/remove-priority-bubble-text
Oct 30, 2025
Merged

31097 Feature hotfix/remove priority bubble text#850
eve-git merged 3 commits intobcgov:feature-hotfix/remove-priority-bubble-textfrom
eve-git:feature-hotfix/remove-priority-bubble-text

Conversation

@eve-git
Copy link
Collaborator

@eve-git eve-git commented Oct 30, 2025

Issue #: /bcgov/entity###
bcgov/entity#31097

Description of changes:
31097
for Regular Waiting Days and Priority Waiting Days in NameRequest page:

  1. if FF sets the days > 0, display the days and show the help bubble
  2. if FF sets the days == 0, display the days as '-' which means not available, and do not show the help bubble when mouse hover
  3. if FF sets the days < 0 or FF is disabled, display days from api stats.

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of the namerequest license (Apache 2.0).

@eve-git
Copy link
Collaborator Author

eve-git commented Oct 30, 2025

/gcbrun

@bcregistry-sre
Copy link
Collaborator

Temporary Url for review: https://namerequest-dev--pr-850-zwje2u5a.web.app

content-class="bottom-tooltip wait-time-tooltip"
transition="fade-transition"
:disabled="isMobile"
:disabled="isMobile || !showPriorityText"
Copy link
Collaborator

Choose a reason for hiding this comment

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

If possible, rename this to "showPriorityTooltip" to make it clear that's what is being shown or disabled.

Same for regular tooltip.

return regularWaitTime
} else {
return (this.getStats?.regular_wait_time ?? '-')
const flagRaw = GetFeatureFlag('hardcoded_regular_wait_time')
Copy link
Collaborator

Choose a reason for hiding this comment

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

Remember to update the check in created() (lines 116-117) so that the API stats are fetched if the FF is < 0 (ie, if it's -1 then we fetch from API).

Copy link
Collaborator

@severinbeauvais severinbeauvais left a comment

Choose a reason for hiding this comment

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

LGTM, and I've tested this in Dev.

Please make those small changes and then you can merge it. Good luck!

@eve-git
Copy link
Collaborator Author

eve-git commented Oct 30, 2025

/gcbrun

@bcregistry-sre
Copy link
Collaborator

Temporary Url for review: https://namerequest-dev--pr-850-zwje2u5a.web.app

@eve-git eve-git merged commit 3faaf5a into bcgov:feature-hotfix/remove-priority-bubble-text Oct 30, 2025
8 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.

4 participants