Suggestion: document how to detect and handle upload failure that may occur with a FileLoader . E.g., what type of Exception will be raised, etc.
Edit: inspired by this post: Event handler for a successful datatable insert? - #4 by p.colbert
Suggestion: document how to detect and handle upload failure that may occur with a FileLoader . E.g., what type of Exception will be raised, etc.
Edit: inspired by this post: Event handler for a successful datatable insert? - #4 by p.colbert
There’s a broken link in the “Learn more about RichText” help pop-up. The “View full documentation” links to
https://anvil.works/docs/client/components/basic#richtext
whereas the correct link is now
https://anvil.works/docs/client/components/containers#richtext
As far as I can tell, the official documentation of the special Anvil html attributes is incomplete. For instance, the anvil-if-slot-empty attribute shown in the following example is not documented there: Hand-drawn web apps
It would be great to include the info from this post regarding creating PDFs from dependent apps.
In below snap, text is different than below code. In case if both are related, need to update text accordingly in output.
Text that could work here and satisfy both intentions is
“This is a Link that goes to Anvil”
In the documentation of the basic components (anvil.works/docs/client/components/basic#timer), the text “Set the interval
property to specify the wait time in sections.” should probably be “Set the interval
property to specify the wait time in seconds.”
New IDE:
The new beta docs link to “Importing other apps” -
takes you to docs which don’t include the 3rd party code way of adding a dependency -
It would be good to note here that, while ordinary global variables are not allowed in server code (without the “Keep Server Running” option available only for the Business Plan), it is possible to store session data server-side this way.
In the documentation on Canvas: Anvil Docs | Canvas
The section is titled Redraw Canvas on resize, but the function given there does not redraw the canvas. The description says Should be called after resizing the canvas., and that’s true, since otherwise the drawing in the canvas will be stretched after changing the canvas size.
More description in this section would be a good idea, including a mention that reset_context does not redraw the canvas, that still has to be done after reset_context is called.
The documentation page for Canvas Anvil Docs | Canvas does not mention the HTML canvas object’s quadratic_curve_to, despite it being available through Anvil’s canvas.
The keyboard shortcuts page for Beta doesn’t have Control + B to show or hide the app Browser pane
… and Ctrl+Q to expand/compress a region of code.