Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cleanup component mappings and utils #425

Closed
bmingles opened this issue Apr 18, 2024 · 0 comments · Fixed by #424, #523 or #530
Closed

Cleanup component mappings and utils #425

bmingles opened this issue Apr 18, 2024 · 0 comments · Fixed by #424, #523 or #530
Assignees
Labels
enhancement New feature or request
Milestone

Comments

@bmingles
Copy link
Contributor

bmingles commented Apr 18, 2024

We currently map some components via SPECTRUM_ELEMENT_TYPE_PREFIX and others more directly. #512 will remove our last Spectrum dependencies, so we should clean things up and make the mappings more explicit / consistent.

@bmingles bmingles added enhancement New feature or request triage labels Apr 18, 2024
@vbabich vbabich added this to the April 2024 milestone Apr 23, 2024
@vbabich vbabich removed the triage label Apr 23, 2024
bmingles added a commit that referenced this issue Apr 24, 2024
Imports for Spectrum components that are available in
`@deephaven/components` have been updated.

Components that are not yet re-exported by @deephaven/components:
- `ButtonGroup`, `Checkbox` - we have our own implementations of these
#433

We also will want to rename some things such that DH components aren't
mapped to `SPECTRUM_ELEMENT_TYPE_PREFIX`
#425

#366
@bmingles bmingles linked a pull request Apr 29, 2024 that will close this issue
@mofojed mofojed modified the milestones: April 2024, May 2024 May 28, 2024
@mofojed mofojed closed this as completed Jun 3, 2024
@mofojed mofojed reopened this Jun 3, 2024
bmingles added a commit to bmingles/deephaven-plugins that referenced this issue Jun 3, 2024
bmingles added a commit to bmingles/deephaven-plugins that referenced this issue Jun 3, 2024
bmingles added a commit to bmingles/deephaven-plugins that referenced this issue Jun 3, 2024
bmingles added a commit to bmingles/deephaven-plugins that referenced this issue Jun 4, 2024
bmingles added a commit to bmingles/deephaven-plugins that referenced this issue Jun 4, 2024
bmingles added a commit to bmingles/deephaven-plugins that referenced this issue Jun 4, 2024
bmingles added a commit to bmingles/deephaven-plugins that referenced this issue Jun 4, 2024
bmingles added a commit to bmingles/deephaven-plugins that referenced this issue Jun 5, 2024
bmingles added a commit that referenced this issue Jun 5, 2024
…511)

Update DH packages to ^0.81.1 jsapi-types to ^1.0.0-dev0.34.3

#425
bmingles added a commit to bmingles/deephaven-plugins that referenced this issue Jun 5, 2024
@bmingles bmingles changed the title Remap dh components that were formerly Spectrum components Cleanup component mappings and utils Jun 5, 2024
bmingles added a commit to bmingles/deephaven-plugins that referenced this issue Jun 5, 2024
bmingles added a commit to bmingles/deephaven-plugins that referenced this issue Jun 6, 2024
bmingles added a commit to bmingles/deephaven-plugins that referenced this issue Jun 6, 2024
bmingles added a commit to bmingles/deephaven-plugins that referenced this issue Jun 6, 2024
bmingles added a commit to bmingles/deephaven-plugins that referenced this issue Jun 6, 2024
bmingles added a commit to bmingles/deephaven-plugins that referenced this issue Jun 6, 2024
bmingles added a commit to bmingles/deephaven-plugins that referenced this issue Jun 7, 2024
bmingles added a commit to bmingles/deephaven-plugins that referenced this issue Jun 7, 2024
bmingles added a commit to bmingles/deephaven-plugins that referenced this issue Jun 10, 2024
bmingles added a commit to bmingles/deephaven-plugins that referenced this issue Jun 10, 2024
bmingles added a commit to bmingles/deephaven-plugins that referenced this issue Jun 10, 2024
bmingles added a commit to bmingles/deephaven-plugins that referenced this issue Jun 10, 2024
bmingles added a commit that referenced this issue Jun 10, 2024
Most of our dh ui string enumerations are "CAPITALIZED". Make RadioGroup
`orientation` prop consistent.

```python
from deephaven import ui

@ui.component
def ui_radio_group():
    return ui.radio_group(
        ui.radio('One', value="one"),
        ui.radio('Two', value="two"),
        label="Radio Group",
        orientation="HORIZONTAL"
    )

my_radio_group = ui_radio_group()
```

#425
bmingles added a commit to bmingles/deephaven-plugins that referenced this issue Jun 10, 2024
bmingles added a commit to bmingles/deephaven-plugins that referenced this issue Jun 10, 2024
bmingles added a commit to bmingles/deephaven-plugins that referenced this issue Jun 10, 2024
bmingles added a commit to bmingles/deephaven-plugins that referenced this issue Jun 10, 2024
bmingles added a commit to bmingles/deephaven-plugins that referenced this issue Jun 10, 2024
bmingles added a commit to bmingles/deephaven-plugins that referenced this issue Jun 10, 2024
bmingles added a commit to bmingles/deephaven-plugins that referenced this issue Jun 10, 2024
bmingles added a commit to bmingles/deephaven-plugins that referenced this issue Jun 10, 2024
bmingles added a commit to bmingles/deephaven-plugins that referenced this issue Jun 10, 2024
bmingles added a commit that referenced this issue Jun 13, 2024
This is the first of 2 PRs to simplify our DH UI component mappings
since we no longer have the Spectrum dependency. This one addresses the
python modules + minimal re-mapping in the JS to make it still work. The
next one will cleanup the .js side more holistically.

* Removed components/spectrum subfolder and moved component modules to
parent
* Moved types into a components/types folder
* Minimal changes to SpectrumUtils to make mapping still work
* Added a broadstrokes e2e test to prove all components render

resolves #425
bmingles added a commit to bmingles/deephaven-plugins that referenced this issue Jun 13, 2024
bmingles added a commit to bmingles/deephaven-plugins that referenced this issue Jun 13, 2024
bmingles added a commit to bmingles/deephaven-plugins that referenced this issue Jun 13, 2024
bmingles added a commit to bmingles/deephaven-plugins that referenced this issue Jun 13, 2024
bmingles added a commit to bmingles/deephaven-plugins that referenced this issue Jun 13, 2024
@bmingles bmingles reopened this Jun 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment