You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Snap components enable adding custom UI components defined by snap-kit to the DevRev UI.
2
4
These components can be used to display data or interact with the user.
3
5
Snap components are defined in the snap-in manifest file. DevRev UI renders these components based on the defined configuration.
4
6
5
7
Each snap-component has the following properties:
8
+
6
9
-`surface` : the surfaces where the snap component can be displayed. Currently, only `issue` is supported. // TODO: Confirm this.
7
10
-`snap_kit_action_name` : the name of the snap kit action that will be triggered when the action defined in the snap-kit of the snap component is interacted with.
8
11
-`snap_kit_body` : the initial body of the snap kit action that will be rendered when the snap component is loaded.
9
-
-`initializer` : references a function that can be called to initialize the snap component. This is useful when the snap component needs to be initialized with data from the server based on the context where it is being initialized.
0 commit comments