GCTC-NTGC / gc-digital-talent

GC Digital Talent is the new recruitment platform for digital and tech jobs in the Government of Canada. // Talents numériques du GC est la nouvelle plateforme de recrutement pour les emplois numériques et technologiques au gouvernement du Canada.
https://talent.canada.ca
GNU Affero General Public License v3.0
22 stars 9 forks source link

🐛 New top skills in showcase don't show immediately #11272

Open NienkeBr opened 2 months ago

NienkeBr commented 2 months ago

🐛 Bug

Describe the issue you encountered.

When adding a skill - that isn't in my skill library yet - to the top 10 technical skills as well as the top 5 behavioural skills of the skill showcase, it doesn't always show automatically after adding the item. There is a pop-up that says the skill is updated but the skill itself only appears in the list after refreshing the page.

It also happened that I added a third skill and instead of it automatically appearing in the list, one of the skills that was already there, disappeared from the list instead. Both reappeared after refreshing the page.

It doesn't happen all the time though, so I don't know why or exactly when it happens..

🦋 Expected Behaviour

What should be happening?

The skill should be automatically added to the list without needing to refresh the page.

🕵️ Details

Add any additional details that could assist with troubleshooting/fixing the issue.

Operating system: Windows 10 Browser: Edge

URL: /en/applicant/skills/showcase/top-10-technical-skills URL: /en/applicant/skills/showcase/top-5-behavioural-skills

📋 Steps to Reproduce

  1. Add a new skill to the Top 10 technical skills in the skill showcase that hasn't been added to the skill library yet
  2. Add a new skill to the Top 5 behavioural skills in the skill showcase that hasn't been added to the skill library yet

📸 Screenshot

Add a screenshot (if possible).

image

After page refresh: image

Screenshot with Web dev tool open. image

🙋‍♀️ Proposed Solution

(optional) Do you have a proposed solution?

✅ Acceptance Criteria

A set of assumptions which, when tested, verify that the bug was addressed.

vd1992 commented 2 months ago

Me and @mnigh have been unable to replicate Something to keep an eye out for if it keeps happening

vd1992 commented 2 months ago

Can replicate on UAT but not main

mnigh commented 5 days ago

I tried again locally (main branch) and on UAT and could not replicate the behaviour described on either environment. @NienkeBr are you still able to replicate the behaviour you described in this issue? If not, can we close this issue as can't repro?

UAT Screen recording

https://github.com/user-attachments/assets/75cb76b0-731f-4f11-b2de-429ce20d5df2

NienkeBr commented 5 days ago

Hi, yes, I can still replicate the issue.

https://github.com/user-attachments/assets/f8db11c3-28a8-453f-b666-9490a2924c90