Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create generic UI presentation kit for mockups #4

Open
malware-dev opened this issue Apr 4, 2018 · 5 comments
Open

Create generic UI presentation kit for mockups #4

malware-dev opened this issue Apr 4, 2018 · 5 comments
Assignees
Labels
enhancement New feature or request

Comments

@malware-dev
Copy link
Owner

... so one does not necessarily have to know WPF to add UI support to block mockups.

@malware-dev malware-dev added the enhancement New feature or request label Apr 4, 2018
@malware-dev malware-dev self-assigned this Apr 4, 2018
@bls220
Copy link

bls220 commented Aug 22, 2018

What did you have in mind for this presentation layer? Thinking of a MVVM architecture with base usercontrols for all the displays? I'm just trying to get an idea of what the plans are. I have begun creating the skeleton of the app, but without any real presentation layer.

@malware-dev
Copy link
Owner Author

Well the idea is to have an individual control per block type, with a fallback for each inheritance point, yeah. I'm thinking that the block mockups will be the models directly. The core idea must be for this system to be near effortless for the end user to start using, and as easy as possible for contributors to add new block mockups. Those must be core values.

@kwilliams1987 kwilliams1987 self-assigned this May 3, 2019
@kwilliams1987
Copy link
Collaborator

I started implementing this via the IMockupDataTemplateProvider interface, however it currently only returns the name of the WPF DataTemplate that the page should use.

Perhaps a better approach would be to leverage the MetadataTypeAttribute provided by .NET to allow the UI to know how to present each of the class properties to the user.

@kwilliams1987
Copy link
Collaborator

I've made a new branch mockup-ui-presentation for this issue.

@kwilliams1987
Copy link
Collaborator

Implemented in #19

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants