Skip to main content

Robocorp Dialog

A separate executable which opens a dialog window for querying user input. Content created dynamically based on JSON spec.

Used in Dialogs library.

How to build

The Python project uses pywebview to render the files in the static/ folder. In order to install the Python and JS dependencies you can use: poetry run inv install and then to build the static files once use: poetry run inv build-js

It is recommended that for development you use the watch command so that the front-end is continously built after each change: poetry run inv watch-js

How to test

Use: poetry run inv test

How to run

You will also need a JSON formatted input that will contain the elements to be rendered in the dialog. An example of such a JSON would be: form_with_steps.json

Then the command you use to call the main.py file will have to contain this JSON alongside the window title and sizes. A basic example to start a dialog with a heading would be:

python robocorp_dialog/main.py --title Dialog --width 480 --height 100 --auto_height '[{"type":"heading","value":"Send feedback","size":"medium"}]'

Metadata

Release files for robocorp-dialog 0.5.3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for robocorp-dialog 0.5.3
File Size Uploaded
robocorp-dialog-0.5.3.tar.gz 21.9 MB Details

Built distribution (wheel)

Table of built distributions (wheels) for robocorp-dialog 0.5.3
File Interpreter ABI Platform
robocorp_dialog-0.5.3-py3-none-any.whl Python 3 none any Details

Total release size: 44.1 MB

Release files / robocorp-dialog-0.5.3.tar.gz

Download URL robocorp-dialog-0.5.3.tar.gz
Size 21.9 MB
Tags Source
SHA-256 checksum
How to use checksums
bad97f722fe546e0d15ff91a111c0bb674c614c50557fdc0265c8cab9cd14fcf
BLAKE2b-256 checksum
How to use checksums
57c47f76f47cb05078a5d7b2e475dbbecd166324290b9095d805de50df665db8
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.1.11 CPython/3.9.7 Linux/5.13.0-39-generic

Release files / robocorp_dialog-0.5.3-py3-none-any.whl

Download URL robocorp_dialog-0.5.3-py3-none-any.whl
Size 22.2 MB
Tags Python 3
SHA-256 checksum
How to use checksums
df0d1264e71c3c9005b7c40af6ac23ca53ad758beefe02e579543b2521de24d3
BLAKE2b-256 checksum
How to use checksums
9904de25243feed8ef35a155a540fe0dadb465b46e1b92286d0f85aa32e208eb
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.1.11 CPython/3.9.7 Linux/5.13.0-39-generic

Release history Release notifications | RSS feed

This release

0.5.3 This release

2 release files

0.5.1

2 release files

0.4.1

2 release files

0.4.0

2 release files

0.2.3

2 release files

0.2.2

2 release files

0.2.1

2 release files

0.2.0

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page