ifpen / chalk-it Goto Github PK
View Code? Open in Web Editor NEWDrag-and-drop Python webapps
Home Page: https://ifpen.github.io/chalk-it/
License: Apache License 2.0
Drag-and-drop Python webapps
Home Page: https://ifpen.github.io/chalk-it/
License: Apache License 2.0
Widget scaling should become fully reversible, regardless of minWidth and minHeight constraints.
One solution is to appy minWidth and minHeight on lower level divs.
Bijectivity is necessary to avoid distortion
A dataNode with autoStart=false and explicitTrig=true is executed at html page startup.
This is wrong.
Example (to rename to xprjson)
test.json
Add option:
chalk-it --render project.xprjson
Color change is not taken into accout, for var-based colors.
For example here :
To be fixed.
Followed by @abirEF
Wrong display of a table
Missing first rows and header (too small scrolling ?)
xprjson has been transformed in json for download compatibility with Github
Add support for rendering dashboard using gunicorn, with commands like:
gunicorn -b 0.0.0.0:7854 chlkt.render:app
that load a dashboard.xprjson at current directory.
FileMngr.js:598 Uncaught (in promise) ReferenceError: LoginMngr is not defined
at Object.beforeSend (FileMngr.js:598:21)
at Function.ajax (jquery.js:6:4548)
at GetPythonList (FileMngr.js:590:7)
at Object.getFileList [as GetFileList] (FileMngr.js:518:30)
at python-images.js:144:30
at new Promise ()
at _listPythonFiles (python-images.js:142:20)
at Object.getImages (python-images.js:28:40)
at plugin-python-support.js:90:38
at Object.invoke (angular.js:5141:19)
Case with no server backend (local) to be taken into account
Add a new widget property allowing to include custom CSS into widget main div.
Interesting for adding shadow, or custumising border
Implementation should be generic (to be included in widget-base.js class)
In Integration branch, open template function regressed
For example : http://localhost:7854/index.html?template=base64-image-py#/
angular.js:15567 Error: transition superseded
at $StateProvider.$get (angular-ui-router.js:2967:37)
at Object.invoke (angular.js:5141:19)
at angular.js:4930:37
at Object.getService [as get] (angular.js:5084:32)
at angular-ui-router.js:3762:17
at Object.invoke (angular.js:5141:19)
at angular.js:4940:62
at forEach (angular.js:387:20)
at createInjector (angular.js:4940:3)
at doBootstrap (angular.js:1960:20) 'Possibly unhandled rejection: {}'
Uncaught (in promise) TypeError: Cannot read properties of undefined (reading 'CalendarValues')
at calendarD3Widget.render (body-all-js-runtime-2.830.8588.min.js:216:663)
at new calendarD3Widget (body-all-js-runtime-2.830.8588.min.js:216:7225)
at calendarD3WidgetPluginClass.createWidget (body-all-js-runtime-2.830.8588.min.js:205:295)
at Object.createWidget (body-all-js-runtime-2.830.8588.min.js:200:428)
at body-all-js-runtime-2.830.8588.min.js:236:1025
at v.each.v.forEach (body-all-js-runtime-2.830.8588.min.js:19:1934)
at Object.C [as renderDashboardWidgets] (body-all-js-runtime-2.830.8588.min.js:236:877)
at Object.loadDashboard (body-all-js-runtime-2.830.8588.min.js:243:3480)
Need for a new widget : a spinner indicating the pending status of a dataNode.
Useful when a click action triggers a somewhat long dataNode computation.
Find the good lib for that purpose !
Disable this switch just after user click, to prevent user click again when switch takes time
Add right position possibility for the label of switch and checkbox widgets
New parameter labelPosition="left". Default position still labelPosition="right" for these widgets
According to test done with EChart, the current version included in Chalk it is under 5.3.0. Major correction have been done after 5.3.0, thanks to upgrade the EChart version to have more options availlable
Add this font natively like Montserrat.
Useful for Gecoair project dashboards.
Allow its usage by all widgets like the other fonts. Update font demo projet
Restore (reactivate) the feature of xdsjson file load and save for dataNodes
Loading quick start:
http://localhost:7854/index.html?projectUrl=http://localhost:7854/doc//quick-start/xprjson/iris-tutorial.xprjson#/
In the version of f982fdc
causes this error:
Loading Pyodide
pyodide-loader.js:29 End of loading Pyodide
Le nœud est introuvable dans la page active.
pyodide-loader.js:209 Loading standard libraries
pyodide.asm.js:10 Loading scikit-learn, scipy, numpy, clapack, joblib, distutils, threadpoolctl, pandas, python-dateutil, six, pytz, setuptools, pyparsing
pyodide.asm.js:10 Loaded distutils, joblib, threadpoolctl, six, python-dateutil, pytz, pyparsing, setuptools, clapack, numpy, pandas, scipy, scikit-learn
pyodide-loader.js:209 Loading micropip libraries
pyodide.asm.js:10 pyparsing already loaded from default channel
pyodide.asm.js:10 Loading micropip, packaging
pyodide.asm.js:10 Loaded packaging, micropip
pyodide-loader.js:209 End of loading libraries
xdash-main.js:187 TypeError: Cannot read properties of undefined (reading 'icon_type')
at DatanodeModel.deserialize (DatanodeModel.js:262:60)
at _createDatanodeInstance (DatanodesListModel.js:221:20)
at DatanodesListModel.js:106:16
at _.each._.forEach (underscore.js:186:9)
at finishLoad (DatanodesListModel.js:104:9)
at DatanodesListModel.deserialize (DatanodesListModel.js:213:5)
at DatanodesListModel.load (DatanodesListModel.js:296:10)
at Object.load (DatanodesManager.js:375:26)
at deserialize (xdash-main.js:139:28)
at async loadFn (xdash-main.js:529:13)
body-all-js-runtime-2.820.8583.min.js:228 Uncaught (in promise) TypeError: Cannot read properties of undefined (reading 'outputFile')
at loadFileWidget.render (body-all-js-runtime-2.820.8583.min.js:228:8095)
at new loadFileWidget (body-all-js-runtime-2.820.8583.min.js:228:11869)
at loadFileWidgetsPluginClass.createWidget (body-all-js-runtime-2.820.8583.min.js:209:295)
at Object.createWidget (body-all-js-runtime-2.820.8583.min.js:204:428)
at body-all-js-runtime-2.820.8583.min.js:241:1025
at v.each.v.forEach (body-all-js-runtime-2.820.8583.min.js:19:1934)
at Object.C [as renderDashboardWidgets] (body-all-js-runtime-2.820.8583.min.js:241:877)
at Object.loadDashboard (body-all-js-runtime-2.820.8583.min.js:248:3473)
It is much more pleasant for developers to develop in their favorite IDE. A solution for Chalk'it would be to develop a utility for:
with automatic updates on save...
Plan for the use of the IDE debugger...
Add new packages if available
The aim of this new feature is to provide a more flexible, dynamic, expressive and standardized way of displaying geographic information on Leafet Maps in a pure declarative way. Design rationale is to allow the map render a dynamic array of GeoJSON
Followed by @abirEF
In integration branch.
In order to reduce the "frictions" for the Python user, introduce the DataPoints notion that contains the result of dataNode execution
The connected variable to a multiselect widget needs to be updated if its containts does not fit actual list.
Example. Multiselect with ["A","B","C"] but selected ["C","D"]. Selected should be corrected to ["C"]
Side effects needs to be carefully studied
To have a better presentation of the data, the minimum size (which is 30 for the moment) of the combo box should be reduced in order to make smaller elements in the dashboards (15 or 10 should be great)
Got this error message when attempting to install via pip install py-chalk-it
:
× python setup.py egg_info did not run successfully.
│ exit code: 1
╰─> [7 lines of output]
Traceback (most recent call last):
File "<string>", line 2, in <module>
File "<pip-setuptools-caller>", line 34, in <module>
File "/tmp/pip-install-o3wf1rog/py-chalk-it_76d941c24b52465b852a6a5a8863189a/setup.py", line 7, in <module>
with open("README.MD", "r") as fh:
^^^^^^^^^^^^^^^^^^^^^^
FileNotFoundError: [Errno 2] No such file or directory: 'README.MD'
[end of output]
I think the file is supposed to be README.md
.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.