Skip to content

Conversation

@odeimaiz
Copy link
Member

@odeimaiz odeimaiz commented Aug 6, 2025

What do these changes do?

This PR simply renames the file jsondiffpatch.min.js to include its version number. In a previous PR this library was upgraded without changing its filename. This can make browsers not fetch the just upgraded library and use the one they have in the cache.

Since from some time now, users do not need to hard reload the app to get the latest version, this cached library could bring unexpected scenarios.

Related issue/s

How to test

Dev-ops

@odeimaiz odeimaiz self-assigned this Aug 6, 2025
@odeimaiz odeimaiz marked this pull request as ready for review August 6, 2025 09:53
@odeimaiz odeimaiz added this to the Voyager milestone Aug 6, 2025
@odeimaiz odeimaiz added t:enhancement Improvement or request on an existing feature a:frontend issue affecting the front-end (area group) labels Aug 6, 2025
@odeimaiz odeimaiz requested a review from Copilot August 6, 2025 09:53
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

This PR updates the JsonDiffPatch library reference to include a specific version number (0.7.3) in the filename and manifest configuration.

  • Updates the JsonDiffPatch library path to include version 0.7.3 in the filename
  • Ensures consistent naming between the JavaScript wrapper and manifest configuration

Reviewed Changes

Copilot reviewed 2 out of 3 changed files in this pull request and generated no comments.

File Description
JsonDiffPatch.js Updates the library path to include version number 0.7.3
Manifest.json Updates the external library reference to match the versioned filename
Comments suppressed due to low confidence (1)

services/static-webserver/client/Manifest.json:30

  • The filename format is inconsistent between the two files. In JsonDiffPatch.js it's 'jsondiffpatch-0.7.3.min.js' (with hyphen) but in Manifest.json it's 'jsondiffpatch.0.7.3.min.js' (with dot). These should match for consistency.
      "jsondiffpatch/jsondiffpatch.0.7.3.min.js",

@odeimaiz odeimaiz changed the title add version number 🐛 [Frontend] Enh: Include version number in 3r party jsondiffpatch file Aug 6, 2025
@odeimaiz
Copy link
Member Author

odeimaiz commented Aug 6, 2025

@mergify queue

@mergify
Copy link
Contributor

mergify bot commented Aug 6, 2025

queue

🟠 Waiting for conditions to match

  • -closed [📌 queue requirement]
  • any of: [🔀 queue conditions]
    • all of: [📌 queue conditions of queue default]
      • label=🤖-automerge
      • #approved-reviews-by >= 2 [🛡 GitHub branch protection]
      • #approved-reviews-by>=2
      • #changes-requested-reviews-by = 0 [🛡 GitHub branch protection]
      • #changes-requested-reviews-by=0
      • #review-threads-unresolved = 0 [🛡 GitHub branch protection]
      • #review-threads-unresolved=0
      • -conflict
      • -draft
      • base=master
      • branch-protection-review-decision = APPROVED [🛡 GitHub branch protection]
      • label!=🤖-do-not-merge
      • any of: [🛡 GitHub branch protection]
        • check-skipped = deploy to dockerhub
        • check-neutral = deploy to dockerhub
        • check-success = deploy to dockerhub
      • any of: [🛡 GitHub branch protection]
        • check-success = system-tests
        • check-neutral = system-tests
        • check-skipped = system-tests
      • any of: [🛡 GitHub branch protection]
        • check-success = unit-tests
        • check-neutral = unit-tests
        • check-skipped = unit-tests
      • any of: [🛡 GitHub branch protection]
        • check-success = check OAS' are up to date
        • check-neutral = check OAS' are up to date
        • check-skipped = check OAS' are up to date
      • any of: [🛡 GitHub branch protection]
        • check-success = integration-tests
        • check-neutral = integration-tests
        • check-skipped = integration-tests
      • any of: [🛡 GitHub branch protection]
        • check-success = build-test-images (frontend) / build-test-images
        • check-neutral = build-test-images (frontend) / build-test-images
        • check-skipped = build-test-images (frontend) / build-test-images
      • any of: [🛡 GitHub branch protection]
        • check-success = SonarCloud Code Analysis
        • check-neutral = SonarCloud Code Analysis
        • check-skipped = SonarCloud Code Analysis
  • -conflict [📌 queue requirement]
  • -draft [📌 queue requirement]
  • any of: [📌 queue -> configuration change requirements]
    • -mergify-configuration-changed
    • check-success = Configuration changed

@odeimaiz odeimaiz enabled auto-merge (squash) August 6, 2025 11:31
@sonarqubecloud
Copy link

sonarqubecloud bot commented Aug 6, 2025

@odeimaiz odeimaiz merged commit c5371bd into ITISFoundation:master Aug 6, 2025
58 checks passed
@odeimaiz odeimaiz deleted the fix/jsonDiffWithVersion branch August 6, 2025 13:43
@matusdrobuliak66 matusdrobuliak66 mentioned this pull request Aug 8, 2025
88 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

a:frontend issue affecting the front-end (area group) t:enhancement Improvement or request on an existing feature

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants