Overview
In this past month I was working on the update of the lime-app dependencies (it was quite outdated). I also worked on the view and the ubus module that reads and saves ground routing settings in the LiMe config file.
The view: (Github LimeApp branch)
It is the minimum configuration of a plugin for lime-app. It has defined the constants, the store, actions (set and get) and basic epics to obtain the data using uhttp-mod-ubus.
Lime-app uses Preact for rendering the views, redux for state management and rxjs-observable as middleware for asynchronous events. For now you only get the setting as a json and expose it to the user.
Ubus (Github lime-package-ui branch)
Create the lime-groundrouting package that exposes and sets the graound rotuing configuration to lime. For the time being, just expose the settings.
ubus call lime-groundrouting get
To do this I use the LUA library lime.config.
Next step: Save changes.
In the coming weeks I will mount the form and the validation scheme in both the app and the ubus module.