Skip to content
This repository has been archived by the owner on May 12, 2022. It is now read-only.

Design customizable UI for snaps "L2 Asset" use case #158

Open
5 tasks
danfinlay opened this issue Nov 12, 2019 · 5 comments
Open
5 tasks

Design customizable UI for snaps "L2 Asset" use case #158

danfinlay opened this issue Nov 12, 2019 · 5 comments
Assignees

Comments

@danfinlay
Copy link

danfinlay commented Nov 12, 2019

The snaps system can be big and daunting, but breaking it into smaller deliverables can help us reason about it. In this issue, I will list just the design tasks required to enable a basic layer-2 asset like Starkware, Counterfactual, Unipig, or Aztec protocol. These designs may also be sufficient for supporting some other blockchains!

This will probably be our first target for a snaps UI API, and so this should be the top priority target for plugin-related design.

For a more detailed technical exploration, please refer to MetaMask/metamask-snaps-beta#105

The specific design tasks are these:

These 3 design targets cover many use cases:

  • Layer 2 scaling
  • Other blockchains
  • Other token standards
  • New Collectible types
  • Subscriptions
  • Allowances
  • More!
@danfinlay danfinlay changed the title Design customizable UI for snaps "custom assets" use case Design customizable UI for snaps "L2 Asset" use case Nov 18, 2019
@rekmarks
Copy link
Member

rekmarks commented Nov 18, 2019

For all of these different views/pages, I want to emphasize that we should include "Display the associated network/protocol" as a feature/requirement. I believe all of these assume—correct me if I'm wrong—that we've removed the notion of a globally selected network. However, every instance of these usecases will be associated with a particular L1/L2 network and protocol, and the user should never be confused about which.

If we do that, I think the UI would basically be ready for other blockchains!

@danfinlay
Copy link
Author

I want to emphasize that we should include "Display the associated network/protocol" as a feature/requirement.

If we allow custom views on selection, what would distinguish what you proposed from that?

I like that choice because it allows the asset to determine what is relevant when considering it, but is not coupled to any assumptions like "this asset is related to an associated network or protocol, which has some kind of home page that one could view".

But I may be missing some opportunity you're suggesting. Maybe you mean an easy way to open the settings page for a plugin from its assets?

@omnat
Copy link
Collaborator

omnat commented Dec 2, 2019

@omnat omnat added this to the Sprint 25 [December 2] milestone Dec 2, 2019
@omnat omnat assigned rachelcope and cjeria and unassigned rachelcope Dec 2, 2019
@omnat
Copy link
Collaborator

omnat commented Dec 2, 2019

Let me know if you got questions on this @rachelcope @cjeria
@omnat to loop in RC, CJ with Tom on email

@omnat
Copy link
Collaborator

omnat commented Jan 10, 2020

  • Design for use-cases and test with different L2 protocols to make a universal / generalizable design that'd allow good integration (good UX) irrespective of the protocol/L2 plugin.

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

No branches or pull requests

5 participants