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

PR: bug fixes & improvements #367

Open
wants to merge 36 commits into
base: development
Choose a base branch
from

Conversation

EresDev
Copy link
Contributor

@EresDev EresDev commented Jan 1, 2025

Resolves #366

QA: Preview link: EresDevOrg#1 (comment)

The preview link of the QA shows a 30$ permit link on preview deployment, which uses Reloadly sandbox. This should meet most of the UI changes required by issues specs.

QA: Minted payment card

to show minting is working smoothly after changes.

How to test?

The deliverable is a combination of multiple different issues. If you follow each issue, it should be easy to test using preview link or source code.

Some parts of the issue specs are ignored by this PR because the specs seem useful but their implementation were causing more trouble than it was solving. They were:

use non secret vars like treasury, reward token from .env vars

The plan was to move all backend, frontend, and shared env vars to one file as they currently exists in .env, wrangler.toml, and shared/constants.ts.
But they are needed by different systems at different time. Moving them to .env was requiring another system to regenrate them at right time in the right system. So, this was skiped as current implementation is simpler.

improve folder structure, move all configs to one /configs folder.

There are many config files in the main directory of the repository. Moving them to /configs was interesting idea but some packages were causing hard to fix issues with this as they were expecting configs in the main directory. Plus, in the configs, there are paths to other files which were requiring more attention and debugging and paths were becoming odd. So, this was skipped.

rpc-handler failure being handled by useRpcHandler
useRpcHandler is now providing decent provider
will not work on CF worker without skipFetchSetup=true
@ubiquity-os-deployer
Copy link

ubiquity-os-deployer bot commented Jan 1, 2025

Copy link
Contributor

github-actions bot commented Jan 1, 2025

Preview Deployment
e7205e695c26d895f40f0f722f4ba9e1243bb072

Copy link
Contributor

github-actions bot commented Jan 9, 2025

Unused devDependencies (4)

Filename devDependencies
package.json @cloudflare/vitest-pool-workers
@cspell/dict-node
@cspell/dict-software-terms
@cspell/dict-typescript

@EresDev
Copy link
Contributor Author

EresDev commented Jan 16, 2025

Now env vars & secretes are pushed from Github. We don't need to manually add env vars & secrets in cloudflare. But we need to add 2 new secret to this Github Repository now.

RELOADLY_API_CLIENT_ID
RELOADLY_API_CLIENT_SECRET

I will send you their values in telegram to add to this repository. @0x4007

@EresDev EresDev marked this pull request as ready for review January 16, 2025 12:28
@EresDev EresDev requested review from 0x4007 and rndquu January 16, 2025 12:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Fix some bugs and perform improvements
1 participant