mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-01-21 07:55:00 +00:00
- Add typing information for init methods Info, Shortcut, and Menu to easily identify problems. - Update docstrings for these components. - Updates test cases to deal with tags instead of short description. - Update custom shortcuts code to read tags and ignore short description. - Update API to send tags instead of custom shortcuts. - OpenVPN special treatment of info.description in Shortcut Tests: - All unit tests pass and type checking succeeds. - All apps show icons with tags in apps and system section. - In help section cards don't show tags. - In front page, enabled apps show shortcuts with tags. Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org> Reviewed-by: Joseph Nuthalapati <njoseph@riseup.net>
14 lines
429 B
JSON
14 lines
429 B
JSON
{"shortcuts": [{
|
|
"name": "NextCloud",
|
|
"description": [ "Nextcloud is a suite of client-server software for creating and using file hosting services." ],
|
|
"icon_url": "/plinth/custom/static/themes/default/icons/nextcloud.png",
|
|
"clients": [{
|
|
"name": "nextcloud",
|
|
"platforms": [{
|
|
"type": "web",
|
|
"url": "/nextcloud"
|
|
}]
|
|
}],
|
|
"tags": ["Groupware", "File sync"]
|
|
}]}
|