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

Merged
merged 36 commits into from
Jan 17, 2025
Merged

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
ad513f914f2226f5e9551a14f059c090af9682f1

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
@0x4007
Copy link
Member

0x4007 commented Jan 17, 2025

I added them to the organization secrets just in case we need elsewhere!

Copy link
Member

@rndquu rndquu left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Works fine

@0x4007 0x4007 merged commit ad513f9 into ubiquity:development Jan 17, 2025
4 checks passed
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
3 participants