swarmcity / SwarmCityConcept

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

As a selected Replier I decline the selection, so I can express I’m no longer interested in fullfilling the request. #28

Open kikipluche opened 6 years ago

kikipluche commented 6 years ago

Abstract:

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

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

The Selected Replier can decline the selection up until both Seeker and Selected Replier are engaged in a deal.

How it could work:

On the detail-view of a hashtagItem, the Selected Replier can tap a button "Decline". The hashtagItem is updated, the "selectee" entry is removed. The reply is removed from the hashtagItemsObject on the levelDB.

How the API could work:

declineProvider 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)


route: /hashtag/[contractadress]

On the detail-page of an item, the selected Replier sees a view containing (A):

By tapping the black X-mark, the user declines the deal, changing the view to the confirm-decline-page (B).

The copy on confirm-decline-page (B) is “Decline this deal?”. The small copy is “This can not be undone. [Seeker] will be notified that you don’t want to accept this deal. Your reply will be removed.”

When the user taps the big white button with red V-mark, he confirms the declining, changing the view back to the detail-view of the item (A), where his reply is removed.

When he taps the black X-mark, the whole action is aborted.


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