decentralized-identity / wallet-rendering

Specifications for rendering DID and Credential-centric data in wallet applications
https://identity.foundation/wallet-rendering
Apache License 2.0
8 stars 2 forks source link

Grouping Properties #21

Open colbyharrison opened 2 years ago

colbyharrison commented 2 years ago

Allow for grouping of properties with some way of describing how the groupings are layed out. For example:

Group 1 (2 columns) ex: FirstName LastName Group 2 ( 3 columns , 20%, 40%, 40%). ex: | 20% | 40% | 40% |

Requirements:

  1. Optional Group label
  2. Multiple groups allowed
  3. Some description of the preferred group layout. Could be as simple as the number of columns in a row, or more complicated percentage based layout
scrummitch commented 2 years ago

Apple Wallet documentation has some good ideas here that support multiple types of credentials in a single interface. https://developer.apple.com/library/archive/documentation/UserExperience/Conceptual/PassKit_PG/Creating.html

colbyharrison commented 2 years ago

per discussion 10/6 at least 1 other team needs this

andorsk commented 2 years ago

Also UI Schema might be worth a look https://jsonforms.io/docs/uischema/

colbyharrison commented 2 years ago

UI Schema is certainly a good point of inspiration. By defining Horizontal and Vertical layout types with nested groupings you can declare a large variety of layouts. I'm going to spend a little bit more time exploring other options, before proposing a solution.