Example 1. v1 Modal Window
config.json for v1 app with Modal Window explained
Introduction
Modal Window is designed to have all app pre-launch configuration options or contain critical information about app in a centralized dialog within one tab. We'll use Import Images
app as an example in this section. This is a common app that import images without annotations to Supervisely.
supervisely-ecosystem/import-images/config.json
Properties
name
name
Name of the app in Supervisely
type
type
Entity type in Supervisely Ecosystem
categories
categories
Сategories under which the app will be displayed in Ecosystem
description
description
Description of the app in Supervisely
docker_image
docker_image
Docker image used to launch the app with all pre-installed requirements
main_script
main_script
Relative path to the main script of the application from the root of the project
modal_template
modal_template
Relative path to the modal window template from the root of the project
modal_template_state
modal_template_state
Controls default values for modal window variables.
task_location
task_location
Specifies where to display task
icon
icon
Link to the app icon
icon_cover
icon_cover
Stretches the icon to full width.
Comparison of icon cover
true (left) and false (right)
icon_background
icon_background
Background of app icon in hex color code
min_agent_version
min_agent_version
Minimum required agent version to launch the app. Agent version can be found at Team Cluster
page
min_instance_version
min_instance_version
Minimum required instance version to launch the app. Current instance version can be found at the bottom right corner of the Supervisely page.
headless
headless
Specifies that app does not have GUI
context_menu
context_menu
App context menu configuration
poster
poster
Link to app poster
Last updated