...
The NetworkMap should be extended with the following functionality:
...
Table of Contents |
---|
Topics of extension
Search / Filter
- Search functionality should be extended to conform with the string filter of UX-Framework Tablefilter, in particular:
- wildcard - *
- omitting of single character - ?
- Filtering should be added:
- filtering of layers (eg. only show links)
- filtering by property (eg. show all sites with a roadm) - filter specification to be added
- Display of search results has to be updated to handle multiple results
Customization
The Network Map should be customizable to the user's liking.
...
Settings should be saved in the database using the /userdata endpoint. (ODLUX DB API Extension for Userdata)
NetworkMap Themes
Themes allow a basic restyling of the map. They can be added via the "userdata-defaults.json" of the ODLUX DB API Extension for Userdata.
For now, only four properties can be styled:
- sites
- selectedSites
- fiberLink
- microwaveLink
For now, only the color can be set. The color should be set in hex-code. All 4 properties must be set in order for the theme to be readable. Additionally, every theme needs a "key" property, which acts as a name to be displayed in the dropdown element. Only one theme can be applied at any given time.
The first entry of the themes is used as default, as long as the user has not selected a theme via the settings page.
In absence of defined themes, two default themes "light" and "dark" are used.
Example of a theme
Code Block |
---|
"networkMapThemes":{
"themes": [
{"key": "light", "site": "#11b4da", "selectedSite": "#116bda", "fiberLink": "#1154d9", "microwaveLink": "#039903"}
]
} |
UI Changes
- details view should be adjusted whether or not a fiber or microwave link is shown
- fiber-link: azimuth not shown
- Connection error message should be changed to a 'service unavailable' message
...