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

Design the UI architecture #65

Open
FelixLamontagne2 opened this issue Sep 25, 2019 · 0 comments
Open

Design the UI architecture #65

FelixLamontagne2 opened this issue Sep 25, 2019 · 0 comments
Labels
Backlog Issues that have been prioritised and analysed by the dev team New feature To groom Issue that needs a better analysis

Comments

@FelixLamontagne2
Copy link
Member

Detailed Description

The UI should use all the child and parent architecture of the Object system, but it would be nice to have a constraint system too; things like size constraints and position constraints. Layouts would also be quite beneficial.

Context (Environment)

https://www.youtube.com/watch?v=d5ttbNtpgi4&t=0s
This video have some great ideas. I still think it's UI is incomplete, but the ideas remain. Some inspiration can also be taken from many UI frameworks of mobile.

Possible Implementation

Like said in the description, constraints should be the way to go. We could add many types of constraints and set their behaviour, link them together, override them, etc. Layouts could probably be only a way to apply constraints to children, but children should be able to override them (with some extent);

For example, let's say we have a vertical layout that arrange items on top of each others with every item the same size, but the children could have a constraint that makes them grow verticaly to accomodate for more text. Other items in the layout would still be controlled by the constraints of the layout but this particular item that needs special attention should be able to override some behaviour. We could also have forced constraints like this layout could force the horizontal size to be fixed.

@FelixLamontagne2 FelixLamontagne2 added Backlog Issues that have been prioritised and analysed by the dev team New feature To groom Issue that needs a better analysis labels Sep 25, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Backlog Issues that have been prioritised and analysed by the dev team New feature To groom Issue that needs a better analysis
Projects
None yet
Development

No branches or pull requests

1 participant