From 8c080a7a6eecac040f30008752161754b00c1e10 Mon Sep 17 00:00:00 2001 From: Tobias SN <15670490+TobiasSN@users.noreply.github.com> Date: Sun, 18 Jun 2023 23:05:54 +0200 Subject: [PATCH] design(lokui): add document to discuss design of Lokui --- lokui/DESIGN.md | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 lokui/DESIGN.md diff --git a/lokui/DESIGN.md b/lokui/DESIGN.md new file mode 100644 index 0000000..85dfac2 --- /dev/null +++ b/lokui/DESIGN.md @@ -0,0 +1,27 @@ +# Lokui Design + +This document serves two purposes. To analyze existing UI frameworks for the purpose of learning from them, and then to design one that takes advantage of what is found to work well while avoiding the drawbacks. The end goal is not to have the design of Lokui completely fleshed out, but enough that everyone is on the same page of what working with it will be like. + +## Existing frameworks + +This may also include frameworks in other languages if they provide useful insights. Below is an example of a fictional framework to illustrate what each one should look like. + +### Mug + +Pros: + +- The feature of reading one's mind to determine what the GUI should look like is extremely convenient and increases productivity dramatically. Here's a link to a demonstration of this. +- It is very customizable. Here's an example of how. + +Cons: + +- Mind-reading is rather intrusive. +- It refuses to display the number 27 for some reason. Here's an example of this happening. + +## Conclusion + +Here, we will document our learnings from the section above after we have gone through all the frameworks we want to, and what we want to take with us when designing Lokui. + +## Lokui + +Here, we will actually design Lokui, with code samples where relevant. This will probably change while we're implementing it, but it is a good start.