Meta repository for the Moonshot Collective
Moonshot has merged with Gitcoin Product Collective
License: MIT License
Use the static provider to display the profiles even if the user isn't logged in
Currently to get the approval page, you must visit http://localhost:3000/profile/approval (on local).
It would be nice to offer a simpler button/page to navigate here.
Self-explanatory
Encountered a few problems while getting started as a new contributor for this project. I'd like to volunteer & setup a contributing doc that'll help onboard new contributors.
Backend and frontend should use schemas that are exactly same, otherwise decryption will fail in either of the places
The residency country field in the edit-profile form should be a select field with a list of countries where the label is the name of the country and the value is the country code in ISO_3166
Use built-in ceramic family & tags properties
Caching/indexing layer or search engine
skills
location
culture
The web3modal for logging in fails on homescreen. The workaround is to use the /debug endpoint to login with a working web3modal.
This could likely stem from:
const init = async () => {
const { network } = await getNetwork();
const contract = await loadDRecruitV1Contract();
setDRecruitContract(contract);
const addresses = await window.ethereum.enable();
console.log(addresses);
const self = await SelfID.......
look into getNetwork(), or Scaffold
Describe the bug
Faced errors on installing the project. Ceramic and Front-end works, but not the back-end.
To Reproduce
Steps to reproduce the behavior:
Was following the installation procedure.
First got warnings:
fedor@DESKTOP-JUACTCP MINGW64 /c/blockchain/drecruit (staging)
$ yarn deploy --network localhost --reset
yarn run v1.22.17
$ yarn workspace @scaffold-eth/hardhat deploy --network localhost --reset
$ hardhat deploy --export-all ../react-app/contracts/hardhat_contracts.json --network localhost --reset
Downloading compiler 0.8.10
Compiling 23 files with 0.8.10
Warning: Return value of low-level calls not used.
--> contracts/DRecruit.sol:111:9:
|
111 | address(msg.sender).call{value: accumulatedFees}("");
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Warning: Return value of low-level calls not used.
--> contracts/DRecruitV1.sol:115:9:
|
115 | address(msg.sender).call{value: accumulatedFees}("");
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Warning: Return value of low-level calls not used.
--> contracts/DRecruitV1.sol:150:9:
|
150 | address(msg.sender).call{value: resumeFee}("");
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Warning: Return value of low-level calls not used.
--> contracts/DRecruitV1.sol:167:13:
|
167 | address(msg.sender).call{value: resumeFee}("");
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Warning: Return value of low-level calls not used.
--> contracts/DRecruitV1.sol:181:9:
|
181 | address(account).call{value: requests[id][account]}("");
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Warning: Return value of low-level calls not used.
--> contracts/DRecruitV1.sol:195:13:
|
195 | address(accounts[i]).call{value: requests[id][accounts[i]]}("");
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Warning: Return value of low-level calls not used.
--> contracts/DRecruitV1.sol:205:9:
|
205 | address(msg.sender).call{value: requests[id][msg.sender]}("");
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
When installing backend the following errors came up:
fedor@DESKTOP-JUACTCP MINGW64 /c/blockchain/drecruit/packages/backend (staging)
$ yarn dev
yarn run v1.22.17
$ nodemon server.js
[nodemon] 2.0.14
[nodemon] to restart at any time, enter `rs`
[nodemon] watching path(s): *.*
[nodemon] watching extensions: js,mjs,json
[nodemon] starting `node server.js`
node:buffer:322
throw new ERR_INVALID_ARG_TYPE(
^
TypeError [ERR_INVALID_ARG_TYPE]: The first argument must be of type string or an instance of Buffer, ArrayBuffer, or Array or an Array-like Object. Received undefined
at new NodeError (node:internal/errors:371:5)
at Function.from (node:buffer:322:9)
at Object.<anonymous> (C:\blockchain\drecruit\packages\backend\server.js:14:15)
at Module._compile (node:internal/modules/cjs/loader:1101:14)
at Object.Module._extensions..js (node:internal/modules/cjs/loader:1153:10)
at Module.load (node:internal/modules/cjs/loader:981:32)
at Function.Module._load (node:internal/modules/cjs/loader:822:12)
at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:79:12)
at node:internal/main/run_main_module:17:47 {
code: 'ERR_INVALID_ARG_TYPE'
}
At the public profile editing, when a user click on Remove XP trying to remove one experience, all the experiences are removed.
Emoji select input for the emoji field on the basic profile on /profile/edit-profile
Currently, we reuse the same stream of the DID linked to any address - this means data is replicated across tokens, it's much simpler to save storage space by modifying existing tokens and is also cheaper long-term.
When a user create a profile not filling any data, we get an error from ceramic:
Error: HTTP request to 'https://ceramic-clay.3boxlabs.com/api/v0/commits' failed with status '': {"error":"Validation Error: data/emoji must NOT have more than 2 characters, data/birthDate must match format "date", data/residenceCountry must match pattern "^[A-Z]{2}$""}
Schema https://developers.ceramic.network/streamtypes/tile-document/schemas/basic-profile/
All fields are optional.
This is blocker to #52
https://devcenter.heroku.com/articles/cookies-and-herokuapp-com
Create a simple schema with a tags field (string array)
Sorry if it is bad form to drop an issue for this. How does this feel for a first pass at the read me for this project?
Talent search and recruitment protocol designed to incentivize the end user for participating in the network.
The issue is that the Heroku web app throws an Cookie “drecruit-session” has been rejected for invalid domain.
error.
This is a pretty big QoL issue, apart from multiple signings.
Did a bit of benchmarking and Cloudflare's gateway is generally superior to the default gateway in terms of latency and speed.
If the user didn't provide a pfp or a cover image, we need to display a default image.
We could use blockies for the pfp and something else for the cover image
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.