Browse Source

docs: barcode & qrcode

Signed-off-by: Raju Udava <86527202+dstala@users.noreply.github.com>
pull/6467/head
Raju Udava 1 year ago
parent
commit
7743677098
  1. 10
      packages/noco-docs/docs/060.fields/030.field-types/050.custom-types/030.rating.md
  2. 28
      packages/noco-docs/docs/060.fields/030.field-types/050.custom-types/040.QR-code.md
  3. 34
      packages/noco-docs/docs/060.fields/030.field-types/050.custom-types/050.barcode.md
  4. BIN
      packages/noco-docs/static/img/v2/fields/barcode-cell.png
  5. BIN
      packages/noco-docs/static/img/v2/fields/barcode-expand.png
  6. BIN
      packages/noco-docs/static/img/v2/fields/qr-cell-display.png
  7. BIN
      packages/noco-docs/static/img/v2/fields/qr-expand.png

10
packages/noco-docs/docs/060.fields/030.field-types/050.custom-types/030.rating.md

@ -22,6 +22,16 @@ The
Cell displays the ratings in the color & icon selected for the field. Cell displays the ratings in the color & icon selected for the field.
![image](/img/v2/fields/rating-cell.png) ![image](/img/v2/fields/rating-cell.png)
### Setting value for the field
- Click on the `nth` rating icon to set the rating value for the field as `n`.
- Key in the rating value in the cell to set the rating value for the field.
- Paste the rating value in the cell to set the rating value for the field.
### Unsetting value for the field
- Click on the `nth` rating icon again to set the rating value for the field as `0`.
- Key in `0` in the cell to set the rating value for the field as `0`.
- Key in `Delete` to set the rating value for the field as `0`.
### Supported icons ### Supported icons
NocoDB supports the following icons for the rating field type. NocoDB supports the following icons for the rating field type.
![image](/img/v2/fields/rating-icon.png) ![image](/img/v2/fields/rating-icon.png)

28
packages/noco-docs/docs/060.fields/030.field-types/050.custom-types/040.QR-code.md

@ -3,3 +3,31 @@ title: 'QR code'
--- ---
import Tabs from '@theme/Tabs'; import Tabs from '@theme/Tabs';
import TabItem from '@theme/TabItem'; import TabItem from '@theme/TabItem';
`QR code` is a custom field type that allows you to generate a QR code from a string value. This is useful for generating QR codes for things like URLs, phone numbers, or other data that can be represented as a string.
The following column types are supported for the reference column:
* Formula
* Single Line Text
* Long Text
* Phone Number
* URL
* Email
## Create a QR code field
1. Click on `+` icon to the right of `Fields header`
2. [**Optional**] On the dropdown modal, enter the field name.
3. Select the field type as `QR Code` from the dropdown.
4. Select the field to be used as the source for the QR code.
5. Click on `Save Column` button.
![image](/img/v2/fields/QR.png)
### Cell display
Cell displays the QR code generated from the source field. Click on the cell to open enlarged view of the QR code.
![image](/img/v2/fields/qr-cell-display.png)
![image](/img/v2/fields/qr-expand.png)
## Related fields
- [Barcode](050.barcode.md)

34
packages/noco-docs/docs/060.fields/030.field-types/050.custom-types/050.barcode.md

@ -3,3 +3,37 @@ title: 'Barcode'
--- ---
import Tabs from '@theme/Tabs'; import Tabs from '@theme/Tabs';
import TabItem from '@theme/TabItem'; import TabItem from '@theme/TabItem';
`Barcode` is a custom field type that allows you to generate a barcode from a string value. This is useful for generating barcodes for things like URLs, phone numbers, or other data that can be represented as a string.
![image](/img/v2/fields/barcode.png)
The following column types are supported for the for reference column:
* Formula
* Single Line Text
* Long Text
* Phone Number
* URL
* Email
## Create a barcode field
1. Click on `+` icon to the right of `Fields header`
2. [**Optional**] On the dropdown modal, enter the field name.
3. Select the field type as `Barcode` from the dropdown.
4. Select the field to be used as the source for the barcode.
5. Select the barcode type from the dropdown.
6. Click on `Save Column` button.
### Cell display
Cell displays the barcode generated from the source field. Click on the cell to open enlarged view of the QR code.
![image](/img/v2/fields/barcode-cell.png)
![image](/img/v2/fields/barcode-expand.png)
### Supported barcode types
NocoDB supports the following barcode types for the barcode field type.
CODE128, EAN, EAN-13, EAN-8, EAN-5, EAN-2, UPC (A), CODE39, ITF-14, MSI, Pharmacode, Codabar.
## Related fields
- [QR code](040.QR-code.md)

BIN
packages/noco-docs/static/img/v2/fields/barcode-cell.png vendored

Binary file not shown.

After

Width:  |  Height:  |  Size: 78 KiB

BIN
packages/noco-docs/static/img/v2/fields/barcode-expand.png vendored

Binary file not shown.

After

Width:  |  Height:  |  Size: 51 KiB

BIN
packages/noco-docs/static/img/v2/fields/qr-cell-display.png vendored

Binary file not shown.

After

Width:  |  Height:  |  Size: 100 KiB

BIN
packages/noco-docs/static/img/v2/fields/qr-expand.png vendored

Binary file not shown.

After

Width:  |  Height:  |  Size: 87 KiB

Loading…
Cancel
Save