-
Notifications
You must be signed in to change notification settings - Fork 33
Conversation
(so that clientside can use it - see next commit)
see associated PR & examples in plotly/dash-renderer#143
Getting an issue with Percy on “finalizing builds” - might be related to parallelization (https://docs.percy.io/docs/parallel-test-suites). So, try just moving the clientside tests into the `test_render` file
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
.circleci/config.yml
Outdated
@@ -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 .. |
There was a problem hiding this comment.
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.
There was a problem hiding this comment.
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.
closer to the one in dash, but there are a few extra features in here: - works with inputs (`el.text` for an input is `’’`, you have to check `get_attribute(‘value’)` - prints out some nicer assertion strings
Alright, thanks everyone for your review. I believe I have addressed y'alls comments now. |
There was a problem hiding this 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!
* 🐎 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
* 🐎 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
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.