# Partner View Redesign ## Goals * Simplify page * Accomodate tables for richer presentations based on proof templates * Try to incorporate changes that come with v2 protocols and DIF/W3C formats ==The bigger todo will be the design of the exchange record details pages as well the action pages== ## Sections * Sections beside profile will only be visible if connection is established * Each section will be a card ### Profile * no changes for now ### Messages * Card with Chat view (will be added later) ### Presentation Exchanges | Name | updated at | State | Actions| | ---------- | -------- | -------- | ------ | | Text | Date time | Text | Icons | Clicking on a row will open a details page or modal ==Question: Do we need role or initiator in this table?== #### Card Actions - Send Presention - Request Presentation #### Name The name of the proof request. The name of the proof request will be the name of the proof template. ==In v1 proposal can't have a name. Possbible hack would be to misuse the comment field== #### Indy proof request ``` { "nonce": “2934823091873049823740198370q23984710239847”, "name":"My custom proof request", "version":"0.1", "requested_attributes":{ "attr1_referent": {"name":"sex"}, "attr2_referent": {"name":"phone"}, "attr3_referent": {"names": ["name", "height"], "restrictions": <restrictions specifying government-issued ID>} }, "requested_predicates":{ "predicate1_referent":{"name":"age","p_type":">=","p_value":18} } } ``` #### DIF Presentation Definition https://identity.foundation/presentation-exchange/#presentation-definition may also include a name property. #### Updated at last timestamp the record was updated #### State Will be any of present-proof states #### Actions - Accept - Deny - Delete ==Question: Should we allow rich actions (accept, deny) in this view or allow these actions only in the details view / model?== ### Credential Exchanges | Name | updated at | State | Actions| | ---------- | -------- | -------- | ------ | | Text | Date time | Text | Icons | Clicking on a row will open a details page or modal #### Card actions - Issue Credential - Request Verification #### Name The name/type of the #### Updated at last timestamp the record was updated #### State Will be any of issue-credential states #### Actions Actions are state dependent - Accept - Deny - Revoke - Delete (This won't delete the credential)