Skip to content
This repository has been archived by the owner on Jun 4, 2024. It is now read-only.

Clientside Callbacks #143

Merged
merged 50 commits into from
Apr 8, 2019
Merged

Clientside Callbacks #143

merged 50 commits into from
Apr 8, 2019

Conversation

chriddyp
Copy link
Member

Next version of #142, incorporating feedback described in #142 (comment)

Same examples as in #142 will run, however the syntax is a little closer to the python callbacks now. See an associated PR in dash

I've pushed up the examples in 5b9934d, I'll remove them before merging this PR. Same GIFs as in #142.

chriddyp added a commit to plotly/dash that referenced this pull request Mar 30, 2019
@chriddyp chriddyp requested a review from alexcjohnson March 30, 2019 17:13
so that the community can unambiguously refer to this feature as
“clientside” rather than “client”

also use new `dash` `clientside_callback`
so that circle pulls the latest dash commits
@@ -43,6 +43,7 @@ jobs:
git clone git@github.com:plotly/dash-html-components.git
git clone git@github.com:plotly/dash-table.git
. venv/bin/activate
cd dash && git checkout clientside-2 && cd ..
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Note: You can also do add -b clientside-2 in the git clone command above.

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

non-⛔️ as this line will disappear when the companion PR merges... but we may benefit 🐎 from using a shallow clone git clone -depth=1 on CI, in which case -b <branch> may be the required method.

@chriddyp
Copy link
Member Author

chriddyp commented Apr 6, 2019

Alright, thanks everyone for your review. I believe I have addressed y'alls comments now.

Copy link
Collaborator

@alexcjohnson alexcjohnson left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💃 looks great, nice work @chriddyp!

chriddyp added a commit to plotly/dash that referenced this pull request Apr 8, 2019
* 🐎 clientside callback interface

see associated PR & examples in
plotly/dash-renderer#143

* 📝 don't overload `callback` with `clientside` and

rename `client_function` to `clientside_function

* ✅ straighten up the pylint directives

as per #672 (comment)

* ⚡ No clientside function = `None`

* 📝 CHANGELOG

* 📝 pylint

* ⚡ unused files
@chriddyp chriddyp merged commit 7588142 into master Apr 8, 2019
@chriddyp chriddyp deleted the clientside-2 branch April 8, 2019 19:47
denis554 added a commit to denis554/dash that referenced this pull request Apr 9, 2019
* 🐎 clientside callback interface

see associated PR & examples in
plotly/dash-renderer#143

* 📝 don't overload `callback` with `clientside` and

rename `client_function` to `clientside_function

* ✅ straighten up the pylint directives

as per plotly/dash#672 (comment)

* ⚡ No clientside function = `None`

* 📝 CHANGELOG

* 📝 pylint

* ⚡ unused files
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants