-
Notifications
You must be signed in to change notification settings - Fork 5
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
fetch full names of users #113
Conversation
…nitializing the SuperToken, last part needed it to get the contract fucntion to pass
|
steward verification, current pool, # people supported
I just remembered that I forgot to add caching. I will add that tomorrow. |
* fix social links and show only if available * changed DonorListItem amount display from toFixed to toString * sort connectors with WalletConnect before MetaMask * added token symbol next to wallet balance and adjusted balance formatting * update copy for on-time donation, added chain check to useEthersSigner and useGetTokenBalance * one-time transfer now assumes token is already approved for transfer * G$ donation now assumes token is already approved for transfer * added infoButton property to ipfs meta data in subgraph * increased slippage tolerance from 0.5% to 1% * made it so only G$ shows in token list for one-time donations * made it so selecting one-time donation changes currency to G$ and amount to 0 * fixed total donation usd value * swap errors will only show if donation amount is not zero * added infoLabel to front end * updated breadcrumb to show collective name and only go back to previous page if back arrow is clicked * updated breadcrumb to fix links and text * incremented subgraph starting block because prior block was failing * donation is now disabled if swap required and token approval not yet ready; token approval should not fail on retry * breadcrumb formatting for '/' * adjusted G$ formatting in profile * modal and donation error formatting * added steward profile link to steward list item * added polling to donor in wallet; improved error message in donation functions * fix for error message in donation functions * switched from supportSingleTransferAndCall to supportSingleBatch since it includes token approval * removed warnings for missing subgraph items * set margin between collective cards on home page to 24 * fixed transaction list UI * added useRecentTransactions hook * fixed ViewCollective tablet portrait resolution * removed G$ fractional amount from connected wallet display, and added currency symbol to mobile version * made sure G$ displayed amount is rounded down to nearest int * fixed stop donation * changed default gas price to 5 in @gooddollar/goodcollective-sdk * renamed enum value from celo to CELO * currentPool is now a flowing balance * refactor: dry up donate button styles, no inline arrow functions * fix: getDonateStyles, does not stop loop after hitting first true * fix: simplify getDonateStyles * inline lambdas to const * memoized onChangeFrequency * fixed link to smart contract in ViewCollective * version bump * version bump * version bump * version bump * version bump * version bump * version bump * version bump * version bump * chore: release sdk, bump in app --------- Co-authored-by: LewisB <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I've created here a full example of how to use mongodb with graphql.
it also includes caching policies package.
and a modified fetch query to fetch all profiles at once instead of doing multiple queries.
https://github.com/sirpy/realm-graphql-apollo-react
index.js - shows how client and cache are initialized
graphql-operations.js - includes the graphql query
app.js - the fetch query itself
create a separate graphql client for profile queries
…-names # Conflicts: # packages/app/src/components/StewardsList/StewardsListItem.tsx # packages/app/src/components/TransactionList/TransactionList.tsx # packages/app/src/components/TransactionList/TransactionListItem.tsx # packages/app/src/components/ViewCollective.tsx # packages/app/src/pages/WalletProfilePage.tsx
@sirpy I am getting the following error. Is this the issue of needing to whitelist a URL? The same as before? This is happening in the deployment preview, so it doesn't seem to be a CORS issue. |
# Conflicts: # packages/app/src/App.tsx # packages/app/src/components/TransactionList/TransactionList.tsx # packages/app/src/components/TransactionList/TransactionListItem.tsx # packages/app/src/hooks/useRecentTransactions.ts
Adds support for fetching users' full names from GoodDollar's mongodb database