Commit Graph

262 Commits

Author SHA1 Message Date
Kristóf Tóth
31835c9140 Fix reload event overwriting your code for the nth time 2018-03-28 17:33:13 +02:00
Kristóf Tóth
7d145e95ae Make webide deploy button optional 2018-03-21 16:44:51 +01:00
Kristóf Tóth
0682e53511 Refactor project to use config file 2018-03-21 16:32:56 +01:00
Kristóf Tóth
1b2b1c9f8d Remove unused ngOnInit() 2018-03-21 16:27:57 +01:00
Kristóf Tóth
ccc0781735 Add newline to end of layout-command.ts 2018-03-21 16:20:56 +01:00
Kristóf Tóth
0cf36912c3 Make dashboard.component comply linter 2018-03-21 16:18:13 +01:00
Kristóf Tóth
18b93ecaf8 Remove obsolete TODO 2018-03-21 16:17:35 +01:00
Kristóf Tóth
138fccbe77 Implement dashboard layout manipulation from backend 2018-03-20 17:39:45 +01:00
Kristóf Tóth
809b78056d Signal whether code state is dirty via underlining 2018-03-20 15:01:25 +01:00
Kristóf Tóth
f712fbde52 Add css class to underline text 2018-03-20 15:01:06 +01:00
Kristóf Tóth
b1c0ba91d8 Decrease autosave_interval to 1000ms 2018-03-20 11:41:25 +01:00
Kristóf Tóth
496f997bb7 Remove TODO I thought about 2018-03-15 13:46:38 +01:00
Kristóf Tóth
c69bac4e83 Fix updateFileData removing code on lost read messages 2018-03-15 13:46:34 +01:00
Kristóf Tóth
570fbec090 Change default source code, as it can be seen due to latency 2018-03-15 12:23:28 +01:00
Kristóf Tóth
82f1ed17e9 Implement frontend API to manipulate next button visibility 2018-03-14 18:06:37 +01:00
Kristóf Tóth
caf14f49ed Add data class for Messaging control API 2018-03-14 18:06:00 +01:00
Kristóf Tóth
c329a71867 Remove obsolete comments 2018-03-14 17:07:39 +01:00
Kristóf Tóth
3b7c8daafe Add optional trigger argument to WebSocketService 2018-03-14 17:06:56 +01:00
therealkrispet
3b7b597b3c
Merge pull request #17 from avatao-content/cssdesign
Cssdesign
2018-03-14 16:58:00 +01:00
Kristóf Tóth
a01b5761ae Make iframe template blank 2018-03-14 16:53:42 +01:00
Kristóf Tóth
e99cd1dc0a Fix shitty looking imports 2018-03-14 16:50:37 +01:00
Gabor PEK
f0ecdd31f2 Add next button for instructions and finally the terminal is responsive 2018-03-14 16:43:44 +01:00
Gabor PEK
bcd030e3d9 Fixing terminal colors 2018-03-14 15:05:58 +01:00
Gabor PEK
a7dbd15370 Change terminal colors 2018-03-14 14:34:17 +01:00
Gabor PEK
ba2e2ace6d Expose layout mixins to a new file and use it accordingly to have control over component positioning from shadow DOM elements 2018-03-13 18:19:59 +01:00
Gabor PEK
174a1dd9a2 Set web component iframe size properly 2018-03-13 11:11:46 +01:00
Gabor PEK
adff2c5e1b Use iframe webcomponent to allow more flexibility in terms of languages 2018-03-12 16:48:15 +01:00
Gabor PEK
97ed48b408 Move deploy blur logic to parent component 2018-03-12 15:03:38 +01:00
Gabor PEK
8f4a6fd83e Add notification service for deployment status and blur login page when neccesary 2018-03-12 14:50:44 +01:00
Gabor PEK
fcb5d6ecf0 Import variables.scss in scss files used in shadow DOM 2018-03-12 14:12:50 +01:00
Gabor PEK
5e0e55eb16 Add horizontal view, change header layout and fix webide position problems 2018-03-12 10:32:01 +01:00
Kristóf Tóth
e5b7d1d809 Merge branch 'cssdesign' 2018-03-09 18:22:53 +01:00
Gabor PEK
822b65462d Cleanup variables in Shadow DOM 2018-03-09 18:14:40 +01:00
Gabor PEK
c3f4ace7e9 Option to switch layout template easily via the dashboard scss 2018-03-09 18:01:12 +01:00
Kristóf Tóth
703beec5b3 Implement workdir change support in webide 2018-03-09 09:36:39 +01:00
Kristóf Tóth
134141b495 Refresh SourceCode class 2018-03-09 09:36:14 +01:00
Gabor PEK
5ac380c702 Polishing button colors and starting to create templates for different layouts 2018-03-08 17:07:21 +01:00
Gabor PEK
d11564e58b Consistent colors for webide buttons 2018-03-08 16:16:55 +01:00
Gabor PEK
62052b8383 Add vertical scrolling to messages 2018-03-08 14:04:40 +01:00
Gabor PEK
2bfa60642e Add simple and more easy to use grid layout framework 2018-03-08 13:43:53 +01:00
Gabor PEK
1b9da0b03c Webide CSS redesign first modification 2018-03-07 17:22:28 +01:00
Gabor PEK
b219c29883 Logo is aligned to the left in the header, but still using grid layout 2018-03-07 17:22:28 +01:00
Gabor PEK
87fd540074 New grid layout for dashboard. This is only one suggested template view. Use cases may need different ones 2018-03-07 17:22:28 +01:00
Gabor PEK
a7aa890019 Use grid layout for messages 2018-03-07 17:22:28 +01:00
Gabor PEK
e1f0bdfb57 Use grid layout instead of bootstrap columns 2018-03-07 17:22:28 +01:00
Gabor PEK
e55248ab30 Add missing avatao logo 2018-03-07 17:22:28 +01:00
Gabor PEK
f6843b21b6 Grid logo and title is centered using grid layout 2018-03-07 17:22:28 +01:00
Gabor PEK
a3ab5f52b6 Using global CSS and shadow DOM CSSs as well 2018-03-07 17:22:28 +01:00
Kristóf Tóth
e595b0ccc1 Replace any with actual type in ProcessManagerService 2018-03-07 17:14:30 +01:00
Kristóf Tóth
955ddac7c6 Improve handling of deployment failures 2018-03-07 16:30:25 +01:00
Kristóf Tóth
f318f94f4d Implement handling of deployment failures 2018-03-07 15:15:28 +01:00
Kristóf Tóth
18aaebd758 Add frontend UI feedback of code state 2018-03-07 14:17:24 +01:00
Kristóf Tóth
d4e91c35e2 Remove 'Save' button from frontend 2018-03-07 13:47:05 +01:00
Kristóf Tóth
2c89cff3a9 Fix webide state not being changed to 'DIRTY' on backspace 2018-03-07 08:45:57 +01:00
Kristóf Tóth
fc5ed3f06f Rename testmessager -> testmessenger 2018-03-05 17:12:06 +01:00
Kristóf Tóth
fa282aed1c Remove unnecessary key from empty wtf subscribe call 2018-03-05 13:29:58 +01:00
Kristóf Tóth
1ed11ed783 Reduce autosave interval – only runs if code is dirty anyway 2018-03-04 14:27:08 +01:00
Kristóf Tóth
9d80fc44fc Expose TestmessagerComponent on /testmessager 2018-03-04 10:54:33 +01:00
Kristóf Tóth
f4e107bfc9 Add testmessager to dashboard 2018-03-02 17:44:46 +01:00
Kristóf Tóth
a0368cb3a5 Implement testing component for sending messages to TFW backend 2018-03-02 17:41:50 +01:00
Kristóf Tóth
3cfcf8fddc Refactor setButtonState family of callbacks 2018-03-02 15:48:45 +01:00
Kristóf Tóth
3266854db8 Disable buttons when they should not be used 2018-03-02 15:38:37 +01:00
Kristóf Tóth
c508f367d9 Implement separate deploy button 2018-03-02 15:34:30 +01:00
Kristóf Tóth
f94a254f9b Fix autosave making typed text disappear 2018-03-02 14:16:55 +01:00
Kristóf Tóth
c46f5a3458 Replace default source code with error message 2018-03-02 14:06:47 +01:00
Kristóf Tóth
0d6c0f647c Refactor autosave interval to a const 2018-03-02 14:03:52 +01:00
Kristóf Tóth
fc5a5b161b Implement automatic saving 2018-03-02 13:49:00 +01:00
Kristóf Tóth
bdd4700f2f Make webide visible when showing a single component 2018-03-02 12:07:43 +01:00
Kristóf Tóth
6a7de7f2a5 Make save button labels less confusing 2018-03-02 11:45:04 +01:00
Kristóf Tóth
2cc5f12f6c Change event triggering 'DIRTY' webide state 2018-03-02 11:31:47 +01:00
Kristóf Tóth
7ec5a75bef Change default webide save button state to 'SAVED' 2018-03-02 11:31:14 +01:00
Kristóf Tóth
d17bfce170 Remove unnecessary zone hack attempt 2018-03-02 11:13:45 +01:00
Kristóf Tóth
685b9755b9 Optimize tab switching: saving only happens if state is 'DIRTY' 2018-03-02 10:40:31 +01:00
Kristóf Tóth
2d6289609f Implement tab switching saving files 2018-02-28 15:38:22 +01:00
Kristóf Tóth
277d253fbf Add spinning reload animation for Satan's grace 2018-02-28 15:05:51 +01:00
Kristóf Tóth
52298cbd8c Update webide frontend to emphasize that a process is being reloaded 2018-02-28 14:13:01 +01:00
Kristóf Tóth
0779ad2ef6 Rework faulty callback concept in ProcessManagerService 2018-02-27 16:06:15 +01:00
Kristóf Tóth
ceabfe75bc Add support for stateless ProcessManagerService in webide 2018-02-27 15:55:38 +01:00
Kristóf Tóth
ffcc608a97 Refactor ProcessManagerService to be stateless 2018-02-27 15:55:23 +01:00
Kristóf Tóth
21043ee74e Fix anchor->key refactor conflicts after rebase 2018-02-27 14:31:20 +01:00
Kristóf Tóth
848c7ce71b Hook process restarting to 'Save' button click 2018-02-27 14:28:33 +01:00
Kristóf Tóth
052dbad0e4 Add ProcessManagerService to providers 2018-02-27 14:28:33 +01:00
Kristóf Tóth
fefed5b84e Implement first version of ProcessManagerService 2018-02-27 14:28:33 +01:00
Kristóf Tóth
6bdc3061cc Add 'trigger' attribute to WSMessage 2018-02-23 14:42:58 +01:00
Kristóf Tóth
477ea8b03a Remove empty ctor body 2018-02-23 08:33:35 +01:00
Kristóf Tóth
8d2f19f062 Rename anchor -> key globally ¯\_(ツ)_/¯ 2018-02-21 15:32:24 +01:00
Kristóf Tóth
5f124f5b8a Move angular services to separate directory 2018-02-20 16:54:41 +01:00
therealkrispet
fd5e557960
Merge pull request #9 from avatao-content/webide_revisit
Update WebIDE component to conform to reality and type safety
2018-02-20 16:22:28 +01:00
Kristóf Tóth
fcb746935f Remove unused imports 2018-02-20 09:39:59 +01:00
Bálint Bokros
19f03446c6 Remove unnecessary import 2018-02-19 10:24:55 +01:00
Kristóf Tóth
9b3e96f6a2 Remove unused ngOnInit 2018-02-17 21:51:33 +01:00
Kristóf Tóth
4a0424ef34 Fix messages not showing (detectChanges()) 2018-02-16 17:49:57 +01:00
Bálint Bokros
1c445deb88 Clean up WebIDE component's event handlers 2018-02-16 17:35:47 +01:00
Bálint Bokros
4faffe1f79 Make SourceCode interface represent reality 2018-02-16 17:32:29 +01:00
Kristóf Tóth
1da9489be8 Remove WebSocketService from dashboard component 2018-02-16 17:13:51 +01:00
Kristóf Tóth
c4c875ae3d Remove unused ngOnInit 2018-02-16 15:24:44 +01:00
Kristóf Tóth
e42d831138 Add connecting WebSocketService to each component 2018-02-16 12:12:01 +01:00
Kristóf Tóth
80de695fa1 Extract demo page to 'dashboard' component 2018-02-16 11:19:52 +01:00
Kristóf Tóth
3178fcc7e6 Remove unused title attribute from AppComponent 2018-02-16 10:20:17 +01:00
Kristóf Tóth
7bb6093672 Implement routing module 2018-02-16 10:19:23 +01:00
Bokros Bálint
95d616225f
Merge pull request #7 from avatao-content/reload_fix
Fix command callback delegation
2018-02-15 17:19:22 +01:00
Kristóf Tóth
00fd06734d Remove unused component 2018-02-15 16:27:52 +01:00
Kristóf Tóth
735ea8d4e0 Fix command callback delegation 2018-02-15 16:22:11 +01:00
Bálint Bokros
07c6ee8a7e Import popular language definitions for code highlighting 2018-02-15 11:30:00 +01:00
Bálint Bokros
ae58ee906f Use modelist to automagically select correct code highlight 2018-02-15 11:30:00 +01:00
Bálint Bokros
c88fd8c3b8 Make mode binding one-way
It is only updated one-way, so the binding shouldn't be two-way.
2018-02-15 11:29:51 +01:00
Bálint Bokros
8e5f402519 Trigger change detection explicitly after WebIDE content is updated
This makes human sized stack traces go away ¯\_(ツ)_/¯
2018-02-15 11:29:51 +01:00
Bálint Bokros
882899ee9c Move handling textChanged to separate macrotask 2018-02-15 11:29:51 +01:00
Bálint Bokros
b6f4c870b6 Add polyfill to make sure RxJS runs in the correct zone 2018-02-15 11:29:51 +01:00
Bálint Bokros
96cbebc204 Add polyfills to support MSIE 2018-02-15 11:29:51 +01:00
Kristóf Tóth
5330f15d3f Hotfix messages reversing themselves all the time 2018-02-14 15:38:38 +01:00
Bálint Bokros
0f45448467 Fix whitespace 2018-02-14 13:24:00 +01:00
Bálint Bokros
9bc00d2d8b Use tfw prefix for custom CSS classes 2018-02-14 13:23:41 +01:00
Bálint Bokros
7152094053 Remove nonexistent classes 2018-02-14 13:22:07 +01:00
Kristóf Tóth
1c499fd54b Reverse messages in messages.component to make new messages appear first 2018-02-14 09:51:42 +01:00
Kristóf Tóth
4bb2e9c2f2 Make frontend scale nicely regardless of window size 2018-02-14 09:51:15 +01:00
Kristóf Tóth
279aaf797b Add sensible CSS classes to app containers 2018-02-13 17:33:55 +01:00
Kristóf Tóth
e4431a50f4 Reduce jumbotron padding 2018-02-13 17:15:41 +01:00
Kristóf Tóth
a50b8e1340 Implement frontend reload command (triggers webide file request) 2018-02-12 16:42:43 +01:00
Kristóf Tóth
a09f12ce3b Remove obsolete comments 2018-02-09 18:10:50 +01:00
Kristóf Tóth
13e60e5d98 Refactor save! saving... saved! truth table to single string :D 2018-02-09 14:59:10 +01:00
Kristóf Tóth
d0a35b53d3 Implement save saving... saved! button magic. Refactor via enum 2018-02-09 14:30:37 +01:00
Kristóf Tóth
9030df0a2b Implement feedback for "save" button 2018-02-09 13:43:08 +01:00
Kristóf Tóth
5ed4c0b428 Remove unused css classes 2018-02-09 13:31:37 +01:00
Kristóf Tóth
a524651117 Make webide "save" button match the "design" 2018-02-09 11:43:55 +01:00
Kristóf Tóth
8c2467e48d Remove rounded edges from webide tabs – thanks pg. 2018-02-08 14:53:15 +01:00
Kristóf Tóth
e1fb56eb0a Make frontend nice af 2018-02-07 17:06:06 +01:00
Kristóf Tóth
239c985056 Make webide "tabs" nicer 2018-02-07 16:11:11 +01:00
Kristóf Tóth
ec4f70cd12 Implement multiple webide tabs 2018-02-07 14:51:37 +01:00
Kristóf Tóth
a9d2dd57bc Implement webide file changing with poc text input 2018-02-07 13:16:14 +01:00
Bálint Bokros
eb90c66c84 Rename LogsComponent to MessagesComponent 2018-02-01 16:39:08 +01:00
Bálint Bokros
d5e14d0d8a Move Message class to separate file 2018-02-01 16:39:08 +01:00
Bálint Bokros
1c1bddd955 Create initial implementation of messaging 2018-02-01 16:39:08 +01:00
Bálint Bokros
6b9c2c19e3 Create Message class representing defined data format 2018-02-01 16:39:08 +01:00
Bálint Bokros
e0bdf1d9ed Remove test code 2018-02-01 16:39:08 +01:00
Bálint Bokros
11b004e3b7 Move FSMUpdate class to separate file 2018-02-01 16:38:56 +01:00
Bálint Bokros
246d0366eb Rename variable for consistency 2018-02-01 16:38:13 +01:00
Bálint Bokros
c4be3466f2 Move SourceCode class next to its sole client 2018-02-01 16:35:00 +01:00
Bálint Bokros
dfd5712951 Fix height of first row 2018-02-01 16:35:00 +01:00
Bálint Bokros
a45fd0a465 Remove top margin from WebIDE component 2018-02-01 16:35:00 +01:00
Bálint Bokros
dec3c5dbca Move hardcoded style to CSS in WebIDE 2018-02-01 16:35:00 +01:00
Kristóf Tóth
4207f5fcb6 Implement service to monitor backend FSM state 2018-01-26 16:10:39 +01:00
Kristóf Tóth
de77cfccff Remove unnecessary assignment (dependency injection handles this) 2018-01-26 15:24:40 +01:00
Kristóf Tóth
f810df0d9d Enhance URL handling (let -> const) 2018-01-26 15:21:45 +01:00
Kristóf Tóth
7e4bc12616 Use reverse proxyed terminado websocket 2018-01-25 14:26:42 +01:00
Bálint Bokros
e2afb73913 Show TerminalComponent 2018-01-17 17:50:34 +01:00
Bálint Bokros
5846defd2c Create initial version of TerminalComponent 2018-01-17 17:50:34 +01:00
Bálint Bokros
4607219ed6 Create initial version of TerminadoService
WebSocket address is hardcoded temporarily
2018-01-17 17:50:13 +01:00
Bálint Bokros
1af4333347 Send reset signal on application start 2018-01-11 16:12:54 +01:00
Bálint Bokros
89cc0fca1c Do not hardcode WebSocket URL 2018-01-11 16:12:32 +01:00