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

React migration #75

Merged
merged 41 commits into from
Oct 13, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
41 commits
Select commit Hold shift + click to select a range
1bf47b8
Move code to legacy folder and create new react folder next to it
l-1squared Feb 24, 2023
50b176e
WIP: implement cases table
l-1squared Feb 24, 2023
16501ed
Add remaining ReportModel Interfaces
fudler Mar 11, 2023
fa3b391
Add a simple sample scenario
l-1squared Mar 11, 2023
407d9b7
Add ReportModel Interface
fudler Mar 11, 2023
e700cf0
Add ReportModel Interface
fudler Mar 11, 2023
323d14e
WIP Scenario and App.tsx
l-1squared Mar 11, 2023
f076bb2
Move Guaranteed Stat into source dir
l-1squared Mar 11, 2023
6d082a3
Fix up Scenario Success
fudler Mar 11, 2023
afa1115
Rename scenario case
l-1squared Mar 11, 2023
d0e6f1b
prevent annoying type errors with that JSON
l-1squared Mar 11, 2023
8d6cb91
implement accordeon
l-1squared Mar 11, 2023
c1e6a32
add semi-styled accordion
l-1squared Mar 11, 2023
ca149b6
WIP
l-1squared Mar 11, 2023
96d42de
Provide basic ScenarioOverview
fudler Mar 11, 2023
ad4a806
WIP
l-1squared Mar 11, 2023
ca9442c
WIP readd scenario page
l-1squared Mar 11, 2023
204af6c
WIP Check Marks
l-1squared Mar 11, 2023
a26240a
Provide donut diagram
fudler Mar 11, 2023
7d82d02
Put donut chart to package json
l-1squared Mar 11, 2023
5bbf3b2
Refine circle
fudler Mar 11, 2023
fbcd90b
Provide new Donut
fudler Apr 21, 2023
2f89869
Place the donut correctly
fudler Jun 2, 2023
5234e8d
Include highlighting
fudler Jun 2, 2023
5514555
Include linking
fudler Jun 2, 2023
36cc697
Extract donut to own file and add method to display the four little s…
fudler Jun 2, 2023
694f660
Minor tweaks in layout
fudler Jul 21, 2023
b40831d
Adjust displayed time
fudler Jul 21, 2023
fa6e91d
Add four minor symbols next to donut.
fudler Jul 21, 2023
0697274
Stub Scenario class view implementation
l-1squared Mar 11, 2023
99a7210
update caniuse-lite
l-1squared Aug 25, 2023
d7db18c
refactor scenario overview
l-1squared Aug 25, 2023
fe1f1f5
remove unpublished execution status from report model
l-1squared Aug 25, 2023
9e0c399
WIP
l-1squared Aug 25, 2023
4ea6d5e
Allow collective collapse and expansion of accordion
l-1squared Aug 29, 2023
a36281a
buttons now have its area limited to the box
l-1squared Aug 29, 2023
d161a95
Polish app and add some tests
l-1squared Sep 15, 2023
c2b653b
Fiks app test
l-1squared Sep 27, 2023
f1df9e3
Activate github checks
l-1squared Sep 27, 2023
d8e1657
Prettier everything
l-1squared Sep 27, 2023
48ccc59
Fix eslint complaints about use state.
l-1squared Sep 27, 2023
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
32 changes: 32 additions & 0 deletions .github/workflows/html-app-branch_and_pr_build.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,12 @@
name: Yarn CI Cycle
on: [ push, pull_request ]

#Add prettier to CI
jobs:
build:
defaults:
run:
working-directory: ./legacy
name: Build JGiven-HTML-App
runs-on: ubuntu-latest
steps:
Expand All @@ -13,3 +17,31 @@ jobs:
run: yarn build
- name: Test
run: yarn test
# Sample CI for react apps
react:
defaults:
run:
working-directory: ./new
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Install
run: npm install
- name: Build
run: npm run build
- name: Test
run: npm test

reactChecks:
defaults:
run:
working-directory: ./new
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Install
run: npm install
- name: Prettier
run: npx prettier --check src #probably requires installation
- name: Eslint
run: npx eslint src --ext .js,.jsx,.ts,.tsx
8 changes: 8 additions & 0 deletions .idea/.gitignore

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

16 changes: 16 additions & 0 deletions .idea/checkstyle-idea.xml

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

15 changes: 15 additions & 0 deletions .idea/codeStyles/Project.xml

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

5 changes: 5 additions & 0 deletions .idea/codeStyles/codeStyleConfig.xml

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

9 changes: 9 additions & 0 deletions .idea/jgiven-html-app.iml

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

9 changes: 9 additions & 0 deletions .idea/misc.xml

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

8 changes: 8 additions & 0 deletions .idea/modules.xml

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

6 changes: 6 additions & 0 deletions .idea/vcs.xml

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

File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Loading