Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
56 commits
Select commit Hold shift + click to select a range
ebaff78
rename: FilterInfoButton.js to FilterInfoButton.tsx
Simon1375 Feb 23, 2026
fa89cfe
tool: convert FilterInfoButton.tsx
Simon1375 Feb 23, 2026
e71a17d
rename: Info.js to Info.tsx
Simon1375 Feb 23, 2026
ec64378
tool: convert Info.tsx
Simon1375 Feb 23, 2026
7361dfb
fix: make Info.tsx compile
Simon1375 Feb 23, 2026
d0e85be
rename: TaskDefinitionViewer.js to TaskDefinitionViewer.tsx
Simon1375 Feb 23, 2026
82a257e
tool: convert TaskDefinitionViewer.tsx
Simon1375 Feb 23, 2026
b9e04a7
refactor: cleanup TaskDefinitionViewer.tsx
Simon1375 Feb 23, 2026
b4bc646
rename: TableComponents.js to TableComponents.tsx
Simon1375 Feb 23, 2026
4d2124d
tool: convert TableComponents.tsx
Simon1375 Feb 23, 2026
3245137
rename: Summary.js to Summary.tsx
Simon1375 Feb 23, 2026
cff1e2b
tool: convert Summary.tsx
Simon1375 Feb 23, 2026
23f5a91
refactor: cleanup Summary.tsx
Simon1375 Feb 23, 2026
ac83d4b
rename: StatisticsTable.js to StatisticsTable.tsx
Simon1375 Feb 23, 2026
cf6db53
tool: convert StatisticsTable.tsx
Simon1375 Feb 23, 2026
12a4475
fix: make StatisticsTable.tsx compile
Simon1375 Feb 23, 2026
a52d4a8
rename: SelectColumn.js to SelectColumn.tsx
Simon1375 Feb 23, 2026
3b013e8
tool: convert SelectColumn.tsx
Simon1375 Feb 23, 2026
18b84c6
fix: make SelectColumn.tsx compile
Simon1375 Feb 23, 2026
dde86be
rename: LinkOverlay.js to LinkOverlay.tsx
Simon1375 Feb 24, 2026
ddfc99f
tool: convert LinkOverlay.tsx
Simon1375 Feb 24, 2026
d42450e
fix: LinkOverlay.tsx compile
Simon1375 Feb 24, 2026
5463ee7
rename: FilterInfoButton.js to FilterInfoButton.tsx
Simon1375 Feb 23, 2026
2c2427d
tool: convert FilterInfoButton.tsx
Simon1375 Feb 23, 2026
ab0f1a9
rename: Info.js to Info.tsx
Simon1375 Feb 23, 2026
f0480f1
tool: convert Info.tsx
Simon1375 Feb 23, 2026
c665278
fix: make Info.tsx compile
Simon1375 Feb 23, 2026
9a0fe96
rename: TaskDefinitionViewer.js to TaskDefinitionViewer.tsx
Simon1375 Feb 23, 2026
18ffb94
tool: convert TaskDefinitionViewer.tsx
Simon1375 Feb 23, 2026
583aca6
refactor: cleanup TaskDefinitionViewer.tsx
Simon1375 Feb 23, 2026
25b8a93
rename: TableComponents.js to TableComponents.tsx
Simon1375 Feb 23, 2026
ae4baa0
tool: convert TableComponents.tsx
Simon1375 Feb 23, 2026
aaec372
rename: Summary.js to Summary.tsx
Simon1375 Feb 23, 2026
405e63d
tool: convert Summary.tsx
Simon1375 Feb 23, 2026
4e97994
refactor: cleanup Summary.tsx
Simon1375 Feb 23, 2026
7d95921
rename: StatisticsTable.js to StatisticsTable.tsx
Simon1375 Feb 23, 2026
bcec7bb
tool: convert StatisticsTable.tsx
Simon1375 Feb 23, 2026
ae071de
fix: make StatisticsTable.tsx compile
Simon1375 Feb 23, 2026
6443275
rename: SelectColumn.js to SelectColumn.tsx
Simon1375 Feb 23, 2026
93026ec
tool: convert SelectColumn.tsx
Simon1375 Feb 23, 2026
b31c43c
fix: make SelectColumn.tsx compile
Simon1375 Feb 23, 2026
707b201
rebase: components-folder-part1 onto filterbox-folder
Simon1375 Feb 24, 2026
0313e17
tool: convert LinkOverlay.tsx
Simon1375 Feb 24, 2026
653fd47
fix: LinkOverlay.tsx compile
Simon1375 Feb 24, 2026
2db69ff
Merge remote-tracking branch 'origin/typescript-migration/migration/c…
Simon1375 Feb 25, 2026
7f76118
fix: update package.json
Simon1375 Feb 25, 2026
eb1887b
fix: refine typings and key generation in StatisticsTable and Summary…
Simon1375 Feb 25, 2026
c5bb6ec
fix: simplify dependenciesJson usage in Info.tsx
Simon1375 Feb 26, 2026
e922cfc
fix: standardize constants in TaskDefinitionViewer
Simon1375 Feb 26, 2026
81e9047
fix: remove redundant string handling in TaskDefinitionViewer
Simon1375 Feb 26, 2026
138b51c
Revert "fix: remove redundant string handling in TaskDefinitionViewer"
Simon1375 Feb 26, 2026
bef8d90
refactor: remove JS->TS migration notes
Simon1375 Feb 26, 2026
a1acecb
refactor: make ReactModal app element handling in SelectColumn consis…
Simon1375 Feb 26, 2026
010abec
build: update build files
Simon1375 Feb 26, 2026
d5f2815
fix: remove redundant Scalar check in TaskDefinitionViewer
Simon1375 Feb 27, 2026
8333ce0
build: update build files
Simon1375 Feb 27, 2026
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.

24 changes: 24 additions & 0 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: 3 additions & 0 deletions benchexec/tablegenerator/react-table/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -109,8 +109,11 @@
"@testing-library/user-event": "^13.5.0",
"@types/deep-equal": "^1.0.4",
"@types/node": "^18.19.130",
"@types/path-browserify": "^1.0.3",
"@types/react": "^17.0.91",
"@types/react-dom": "^17.0.26",
"@types/react-modal": "^3.16.3",
"@types/react-table": "^7.7.20",
"@typescript-eslint/eslint-plugin": "^5.62.0",
"@typescript-eslint/parser": "^5.62.0",
"eslint-config-prettier": "^8.5.0",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ checker.init(
// The following is the list of currently allowed licenses for bundled code.
// We can add other free licenses, but must adjust the licences for
// build/vendors.min* in ../../../.reuse/dep5, the linkification code in
// src/components/Info.js and pyproject.toml accordingly,
// src/components/Info.tsx and pyproject.toml accordingly,
// and run "reuse download --all".
onlyAllow: "BSD-3-Clause; CC-BY-4.0; ISC; MIT",
customFormat: {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,19 @@ import React from "react";
import { isNil } from "../utils/utils";
import { faFilter } from "@fortawesome/free-solid-svg-icons";
import { FontAwesomeIcon } from "@fortawesome/react-fontawesome";
export default class FilterInfoButton extends React.Component {

type FilterInfoButtonProps = {
className?: string;
onClick?: React.MouseEventHandler<HTMLButtonElement>;
enabled?: boolean;
isFiltered: boolean;
filteredCount: number;
totalCount: number;
resetFilters: () => void;
showFilterText?: boolean;
};

export default class FilterInfoButton extends React.Component<FilterInfoButtonProps> {
render = () => (
<button
className={this.props.className || "reset"}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,50 @@

import React from "react";

const dependencies = require("../data/dependencies.json");
import dependenciesJson from "../data/dependencies.json";

class Dependency extends React.Component {
/* ============================================================
* Domain Types
* ============================================================
*/

/**
* A single third-party dependency entry as listed in dependencies.json.
*/
type ThirdPartyDependency = {
name: string;
version: string;
licenses: string;
licenseId?: number;
repository?: string;
copyright?: string;
};

/**
* Structure of the dependencies.json file used by this component.
*/
type DependenciesJson = {
dependencies: ThirdPartyDependency[];
licenses: string[];
};

const dependencies: DependenciesJson = dependenciesJson;

/* ============================================================
* Component Types
* ============================================================
*/

type DependencyProps = ThirdPartyDependency;
Comment thread
PhilippWendler marked this conversation as resolved.

type InfoProps = {
version: string;
selectColumn: (ev: React.SyntheticEvent) => void;
};

class Dependency extends React.Component<DependencyProps> {
knownLicenses = ["BSD-3-Clause", "CC-BY-4.0", "ISC", "MIT", "Zlib"];
linkifyLicense = (license) => (
linkifyLicense = (license: string): React.ReactNode => (
<a
key={license}
href={"https://spdx.org/licenses/" + license}
Expand All @@ -21,14 +60,14 @@ class Dependency extends React.Component {
{license}
</a>
);
linkifyLicenses = (licensesString) =>
linkifyLicenses = (licensesString: string): Array<string | React.ReactNode> =>
licensesString
.split(/([A-Za-z0-9.-]+)/)
.map((s) =>
this.knownLicenses.includes(s) ? this.linkifyLicense(s) : s,
);

render = () => (
render = (): React.ReactNode => (
<div>
<h4>
<a
Expand Down Expand Up @@ -77,7 +116,7 @@ class Dependency extends React.Component {
);
}

const Info = (props) => (
const Info = (props: InfoProps): React.ReactElement => (
<div className="info">
<div className="info-header">
<h1>Info and Help</h1>
Expand Down
Loading