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

implemented v7_relativeSplatPath #2804

Draft
wants to merge 10 commits into
base: main
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,7 @@
"react-helmet-async": "2.0.5",
"react-leaflet": "4.2.1",
"react-number-format": "5.4.2",
"react-router-dom": "6.28.0",
"react-router-dom": "7.0.2",
"react-toastify": "10.0.6",
"terraformer-wkt-parser": "1.2.1",
"typescript": "5.7.2",
Expand Down
95 changes: 95 additions & 0 deletions src/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -80,3 +80,98 @@ export const App = () => (
/>
</Routes>
);

// import React from 'react';
// import { Navigate, Outlet, Route, Routes } from 'react-router-dom';
//
// import { Form, FormFirstPage } from 'src/components/form/Form';
// import { PresentationComponent } from 'src/components/presentation/Presentation';
// import { NavigateToStartUrl, ProcessWrapper } from 'src/components/wrappers/ProcessWrapper';
// import { Entrypoint } from 'src/features/entrypoint/Entrypoint';
// import { InstanceProvider } from 'src/features/instance/InstanceContext';
// import { PartySelection } from 'src/features/instantiate/containers/PartySelection';
// import { InstanceSelectionWrapper } from 'src/features/instantiate/selection/InstanceSelection';
// import { CustomReceipt, DefaultReceipt } from 'src/features/receipt/ReceiptContainer';
// import { TaskKeys } from 'src/hooks/useNavigatePage';
// import { PresentationType } from 'src/types';
//
// export const App = () => (
// <Routes>
// <Route element={<Entrypoint />}>
// <Route
// path=':pageKey'
// element={
// <PresentationComponent type={PresentationType.Stateless}>
// <Form />
// </PresentationComponent>
// }
// />
// <Route
// index
// element={<FormFirstPage />}
// />
// </Route>
//
// <Route
// path='/instance-selection'
// element={<Entrypoint />}
// >
// <Route
// path='*'
// element={<InstanceSelectionWrapper />}
// />
// </Route>
//
// <Route
// path='/party-selection'
// element={<Entrypoint />}
// >
// <Route
// path='*'
// element={<PartySelection />}
// />
// </Route>
//
// <Route path='/instance/:partyId/:instanceGuid'>
// <Route
// path='*'
// element={
// <InstanceProvider>
// <Outlet />
// </InstanceProvider>
// }
// >
// <Route
// path=':taskId/*'
// element={<ProcessWrapper />}
// />
// <Route
// path={TaskKeys.ProcessEnd}
// element={<DefaultReceipt />}
// />
// <Route path={TaskKeys.CustomReceipt}>
// <Route
// path='*'
// element={<CustomReceipt />}
// />
// </Route>
// <Route
// index
// element={<NavigateToStartUrl />}
// />
// </Route>
// </Route>
// {/**
// * Redirects from legacy URLs to new URLs
// */}
// <Route
// path='/partyselection/*'
// element={
// <Navigate
// to='/party-selection/'
// replace={true}
// />
// }
// />
// </Routes>
// );
71 changes: 49 additions & 22 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -4670,13 +4670,6 @@ __metadata:
languageName: node
linkType: hard

"@remix-run/router@npm:1.21.0":
version: 1.21.0
resolution: "@remix-run/router@npm:1.21.0"
checksum: 10c0/570792211c083a1c7146613b79cbb8e0d1e14f34e974052e060e7f9dcad38c800d80fe0a18bf42811bc278ab12c0e8fd62cfce649e905046c4e55bd5a09eafdc
languageName: node
linkType: hard

"@rtsao/scc@npm:^1.1.0":
version: 1.1.0
resolution: "@rtsao/scc@npm:1.1.0"
Expand Down Expand Up @@ -5101,6 +5094,13 @@ __metadata:
languageName: node
linkType: hard

"@types/cookie@npm:^0.6.0":
version: 0.6.0
resolution: "@types/cookie@npm:0.6.0"
checksum: 10c0/5b326bd0188120fb32c0be086b141b1481fec9941b76ad537f9110e10d61ee2636beac145463319c71e4be67a17e85b81ca9e13ceb6e3bb63b93d16824d6c149
languageName: node
linkType: hard

"@types/dot-object@npm:2.1.6":
version: 2.1.6
resolution: "@types/dot-object@npm:2.1.6"
Expand Down Expand Up @@ -6457,7 +6457,7 @@ __metadata:
react-leaflet: "npm:4.2.1"
react-number-format: "npm:5.4.2"
react-refresh: "npm:0.14.2"
react-router-dom: "npm:6.28.0"
react-router-dom: "npm:7.0.2"
react-toastify: "npm:10.0.6"
resize-observer-polyfill: "npm:1.5.1"
source-map-loader: "npm:5.0.0"
Expand Down Expand Up @@ -7907,6 +7907,13 @@ __metadata:
languageName: node
linkType: hard

"cookie@npm:^1.0.1":
version: 1.0.2
resolution: "cookie@npm:1.0.2"
checksum: 10c0/fd25fe79e8fbcfcaf6aa61cd081c55d144eeeba755206c058682257cb38c4bd6795c6620de3f064c740695bb65b7949ebb1db7a95e4636efb8357a335ad3f54b
languageName: node
linkType: hard

"copy-anything@npm:^2.0.1":
version: 2.0.6
resolution: "copy-anything@npm:2.0.6"
Expand Down Expand Up @@ -15611,27 +15618,33 @@ __metadata:
languageName: node
linkType: hard

"react-router-dom@npm:6.28.0":
version: 6.28.0
resolution: "react-router-dom@npm:6.28.0"
"react-router-dom@npm:7.0.2":
version: 7.0.2
resolution: "react-router-dom@npm:7.0.2"
dependencies:
"@remix-run/router": "npm:1.21.0"
react-router: "npm:6.28.0"
react-router: "npm:7.0.2"
peerDependencies:
react: ">=16.8"
react-dom: ">=16.8"
checksum: 10c0/e2930cf83e8c843a932b008c7ce11059fd83390502a433f0e41f192e3cb80081a621d069eeda7af3cf4bf74d7f8029f0141cdce741bca3f0af82d4bbbc7f7f10
react: ">=18"
react-dom: ">=18"
checksum: 10c0/eb6fe524792f6cf645872c15ed1beb6aeb778c7c5ebcf6c1d4ccf2bdab7a969313b3fc3b4ec6bc4516bbc91b238f0ef651d9ad2551b2aa9ea54b01653dcd1c98
languageName: node
linkType: hard

"react-router@npm:6.28.0":
version: 6.28.0
resolution: "react-router@npm:6.28.0"
"react-router@npm:7.0.2":
version: 7.0.2
resolution: "react-router@npm:7.0.2"
dependencies:
"@remix-run/router": "npm:1.21.0"
"@types/cookie": "npm:^0.6.0"
cookie: "npm:^1.0.1"
set-cookie-parser: "npm:^2.6.0"
turbo-stream: "npm:2.4.0"
peerDependencies:
react: ">=16.8"
checksum: 10c0/b435510de78fd882bf6ca9800a73cd90cee418bd1d19efd91b8dcaebde36929bbb589e25d9f7eec24ceb84255e8d538bc1fe54e6ddb5c43c32798e2b720fa76d
react: ">=18"
react-dom: ">=18"
peerDependenciesMeta:
react-dom:
optional: true
checksum: 10c0/f6c04939218a3d7f2b03b215c2299eab4dbb0dea4a16e0acfd8bf181ec69ff42d66abdba10a25cc3297c514f052a0d03bfb80431225eb763bb27e4e5b0b4a106
languageName: node
linkType: hard

Expand Down Expand Up @@ -16438,6 +16451,13 @@ __metadata:
languageName: node
linkType: hard

"set-cookie-parser@npm:^2.6.0":
version: 2.7.1
resolution: "set-cookie-parser@npm:2.7.1"
checksum: 10c0/060c198c4c92547ac15988256f445eae523f57f2ceefeccf52d30d75dedf6bff22b9c26f756bd44e8e560d44ff4ab2130b178bd2e52ef5571bf7be3bd7632d9a
languageName: node
linkType: hard

"set-function-length@npm:^1.2.1":
version: 1.2.2
resolution: "set-function-length@npm:1.2.2"
Expand Down Expand Up @@ -17657,6 +17677,13 @@ __metadata:
languageName: node
linkType: hard

"turbo-stream@npm:2.4.0":
version: 2.4.0
resolution: "turbo-stream@npm:2.4.0"
checksum: 10c0/e68b2569f1f16e6e9633d090c6024b2ae9f0e97bfeacb572451ca3732e120ebbb546f3bc4afc717c46cb57b5aea6104e04ef497f9912eef6a7641e809518e98a
languageName: node
linkType: hard

"tweetnacl@npm:^0.14.3, tweetnacl@npm:~0.14.0":
version: 0.14.5
resolution: "tweetnacl@npm:0.14.5"
Expand Down
Loading