PaulStoffregen
2f5d57d586
GUI: use div for tooltip info, fixes #148
9 vuotta sitten
PaulStoffregen
b3e5b475bc
GUI: Avoid history.pushState on Chrome with file:/ access
9 vuotta sitten
PaulStoffregen
ad5eeb150c
Add arrangeAll (thanks mamuesp, from #141 )
9 vuotta sitten
PaulStoffregen
564b2eb8fa
Fix GUI documentation URLs (issue #140 )
9 vuotta sitten
Manfred Müller-Späth
f5b7c2abdf
Fixed: issue #92 - testing for input/output nodes - if none found, the export is not possible
Fixed: issue #56 - import and cut, copy & paste works fine, I added a routine which increments the numbers at the end of the names, IDs will be generated automaticcaly, if the ID already exists, and the appropriate name will be increased (e.g. "mixerRight" -> "mixerRight0", "input3" -> "input4" etc.)
9 vuotta sitten
Manfred Müller-Späth
1c522d1be2
Improvement: import is able to parse comma separated definitions of variables
Improvement: import ignores lines which start with an known type but ends not with an ";"
Tidy up: deleted the "resources" folder, all static data is in the index.html file
Prepared: Looking for a solution to semi-automatic arrange imported nodes without coordinates
9 vuotta sitten
Manfred Müller-Späth
bc6be819e4
Improvement: import is now very error tolerant, no need of "begin" or "end" comments - just throw the data in. It searches for keywords (aka node types) at the start of each line and tries to parse these lines.
9 vuotta sitten
Manfred Müller-Späth
1b990b7ca4
Bugfix: import function - undefined variable
9 vuotta sitten
Manfred Müller-Späth
e60107aa12
Bugfix: added the loading of the static form data (had been forgotten in the last commit)
9 vuotta sitten
Manfred Müller-Späth
380a351f6b
Removed the asynchronous loading of HTML files via JavaScript, because this will be blocked on real offline use (file:// protocol).
Removed the extern files, except the JSON file with the node descriptions, this will be loaded in offline mode too.
9 vuotta sitten
Manfred Müller-Späth
8c9b34d565
Some bugfixes and some improvements
- fixed: clear selected nodes, works with several or all selected nodes (reason: two counting variables with the same name "i" where used in two nested loops)
- new: change node names (you can assign names to the nodes, these will be used as IDs if exported or re-imported to CPP (Arduino code)
- fixed: import merges imported nodes to existings ones, skipping nodes with the same name
- fixed: tooltips are now working, extracting the first paragraph of the HTML code
- new: nodes definition extracted to JSON file
- new: nodes help pages extracted to single HTML files
- new: form pages extracted to single HTML files
- new: asynchronous loading of JSON, help and form data, data will only be loaded when needed
- style: adapted the size of the palette, labels had been partially hidden
9 vuotta sitten
Manfred Müller-Späth
0a43f66de2
Added import functionality of Arduino code (without disturbing whitespaces and empty lines)
Small correction
9 vuotta sitten
Manfred Müller-Späth
50b2897871
Added import functionality of Arduino code (without disturbing whitespaces and empty lines)
9 vuotta sitten
Manfred Müller-Späth
5c8aa2b9d3
Added import functionality of Arduino code (without disturbing whitespaces and empty lines)
9 vuotta sitten
Manfred Müller-Späth
563aa6482c
Added import functionality of Arduino code (without disturbing whitespaces and empty lines)
9 vuotta sitten
Manfred Müller-Späth
90aad62e30
Added import functionality of Arduino code (without disturbing whitespaces and empty lines)
9 vuotta sitten
PaulStoffregen
aecb6d73a5
Move misc files to subdirs
9 vuotta sitten
PaulStoffregen
652994b05b
Fix javascript errors with Chrome (thanks HWGuy)
9 vuotta sitten
PaulStoffregen
0e9d655c69
Improve offline browser compatibility
9 vuotta sitten
PaulStoffregen
a41e2a7c26
design tool needs to include SerialFlash.h in exported code
9 vuotta sitten
PaulStoffregen
038d091793
GUI: reenable input ports when other objects driving them are deleted
10 vuotta sitten
PaulStoffregen
cee685fd8f
Improve GUI welcome message
10 vuotta sitten
PaulStoffregen
029bbe268f
Add GUI documentation URLs
10 vuotta sitten
PaulStoffregen
fc6e2ef4a7
Fix export button when no changes in GUI
10 vuotta sitten
PaulStoffregen
14536bc9ec
Improve export button
10 vuotta sitten
PaulStoffregen
5453d51a54
remove extra status icons
10 vuotta sitten
PaulStoffregen
a101d9c9ab
Add thanks message at startup in info sidebar
10 vuotta sitten
PaulStoffregen
460301cfb0
Disable comms in GUI
10 vuotta sitten
PaulStoffregen
857ca16880
Show paragraph after "Summary" in popup info
10 vuotta sitten
PaulStoffregen
b4c673e5cd
Disable input ports after load from localStorage
10 vuotta sitten
PaulStoffregen
97fd83a90a
Use localStorage to preserve work
10 vuotta sitten
PaulStoffregen
994e70ff11
comment out "Lost connection" error
10 vuotta sitten
PaulStoffregen
8cc4028637
Actual C++ code export
10 vuotta sitten
PaulStoffregen
7cb99cb9b9
Initial work on C++ code generation
10 vuotta sitten
PaulStoffregen
995eed2a31
reformat node-red spaces to tabs
10 vuotta sitten
PaulStoffregen
7df1b21b20
Generate C++ compatible IDs in the GUI
10 vuotta sitten
PaulStoffregen
dbc69f83a4
Load node list from static html
10 vuotta sitten
PaulStoffregen
b0cf94ede5
Restrict drawing to single connection per input
10 vuotta sitten
PaulStoffregen
ceecd3302e
Add multiple input drawing, UI only
10 vuotta sitten
PaulStoffregen
d31a5fdebd
Import Node-Red "public" folder
10 vuotta sitten