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

As seeker, I can deselect the replier I previously selected, so I can choose another one. #27

Open
kikipluche opened this issue May 31, 2018 · 0 comments

Comments

@kikipluche
Copy link
Contributor

Abstract:

In Swarm City, Seekers choose their own Provider. Repliers indicate their interest in fulfilling a request by replying to it.

The Seeker has the ability to examine the reputation of anyone replying to their request.

The Seeker selects one of the Repliers to become the Provider.

The Seeker can deselect the selected Replier up until both Seeker and selected Replier are engaged in a deal.

How it could work:

On the detail-view of a hashtagItem, the Seeker can tap a button "Deselect". The hashtagItem is updated, the "selectee" entry is removed from the hashtagItemsObject in the levelDB on the API.

How the API could work:

deselectProvider
parameters

{
 "hashTag": "0x123...abc",
 "dealHash" : "0x123abc....34",
}

returns

{
 status : 200 // OK
}

What it looks like:

Userflow: https://invis.io/ABGM89SX3V5#/295754536_-Hashtag--contractaddress---dealhash-_ACCOUNT_ProviderSelected
( > in Invision, hold shift to see clickable areas)


routes: /hashtag/[contractadress]/[dealhash] & /confirm-deselect-page/

When the user has selected a Replier, he lands on the detail-view (A), showing the item with the selected Replier.

Below the shareable link, we see:

  • reply of the selected Replier:
    • Description
    • Datetime
    • copy: "for (amount) swt"
    • avatar
    • name and "•" and ProviderRep* and "SWR" (blue)
      *visually presented simple as "SWR"
  • blue area containing:
    • copy: "You selected (Provider) to make a deal."
    • copy: "Waiting for (Provider) to respond."
    • deselect-button, white copy: "deselect (Provider)"

By tapping the deselect-button, the view changes into the confirm-deselect-page (B).

The copy on confirm-deselect-page (B) is “Deselect [Provider] from this deal?”.

When the user taps the big white button with red V-mark, he confirms the deselecting, changing the view back to the detail-view (A). When he taps the black X-mark, the whole action is aborted, also changing the view back to the detail-view (A).


Desktop view:


Invisionlinks with login (for inspect mode!):
mobile: https://projects.invisionapp.com/d/main#/console/13838256/295754536/inspect
desktop: https://projects.invisionapp.com/d/main#/console/14147648/295975986/inspect

Documentation / references


With ♡ from Swarm City

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant