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

[Test] Login Frontend #54

Merged
merged 32 commits into from
Aug 31, 2023
Merged
Show file tree
Hide file tree
Changes from 31 commits
Commits
Show all changes
32 commits
Select commit Hold shift + click to select a range
08543d3
feat: add test
Aug 22, 2023
ca4f63c
feat: add layouts test
Aug 23, 2023
4b35820
feat: fix test and add Login.test.tsx
Aug 23, 2023
e3fff6c
feat: add ErrorPage.test.tsx
Aug 23, 2023
453c539
feat: add ToasterContext test
Aug 23, 2023
9c15529
setup e2e testing
Xiawpohr Aug 23, 2023
edcc951
setup e2e testing
Xiawpohr Aug 23, 2023
db6ab0e
fix: add assertion
Xiawpohr Aug 24, 2023
ae27d05
merge from Peter's main
Aug 24, 2023
fa9b3f7
feat: change test file from Peter's refactor
Aug 24, 2023
b70893f
Merge remote-tracking branch 'origin/test/post-frontend' into feature…
UranusLin Aug 24, 2023
d165da2
feat: merge from post e2e test
UranusLin Aug 24, 2023
928a144
feat: fix yarn build failed
UranusLin Aug 24, 2023
aafa5c0
Merge remote-tracking branch 'origin/release/integrate_0713' into fea…
Aug 25, 2023
a0e81ed
feat: fix merge error
Aug 25, 2023
20fcbe3
feat: run lint: fix and yarn-deduplicate
Aug 25, 2023
2e2ff88
feat: fix github ci jest
Aug 25, 2023
fc75eea
feat: fix merge error
Aug 25, 2023
64b61e2
feat: try to fix github ci
Aug 25, 2023
1a63349
feat: try to fix github ci
Aug 25, 2023
7468ac7
feat: try to fix github ci
Aug 25, 2023
99ebe66
feat: try to fix github ci
Aug 25, 2023
25bf6e6
feat: try to fix github ci
Aug 25, 2023
88d3d66
feat: try to fix github ci
Aug 25, 2023
2cccbac
feat: modify frontend test command
Aug 25, 2023
b791a08
feat: modify frontend test command
Aug 25, 2023
57606e6
feat: add LoadingContext test
Aug 28, 2023
6c138cc
feat: add PostForm, User test
UranusLin Aug 28, 2023
0383e8a
feat: lint fix
UranusLin Aug 28, 2023
549a573
Merge remote-tracking branch 'origin/main' into feature/Add-frontend-…
Aug 30, 2023
4d6f191
feat: lint fix
Aug 30, 2023
b1d2e14
Merge branch 'main' into feature/Add-frontend-test
UranusLin Aug 31, 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
18 changes: 10 additions & 8 deletions .github/ISSUE_TEMPLATE/bug_report.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,14 @@ about: Create a report to help us improve
title: ''
labels: ''
assignees: ''

---

**Describe the bug**
A clear and concise description of what the bug is.

**To Reproduce**
Steps to reproduce the behavior:

1. Go to '...'
2. Click on '....'
3. Scroll down to '....'
Expand All @@ -24,15 +24,17 @@ A clear and concise description of what you expected to happen.
If applicable, add screenshots to help explain your problem.

**Desktop (please complete the following information):**
- OS: [e.g. iOS]
- Browser [e.g. chrome, safari]
- Version [e.g. 22]

- OS: [e.g. iOS]
- Browser [e.g. chrome, safari]
- Version [e.g. 22]

**Smartphone (please complete the following information):**
- Device: [e.g. iPhone6]
- OS: [e.g. iOS8.1]
- Browser [e.g. stock browser, safari]
- Version [e.g. 22]

- Device: [e.g. iPhone6]
- OS: [e.g. iOS8.1]
- Browser [e.g. stock browser, safari]
- Version [e.g. 22]

**Additional context**
Add any other context about the problem here.
1 change: 0 additions & 1 deletion .github/ISSUE_TEMPLATE/feature_request.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ about: Suggest an idea for this project
title: ''
labels: ''
assignees: ''

---

**Is your feature request related to a problem? Please describe.**
Expand Down
44 changes: 22 additions & 22 deletions .github/issue-labeler.yml
Original file line number Diff line number Diff line change
@@ -1,56 +1,56 @@
automation:
- 'automation'
- '.github'
- 'cicd'
- 'automation'
- '.github'
- 'cicd'

bug:
- 'bug'
- 'bug'

circuit:
- 'circuit'
- 'circuit'

contracts:
- 'contracts'
- 'contracts'

design:
- 'design'
- 'design'

documentation:
- 'documentation'
- 'documentation'

duplicate:
- 'duplicate'
- 'duplicate'

enhancement:
- 'enhancement'
- 'enhancement'

feature:
- 'feature'
- 'feature'

frontend:
- 'frontend'
- 'frontend'

good first issue:
- 'good first issue'
- 'good first issue'

help wanted:
- 'help wanted'
- 'help wanted'

invalid:
- 'invalid'
- 'invalid'

question:
- 'question'
- 'question'

refactor:
- 'refactor'
- 'refactor'

relayer:
- 'relayer'
- 'relay'
- 'relayer'
- 'relay'

test:
- 'test'
- 'test'

wontfix:
- 'wontfix'
- 'wontfix'
30 changes: 15 additions & 15 deletions .github/pr-labeler.yml
Original file line number Diff line number Diff line change
@@ -1,21 +1,21 @@
relay:
- packages/relay/*
- packages/relay/**/*
- packages/relay/*
- packages/relay/**/*
contracts:
- packages/contracts/*
- packages/contracts/**/*
- packages/contracts/*
- packages/contracts/**/*
automation:
- .github/*
- .github/**/*
- .github/*
- .github/**/*
frontend:
- packages/frontend/*
- packages/frontend/**/*
- packages/frontend/*
- packages/frontend/**/*
circuit:
- packages/circuit/*
- packages/circuit/**/*
- packages/circuit/*
- packages/circuit/**/*
documentation:
- 'docs/*'
- 'docs/**/*'
- '*.md'
- '**/*.md'
- '**/**/*.md'
- 'docs/*'
- 'docs/**/*'
- '*.md'
- '**/*.md'
- '**/**/*.md'
10 changes: 8 additions & 2 deletions .github/workflows/build-and-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,14 @@ jobs:
node-version: '18'
- name: Install yarn
run: npm install --global yarn
- name: Install packages
run: yarn
- name: Install jest
run: npm i --save-dev @types/jest
- name: Clean and Install packages
run: |
rm -rf node_modules package-lock.json
yarn
- name: Install Hardhat locally
run: yarn add --dev hardhat --ignore-workspace-root-check
- name: Build
run: yarn build
- name: Downcase target
Expand Down
52 changes: 26 additions & 26 deletions .github/workflows/labeler.yml
Original file line number Diff line number Diff line change
@@ -1,31 +1,31 @@
name: "Issue and PR Labeler"
name: 'Issue and PR Labeler'
on:
issues:
types: [opened, edited]
pull_request:
types: [opened, edited]
issues:
types: [opened, edited]
pull_request:
types: [opened, edited]

permissions:
issues: write
pull-requests: write
contents: read
issues: write
pull-requests: write
contents: read

jobs:
issue-triage:
runs-on: ubuntu-latest
steps:
- uses: github/[email protected] #May not be the latest version
with:
configuration-path: .github/issue-labeler.yml
enable-versioned-regex: 0
include-title: 1
repo-token: ${{ github.token }}
pr-triage:
runs-on: ubuntu-latest
steps:
- uses: actions/labeler@v4
with:
configuration-path: .github/pr-labeler.yml
enable-versioned-regex: 0
include-title: 1
repo-token: ${{ github.token }}
issue-triage:
runs-on: ubuntu-latest
steps:
- uses: github/[email protected] #May not be the latest version
with:
configuration-path: .github/issue-labeler.yml
enable-versioned-regex: 0
include-title: 1
repo-token: ${{ github.token }}
pr-triage:
runs-on: ubuntu-latest
steps:
- uses: actions/labeler@v4
with:
configuration-path: .github/pr-labeler.yml
enable-versioned-regex: 0
include-title: 1
repo-token: ${{ github.token }}
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@ This is a demo app of a [unirep](https://github.com/Unirep/Unirep) attester. In

```shell
npx create-unirep-app
yarn install
npm install -g circom
```

Then `cd` into the directory that was created.
Expand Down
Loading
Loading