Skip to content

Commit

Permalink
gif and release
Browse files Browse the repository at this point in the history
  • Loading branch information
brasov2de committed Aug 1, 2020
1 parent 900e49e commit c0c6883
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 5 deletions.
8 changes: 4 additions & 4 deletions ColorfulOptionsetGrid/ControlManifest.Input.xml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<manifest>
<control namespace="ORBIS" constructor="ColorfulOptionsetGrid" version="0.0.10" display-name-key="ORBIS_ColorfulOptionsetGrid" description-key="ORBIS_ColorfulOptionsetGrid_Description" control-type="standard">
<control namespace="ORBIS" constructor="ColorfulOptionsetGrid" version="0.0.12" display-name-key="ORBIS_ColorfulOptionsetGrid" description-key="ORBIS_ColorfulOptionsetGrid_Description" control-type="standard">
<!-- dataset node represents a set of entity records on CDS; allow more than one datasets -->
<data-set name="dataset" display-name-key="Dataset" cds-data-set-options="displayCommandBar:true;displayViewSelector:true;displayquickfind:true">
<!-- 'property-set' node represents a unique, configurable property that each record in the dataset must provide. -->
Expand All @@ -10,15 +10,15 @@
<!-- UNCOMMENT TO ADD PROPERTY-SET NODE
<property-set name="samplePropertySet" display-name-key="Property_Display_Key" description-key="Property_Desc_Key" of-type="SingleLine.Text" usage="bound" required="true" />
-->
</data-set>
</data-set>
<property name="displayTextType" display-name-key="Display_text_type" description-key="Display text type" of-type="Enum" usage="input" required="true">
<value name="SIMPLE" display-name-key="No decoration" description-key="No decoration" default="true">SIMPLE</value>
<value name="BOX" display-name-key="Colorful background" description-key="Colorful background">BOX</value>
<value name="BORDER" display-name-key="Colorful Border" description-key="Colorful Border">BORDER</value>
<value name="BORDER" display-name-key="Colorful Border" description-key="Colorful Border">BORDER</value>
</property>
<property name="displayIconType" display-name-key="Icon definition" description-key="Icon definition" of-type="Enum" usage="input" required="true">
<value name="NONE" display-name-key="No icon" description-key="No icon">NONE</value>
<value name="NAME" display-name-key="Icon name or JSON" description-key="Using the icon name or a JSON config {value: {icon, color}}" default="true">NAME</value>
<value name="NAME" display-name-key="Icon name or JSON" description-key="Using the icon name or a JSON config {value: {icon, color}}" default="true">NAME</value>
<!--value name="ENVIRONMENT" display-name-key="Name of environment variable" description-key="The iconConfig parameters contains the name of Envirionment Variables containing JSON Config like {value, color, icon}">ENVIRONMENT</value-->
</property>
<property name="defaultIcon" display-name-key="Default Icon name" description-key="The default name of the icon" of-type="SingleLine.Text" usage="input" required="false" default-value="CircleShapeSolid" />
Expand Down
Binary file added Docs/img/ColorfulOptionsetGrid.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
8 changes: 7 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
The family of ColorfulOptionset Controls has a new member: ColorfulOptionsetGrid. Using this control, you can show the OptionsSets using the colors customized using the standard experience.
The Grid is not limited to showing the color "with a dot". You can choose from different possibities: with/no icon of your choice, whowing a border or a filled box.
![ColorfulOptionsetGrid](./Docs/img/ColorfulOptionsetGrid.png)
![ColorfulOptionsetGrid](./Docs/img/ColorfulOptionsetGrid.gif)

For now the control is only for ModelDriven apps, but as soon the CanvasAPps geht more stable, I intend to extend the control.

Expand Down Expand Up @@ -81,6 +82,11 @@ If you need more columns, you can define "Optionset 2" and "iconConfig2" paramet
&#10071; If only "Optionset x" is defined, but not the "iconConfig x", then the "Default icon name" will be used.



## Open isses:
- Translations
- Extend the icon definition to "Environment variables"
- Show lookups as hyperlinks
- Responsive UI (cards)
- CanvasApp


0 comments on commit c0c6883

Please sign in to comment.