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 React Router to V6 #1054

Closed
wants to merge 49 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
49 commits
Select commit Hold shift + click to select a range
7780a59
test commit
EshaanAgg Jun 12, 2024
3e35400
package update
EshaanAgg Jun 12, 2024
5199cbe
some more changes
EshaanAgg Jun 12, 2024
37fb67f
build app
EshaanAgg Jun 12, 2024
55dba34
fix
EshaanAgg Jun 12, 2024
1b7e4b0
build application
EshaanAgg Jun 12, 2024
345c467
fix URL navigation
EshaanAgg Jun 17, 2024
473efcd
build application
EshaanAgg Jun 17, 2024
d09d570
fix errors
EshaanAgg Jun 18, 2024
72b6576
fix UI not updating properly error
EshaanAgg Jun 19, 2024
224c784
remove unused param
EshaanAgg Jun 20, 2024
0a84579
add firefox compatibility
EshaanAgg Jun 21, 2024
1b09990
review
EshaanAgg Jun 26, 2024
e8fca47
update tests and build app
EshaanAgg Jun 28, 2024
3665073
Update SeaHorn's executable paths
Po-Chun-Chien Jun 7, 2024
c85501e
Update name and add project URL of SeaHorn
Po-Chun-Chien Jun 7, 2024
8b03f76
Get version from SeaHorn 14
Po-Chun-Chien Jun 7, 2024
f4fded0
Update command line to run SeaHorn
Po-Chun-Chien Jun 7, 2024
312868e
Determine verification result for SeaHorn 14
Po-Chun-Chien Jun 7, 2024
35243db
Remove unused import
Po-Chun-Chien Jun 7, 2024
3182ee2
Use groupadd instead of addgroup in our .deb-package installation script
PhilippWendler Jun 11, 2024
b2487c4
Add helpful error message on Ubuntu 24.04 if namespaces are restricted
May 24, 2024
1ad20fe
Refactoring: remove duplicate code into utility function
PhilippWendler Jun 13, 2024
5ba66e9
Add an AppArmor profile for BenchExec to its .deb package
PhilippWendler Jun 11, 2024
2d3b9ca
Fix crash with FileNotFoundError in cgroups v2 fallback case.
PhilippWendler Jun 18, 2024
db8695d
Add --architecture flag to theta
leventeBajczi Jun 14, 2024
806c7eb
Update theta.py
leventeBajczi Jun 14, 2024
60e1a23
Add was_terminated check
leventeBajczi Jun 18, 2024
c4d4519
Update theta.py
leventeBajczi Jun 18, 2024
0747aff
Adapt SeaHorn's tool-info module such that it is compatible with its …
Po-Chun-Chien Jun 18, 2024
97b1698
Remove a redundant required path
Po-Chun-Chien Jun 18, 2024
49a61db
Adapt CPAchecker's tool-info module to change of executable
PhilippWendler Jun 14, 2024
95abd2b
Refactoring: introduce utility function in CPAchecker's tool-info module
PhilippWendler Jun 14, 2024
e50ef6d
Adapt tool-info module to new option style of CPAchecker
PhilippWendler Jun 14, 2024
e57a2b1
Fix tool-info module of CPA-witness2test: executable is required
PhilippWendler Jun 19, 2024
7576992
Changelog and contributors for BenchExec 3.22
PhilippWendler Jun 19, 2024
34956a7
Pin version of setuptools to older one for our build system
PhilippWendler Jun 19, 2024
3c5521d
Release 3.22
PhilippWendler Jun 19, 2024
40860bb
Prepare version number for next development cycle.
PhilippWendler Jun 19, 2024
67b93a9
Update users of BenchExec: SMT-COMP and Termination Competition
PhilippWendler Jun 20, 2024
6d5b4fc
Drop support for Python 3.7
PhilippWendler Jun 20, 2024
5bda51e
Remove Python 3.7 from AppVeyor CI as well
PhilippWendler Jun 20, 2024
9f9fcae
Use compatibility level 12 for building Debian packages
PhilippWendler Jun 21, 2024
cdbbf64
Use Podman instead of Docker in release.sh
PhilippWendler Jun 21, 2024
e44af7a
Add Pre-Depends to .deb package as recommended for level 12
PhilippWendler Jun 21, 2024
60611c1
Fix crash in CPAchecker's tool-info module
PhilippWendler Jun 27, 2024
df75777
Optimization of CPAchecker's tool-info module
PhilippWendler Jun 27, 2024
844bf07
test commit
EshaanAgg Jun 12, 2024
490691d
Merge github.com:sosy-lab/benchexec into router-up
EshaanAgg Jun 28, 2024
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 benchexec/tablegenerator/react-table/build/main.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion benchexec/tablegenerator/react-table/build/vendors.min.js

Large diffs are not rendered by default.

151 changes: 63 additions & 88 deletions benchexec/tablegenerator/react-table/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion benchexec/tablegenerator/react-table/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
"react": "^17.0.2",
"react-dom": "^17.0.2",
"react-modal": "^3.15.1",
"react-router-dom": "^5.3.3",
"react-router-dom": "^6.4.0",
"react-table": "^7.8.0",
"react-table-sticky": "^1.1.3",
"react-vis": "^1.11.7",
Expand Down Expand Up @@ -78,6 +78,7 @@
]
},
"devDependencies": {
"@types/react-router-dom": "^5.3.3",
"enzyme": "^3.11.0",
"enzyme-adapter-react-16": "^1.15.6",
"eslint-config-prettier": "^8.5.0",
Expand Down
2 changes: 1 addition & 1 deletion benchexec/tablegenerator/react-table/public/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<title>React App</title>
<title>BenchExec</title>
<style>
#msg-container {
text-align: center;
Expand Down
44 changes: 26 additions & 18 deletions benchexec/tablegenerator/react-table/src/App.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,31 +6,39 @@
// SPDX-License-Identifier: Apache-2.0

import "./App.scss";
import React, { Component } from "react";
import React from "react";
import Overview from "./components/Overview";

if (process.env.NODE_ENV !== "production") {
// load example data for development
// Load example data for development
window.data = require("@data");
window.data.version = "(development build)";
}

class App extends Component {
render() {
return (
<div className="App">
<main>
<Overview
data={window.data}
renderPlotsFlexible={true}
onStatsReady={this.props.onStatsReady}
/>
{/* imports the component Overview with all subcomponents.
The renderPlotsFlexible prop should always be true in development and production, but will be set to false in the tests to make them work.*/}
</main>
</div>
);
const App = (props) => {
// If we visit this page without a hash, like www.domain.com/ or www.domain.com/subpage, we
// append a hash to the URL to ensure that the page is loaded correctly. This is necessary
// to ensure correct routing in the app.
if (window.location.hash === "") {
window.location.hash = "#/";
}
}

return (
<div className="App">
<main>
<Overview
data={window.data}
renderPlotsFlexible={true}
onStatsReady={props.onStatsReady}
/>
{/*
* Imports the component Overview with all subcomponents.
* The renderPlotsFlexible prop should always be true in development and production,
* but will be set to false in the tests to make them work.
*/}
</main>
</div>
);
};

export default App;
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,7 @@ export default class FilterCard extends React.PureComponent {
if (!this.props.filter) {
return;
}

if (
!prevProps.filter ||
prevProps.filter.values !== this.props.filter.values
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,12 @@ export default class FilterContainer extends React.PureComponent {
};
}
this.props.resetFilterHook(() => this.resetAllFilters());
this.state = { filters, toolName, addingFilter: false, numCards: 0 };
this.state = {
filters,
toolName,
addingFilter: false,
numCards: 0,
};
}

getActiveFilters() {
Expand All @@ -42,6 +47,7 @@ export default class FilterContainer extends React.PureComponent {

addFilter(idx) {
const { filters: newFilterState, numCards } = this.state;

const newFilter = { filtering: true, numCards, touched: 0 };
if (newFilterState[idx].type === "status") {
newFilter.values = [
Expand Down Expand Up @@ -80,12 +86,16 @@ export default class FilterContainer extends React.PureComponent {
const newFilterState = this.state.filters;
newFilterState[idx].filtering = false;
newFilterState[idx].values = [];
this.setState({ filters: [...newFilterState] });
this.setState({
filters: [...newFilterState],
});
this.props.updateFilters({ title, values: [] }, idx);
}

componentDidUpdate({ currentFilters: prevFilters }) {
componentDidUpdate(prevProps, prevState) {
const prevFilters = prevProps.currentFilters;
const { currentFilters } = this.props;

if (!equals(prevFilters, currentFilters)) {
// update set filters
let { filters } = this.state;
Expand Down
Loading