Closed cmin764 closed 1 year ago
Moved to backlog at https://github.com/robocorp/rpaframework/projects/5
Add File Input
to provide feedback when a file is picked, so the user knows that he really picked something and what he picked. (displaying the file name in the button text or label or optionally add an additional entry which confirms the path to the file)This bug is a won'tfix, with Flet supporting relative paths is just too much of a hassle.
Add File Input
: Relative paths don't work (nothing happens when you press the buttton).
Expected: Add File Input source=devdata
; Workaround: ${source} = Absolute Path devdata
(and using the absolute path)Open parts were fixed by https://github.com/robocorp/rpaframework/pull/830
Assistant version: 1.0.6 Portal example robot used for testing: https://github.com/robocorp/example-signature-match-assistant
Bugs
Add Text Input
: If you leave it untouched, you get nothing in the result dictionary, but if you type something inside and then you clear the whole content, then you get an empty string in the result dictionary. Is that intended? (and if "yes", then what's a valid use-case?) -- the example bot fails with'' cannot be converted to a floating point number: ValueError: could not convert string to float: ''
when touching those text fields without letting a value inside at the endNot clear docs/behavior (confusing expectations)
Add Submit Buttons
states:I saw no automatically generated buttons with the below example, did I miss something?
As only
Ask User
adds automatically "Submit"/"Close" buttons, no matter if we have input fields or not in the dialog.Solution: Either remove the misleading docs or implement the behavior.
Run Dialog
states:What does this mean? Is that belonging to the
location
param? And if yes, then by that "None" do we actually refer toNone
, meaning that the default behavior will let the OS decide where to place the dialog window?Solution: Reformat the docstring so the user understands to what param the
None
value addresses. (if is meant for "None" to refer to a value and not a pronoun in that decoupled sentence)Enhancements
Add Text Input
(and others): Support for default values, as is tedious to check for every input if there is something passed and if there's nothing, then to assign a default. (will help with bug at 2.)Nice to have
Fixes in https://github.com/robocorp/rpaframework/pull/829
Camel Case Titles
kind of keyword names -- see Slack thread)Clear Dialog
states:But I couldn't achieve the behavior without clearing the dialog explicitly by running the keyword myself in the bot.
Run Dialog
to support aclear=${True}
param which will clear after the result dictionary is obtained, so the next displayed dialog will start from a fresh state. (andAsk User
will setclear
toTrue
by default)