Kate
2 years ago
committed by
GitHub
9 changed files with 58 additions and 10 deletions
@ -0,0 +1,9 @@
|
||||
# Architecture overview |
||||
|
||||
![Architecture overview diagram](architecture.svg) |
||||
|
||||
The framework consists of multiple packages: |
||||
- For APIs the nextcloud package provides the implementations. The dynamite generator generates the code using the OpenAPI specs. |
||||
- The main package is the neon package that provides widgets and functionality that is useful for building a Nextcloud client. It also manages the global state at runtime so that the app implementations do not have to manage things like multiple accounts for example. |
||||
- The individual apps are implemented as separate packages. Those depend on the neon framework and implement a few interfaces so that the neon framework can use them. |
||||
- On top of all that sits the app package that injects the relevant app implementations into the framework. It is possible to configure which app implementations should be included and how the app is branded. |
Before Width: | Height: | Size: 15 KiB After Width: | Height: | Size: 15 KiB |
@ -0,0 +1,5 @@
|
||||
# Login user flow |
||||
|
||||
This diagram displays the user flow for logging into the app. This is not how it currently works, but how it should work at some point. |
||||
|
||||
![Login user flow diagram](login.svg) |
@ -0,0 +1,36 @@
|
||||
@startuml login |
||||
|
||||
(*) if "Started from QR code scanner?" then |
||||
-[#red]->[Yes] "Validate server details" |
||||
else |
||||
->[No] if "Has account?" then |
||||
-->[Yes] (*) |
||||
else |
||||
-->[No] "Login page" |
||||
endif |
||||
endif |
||||
|
||||
if "Selected login method?" then |
||||
-[#blue]->[Login flow] "Validate server details" |
||||
-[#blue]-> "Open login flow page" |
||||
-[#blue]-> "Initiate login flow" |
||||
-[#blue]-> "Open web browser" |
||||
-[#blue]-> "Wait for login flow result" |
||||
-[#blue]-> "Validate login details" |
||||
else |
||||
-[#red]->[QR code] "Open QR scan page" |
||||
-[#red]-> "Scan QR code" |
||||
-[#red]-> "Validate server details" |
||||
-[#red]-> "Validate login details" |
||||
endif |
||||
|
||||
-->[Login success] (*) |
||||
|
||||
|
||||
legend left |
||||
|Color | Login method | |
||||
|<#red> | QR Code | |
||||
|<#blue>| Login flow | |
||||
endlegend |
||||
|
||||
@enduml |
After Width: | Height: | Size: 15 KiB |
Loading…
Reference in new issue