Commit ba0735dd authored by Duggan, John's avatar Duggan, John Committed by Yakubov, Sergey
Browse files

Add component for uploading files from either the local machine or the remote server

parent 23f341fc
Loading
Loading
Loading
Loading

CHANGELOG.md

0 → 100644
+5 −0
Original line number Diff line number Diff line
### nova-trame, 0.18.0

* The `CompactTheme` has been overhauled and should produce denser UIs (thanks to Kristin Maroun).
* You can now use `nova.trame.view.components.FileUpload` to allow the user to upload a file from their computer or pick a file off of the analysis cluster (thanks to John Duggan).
* Content placed in the `post_content` slot will now stick to the bottom of the main `content` slot instead of sticking to the bottom of the page (thanks to John Duggan).
+4 −0
Original line number Diff line number Diff line
@@ -36,6 +36,10 @@ View Components
    :members:
    :special-members: __init__

.. autoclass:: nova.trame.view.components.FileUpload
    :members:
    :special-members: __init__

.. _api_interactive2dplot:

.. autoclass:: nova.trame.view.components.visualization.Interactive2DPlot
+655 −466

File changed.

Preview size limit exceeded, changes collapsed.

+7 −1
Original line number Diff line number Diff line
[project]
name = "nova-trame"

[project.urls]
Changelog = "https://code.ornl.gov/ndip/public-packages/nova-trame/blob/main/CHANGELOG.md"

[tool.poetry]
name = "nova-trame"
version = "0.17.3"
version = "0.18.0"
description = "A Python Package for injecting curated themes and custom components into Trame applications"
authors = ["Duggan, John <dugganjw@ornl.gov>"]
readme = "README.md"
+2 −1
Original line number Diff line number Diff line
from .file_upload import FileUpload
from .input_field import InputField
from .remote_file_input import RemoteFileInput

__all__ = ["InputField", "RemoteFileInput"]
__all__ = ["FileUpload", "InputField", "RemoteFileInput"]
Loading