bcgov / bcgov/entity

Research - sbc-common-components, UIs: change use of navigator.userAgent / appVersion / platform

Open
#13,799 2 comments 0 reactions 0 assignees View on GitHub
ENTITY - DO NOT USE techdebt timeboxed
Dominant language
JavaScript
Stars
23
Forks
62
Avg merge
24m
Merged PRs (30d)
1

Description

While running an Entity UI in Dev, the following issue was flagged in the Chrome Network tab:

![image.png](https://images.zenhubusercontent.com/5d0a7edda4644173e93bf808/9cc09163-8685-4cbf-8ece-b1e12efc46d4)

I found the following code files that uses one of the affected calls:

1. addresscomplete-2.30.min.js (**this should be updated in all UIs**; please create another ticket(s) if needed)
2. BrowserVersionAlert.js
3. MobileDeviceAlert.vue

**Note that Chrome is already at version 105.**

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reviewing BrowserVersionAlert.js and MobileDeviceAlert.vue, then locate the affected navigator.userAgent, appVersion, and platform uses in the UIs. Check how addresscomplete-2.30.min.js is included and whether its update needs separate tickets. Done means the affected uses are addressed across the relevant UIs and the Entity UI no longer reports the issue in Chrome's Network tab.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
frontend
Issue type
Refactor
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.