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

fix: page not loading #124

Open
wants to merge 40 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
40 commits
Select commit Hold shift + click to select a range
cacaf78
Frontend/equip modal fix (#52)
privilegemendes Oct 12, 2023
00aa0e2
Github Actions implementation (#51)
snthtcs Oct 12, 2023
564d72b
Bugfix: Reset filter not responsive (#56)
prik Oct 18, 2023
44196a4
Hotfix/hair item filter (#54)
carlos-kryha Oct 18, 2023
8430b07
Update 'who are we' section text (#57)
carlos-kryha Oct 18, 2023
6e42170
Fix build error (#59)
Pandelissym Oct 18, 2023
f0eb615
Check tokeninfo is defined before setting up wallet watcher (#60)
Pandelissym Oct 18, 2023
31ae801
Fix marketplaceAverageLevel metric (#63)
Pandelissym Oct 20, 2023
446c61d
Fix button placement in sell modal and arrow svg (#66)
Pandelissym Oct 20, 2023
1957058
switch to MAIN interaction mode when entering character sell process …
Pandelissym Oct 20, 2023
f6d3abf
Removed yarn from cache (#50)
MangoDream1 Oct 23, 2023
df362cf
Return meaningfull error messages from contract (#69)
Pandelissym Oct 24, 2023
6a4b5ba
Migrate frontend to yarn 4 (#71)
carlos-kryha Oct 24, 2023
09c7a1d
Fix build errors after yarn4 upgrade (#74)
carlos-kryha Oct 25, 2023
d60cd00
Bug: Low: Keplr Connect button makes Keprl logo disappear on hover (#79)
prik Oct 27, 2023
bc750eb
Marketplace price selector (#70)
privilegemendes Oct 30, 2023
061b56e
Frontend Improvement: Add network selector (#77)
privilegemendes Oct 30, 2023
a2a6bf7
Frontend upgrade 1 (staging) (#81)
carlos-kryha Nov 7, 2023
7e5fe83
Implement build precheck (#85)
snthtcs Nov 8, 2023
1cb23f8
Read network info from useNetwork hook instead of const (agoric-conte…
carlos-kryha Nov 8, 2023
977d822
Fix frontend price filter (#87)
carlos-kryha Nov 10, 2023
23035ed
Fix production pipeline (#89)
snthtcs Nov 13, 2023
939ee93
Improve contract typing (#94)
Pandelissym Nov 15, 2023
93f2f08
Integration tests (#83)
Pandelissym Nov 15, 2023
d13f011
Address dependabot alerts (#95)
carlos-kryha Nov 15, 2023
56b5c9e
Remove text transformations when displaying character names (#96)
carlos-kryha Nov 17, 2023
d8aa0eb
Use correct version of unmarshalFromVstorage in bootstrap tests (#99)
carlos-kryha Nov 17, 2023
f5b0fa5
Contributing docs and issue/PR templates (#98)
Pandelissym Nov 21, 2023
dd29652
Rename .github/PULL_REQUEST_TEMPLATE/pull_request_template.md to .git…
Pandelissym Nov 21, 2023
a94671d
Frontend MakeOffer callback pattern (#104)
Pandelissym Dec 5, 2023
17cbf2c
Documentation/general (#103)
carlos-kryha Dec 7, 2023
09a7050
Mobile onboarding/connect-wallet screens (#107)
Pandelissym Dec 13, 2023
064b281
Character page + mint flow mobile UI (#109)
carlos-kryha Dec 15, 2023
56f72c4
Fix kread bundle publishing (#112)
Pandelissym Dec 18, 2023
83356a1
Create LICENSE.md (#114)
carlos-kryha Feb 13, 2024
65fd2dc
Remove unused code and clear TODOs (#115)
carlos-kryha Feb 15, 2024
e060ce3
fix(package-version): upgrade @endo packages in frontend (#118)
carlos-kryha Mar 4, 2024
d6982ec
Increase fallback coverage for mint character (#119)
carlos-kryha Mar 6, 2024
c5c5d9e
Resolve conflicts main<--develop (#121)
carlos-kryha Mar 6, 2024
d863ae5
fix: page is loading now
anilhelvaci Apr 1, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
54 changes: 54 additions & 0 deletions .github/ISSUE_TEMPLATE/contract_bug_report.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,54 @@
name: Contract Bug Report
description: "Use this template to report a contract side bug."
title: "BUG: CONTRACT: [BUG DESCRIPTION]"
labels: [bug]
body:
- type: textarea
attributes:
label: Bug description
description: Provide a clear description of the bug you encountered.
placeholder: Unequipping mask items is not working. Clicking the unequip button from the inventory page on a mask item has no effect.
validations:
required: true
- type: textarea
attributes:
label: Repro
description: List the steps needed to reproduce the bug. Be as clear and detailed as possible.
placeholder: |
1. Go to the inventory page
2. Find a mask item that is equipped to some character
3. Click the unequip button
4. Observe that nothing happens
validations:
required: true
- type: textarea
attributes:
label: Expected behavior
description: Describe the expected behavior.
placeholder: Clicking the unequip button should trigger the kepler wallet to approve my transaction and remove the item from the characters inventory.
validations:
required: true
- type: input
attributes:
label: Agoric-sdk version
description: What branch of the agoric-sdk are you using?
validations:
required: true
- type: input
attributes:
label: Branch
description: What branch of the KREAd repo were you using when you encountered the bug?
validations:
required: false
- type: textarea
attributes:
label: Screenshots/Videos
description: Optionally provide a screenshot or demo of the bug.
validations:
required: false
- type: textarea
attributes:
label: Additional info
description: For anything else you want to add!
validations:
required: false
29 changes: 29 additions & 0 deletions .github/ISSUE_TEMPLATE/feature_request.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
name: Feature request
description: Use this template to request a new feature.
title: "[FEATURE DESCRIPTION]"
labels: [enhancement]
body:
- type: textarea
attributes:
label: Description
description: Provide a clear description of the feature you would like to request.
validations:
required: true
- type: textarea
attributes:
label: Proposed Solution
description: If you have a specific solution or implementation in mind, describe it here.
validations:
required: false
- type: textarea
attributes:
label: Acceptance criteria
description: Describe what should be done for this issue to be considered closed.
validations:
required: true
- type: textarea
attributes:
label: Additional info
description: For anything else you want to add!
validations:
required: false
60 changes: 60 additions & 0 deletions .github/ISSUE_TEMPLATE/frontend_bug_report.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,60 @@
name: Bug Report
description: "Use this template to report a frontend side bug."
title: "BUG: FRONTEND: [BUG DESCRIPTION]"
labels: [bug]
body:
- type: textarea
attributes:
label: Bug description
description: Provide a clear description of the bug you encountered.
placeholder: Unequipping mask items is not working. Clicking the unequip button from the inventory page on a mask item has no effect.
validations:
required: true
- type: textarea
attributes:
label: Repro
description: List the steps needed to reproduce the bug. Be as clear and detailed as possible.
placeholder: |
1. Go to the inventory page
2. Find a mask item that is equipped to some character
3. Click the unequip button
4. Observe that nothing happens
validations:
required: true
- type: textarea
attributes:
label: Expected behavior
description: Describe the expected behavior.
placeholder: Clicking the unequip button should trigger the kepler wallet to approve my transaction and remove the item from the characters inventory.
validations:
required: true
- type: input
attributes:
label: Branch
description: If you ran the frontend locally, what branch are you on?
validations:
required: false
- type: input
attributes:
label: Connected Network
description: What network is the frontend connected to (local, emerynet, mainnet).
validations:
required: true
- type: input
attributes:
label: Contract branch
description: If connected to a local chain, what branch are you on when running the chain?
validations:
required: false
- type: textarea
attributes:
label: Screenshots/Videos
description: Optionally provide a screenshot or demo of the bug.
validations:
required: false
- type: textarea
attributes:
label: Additional info
description: For anything else you want to add!
validations:
required: false
29 changes: 29 additions & 0 deletions .github/pull_request_template.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
## Description

Provide a summary of the changes introduced by this pull request.

## Related Issues

Mention any related issues that are being addressed by this pull request.

Fixes # (issue)

## Screenshots (if applicable)

Include screenshots or gifs to visually demonstrate the changes made, if applicable.

## Checklist

Make sure all items are checked before submitting the pull request. Remove any items that are not applicable.

- [ ] I have used agoric's linter on my code (https://github.com/Agoric/agoric-sdk/discussions/8274)
- [ ] I have updated the documentation to reflect the changes (if applicable).
- [ ] I have added/updated unit tests to cover the changes.
- [ ] All existing tests pass.
- [ ] The PR title is clear and concise.
- [ ] Are there changes in the /fronted folder? Make sure `cd frontend && yarn build` runs successfully.;

## Additional Notes

Add any additional information that may be helpful for reviewers or users testing the changes.

58 changes: 58 additions & 0 deletions .github/workflows/kread-emerynet-cicd.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,58 @@
name: CI/CD Emerynet

on:
pull_request:
branches:
- develop
types:
- closed

jobs:
build_and_deploy:
runs-on: ubuntu-latest

steps:
- name: Checkout Repository
uses: actions/checkout@v2

- name: Install Skaffold
run: |
curl -Lo skaffold https://storage.googleapis.com/skaffold/releases/latest/skaffold-linux-amd64
sudo install skaffold /usr/local/bin/
shell: bash

- name: Authenticate with Google Cloud
uses: google-github-actions/setup-gcloud@v0
with:
service_account_key: ${{ secrets.GCP_AUTH_KEY }}
project_id: ${{ secrets.PROJECT_ID }}
export_default_credentials: true

- name: Activate Service Account
run: |
gcloud auth activate-service-account ${{ secrets.GCP_SA }} --key-file=$GOOGLE_APPLICATION_CREDENTIALS
gcloud components install gke-gcloud-auth-plugin

- name: Login to GCR
uses: docker/login-action@v3
with:
registry: eu.gcr.io
username: _json_key
password: ${{ secrets.GCP_AUTH_KEY }}

- name: Login to Kubernetes
uses: azure/k8s-set-context@v1
with:
kubeconfig: ${{ secrets.KUBECONFIG }}
cluster-context: ${{ secrets.CLUSTER_CONTEXT }}
namespace: ${{ secrets.K8S_NAMESPACE_EMERYNET }}

- name: Build and push Docker images
run: |
cd frontend
export $(grep -v '^#' .env.emerynet | xargs)
envsubst < ../deployment/emerynet/workloads/config/ui-config.template.yaml > ../deployment/emerynet/workloads/config/ui-config.yaml
envsubst < skaffold.emerynet.template.yaml > skaffold.emerynet.yaml
skaffold run --filename skaffold.emerynet.yaml
shell: bash

58 changes: 58 additions & 0 deletions .github/workflows/kread-mainnet-cicd.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,58 @@
name: CI/CD Mainnet

on:
pull_request:
branches:
- main
types:
- closed

jobs:
build_and_deploy:
runs-on: ubuntu-latest

steps:
- name: Checkout Repository
uses: actions/checkout@v2

- name: Install Skaffold
run: |
curl -Lo skaffold https://storage.googleapis.com/skaffold/releases/latest/skaffold-linux-amd64
sudo install skaffold /usr/local/bin/
shell: bash

- name: Authenticate with Google Cloud
uses: google-github-actions/setup-gcloud@v0
with:
service_account_key: ${{ secrets.GCP_AUTH_KEY }}
project_id: ${{ secrets.PROJECT_ID }}
export_default_credentials: true

- name: Activate Service Account
run: |
gcloud auth activate-service-account ${{ secrets.GCP_SA }} --key-file=$GOOGLE_APPLICATION_CREDENTIALS
gcloud components install gke-gcloud-auth-plugin

- name: Login to GCR
uses: docker/login-action@v3
with:
registry: eu.gcr.io
username: _json_key
password: ${{ secrets.GCP_AUTH_KEY }}

- name: Login to Kubernetes
uses: azure/k8s-set-context@v1
with:
kubeconfig: ${{ secrets.KUBECONFIG }}
cluster-context: ${{ secrets.CLUSTER_CONTEXT }}
namespace: ${{ secrets.K8S_NAMESPACE_MAINNET }}

- name: Build and push Docker images
run: |
cd frontend
export $(grep -v '^#' .env.production | xargs)
envsubst < ../deployment/production/workloads/config/ui-config.template.yaml > ../deployment/production/workloads/config/ui-config.yaml
envsubst < skaffold.production.template.yaml > skaffold.production.yaml
skaffold run --filename skaffold.production.yaml
shell: bash

33 changes: 33 additions & 0 deletions .github/workflows/kread-skaffold-precheck.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
name: Skaffold Build PR Check

on:
pull_request:
branches:
- develop
types:
- opened
- synchronize

jobs:
build:
runs-on: ubuntu-latest

steps:
- name: Checkout Repository
uses: actions/checkout@v2

- name: Install Skaffold
run: |
curl -Lo skaffold https://storage.googleapis.com/skaffold/releases/latest/skaffold-linux-amd64
sudo install skaffold /usr/local/bin/
shell: bash

- name: Skaffold build precheck
run: |
cd frontend
export $(grep -v '^#' .env.emerynet | xargs)
envsubst < skaffold.precheck.yaml > skaffold.emerynet.yaml
skaffold build --filename skaffold.emerynet.yaml
shell: bash


1 change: 1 addition & 0 deletions .prettierignore
Original file line number Diff line number Diff line change
Expand Up @@ -26,3 +26,4 @@
/.pnp.js

.env*
frontend/**
2 changes: 2 additions & 0 deletions CODEOWNERS
Validating CODEOWNERS rules …
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
* @WietzeSlagman
* @carlos-kryha
22 changes: 22 additions & 0 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
# Contributing

Thank you for considering contributing to KREAd! We appreciate your time and effort to help improve our project. You can contribute to KREAd either by filing issues for features/bugs or by submitting a Pull Request.

## Issues

If you've discovered a bug in the source code, identified a mistake in the documentation, or have a suggestion for a new feature, your assistance is valuable. Feel free to [raise an issue](https://github.com/Agoric/documentation/issues/new). Before creating an issue, check the [existing issues]((https://github.com/Kryha/KREAd/issues)) to ensure that your concern hasn't already been resolved!

Make sure to make use of our templates either for bugs or feature requests when filing an issue! You can find them when clicking on "New Issue".

## How to submit a Pull Request

1. Search our repository for open or closed
[Pull Requests](https://github.com/Kryha/KREAd/pulls)
that relate to your submission. You don't want to duplicate effort.
2. Fork the project
3. Create your feature branch (`git checkout -b feature/new_feature`)
4. Implement your feature
5. Run the linter for agoric (https://github.com/Agoric/agoric-sdk/discussions/8274)
6. Commit your changes (`git commit -m 'Add new feature'`)
7. Push to the branch (`git push origin feature/new_feature`)
8. [Open a Pull Request](https://github.com/Kryha/KREAd/pulls) using our PR template and make sure you go over the checklist in the template!
Loading