developmentseed / developmentseed/lonboard

Support multiple views

Open
#947 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
964
Forks
54
Avg merge
5m
Merged PRs (30d)
1

Description

code for reference

```
# Note: it would be nicer to have only VariableLengthTuple, which would ensure the
# JS side always receives a list of strings and never a single string, but
# VariableLengthTuple won't coerce a single object into a tuple of length 1.
views = t.Union(
[
t.Instance(BaseView),
VariableLengthTuple(t.Instance(BaseView)),
],
).tag(
sync=True,
**ipywidgets.widget_serialization,
)
```

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by locating the views definition shown in the issue and inspect BaseView and VariableLengthTuple, including how ipywidgets serialization reaches the JS side. Done means the feature accepts multiple views while preserving the expected serialized representation for a single view and a collection of views.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, jupyter, python
Domain
data-visualization, frontend
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.