Skip to content

2551 Add new FF for priority wait time tooltip#855

Merged
eve-git merged 1 commit intobcgov:mainfrom
eve-git:2551-update
Nov 19, 2025
Merged

2551 Add new FF for priority wait time tooltip#855
eve-git merged 1 commit intobcgov:mainfrom
eve-git:2551-update

Conversation

@eve-git
Copy link
Collaborator

@eve-git eve-git commented Nov 18, 2025

Issue #: /bcgov/entity###
https://app.zenhub.com/workspaces/names-team-board-new-655554cbddd49510027dad2e/issues/zh/2551

Description of changes:

  • Add a new FF: PriorityWaitTimeTooltipText.
  • If the FF PriorityWaitTimeTooltipText has a non-empty value, display it as the tooltip in the Name Request UI.
  • If the FF PriorityWaitTimeTooltipText is either disabled or has an empty value, fall back to the default tooltip text (currently applied).
  • Do not display the tooltip only when priority time is disabled.

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 Nov 18, 2025

/gcbrun

@bcregistry-sre
Copy link
Collaborator

Temporary Url for review: https://namerequest-dev--pr-855-6nkwh4dy.web.app

return priorityToolTipText
}
// Return default text when no priority tooltip text is available from the feature flag
return `
Copy link
Collaborator

Choose a reason for hiding this comment

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

I was not able to see any tooltip for priority on the test page. Can you share the example how it will look like when flag is on, and when there is no flag ?

I did see the tooltip for the "New submission time"

Thank you!

Image

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Since the days value is disabled, the tooltip doesn’t appear. If you set the priority days to a value greater than zero, the tooltip will show up.

Copy link
Collaborator

Choose a reason for hiding this comment

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

If thats expected behavior then its OK
It would be good to have a sample if you have available how it will look like with FF turned on.

Copy link
Collaborator

@hfekete hfekete left a comment

Choose a reason for hiding this comment

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

Code looks good from my perspective, it would be good to have working example though.

@eve-git eve-git merged commit 75a5ac3 into bcgov:main Nov 19, 2025
1 check passed
hfekete added a commit that referenced this pull request Jan 22, 2026
* 30381 cleaned up some env keys and fixed breadcrumbs (#843)

* - deleted obsolete key VUE_APP_BUSINESSES_URL
- app = 5.5.46
- fixed Business Registry URL in Affiliation Error Modal
- fixed Staff Dashboard breadcrumb

* - updated browserslist

---------

Co-authored-by: Severin Beauvais <severin.beauvais@gov.bc.ca>

* 30656 Updated LaunchDarkly module to support orgs (#844)

* - app version = 5.6.0
- imported latest LD JS client SDK v3.9.0
- updated UpdateUserMixin to create contexts
- updated featureFlags module to use contexts

* - renamed updateUser -> updateLaunchDarkly
- used getter instead of computing KC roles again
- combined updateUser + updateLaunchDarkly
- renamed featureFlags.ts -> launchDarkly.ts
- misc cleanup

---------

Co-authored-by: Severin Beauvais <severin.beauvais@gov.bc.ca>

* 30554 DBA NR magic link (#846)

Co-authored-by: bobby <bobbyjin935@gmail.com>

* 29274 Upgraded to Vite (#845)

* - misc cleanup
- updated babel config file
- moved index.html from /public to /
- updated index.html
- deleted obsolete jest config file
- app version = 5.7.0
- updated scripts in package file
- deleted obsolete dependencies
- added necessary dependencies
- recreated pnpm lock file
- updated patch to use import.meta
- deleted obsolete postcss config file
- added robots file
- replaced process.env -> import.meta.env
- replaced JEST_WORKER_ID -> VITEST
- added woff2 fonts
- updated font sources in CSS
- replaced getBaseUrl with direct sessionstorage.getItem()
- fixed some image sources
- deleted obsolete payment-utils.ts
- changed getConfig to non-async
- added vuetify css import
- changed v-img to img
- deleted unused isJestRunning computed
- replaced appBaseURL -> namexApiUrl
- added check for valid user/org before callling UpdateLdUser
- added BASE_URL to session storage
- added NAMEX_API_URL to session storage
- updated Vuetify import
- deleted appBaseURL export
- deleted commented-out console.log
- commented out unneeded console.log (for now)
- updated unit tests
- updated types in tsconfig file
- added vite config file
- updated vue config file

* - fixed v-icon size and color

---------

Co-authored-by: Severin Beauvais <severin.beauvais@gov.bc.ca>

* Modify README for pnpm version and commands

Update pnpm installation and development commands

* 30987 Upgraded to Pinia (#847)

* - app version = 5.8.0
- installed Pinia dependencies
- updated Getter and Action decorators
- misc cleanup
- created Filing Types enum
- created Error interface
- created Payment models
- removed unneeded await for store actions
- converted Vuex Modules to separate stores
- created getStores plugin
- cleaned up error store
- cleaned up payment store
- delete env config
- deleted obsolete properties from main store state
- deleted unneeded stateModel property
- refactored actions and mutations into "sub store"
- refactored getters into "sub store"
- refactored state into "sub store"
- created new Pinia main store from sub stores
- now call mutations as functions instead of "commit"
- misc cleanup / type fixes
- moved getXXX in main.ts
- attached Vuex store to Vue instance
- mocked Vuex store for unit tests
- updated misc comments
- final commit with store as 3 sub-stores

* - changed actions back to exported functions
- changed getters back to exported functions
- changed state back to exported const
- updated store definition
- misc fixes and cleanup
- updated Reg Search API URL in example env

* - changed getNrState to return NrState
- cleaned up some typings
- changed getNrId to return number

* - attached Vuetify to Vue
- use current Vuetify instance to get breakpoint

* - small vault comment fixes
- approve building "vue-demi" to solve "missing export" issue

* - fixed "cannot read null key properties"

* - updated lockfile

- updated pnpm lock file

- lock file with pnpm v9

* - added exclude in Vite config

---------

Co-authored-by: Severin Beauvais <severin.beauvais@gov.bc.ca>

* 31112 define disabled wait time and change priority wait time to Days (#851)

* define disabled wait time and change priority wait time to Days

* update

* lint error

* Update

* linting

* update

* 30032 - NR Payments - Renewal Payments do not have option to add Folio Number (#853)

* bugfix: Add folio number to RENEW payment when the first payment already had it

- bump version to 5.8.3

* chore: Update folio number assignment logic to use PaymentAction.CREATE filter

* cleanup

* 29381 - xpro name allowed length increased from 40 to 60 (#852)

* Update `MRAS_MAX_LENGTH` constant to 60 in new-request constants

* version bump

* chore: bump version to 5.8.3

* Add new FF for priority wait time tooltip (#855)

* 2551 update priority tooltips (#856)

* update priority tooltips

* Remove unnecessary newline in stats.vue

* 29381 - rules and validation updates in name field (#857)

* fix: name input rules logic and add xpro validation

- add validation/disable button in sub search modal

* fix: correct defaultRules return order in name input component

* fix: update search button logic and add xpro name validation

- Update `isSearchBtnDisabled` logic for button disablement
- Add `isValidXproName` getter for XPRO name length validation

* chore: bump version to 5.8.6 and remove unused import in search component

* fix: adjust max length validation for XPRO name flow

- Use dynamic max length based on `isXproFlow` condition.

* 31568 - remove Release Notes link from the footer (#858)

* Update `MRAS_MAX_LENGTH` constant to 60 in new-request constants

* version bump

* chore: bump version to 5.8.3

* fix: remove "Release Notes" link from footer and update sbc-common-components patch

* build lock with pnpm 9

---------

Co-authored-by: Séverin Beauvais <severinbeauvais@users.noreply.github.com>
Co-authored-by: Severin Beauvais <severin.beauvais@gov.bc.ca>
Co-authored-by: bobdev-94 <jinbobby677@gmail.com>
Co-authored-by: bobby <bobbyjin935@gmail.com>
Co-authored-by: eve-git <54647458+eve-git@users.noreply.github.com>
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.

3 participants