1
0
Fork 0
mirror of https://git.rwth-aachen.de/acs/public/villas/web/ synced 2025-03-30 00:00:13 +01:00
Commit graph

43 commits

Author SHA1 Message Date
Sonja Happ
f468b44557 Refactoring of js code base:
- Grouping js files based on the elements of the data model instead of parent js class
- All js files providing functionality for one element of the data model are now in one folder; this makes is easier to implement changes for one element in all affected files/ classes
- js files which are common to multiple elements are in the common folder
- The new structure is more in alignment with the new Go backend code base structure
- This commit does not contain any changes in functionality of the frontend
2019-08-20 14:46:33 +02:00
Sonja Happ
3f03dc98e4 refresh only if no edit or delete dialog is open 2019-07-24 17:03:02 +02:00
Sonja Happ
3f926d1e94 some fixes to make simulator add and edit work 2019-07-24 16:42:04 +02:00
Sonja Happ
edd7c4f39d - add session userID as param to dispatcher
- fix issue with event handler for deletion of simulator
2019-07-24 10:42:02 +02:00
Sonja Happ
5d97e1f32e started with adaptions for new package versions and new Go backend API 2019-07-23 17:16:50 +02:00
Sonja Happ
8ace42759a - update a lot of dependencies
- adaptions in code for compatibility with new package version (esp. react-bootstrap, react-dnd, and d3-scale)
- add (ugly) workaround for flux containers to work with ES6
- use node 12.2 in Dockerfile
2019-07-22 15:59:59 +02:00
dd1c5ddf01 periodically refresh simulator states 2018-11-27 19:22:21 +01:00
9efdd2f111 improve styling over labels in simulator view 2018-11-27 19:21:48 +01:00
29ffefaea1 improve sort algorithm in simulator view 2018-11-27 19:20:47 +01:00
2fa45059f0 moved widgets into their own subdir 2018-06-15 09:56:45 +02:00
d4f02c2961 replace GlyphIcons by FontAwesome icons 2018-06-09 14:52:12 +02:00
4265f59460 change columns in simulator list 2018-06-08 11:34:17 +02:00
Markus Grigull
3e1edcd2a3 Add state updated column to simulator table 2018-06-07 21:17:13 +02:00
Markus Grigull
d3364ed010 Add labels to simulator state 2018-06-07 21:10:30 +02:00
Markus Grigull
609fd6249e Add simulator state label 2018-06-07 20:33:58 +02:00
Markus Grigull
1cf45a2cae Sort simulators by last state update 2018-06-07 19:52:51 +02:00
e5858e0c96 access rawProperties always with _.get() (closes #158 & #153) 2018-06-04 20:45:04 +02:00
Markus Grigull
536b5e41fa Add clear after floating buttons and spacing between 2018-05-30 19:23:53 +02:00
Markus Grigull
bc71cf1ff2 Disable run button when no item selected 2018-04-12 15:35:21 +02:00
Markus Grigull
9c669c611d Add delete-dialog component 2018-04-12 15:20:37 +02:00
Markus Grigull
32eea44827 Add simulator-action component 2018-04-12 14:48:54 +02:00
Markus Grigull
ab326eb4de Squashed: Add villas-controller simulator support
Removed nodes completely from the ui and replace with simulators
directly.
Data management changed: A seperate connection is established for
each simulator on its own
Removed nodes tree view and replace with table simulator list
2018-03-29 10:53:21 +02:00
Markus Grigull
d354e0a376 Change import dialog before modal dialog
Name exported file after simulator name
2017-09-18 12:03:43 +02:00
Markus Grigull
c6892da972 Add simulator export
Add FileSaver.js dependency
2017-09-18 12:01:51 +02:00
Markus Grigull
762957e362 Add import dialog
Add empty export dialog
Add export button to table
2017-09-18 10:14:18 +02:00
Markus Grigull
c8b99a21cc Accept enter and escape in dialogs
Modal dialogs can be canceled with escape and accepted with enter if the dialog is valid.
2017-08-20 10:57:37 +02:00
Markus Grigull
723e2df3d1 Add token to all API calls 2017-07-27 10:32:32 +02:00
Markus Grigull
aceb96ec82 Ensure unique node and simulator names in dialogs
Node names are checked to be unique in dialogs
Simulator names are checked to be unique in dialogs on one node
2017-07-13 16:56:48 +02:00
Markus Grigull
3b58073285 Change simulator selection in simulator model
Disable simulator detection for testing
2017-07-13 16:56:47 +02:00
Markus Grigull
984d40134f Add simulator editing and moving 2017-07-13 16:56:47 +02:00
Markus Grigull
7beeb78722 Add simulators to nodes 2017-07-13 16:56:47 +02:00
Markus Grigull
232e972657 Add node dialogs and backend 2017-07-13 16:56:47 +02:00
Markus Grigull
6b1a8ca776 Add node component 2017-07-13 16:56:47 +02:00
Ricardo Hernandez-Montoya
210a292738 Merge commit 'e0b7ddca551162e21d7f667c9ae2d6516493575f' 2017-05-04 17:00:15 +02:00
Markus Grigull
6a33dc33c0 Add GPLv3 License 2017-04-27 14:41:44 +02:00
Ricardo Hernandez-Montoya
8e08dcf4e7 Update sections with css layout 2017-04-18 14:04:47 +02:00
Markus Grigull
fcd80a1680 Add running label to simulators 2017-03-21 16:26:12 +01:00
Markus Grigull
6c9cc8946a Add widgets at cursor drop position, widget zIndex
Add context menu for zIndex ordering

Bug: zIndex is only applied after saving visualization
2017-03-15 13:13:39 +01:00
Markus Grigull
01488c4939 Add simulation(s) route
Move dialogs to components/dialog directory
Change table component, add table-column component, this makes
table-control and table-control-link obsolete
Fix minor bugs
2017-03-06 22:01:33 +01:00
Markus Grigull
c6677e4553 Add visualization list and detailed view
Placeholder widgets are displayed, modifable but not updated yet
2017-03-03 13:21:25 +01:00
Markus Grigull
2fa75f0e58 Add delete and edit dialog to simulators 2017-03-02 16:22:57 +01:00
Markus Grigull
48057a99ec Add new simulator modal
Use bootstrap for buttons, forms, modals
2017-03-02 14:54:42 +01:00
Markus Grigull
0cf1884192 !!! Move complete project to ReactJS !!!
ATTENTION: The complete project is ported to ReactJS.

Motivation: React (with flux) is much more flexible and performant in the
use case of VILLASweb. Ember is a good framework, but it has many tradeoffs
to its easy handling and feature completeness. Many work arounds had to be done
to get ember to work the way needed. Because ReactJS gives the developer much
more flexibility and feature choice, VILLASweb can be build much better.
The aim is to only depends on needed packages and be as performance as possible.

This new version still works with the current backend!

For library usage see package.json.

This first version contains the same base website as the old version but
changed back to legacy color scheme. Simulators are loaded from and can be added
to the backend as a proof-of-concept.
2017-03-02 12:47:52 +01:00