Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MB-15974 - upgrades react-router and react-router-dom versions #10805

Merged
merged 3 commits into from
Jun 6, 2023

Conversation

felipe-lee
Copy link
Contributor

@felipe-lee felipe-lee commented Jun 1, 2023

Jira ticket

Summary

Upgrades react-router and react-router-dom versions. Replaces #10777 and #10754.

We can't update to the latest versions because it breaks our react-admin site. Per react-admin's troubleshooting docs, we need to match the versions they're using, so we need to set resolutions. A bit of a pain because now we'll need to keep them in sync.

This update also requires an update to some of our FE routes because the maintainers removed support for partial dynamic parameters. Kyle wrote up some info in a post to inform the design and product teams (post was the same and as of now, only the design one has non-emoji comments on it). Here it is for ease:

Hey, radiating some intent real quick:
Currently whenever an office user creates a new shipment on behalf of a customer, they're directed to a page with a URL pattern that's something like [baseURL]/moves/[moveId]/new-[shipmentType] (so, like, https://office.demo.dp3.us/counseling/moves/9JGX7K/new-PPM)
The developers who wrote the library which we use to show correct content based on the active URL consider this pattern to be a bug, which they have "fixed" in all updated versions of their library. (They also use the phrase "partial splat" to describe this pattern, which is fun to say out loud!) As a result, we're going to need to change the URL for this functionality if we want to keep up to date with updates for this package.
My idea is to change it to something like [baseURL]/moves/[moveId]/newShipment/[shipmentType]. It's not a heavy lift from the engineering side of things, and we'll obviously check to ensure that any links which use the old pattern will use the new one. It doesn't affect any functionality between the front end and the server, nor does it affect the Prime's API in any way. Since this is nominally changing some existing functionality, I wanted to make product and design aware of it.

Release Notes & Changelog

Release notes

Sourced from react-router's releases.

v6.11.2

Patch Changes

  • Fix basename duplication in descendant <Routes> inside a <RouterProvider> (#10492)
  • Fix bug where initial data load would not kick off when hash is present (#10493)
  • Export SetURLSearchParams type (#10444)
  • Fix Remix HMR-driven error boundaries by properly reconstructing new routes and manifest in _internalSetRoutes (#10437)

Full Changelog: https://github.com/remix-run/react-router/compare/react-router@6.11.1...react-router@6.11.2

v6.11.1

Patch Changes

  • Fix usage of Component API within descendant <Routes> (#10434)
  • Fix bug when calling useNavigate from <Routes> inside a <RouterProvider> (#10432)
  • Fix usage of <Navigate> in strict mode when using a data router (#10435)
  • Fix basename handling when navigating without a path (#10433)
  • "Same hash" navigations no longer re-run loaders to match browser behavior (i.e. /path#hash -> /path#hash) (#10408)

Full Changelog: https://github.com/remix-run/react-router/compare/react-router@6.11.0...react-router@6.11.1

v6.11.0

What's Changed

Minor Changes

  • Enable basename support in useFetcher (#10336)
    • If you were previously working around this issue by manually prepending the basename then you will need to remove the manually prepended basename from your fetcher calls (fetcher.load('/basename/route') -> fetcher.load('/route'))
  • Updated dependencies:

Patch Changes

  • When using a RouterProvider, useNavigate/useSubmit/fetcher.submit are now stable across location changes, since we can handle relative routing via the @remix-run/router instance and get rid of our dependence on useLocation() (#10336)
    • When using BrowserRouter, these hooks remain unstable across location changes because they still rely on useLocation()
  • Fetchers should no longer revalidate on search params changes or routing to the same URL, and will only revalidate on action submissions or router.revalidate calls (#10344)
  • Fix inadvertent re-renders when using Component instead of element on a route definition (#10287)
  • Fail gracefully on <Link to="//"> and other invalid URL values (#10367)
  • Switched from useSyncExternalStore to useState for internal @remix-run/router router state syncing in <RouterProvider>. We found some subtle bugs where router state updates got propagated before other normal useState updates, which could lead to foot guns in useEffect calls. (#10377, #10409)
  • Log loader/action errors caught by the default error boundary to the console in dev for easier stack trace evaluation (#10286)
  • Fix bug preventing rendering of descendant <Routes> when RouterProvider errors existed (#10374)
  • Fix detection of useNavigate in the render cycle by setting the activeRef in a layout effect, allowing the navigate function to be passed to child components and called in a useEffect there (#10394)
  • Allow useRevalidator() to resolve a loader-driven error boundary scenario (#10369)
  • Enhance LoaderFunction/ActionFunction return type to prevent undefined from being a valid return value (#10267)
  • Ensure proper 404 error on fetcher.load call to a route without a loader (#10345)
  • Decouple AbortController usage between revalidating fetchers and the thing that triggered them such that the unmount/deletion of a revalidating fetcher doesn't impact the ongoing triggering navigation/revalidation (#10271)

Full Changelog: https://github.com/remix-run/react-router/compare/react-router@6.10.0...react-router@6.11.0

... (truncated)

Changelog

Sourced from react-router's changelog.

6.11.2

Patch Changes

  • Fix basename duplication in descendant <Routes> inside a <RouterProvider> (#10492)
  • Updated dependencies:
    • @remix-run/router@1.6.2

6.11.1

Patch Changes

  • Fix usage of Component API within descendant <Routes> (#10434)
  • Fix bug when calling useNavigate from <Routes> inside a <RouterProvider> (#10432)
  • Fix usage of <Navigate> in strict mode when using a data router (#10435)
  • Updated dependencies:
    • @remix-run/router@1.6.1

6.11.0

Patch Changes

  • Log loader/action errors to the console in dev for easier stack trace evaluation (#10286)
  • Fix bug preventing rendering of descendant <Routes> when RouterProvider errors existed (#10374)
  • Fix inadvertent re-renders when using Component instead of element on a route definition (#10287)
  • Fix detection of useNavigate in the render cycle by setting the activeRef in a layout effect, allowing the navigate function to be passed to child components and called in a useEffect there. (#10394)
  • Switched from useSyncExternalStore to useState for internal @remix-run/router router state syncing in <RouterProvider>. We found some subtle bugs where router state updates got propagated before other normal useState updates, which could lead to footguns in useEffect calls. (#10377, #10409)
  • Allow useRevalidator() to resolve a loader-driven error boundary scenario (#10369)
  • Avoid unnecessary unsubscribe/resubscribes on router state changes (#10409)
  • When using a RouterProvider, useNavigate/useSubmit/fetcher.submit are now stable across location changes, since we can handle relative routing via the @remix-run/router instance and get rid of our dependence on useLocation(). When using BrowserRouter, these hooks remain unstable across location changes because they still rely on useLocation(). (#10336)
  • Updated dependencies:
    • @remix-run/router@1.6.0

6.10.0

Minor Changes

  • Added support for Future Flags in React Router. The first flag being introduced is future.v7_normalizeFormMethod which will normalize the exposed useNavigation()/useFetcher() formMethod fields as uppercase HTTP methods to align with the fetch() behavior. (#10207)

    • When future.v7_normalizeFormMethod === false (default v6 behavior),
      • useNavigation().formMethod is lowercase
      • useFetcher().formMethod is lowercase
    • When future.v7_normalizeFormMethod === true:
      • useNavigation().formMethod is uppercase
      • useFetcher().formMethod is uppercase

Patch Changes

  • Fix route ID generation when using Fragments in createRoutesFromElements (#10193)
  • Updated dependencies:

... (truncated)

Commits

Verification Steps for Reviewers

These are to be checked by a reviewer.

ephemeral deployment links:
https://admin-milmove-pr-10805.mymove.sandbox.truss.coffee/
https://office-milmove-pr-10805.mymove.sandbox.truss.coffee/

Setup to Run the Code Locally

How to test

Route changes

  1. Launch the office app.
  2. Log in as a service counselor.
  3. Select a move that needs counseling.
  4. Attempt to add a new shipment.
    1. You should see that the URL follows the new pattern at the end /new-shipment/:shipmentType rather than the old pattern of /new-:shipmentType. I.e. you should see something like /new-shipment/PPM rather than /new-PPM

Ensuring Admin works

  1. Launch admin app.
  2. Log in as an admin user and ensure app still seems to work. It failed to load completely when we upgraded to the latest versions of react-router and react-router-dom.

Frontend

  • There are no aXe warnings for UI.
  • This works in Supported Browsers and their phone views (Chrome, Firefox, Edge).
  • There are no new console errors in the browser devtools.
  • There are no new console errors in the test output.
  • If this PR adds a new component to Storybook, it ensures the component is fully responsive, OR if it is intentionally not, a wrapping div using the officeApp class or custom min-width styling is used to hide any states the would not be visible to the user.

Screenshots

image

@robot-mymove
Copy link

robot-mymove commented Jun 1, 2023

Messages
📖 🔗 MB-15974

Generated by 🚫 dangerJS against 18ef91c

@github-actions
Copy link

github-actions bot commented Jun 1, 2023

Bundle Stats

Hey there, this message comes from a GitHub action that helps you and reviewers to understand how these changes affect the size of this project's bundle.

As this PR is updated, I'll keep you updated on how the bundle size is impacted.

Total

Files count Total bundle size % Changed
271 12.18 MB 0%

Changeset

No files were changed

View detailed bundle breakdown

Added

No assets were added

Removed

No assets were removed

Bigger

No assets were bigger

Smaller

No assets were smaller

Unchanged

Asset File Size % Changed
static/js/2254.c207839d.chunk.js 1.43 MB 0%
static/css/8513.6eb2228e.chunk.css 1.34 MB 0%
static/js/main.b66c8aa7.js 932.41 KB 0%
static/js/4255.102f7818.chunk.js 904.99 KB 0%
static/media/hero.bf01157b9686e90e34dd.png 609.24 KB 0%
static/css/5577.76981ed8.chunk.css 541.79 KB 0%
static/css/1170.662bcae7.chunk.css 481.02 KB 0%
static/css/439.4e34bc42.chunk.css 447.98 KB 0%
static/js/5577.9531d3d6.chunk.js 377.47 KB 0%
static/js/5280.f51d58de.chunk.js 321.09 KB 0%
static/js/2766.f490f417.chunk.js 154.26 KB 0%
static/js/8975.4340302d.chunk.js 148.24 KB 0%
static/js/2625.2f40db4f.chunk.js 87.86 KB 0%
static/js/3778.6ca1aa91.chunk.js 81.14 KB 0%
static/media/PublicSans-Regular.af5c059f36e21e13f39f.ttf 78.03 KB 0%
static/media/PublicSans-Light.839012ec5b7d44a46954.ttf 77.91 KB 0%
static/media/PublicSans-Italic.642113a6a2f365350349.ttf 77.7 KB 0%
static/media/PublicSans-Bold.a52885b904d32280b208.ttf 77.61 KB 0%
static/media/PublicSans-LightItalic.49a5ea322c6c3762b921.ttf 77.44 KB 0%
static/media/PublicSans-BoldItalic.cbc51dd94deab4465d42.ttf 77.41 KB 0%
static/js/6036.e187b9fb.chunk.js 65.64 KB 0%
static/media/transcom-emblem.bcb580b55633c358c82d89f4798081c5.svg 65.22 KB 0%
static/js/3170.877347a0.chunk.js 63.49 KB 0%
static/js/1358.eb34f256.chunk.js 63.16 KB 0%
static/media/sourcesanspro-light-webfont.d6f73cf7210d3b5c2fa9.ttf 53.23 KB 0%
static/media/sourcesanspro-regular-webfont.5acfe0d0f69444765ba4.ttf 53.16 KB 0%
static/media/sourcesanspro-bold-webfont.9a76932911f04be25044.ttf 53.07 KB 0%
static/js/9025.b1dd996d.chunk.js 52.74 KB 0%
static/media/Latin-Merriweather-Regular.43dc3080728216519bf0.ttf 48.32 KB 0%
static/js/4911.bd8a346b.chunk.js 48.21 KB 0%
static/media/Latin-Merriweather-Light.30dd683b4fcfe95b030b.ttf 48.01 KB 0%
static/js/7664.fe94ae14.chunk.js 46.77 KB 0%
static/media/Latin-Merriweather-Bold.b87366633b1019e8c63c.ttf 46.12 KB 0%
static/js/9788.19b0aec0.chunk.js 44.91 KB 0%
static/js/439.6ea95ed8.chunk.js 42.51 KB 0%
static/js/2679.17b375d7.chunk.js 40.28 KB 0%
static/js/6525.7166f2ba.chunk.js 39.88 KB 0%
static/media/PublicSans-BoldItalic.6bb0cb126756efec5fa5.woff 39.72 KB 0%
static/media/PublicSans-Italic.333d9a80b7b3b003b3c5.woff 39.57 KB 0%
static/media/PublicSans-LightItalic.4c86a8eb158c949923dd.woff 39.53 KB 0%
static/media/Latin-Merriweather-BoldItalic.4d74f3bda45f5aba1abf.ttf 39.52 KB 0%
static/media/PublicSans-Light.8460a3397f2ffc7d22d0.woff 39.23 KB 0%
static/media/PublicSans-Regular.f32753567f64c1ddeec8.woff 39.17 KB 0%
static/media/PublicSans-Bold.8c3655e2b925bcad90cd.woff 39.11 KB 0%
static/media/Latin-Merriweather-Italic.b60043e65fa5cbcedb80.ttf 38.55 KB 0%
static/media/Latin-Merriweather-LightItalic.26ebdd3b8f1d039bc3dd.ttf 38.53 KB 0%
static/media/sourcesanspro-lightitalic-webfont.43ea3d39e6aa59fb6f1b.ttf 38.23 KB 0%
static/media/sourcesanspro-italic-webfont.3efee318468995ac04af.ttf 37.94 KB 0%
static/css/2625.55cadcaf.chunk.css 37.86 KB 0%
static/media/sourcesanspro-bolditalic-webfont.af3dd40e0ac8e2ca50ac.ttf 37.85 KB 0%
static/js/7280.eaf253a7.chunk.js 36.4 KB 0%
asset-manifest.json 35.72 KB 0%
static/js/5705.5bcfc473.chunk.js 34.57 KB 0%
static/js/9083.1dc1269a.chunk.js 33.97 KB 0%
static/js/2500.eb803a24.chunk.js 32.88 KB 0%
static/media/PublicSans-BoldItalic.effa83ee2a557ae8a57e.woff2 32.43 KB 0%
static/media/PublicSans-Italic.8be0a159b540a60fd93a.woff2 32.26 KB 0%
static/media/PublicSans-LightItalic.475db532b9392ec581c5.woff2 32.14 KB 0%
static/media/PublicSans-Light.4ba4759c3e98938156d7.woff2 31.84 KB 0%
static/media/roboto-mono-v5-latin-300italic.93511dbad22ceb584f03.ttf 31.83 KB 0%
static/media/roboto-mono-v5-latin-700italic.da78bf0b1b435f40ca19.ttf 31.8 KB 0%
static/media/PublicSans-Regular.e86d2642f412b9493b14.woff2 31.79 KB 0%
static/media/PublicSans-Bold.4045385082dfc34c22d7.woff2 31.64 KB 0%
static/media/roboto-mono-v5-latin-italic.4863add4d566a55b6a97.ttf 31.58 KB 0%
static/media/roboto-mono-v5-latin-300.ce3838471d62f8364e12.ttf 31.41 KB 0%
static/js/690.363614fb.chunk.js 31.31 KB 0%
static/media/roboto-mono-v5-latin-700.e57caf7ea634a258a9b2.ttf 30.36 KB 0%
static/media/roboto-mono-v5-latin-regular.215adb34128fcb20668b.ttf 30.32 KB 0%
static/js/426.d763f62d.chunk.js 30.09 KB 0%
static/css/3614.bbf7822b.chunk.css 28.94 KB 0%
static/js/2561.2e2b17a7.chunk.js 28.22 KB 0%
static/css/7280.a17f8a47.chunk.css 27.6 KB 0%
static/js/3751.48ccb055.chunk.js 27.42 KB 0%
static/js/3614.56fdeab1.chunk.js 27.29 KB 0%
static/js/9308.79bbd61b.chunk.js 27.1 KB 0%
static/js/2447.064af351.chunk.js 26.97 KB 0%
static/media/Latin-Merriweather-Regular.add503b41601df15b97e.woff 26.87 KB 0%
static/media/Latin-Merriweather-Light.7b2a6350fcb212efe521.woff 26.36 KB 0%
static/media/Latin-Merriweather-Bold.b6cbc321678701d773c6.woff 26.26 KB 0%
static/media/sourcesanspro-regular-webfont.c4e25ab10baa365dfc66.woff 25.53 KB 0%
static/media/sourcesanspro-bold-webfont.e7e051e1bc64fa899317.woff 25.43 KB 0%
static/media/sourcesanspro-light-webfont.70e7d719e258c9a7e68b.woff 25.35 KB 0%
static/js/6084.dd4ffc41.chunk.js 24.91 KB 0%
static/media/Latin-Merriweather-BoldItalic.a0bcf832ed51501c237c.woff 23.89 KB 0%
static/media/Latin-Merriweather-Italic.80d8a9aff0d8bdeb966d.woff 23.59 KB 0%
static/css/6825.9e6656a7.chunk.css 23.31 KB 0%
static/media/Latin-Merriweather-LightItalic.8a239a410a47b6192e05.woff 23.25 KB 0%
static/js/6300.1673749b.chunk.js 23.02 KB 0%
static/js/6825.201668ac.chunk.js 21.27 KB 0%
static/media/Latin-Merriweather-Regular.a30c1b8fcb759e9fe728.woff2 21.18 KB 0%
static/media/Latin-Merriweather-Bold.9caa42f21e4ae090b755.woff2 20.81 KB 0%
static/css/2561.993072a5.chunk.css 20.8 KB 0%
static/media/Latin-Merriweather-Light.f347d9834a5feacbcefb.woff2 20.76 KB 0%
static/media/roboto-mono-v5-latin-700italic.0a6791447401e0ebd70d.woff 20.64 KB 0%
static/media/roboto-mono-v5-latin-italic.756750acefdb77704c08.woff 20.6 KB 0%
static/media/roboto-mono-v5-latin-300italic.1b8d46dae0a077f999ae.woff 20.56 KB 0%
static/css/134.e85d1a6a.chunk.css 20.24 KB 0%
static/css/2766.ff423f95.chunk.css 20.19 KB 0%
static/css/9308.4de62a16.chunk.css 20.12 KB 0%
static/js/4036.a2fcacd8.chunk.js 20.09 KB 0%
static/media/sourcesanspro-regular-webfont.e7bccfa631a0017f31da.woff2 20.06 KB 0%
static/media/sourcesanspro-light-webfont.e5f1a42e1c2b97e25876.woff2 19.93 KB 0%
static/media/sourcesanspro-bold-webfont.4a1efbe82eaa84ff89ed.woff2 19.89 KB 0%
static/media/sourcesanspro-lightitalic-webfont.455d120362f79aa219d4.woff 19.78 KB 0%
static/media/sourcesanspro-italic-webfont.0aaeabbaba3845331078.woff 19.73 KB 0%
static/media/sourcesanspro-bolditalic-webfont.73021f1aabd43f50e16a.woff 19.69 KB 0%
static/js/8479.13efeb2e.chunk.js 19.67 KB 0%
static/media/roboto-mono-v5-latin-300.92dd8f0ccfaebc33f817.woff 19.42 KB 0%
static/media/roboto-mono-v5-latin-regular.a3246d29b40a8b0da142.woff 19.12 KB 0%
static/media/Latin-Merriweather-BoldItalic.dc8b76b44a8a6e5fad1c.woff2 19.11 KB 0%
static/media/roboto-mono-v5-latin-700.d85b43c39f4620dfa5b4.woff 19.11 KB 0%
static/js/8165.5c494c41.chunk.js 18.89 KB 0%
static/media/Latin-Merriweather-Italic.c63d4066b0f133fc519f.woff2 18.8 KB 0%
static/js/134.3fead62b.chunk.js 18.78 KB 0%
static/css/3328.e4253cc3.chunk.css 18.58 KB 0%
static/media/Latin-Merriweather-LightItalic.506121dad559538d44ed.woff2 18.53 KB 0%
static/js/9449.df7deafd.chunk.js 18.08 KB 0%
static/js/5729.29ac3727.chunk.js 17.9 KB 0%
static/css/4709.b98f52aa.chunk.css 17.29 KB 0%
static/js/4300.12e1ab67.chunk.js 16.94 KB 0%
static/media/roboto-mono-v5-latin-300italic.09cc62a8fbd32c8b2812.woff2 16.93 KB 0%
static/media/roboto-mono-v5-latin-700italic.5a8f743549cc6cef9a00.woff2 16.93 KB 0%
static/media/sad-computer.b62f031230f84d7db1b1.png 16.92 KB 0%
static/media/roboto-mono-v5-latin-italic.087069a9f454e2581ed6.woff2 16.91 KB 0%
static/js/6728.47a2c0d3.chunk.js 16.67 KB 0%
static/js/8742.646fa1f0.chunk.js 16.11 KB 0%
static/js/3567.eb758870.chunk.js 16.04 KB 0%
static/media/sourcesanspro-bolditalic-webfont.ef69f0d737406260319a.woff2 16.03 KB 0%
static/media/roboto-mono-v5-latin-300.316b1352cc4ab2054de6.woff2 16 KB 0%
static/media/sourcesanspro-italic-webfont.c6c9fd228e87eefaf1d4.woff2 15.99 KB 0%
static/media/sourcesanspro-lightitalic-webfont.9c5bf2190b2471c2f22b.woff2 15.93 KB 0%
static/js/2511.b42ca67b.chunk.js 15.66 KB 0%
static/js/5266.b0a80232.chunk.js 15.65 KB 0%
static/media/roboto-mono-v5-latin-regular.f1dc10a756c2c544588b.woff2 15.65 KB 0%
static/media/roboto-mono-v5-latin-700.936869ba46988c238748.woff2 15.58 KB 0%
static/js/7178.ce86661f.chunk.js 15.5 KB 0%
static/css/8165.b596453a.chunk.css 15.48 KB 0%
static/css/1992.312caf03.chunk.css 15.37 KB 0%
static/css/6106.312caf03.chunk.css 15.37 KB 0%
static/css/1627.c1522023.chunk.css 15.28 KB 0%
static/js/3711.6a45054e.chunk.js 15.23 KB 0%
static/js/3970.55e8a27b.chunk.js 14.76 KB 0%
static/css/3129.9b4b767f.chunk.css 14.75 KB 0%
static/css/9046.09531c77.chunk.css 14.75 KB 0%
static/js/8348.daa31acd.chunk.js 14.3 KB 0%
static/js/3537.8b43a528.chunk.js 14.1 KB 0%
static/js/937.ae1c8725.chunk.js 14.06 KB 0%
static/js/5496.a704889b.chunk.js 13.1 KB 0%
static/css/3970.31c0f7a5.chunk.css 12.92 KB 0%
static/js/7376.f7b938fe.chunk.js 12.67 KB 0%
static/js/6211.6f14b9f7.chunk.js 12.62 KB 0%
static/css/6808.a2f45c4c.chunk.css 12.31 KB 0%
static/js/8858.509470eb.chunk.js 12.16 KB 0%
static/js/6808.4fe84af8.chunk.js 12.03 KB 0%
static/js/114.214779e2.chunk.js 12 KB 0%
static/css/6743.a304467c.chunk.css 11.92 KB 0%
static/css/5904.abc4ad06.chunk.css 11.88 KB 0%
static/css/512.f1229ab1.chunk.css 11.83 KB 0%
static/css/9788.9e0cfb0d.chunk.css 11.77 KB 0%
static/css/690.9e0cfb0d.chunk.css 11.77 KB 0%
static/js/3512.37dd96e1.chunk.js 11.56 KB 0%
static/js/1627.e4ed553c.chunk.js 11.15 KB 0%
static/js/3328.07e9794a.chunk.js 11.11 KB 0%
static/js/5704.afd9a935.chunk.js 10.73 KB 0%
static/js/1430.2afc6eee.chunk.js 10.68 KB 0%
static/js/3129.1baee2e3.chunk.js 10.58 KB 0%
static/js/7745.4e06d873.chunk.js 9.74 KB 0%
static/js/9010.0ee6845c.chunk.js 9.74 KB 0%
static/js/4709.49d76e28.chunk.js 9.55 KB 0%
static/js/4837.0bc3f332.chunk.js 9.51 KB 0%
static/js/9046.a9bc75d7.chunk.js 9.49 KB 0%
static/js/8513.210fd722.chunk.js 9.21 KB 0%
static/js/4877.dc5ae208.chunk.js 9.1 KB 0%
static/css/5729.9caa2982.chunk.css 8.74 KB 0%
static/css/3751.fc2e8c29.chunk.css 8.65 KB 0%
static/js/5904.705d1e92.chunk.js 8.38 KB 0%
static/css/8858.efde2578.chunk.css 7.72 KB 0%
static/js/5822.8f964d66.chunk.js 7.65 KB 0%
static/css/6407.febd5b41.chunk.css 7.5 KB 0%
static/css/6522.2e280dbb.chunk.css 7.48 KB 0%
static/js/955.eabcb80b.chunk.js 7.25 KB 0%
static/css/4877.2c835a03.chunk.css 7.16 KB 0%
static/css/937.343924b9.chunk.css 7.12 KB 0%
static/css/8781.39979ac7.chunk.css 7.02 KB 0%
static/js/8781.d7f4d3bf.chunk.js 6.9 KB 0%
static/css/6084.8a887ea4.chunk.css 6.89 KB 0%
static/js/512.5fd36441.chunk.js 6.73 KB 0%
static/js/6743.392db929.chunk.js 6.63 KB 0%
static/css/426.dabdce4e.chunk.css 6.56 KB 0%
static/css/6211.5d7da736.chunk.css 6.5 KB 0%
static/js/807.f7fcded2.chunk.js 6.17 KB 0%
static/js/8560.6ca18975.chunk.js 5.86 KB 0%
static/media/trailer-gray.039bede411fe930d7f73dfad8cc6cabb.svg 5.43 KB 0%
static/media/milmove-logo.c977261e059ba42b2b70ba95cfb3d3de.svg 5.4 KB 0%
static/css/4300.4449b9b1.chunk.css 5.21 KB 0%
static/css/7664.92fdad71.chunk.css 5.14 KB 0%
static/js/9286.d75bfb38.chunk.js 5.07 KB 0%
static/js/2864.f0fb4809.chunk.js 4.7 KB 0%
static/js/7796.9ba3375a.chunk.js 4.65 KB 0%
static/css/3711.4cb17ec1.chunk.css 4.56 KB 0%
static/css/4036.4cb17ec1.chunk.css 4.56 KB 0%
static/media/truck-gray.532c6f96bb8d11dd525f4411731595e3.svg 4.28 KB 0%
static/css/5266.97793ea2.chunk.css 3.89 KB 0%
static/js/6363.276b009b.chunk.js 3.7 KB 0%
static/css/2511.df770272.chunk.css 3.3 KB 0%
static/js/6407.4081f1bb.chunk.js 3.03 KB 0%
static/js/8600.6af2031e.chunk.js 2.9 KB 0%
static/css/3512.3c86ab95.chunk.css 2.82 KB 0%
static/js/9222.ad2e1e8e.chunk.js 2.72 KB 0%
static/js/9673.6da396cd.chunk.js 2.67 KB 0%
static/js/7825.a2e02ea0.chunk.js 2.66 KB 0%
static/media/car-gray.c38f74175b059b5dd13878c8491a92e0.svg 2.56 KB 0%
static/media/ppm-car.39d6dc7a2044c2de3d024f2ced7b4c2d.svg 2.56 KB 0%
static/css/6261.b2df80b1.chunk.css 2.52 KB 0%
static/css/5704.12e62308.chunk.css 2.51 KB 0%
static/js/6261.5b98a62d.chunk.js 2.39 KB 0%
static/css/7825.3f242b5b.chunk.css 2.07 KB 0%
static/css/9673.d40241a1.chunk.css 2.07 KB 0%
static/css/1487.93ac4d1d.chunk.css 2.04 KB 0%
static/css/1862.629604c2.chunk.css 2.04 KB 0%
static/css/4837.b0f5891d.chunk.css 2.01 KB 0%
static/js/6522.655a3a15.chunk.js 1.84 KB 0%
static/js/1992.c10cb675.chunk.js 1.8 KB 0%
static/media/loader.10d2d7c0a681e4e825da.svg 1.67 KB 0%
static/js/1862.bd93dd7c.chunk.js 1.67 KB 0%
static/js/1487.a4e1c4de.chunk.js 1.66 KB 0%
static/js/6106.1d1ddba0.chunk.js 1.64 KB 0%
static/css/main.d596b86b.css 1.19 KB 0%
static/media/accept-inversed.91ff05235fdd54954706eab64123a3d5.svg 1.14 KB 0%
static/css/6363.fac1ec1b.chunk.css 1.06 KB 0%
static/css/9222.dfbeb77f.chunk.css 960 B 0%
static/css/2864.2231a4a2.chunk.css 918 B 0%
static/media/file-pdf.51bdb15e1e5b831bcf29.svg 904 B 0%
static/js/8762.3abc4e6e.chunk.js 890 B 0%
static/media/file-word.277ffb94e7a09f8a2d1a.svg 760 B 0%
static/css/9083.79ff7ec3.chunk.css 658 B 0%
static/media/file-excel.d002b7e57fe318badf49.svg 658 B 0%
static/media/correct8-alt.30d16a7a68f9063d3141.svg 607 B 0%
static/css/8560.c4ca767b.chunk.css 601 B 0%
static/media/correct8.eac85396da602db01ea3.svg 600 B 0%
index.html 595 B 0%
static/media/twitter.a8c1622d4e18b18caa167dbe0e31135b.svg 588 B 0%
static/media/file-video.15490fa6d64ebfb4f314.svg 574 B 0%
static/css/7745.faf00923.chunk.css 531 B 0%
static/css/8762.84987cf8.chunk.css 462 B 0%
static/media/navigate_far_before.8c7765f1f2719ccdf3e5.svg 403 B 0%
static/media/navigate_far_next.602e9c473cc76474ac50.svg 402 B 0%
static/media/search.bc2178ae2f929aec5f09.svg 372 B 0%
static/media/facebook.9d8980817d35c2617cf1ebb5a833369a.svg 346 B 0%
static/media/file.7e80f971a49227f49f7e.svg 283 B 0%
static/media/launch--white.4e75d17dfe08a3d7de03.svg 283 B 0%
static/media/launch.65e057b210ca1e5d086e.svg 268 B 0%
static/media/unfold_more.c42abd3e70207a863184.svg 257 B 0%
static/media/check_circle.afe00fa2d228d8e9212e.svg 255 B 0%
static/media/calendar_today.26e6a18c4fb766a6307e.svg 248 B 0%
static/media/error--white.7f8e755b649a0ca72ce5.svg 246 B 0%
static/media/close.53c9f4b6ba9fca553d1e.svg 239 B 0%
static/media/error.57f310a26aa85a42d2a6.svg 234 B 0%
static/media/info.b15cdce316c440127b62.svg 234 B 0%
static/css/955.c056130c.chunk.css 226 B 0%
static/media/check--blue-60v.c60440495de32668463f.svg 202 B 0%
static/media/arrow_back.037e7aeb3dbe35a36ea6.svg 198 B 0%
static/media/warning.9fcdc101f630d1fd1e97.svg 188 B 0%
static/media/expand_less.018f82c5d61abf0ebfce.svg 184 B 0%
static/media/navigate_before.f280e5b722fcf18e18a9.svg 184 B 0%
static/media/navigate_next.00940e89d53796e4fc95.svg 184 B 0%
static/media/expand_more.7bdcd63935a4c23e5b72.svg 182 B 0%
static/media/add.0ddb797a0b4996c9f281.svg 173 B 0%
static/media/remove.fb2b121df150d251453a.svg 155 B 0%
static/css/5822.64281aca.chunk.css 133 B 0%
static/css/8600.6317b9ee.chunk.css 133 B 0%

@felipe-lee felipe-lee added the dependencies Pull requests that update a dependency file label Jun 5, 2023
@felipe-lee felipe-lee force-pushed the kh-upgrade-react-router-6.11.2 branch from c91655c to 6205619 Compare June 5, 2023 21:45
We can't update to the latest versions because it breaks our react-admin site. Per their troubleshooting docs, https://marmelab.com/react-admin/Routing.html#troubleshooting, we need to match the versions they're using, so we need to set resolutions. A bit of a pain because now we'll need to keep them in sync.

JIRA Ticket: MB-15974
Needed for the react-router update because of [ #9506 - Fix inadvertent support for partial dynamic parameters](remix-run/react-router#9506).

JIRA Ticket: MB-15974
Co-authored-by: Kyle Hill <kyle@truss.works>
@felipe-lee felipe-lee force-pushed the kh-upgrade-react-router-6.11.2 branch from 6205619 to 18ef91c Compare June 6, 2023 02:38
@felipe-lee felipe-lee marked this pull request as ready for review June 6, 2023 02:43
@felipe-lee felipe-lee requested review from a team and bellex3 and removed request for a team June 6, 2023 02:43
Copy link

@rileyorr rileyorr left a comment

Choose a reason for hiding this comment

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

I tested that the URL update is working as intended in the office app and that admin is working as well. Both LGTM!

Copy link
Contributor

@bellex3 bellex3 left a comment

Choose a reason for hiding this comment

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

LGTM. I pulled down the branch and ran officelocal and adminlocal. The new route shows in Officelocal and adminlocal works fine.

@felipe-lee felipe-lee merged commit ff5cc87 into main Jun 6, 2023
42 of 44 checks passed
@felipe-lee felipe-lee deleted the kh-upgrade-react-router-6.11.2 branch June 6, 2023 19:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file
Development

Successfully merging this pull request may close these issues.

None yet

4 participants