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

Adding Tip Page #78

Open
4 tasks
Alexintosh opened this issue Feb 22, 2019 · 14 comments
Open
4 tasks

Adding Tip Page #78

Alexintosh opened this issue Feb 22, 2019 · 14 comments
Labels
good first issue Good for newcomers help wanted Extra attention is needed

Comments

@Alexintosh
Copy link
Member

Alexintosh commented Feb 22, 2019

Dexpay is a modularized and extensible point of sale which enables Merchants to accept payments in cryptocurrencies without being exposed to volatility.

As an early user, I want to have a tipping page to use for instance in live streaming.

This could live in a url like /address/:address/tip, the way is supposed to work is the following:

  • There is no prefixed amount to be matched in the watched class
  • After a tip is received a nice animation is showed (react confetti?)
  • After a few seconds the animation disappers
  • The pages shows a list of the tipping received during that session.

You can discuss the development with me and @perminder-klair in our Discord Channel

@Alexintosh Alexintosh added help wanted Extra attention is needed good first issue Good for newcomers labels Feb 22, 2019
@gitcoinbot
Copy link

Issue Status: 1. Open 2. Started 3. Submitted 4. Done


This issue now has a funding of 10.0 DAI (10.0 USD @ $1.0/DAI) attached to it as part of the dexlab-io fund.

@gitcoinbot
Copy link

Issue Status: 1. Open 2. Started 3. Submitted 4. Done


Workers have applied to start work.

These users each claimed they can complete the work by 2 months, 4 weeks from now.
Please review their action plans below:

1) aesthytik has applied to start work (Funders only: approve worker | reject worker).

I will make a nice tip page showing list of tippings with animation on receiving the tip

Learn more on the Gitcoin Issue Details page.

@gitcoinbot
Copy link

Issue Status: 1. Open 2. Started 3. Submitted 4. Done


Workers have applied to start work.

These users each claimed they can complete the work by 2 months, 4 weeks from now.
Please review their action plans below:

1) e18r has applied to start work (Funders only: approve worker | reject worker).

I'd love to develop this feature, not so much for the 10 DAI, but mostly out of the desire to be a part of this beautifully crafted dapp. The Tip page will be a new component which will live in a homonomous folder under src/pages and whose route will be added to App.js. I will use the Payment component as a reference, and I will try to match the clean and minimalistic design of the other components.

Learn more on the Gitcoin Issue Details page.

@davecraige
Copy link

Awesome. Props on moving this idea forward @Alexintosh & @perminder-klair 🙏

@gitcoinbot
Copy link

gitcoinbot commented Feb 24, 2019

Issue Status: 1. Open 2. Started 3. Submitted 4. Done


Work has been started.

These users each claimed they can complete the work by 1 month, 4 weeks from now.
Please review their action plans below:

1) e18r has been approved to start work.

I'd love to develop this feature, not so much for the 10 DAI, but mostly out of the desire to be a part of this beautifully crafted dapp. The Tip page will be a new component which will live in a homonomous folder under src/pages and whose route will be added to App.js. I will use the Payment component as a reference, and I will try to match the clean and minimalistic design of the other components.

Learn more on the Gitcoin Issue Details page.

2) abhinandansharma has applied to start work (Funders only: approve worker | reject worker).

Knows a bit of Computer Science. I may help with your work.

Learn more on the Gitcoin Issue Details page.

e18r pushed a commit to e18r/dexpay-pos that referenced this issue Feb 28, 2019
Created a new tab in desktop mode called "Tip", where the Tip
component will be displayed in a modal, just like the Payment
modal. Also, created routing so that it is possible to navigate to
/address/:id/tip and make this modal open, both from desktop and from
mobile. Finally, added a "lastTab" state entry so the dapp knows which
tab to open once it is closed by a user. Created a dummy QR code
inside the Tip modal.
@gitcoinbot
Copy link

@e18r Hello from Gitcoin Core - are you still working on this issue? Please submit a WIP PR or comment back within the next 3 days or you will be removed from this ticket and it will be returned to an ‘Open’ status. Please let us know if you have questions!

  • reminder (3 days)
  • escalation to mods (6 days)

Funders only: Snooze warnings for 1 day | 3 days | 5 days | 10 days | 100 days

@e18r
Copy link

e18r commented Mar 4, 2019

I will work on this on Wednesday, no need to worry!

e18r pushed a commit to e18r/dexpay-pos that referenced this issue Mar 6, 2019
The tip page has a new layout. On the right side, it watches for any incoming payments and registers them on the left side, which uses the component RecentPayments, with a few modifications.
@gitcoinbot
Copy link

@e18r Hello from Gitcoin Core - are you still working on this issue? Please submit a WIP PR or comment back within the next 3 days or you will be removed from this ticket and it will be returned to an ‘Open’ status. Please let us know if you have questions!

  • reminder (3 days)
  • escalation to mods (6 days)

Funders only: Snooze warnings for 1 day | 3 days | 5 days | 10 days | 100 days

@e18r
Copy link

e18r commented Mar 11, 2019

I'll be working on it today. No worries.

e18r pushed a commit to e18r/dexpay-pos that referenced this issue Mar 11, 2019
The recent payments component was updated to handle new tips by
filtering out transactions that didn't happen in the current
session, and also by updating itself on the go on each tip received.
e18r pushed a commit to e18r/dexpay-pos that referenced this issue Mar 11, 2019
A confetti animation shows whenever a tip is received.
e18r pushed a commit to e18r/dexpay-pos that referenced this issue Mar 14, 2019
* The Tip component is called with the appropiate parameters from
  inside the mobile view, so that it renders correctly.
* The Watcher object is initiated as soon as the Tip component is
  loaded in case it has the active tab. This didn't happen before as
  the tab navigation allowed it to start after the component was loaded.
e18r pushed a commit to e18r/dexpay-pos that referenced this issue Mar 14, 2019
* Stores the confetti's z-index value on the component's state
* Dynamically changes this value when the animation starts and stops
e18r pushed a commit to e18r/dexpay-pos that referenced this issue Mar 14, 2019
* Created a new method of the Dashboard component, which changes the
  URL of the current page according to the active tab
* Called the new method from the tab change handlers for desktop and mobile
e18r pushed a commit to e18r/dexpay-pos that referenced this issue Mar 14, 2019
* Changed the padding of the status container so that the status text
  can be displayed in one line on desktop
* Changed the padding of the payment info container so that the
  receiving address container has more space
* Changed the crypto token info so that it contains a dropdown menu
@gitcoinbot
Copy link

Issue Status: 1. Open 2. Started 3. Submitted 4. Done


Work for 10.0 DAI (10.0 USD @ $1.0/DAI) has been submitted by:

  1. @e18r

@Alexintosh please take a look at the submitted work:


@dimarconicola
Copy link
Collaborator

I'll paste my feedback here as well

  • If the component os not going to steps 2 and 3, can we delete the 1/3 "awaiting payment" element please?
  • can we separate the arrow down from the currency name?
    just did a quick css inspecting the element on chrome

Visual ref
Screenshot 2019-03-14 at 16 08 24

@dimarconicola
Copy link
Collaborator

I would make the following small style changes on the confetti:

Screenshot 2019-03-14 at 17 24 24

Colors:
#2EDFB7
#E25050
#78B4E5
#FFEE66
#FFAA22
#BB66CC
#CCDD33
#BBBBBB

e18r pushed a commit to e18r/dexpay-pos that referenced this issue Mar 16, 2019
The payment status section of the tip payment watcher was removed.
e18r pushed a commit to e18r/dexpay-pos that referenced this issue Mar 16, 2019
…o#78)

The CryptoAmount component was updated to have a smaller padding, so
that the dropdown list button didn't overlap the selection name.
e18r pushed a commit to e18r/dexpay-pos that referenced this issue Mar 16, 2019
e18r pushed a commit to e18r/dexpay-pos that referenced this issue Mar 16, 2019
@e18r
Copy link

e18r commented Mar 22, 2019

Hi @dimarconicola @Alexintosh is there anything else you'd like me to change or improve?

@gitcoinbot
Copy link

Issue Status: 1. Open 2. Started 3. Submitted 4. Done


The funding of 10.0 DAI (10.0 USD @ $1.0/DAI) attached to this issue has been approved & issued to @e18r.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

5 participants