main
Name already in use
Commits on May 19, 2023
Commits on May 17, 2023
Commits on May 15, 2023
Commits on May 10, 2023
-
remove PyWidget and py-register-widget + refactor PyList as a Python …
…Plugin (#1452) * remove PyWidget and py-register-widget * refactor py-list as Plugin * add newline * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * fix eslint * handle case if src not supplied * move inside if * - Remove src attribute for py-list - Re-implement as a Python plugin - Remove pylist.py from examples directory - Remove PyListPlugin as one of the default ones * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * move PyItem and PyList classes to the plugin * clean up PyListTemplate and PyItemTemplate from pyscript module * fix linting * use PyList instead of PyListTemplate instead * fix example for todo-pylist * re-enable and improve test * move py-list plugin to examples * fix py-list plugin link --------- Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Commits on May 9, 2023
-
Make sure that tests fail in case there is an unhandled Python error (#…
…1456) Before this PR, the following test passed: def test_pyscript_hello(self): self.pyscript_run( """ <script type="py"> raise Exception("hello") </script> """) What happens is that we intercept the Python exception and display a nice banner on the DOM, but the test itself passes. This is error prone: if we have Python exceptions on the page, the test should fail by default, and we should have a way to silence it in case those exceptions are expected. This PR treats Python errors as we treat JS errors: unhandled exceptions cause the test to fail, but you can silence them by calling self.check_py_errors(), exactly as you can call self.check_js_errors().
-
-
Commits on May 6, 2023
Commits on May 5, 2023
-
Fix an error message when loading local modules failed (#1394)
* Fix an error message when loading local modules failed * Fix an error message when loading local modules failed
-
-
Commits on May 4, 2023
Commits on May 3, 2023
Commits on May 2, 2023
-
[Worker support] test for no cors headers (#1374)
* test for no cors headers * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * fix tests * suggested changes * disable directly * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * add error message * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * improve test * improve error message * remove py-config tag from cors test --------- Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
-
Fix #1429 - Use basic-devtools module (#1430)
This MR brings in `$`, `$$`, and `$x` browsers devtools' utilities to our code so we can use these whenever we find it convenient.
Commits on May 1, 2023
Commits on Apr 28, 2023
Commits on Apr 27, 2023
-
Fix #1326 - Allow
<script type="py">tag to work as<py-script>(#……1396) The goal of this MR is to unobtrusively allow the usage of `<script type="py">`, `<script type="pyscript">` or `<script type="py-script">` tags instead of `<py-script>` for all those case where the layout in custom elements get parsed and breaks users' expectations (including our SVG based tests).
Commits on Apr 26, 2023
-
-
Fix #801 - Simplified events listeners attachment: (#1403)
* always same listener, for easy removal and reduce RAM * avoid duplicated entries for smaller library outcome * use XPath to crawl all attributes names instead of CSS
-
Development documentation (#1410)
* Updated the instructions for setting up the documentation environment to be clearer * Expanded on setting up the development and documentation environments. Moved the documentation section to its own section as it's behavior and purpose is different from the development environment. * Added alternative to git upstream Indented list instead of using * Add 'Using a Local Dev Server' to Getting Started Docs (#1400) * Added alternative to git upstream Indented list instead of using Updated the test environment section cleaned up "reviewing your work" section to make it easier to read. * added "setting up environment" changes to changelog * reverted additions to changelog --------- Co-authored-by: Jeff Glass <glass.jeffrey@gmail.com>
-
Commits on Apr 25, 2023
Commits on Apr 21, 2023
-
Remove redundant
.shadowproperty as that is defined at the Custom ……Element level. (#1395)