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

Integration: Checkout & collections integration #9619

Merged
merged 61 commits into from
Oct 25, 2021

Conversation

gdixon
Copy link
Contributor

@gdixon gdixon commented Oct 22, 2021

Description

This PR consists of the following:

GITC-407 - Grants ETH Checkout (#9572)
GITC-455 - View collection flow (#9580)
GITC-463 - Create collection flow (#9579)
GITC-454 - Collection explorer (#9584)
GITC-456 - Collection owner actions flow (#9585)
GITC-453 - Add grant to collection from explorer (#9591)

Testing

This branch is live on staging

gdixon and others added 30 commits October 11, 2021 16:27
- hide estimator if wallet not connected
- hide modal prompt on deleting item from cart
- show % in input field
- fix spacing issue on clear cart
- fix empty cart state
- replace trash with times icon
- add GrantsCart title
- fix z-index issue on summary
- custom boostrap split dropdown
- change container col
- change padding on tooltip
- update color in donation suggestions
},

totalString() {
const token = Object.keys(this['donationsTotal'])[0];
Copy link
Contributor

Choose a reason for hiding this comment

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

This is relying on the order of the keys, is there a way to ensure the ordering or a way to find the appropriate key that is not dependent on order?

Copy link
Member

@thelostone-mc thelostone-mc Oct 25, 2021

Choose a reason for hiding this comment

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

So it wouldn't matter here cause all of them would use the same token! When you chekout -> you pick one token for all checkouts within a chain

Comment on lines +106 to +111
collection_title: document.collection_title,
collection_description: document.collection_description,
collection_owner: document.collection_owner,
collection_owner_url: document.collection_owner_url,
collection_owner_avatar: document.collection_owner_avatar,
collection_grant_ids: document.collection_grant_ids,
Copy link
Contributor

Choose a reason for hiding this comment

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

with all the collection prefixing, we can wrap this in an object. (not a blocker at all)

@@ -99,7 +99,8 @@ Vue.component('grants-ingest-contributions', {

// Verify signature
if (!isValidSignature(signature)) {
throw new Error(`Invalid signature: ${signature}`);
console.error('Invalid signature', signature);
Copy link
Contributor

Choose a reason for hiding this comment

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

was this for debugging or is it intended to be available in prod?

app/assets/v2/js/cart-ethereum-polygon.js Outdated Show resolved Hide resolved
app/assets/v2/js/grants/index.js Show resolved Hide resolved
app/grants/tests/views/test_get_grants.py Show resolved Hide resolved
app/grants/tests/views/test_get_grants.py Outdated Show resolved Hide resolved
pytest.ini Show resolved Hide resolved
@thelostone-mc thelostone-mc merged commit d55d6e6 into master Oct 25, 2021
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.

5 participants