Commit Graph

217 Commits

Author SHA1 Message Date
Philipp Rudiger
7534b79fd6 Small fix 2022-05-02 19:48:15 +02:00
Philipp Rudiger
4df9a7e06d Fix rendering for simple types 2022-05-02 18:39:28 +02:00
Philipp Rudiger
3457d4313a Handle repr of types 2022-05-02 18:30:33 +02:00
Michael Nagy
e7016aed20 remove unused imports 2022-05-02 13:54:42 +02:00
Robert Myers
44296f85cc Fixing typescript error in build process 2022-05-01 12:45:51 -06:00
Fabio Pliger
4259e085cb bring play icon above repl line 2022-04-29 15:44:58 -06:00
Princiya Sequeira
bed165fb10 play icon in pyrepl vertically centered w.r.to the last line 2022-04-29 20:30:15 +02:00
Fabio Pliger
4e667642ca fixed some minor things related to examples while testing 2022-04-28 16:18:18 -06:00
Fabio Pliger
788af88422 fix enviroment promise loading bug on pyenv 2022-04-28 15:59:35 -06:00
Fabio Pliger
62737bf868 disable lint on specific line 2022-04-28 15:06:50 -06:00
Fabio Pliger
99c79acc78 clean pyscript.ts 2022-04-28 14:09:44 -06:00
Fabio Pliger
ec38f9c151 more cleaning 2022-04-28 14:00:31 -06:00
Fabio Pliger
3f05d33ebc remove unused code in App 2022-04-28 12:12:24 -06:00
Fabio Pliger
cb61908e83 remove old code and bypass some warning 2022-04-28 12:02:35 -06:00
Princiya Sequeira
8b7c397c2a nit fixes 2022-04-28 18:47:39 +02:00
Princiya Sequeira
9f954850a4 play button moved to bottom, lint errors fixed 2022-04-28 00:30:06 +02:00
Princiya Sequeira
971b6903fa fixed linting errors 2022-04-28 00:19:22 +02:00
Princiya Sequeira
0fbf06440f fixed linting errors 2022-04-28 00:17:30 +02:00
Princiya Sequeira
091d109da2 updated styles for repl2, styled the play button 2022-04-27 23:56:10 +02:00
Princiya Sequeira
0ac2d4d339 resolved merge conflicts, fixed linting issues 2022-04-27 12:58:07 +02:00
Princiya Sequeira
2f7d948074 added error class to the errorElement in base.ts 2022-04-27 11:28:15 +02:00
Princiya Sequeira
0d3d64eab9 updated css for the codemirror cm-editor 2022-04-27 11:26:10 +02:00
Philipp Rudiger
2781792073 Loading module from file should not auto-import 2022-04-26 16:02:58 +02:00
Fabio Pliger
d309a6c974 Merge branch 'main' into rb/prettier 2022-04-25 22:03:37 -05:00
Ross Bermudez
27deee3f86 [PYS-12] Format and lint 2022-04-25 15:00:14 +02:00
Philipp Rudiger
3eb41d73ed Handle strings 2022-04-23 00:02:04 +02:00
Philipp Rudiger
4e022e37b4 Cleanup whitespace 2022-04-22 23:50:30 +02:00
Philipp Rudiger
0b6fe08663 Various mime rendering fixes 2022-04-22 23:50:30 +02:00
Philipp Rudiger
b5bfffe912 Abort rendering if no element found 2022-04-22 23:50:30 +02:00
Philipp Rudiger
ec968a6081 Fix typo 2022-04-22 23:50:30 +02:00
Philipp Rudiger
ca92e58c37 Clean up 2022-04-22 23:50:30 +02:00
Philipp Rudiger
97aa4513f7 Add MIME renderer support 2022-04-22 23:50:30 +02:00
Fabio Pliger
45d68f5701 move check id out of constructor 2022-04-22 12:55:06 -05:00
Fabio Pliger
1be8aa3a28 move guidGenerator to utils to make it more available 2022-04-22 12:03:04 -05:00
Fabio Pliger
9d0837abec remove unecessary check for id since the base class is making sure that it always has an ID 2022-04-22 11:55:18 -05:00
Philipp Rudiger
190ae39690 Auto-generate element ID to ensure output is rendered 2022-04-21 20:40:24 +02:00
Fabio Pliger
7884127534 remove debug print 2022-04-21 12:27:17 -05:00
Fabio Pliger
cad87e6616 fix pyscript output when nothing is specified 2022-04-21 12:25:09 -05:00
Fabio Pliger
4065c13d32 general cleanup before merging 2022-04-20 20:27:13 -05:00
Fabio Pliger
71873b6b50 clean pylist.py and add a very hacky sync between list items and it's rendered versions 2022-04-20 20:03:23 -05:00
Fabio Pliger
7c71ba6fde add margin to widgets and add item template to PyList 2022-04-20 18:17:58 -05:00
Fabio Pliger
019b7d145a add timer to register generic widgets 2022-04-20 18:16:26 -05:00
Fabio Pliger
ac64b2aaa3 add handlers to input box as well 2022-04-20 16:32:11 -05:00
Fabio Pliger
44afda7aa8 add inputbox and clearn todo html even more 2022-04-20 16:12:01 -05:00
Fabio Pliger
3aa3ba02be add pybutton and pytitle 2022-04-20 15:41:51 -05:00
Fabio Pliger
f5b168a45e add better support for new widgets 2022-04-20 15:41:28 -05:00
Fabio Pliger
ee1db16bcf move templates to interpreter 2022-04-20 13:30:08 -05:00
Fabio Pliger
a6d00318c3 add PyListTemplate and PyItemTemplate so that classes implementing list and list item widgets can subclass from it and hide complexity to users 2022-04-20 12:48:25 -05:00
Fabio Pliger
a702cbdf10 add support for custom widgets registration in Python 2022-04-19 19:24:22 -05:00
Fabio Pliger
4831c19a06 call micropip installed of loading packages 2022-04-19 14:52:09 -05:00