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

Upgrade some packages in the front-end #325

Merged
merged 34 commits into from
Aug 16, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
34 commits
Select commit Hold shift + click to select a range
0049d09
upgrade all versions to the most recent
nafiz1001 Jun 19, 2022
174234e
replace useHistory with useNavigate
nafiz1001 Jun 19, 2022
caca102
replace Redirect with Navigate
nafiz1001 Jun 19, 2022
ccee1de
replace Switch with Routes
nafiz1001 Jun 19, 2022
cf68096
replace useRouteMatch with useMatch
nafiz1001 Jun 19, 2022
11986b8
resolve conflicts
nafiz1001 Jun 20, 2022
85041ba
resolve withRouter
nafiz1001 Jun 20, 2022
d2f8473
use Switch from antd instead of Routes
nafiz1001 Jun 21, 2022
602ff6c
import useLocation
nafiz1001 Jun 21, 2022
66dfb5d
contentBase to static
nafiz1001 Jun 21, 2022
69f1eae
import useNavigation
nafiz1001 Jun 21, 2022
5a034bc
react-dom-router 16.0.0 to 16.4.1
nafiz1001 Jun 22, 2022
7b05a6f
attempt to fix `ProxyFacade` error
nafiz1001 Jun 23, 2022
f18f030
move children into element prop for Route
nafiz1001 Jun 24, 2022
4cf11ee
add * at the end of /login/
nafiz1001 Jun 26, 2022
ae00d6e
use relative path for `<Route path=...>`
nafiz1001 Jun 26, 2022
bb9e589
`history.push` to `history`
nafiz1001 Jun 26, 2022
62a5a68
move Navigate inside Route element prop
nafiz1001 Jun 26, 2022
bf6082c
PrivateRoute to PrivateNavigate
nafiz1001 Jun 26, 2022
4cd1ed8
fix the usage of <Navigate>
nafiz1001 Jun 26, 2022
e6f0c44
downgrade seemingly uninteresting packages
nafiz1001 Jun 30, 2022
9d5d1d3
user splat paths everywhere
nafiz1001 Jul 5, 2022
0cf0879
fix infinite redirection
nafiz1001 Jul 5, 2022
7c46e91
remove HotModuleReplacementPlugin
nafiz1001 Jul 5, 2022
f810d8b
update package-lock.json
nafiz1001 Jul 5, 2022
9a1d61a
upgrade react to 18
nafiz1001 Jul 8, 2022
1a5a4d0
update package-lock.json
nafiz1001 Jul 11, 2022
4717cc0
update `npm start`
nafiz1001 Jul 11, 2022
89c002c
update cypress and update lock
nafiz1001 Jul 16, 2022
6c6516d
remove children into component fragment
nafiz1001 Jul 27, 2022
bacb5b6
migrate cypress
nafiz1001 Jul 27, 2022
ced3862
useParams instead of useMatch
nafiz1001 Aug 1, 2022
6e1a4d5
history(-1) instead of goBack
nafiz1001 Aug 1, 2022
46de302
Fixes 'expected static flag was missing'
ckostiw Aug 3, 2022
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
11 changes: 11 additions & 0 deletions frontend/cypress.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
const { defineConfig } = require('cypress')

module.exports = defineConfig({
e2e: {
// We've imported your old cypress plugins here.
// You may want to clean this up later by importing these.
setupNodeEvents(on, config) {
return require('./cypress/plugins/index.js')(on, config)
},
},
})
1 change: 0 additions & 1 deletion frontend/cypress.json

This file was deleted.

22 changes: 22 additions & 0 deletions frontend/cypress/e2e/all.cy.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
/// <reference types="cypress" />

import { containersTests } from "./containers.cy"
import { individualsTests } from "./individuals.cy"
import { samplesTests } from "./samples.cy"
import { protocolsTests } from "./protocols.cy"
import { paginationTests } from "./pagination.cy"
import { experimentsTests } from "./experiments.cy"
import { projectsTests } from "./projects.cy"
import { projectLinkSamplesTests } from "./projectLinkSamples.cy"

// Tests
context('All tests', () => {
containersTests()
individualsTests()
samplesTests()
protocolsTests()
paginationTests()
experimentsTests()
projectsTests()
projectLinkSamplesTests()
})
22 changes: 0 additions & 22 deletions frontend/cypress/integration/all.spec.js

This file was deleted.

File renamed without changes.
Loading