swarmcity / SwarmCityConcept

This is the high level description of what needs to be built
9 stars 1 forks source link

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

Open kikipluche opened 6 years ago

kikipluche commented 6 years ago

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:

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