Commit Graph

317 Commits

Author SHA1 Message Date
Kristóf Tóth
58cc7d1889 Add 'are you sure?' style accidental page refresh prevention 2018-05-28 13:35:25 +02:00
Kristóf Tóth
7fea6e2029 Add option to turn off iframe reloading on 'deploy' click 2018-05-25 15:30:59 +02:00
Kristóf Tóth
b2862b755b Use enums in IdeComponent state machines 2018-05-23 11:16:44 +02:00
Bálint Bokros
c1f279ce6c Migrate from Angular 5 to 6 2018-05-18 14:53:45 +02:00
Bálint Bokros
c357e47e93 Vendorize queueing-subject 2018-05-18 11:31:23 +02:00
Kristóf Tóth
4b79d77fcc Refactor ProcessManagerService error and success callback semantics 2018-05-18 10:40:19 +02:00
Kristóf Tóth
db07cfb04d Remove unused import 2018-05-18 10:40:19 +02:00
Kristóf Tóth
435db6a21b Implement changing of document title from config.ts 2018-05-17 16:14:58 +02:00
Kristóf Tóth
399a970340 Refactor deployment notification init in DashboardComponent 2018-05-17 16:04:30 +02:00
Kristóf Tóth
3980051823 Refactor command handling initialization in DashboardComponent 2018-05-17 16:03:35 +02:00
Kristóf Tóth
5d0fb1ab19 Refactor ProcessManagerService initialization in IdeComponent 2018-05-17 16:01:58 +02:00
Kristóf Tóth
454507615d Implement iframe reload on deployment 2018-05-17 15:58:08 +02:00
Kristóf Tóth
044bd379b3 Unify coloring and remove sidebar shadow 2018-05-17 14:24:18 +02:00
Kristóf Tóth
fbbf2596cd Fix ambigous whitespaces 2018-05-17 14:13:07 +02:00
Kristóf Tóth
b1245c0636 Move scrollbar nicener mixin to separate file 2018-05-17 13:58:34 +02:00
Kristóf Tóth
ebbed24c9d Unify CSS code formatting 2018-05-17 11:58:46 +02:00
Kristóf Tóth
e6a29a33b5 Reorder default enabledLayouts to make more sense 2018-05-17 11:17:14 +02:00
Kristóf Tóth
b706ba7868 Fix sidebar button color in certain browsers 2018-05-17 10:16:37 +02:00
therealkrispet
0f0a5a63f6
Merge pull request #23 from avatao-content/layout-fix
Change terminal-ide-web.svg to better show the layout
2018-05-17 10:15:46 +02:00
Gabor PEK
cd4f9cc26e Change terminal-ide-web.svg to better show the layout 2018-05-16 16:22:09 +02:00
therealkrispet
1c88e61b0a
Merge pull request #22 from avatao-content/layout-fix
Fix breaking layout for web component
2018-05-16 13:09:01 +02:00
Gabor PEK
e6cb75ebd8 Change scrollbar style 2018-05-16 11:45:58 +02:00
Gabor PEK
25515a941a Fix breaking layout for web component 2018-05-15 17:49:57 +02:00
Kristóf Tóth
fa17b38215 Fix unsafe comparison 2018-05-15 14:03:57 +02:00
Kristóf Tóth
f62c2f199c Fix SidebarComponent margins&paddings on small displays 2018-05-15 12:25:12 +02:00
Kristóf Tóth
21f7025123 Improve visibility of which tab is selected in webide 2018-05-15 12:15:25 +02:00
Kristóf Tóth
9c566c2d73 Add legal boilerplate and LICENSE file 2018-05-11 18:00:26 +02:00
Kristóf Tóth
e351cbacc0 Enable code autocompletion in ACE editor 2018-05-11 14:04:15 +02:00
Kristóf Tóth
dbb50ad7b4 Fix MessageComponent 'next' button 2018-05-04 17:46:30 +02:00
Kristóf Tóth
38acbac25b Document layout settings 2018-04-25 14:56:03 +02:00
Kristóf Tóth
52cfd4bf55 Refactor WebComponent and iframing to be mutually exclusive, strip old app 2018-04-25 11:48:15 +02:00
Kristóf Tóth
a0f9ec6bd6 Fix hardcoded supervisor program name in IdeComponent 2018-04-25 11:33:42 +02:00
Kristóf Tóth
daba4ce6f9 Remove unused stuff generated by angular cli 2018-04-24 09:31:38 +02:00
Kristóf Tóth
321aaab526 Rename IdeComponent.key_id 2018-04-20 17:32:41 +02:00
Kristóf Tóth
28323e9bb1 Fix removed toggle next button logic 2018-04-20 16:01:43 +02:00
Kristóf Tóth
f9db92cd57 Fix various coding-style violations and random imports 2018-04-20 15:54:34 +02:00
Kristóf Tóth
bafb88012d Implement reloading of frontend from API 2018-04-20 14:50:43 +02:00
Kristóf Tóth
eabd7d6c75 Fix type mismatch 2018-04-20 14:47:12 +02:00
Kristóf Tóth
5c0b1dbd1b Implement changing messaging visibility from API 2018-04-20 14:36:06 +02:00
Kristóf Tóth
77e18f43e3 Fix config variable not being JSON 2018-04-20 14:22:45 +02:00
Kristóf Tóth
46b750432e Implement hiding messages component 2018-04-20 14:05:23 +02:00
Kristóf Tóth
26df194a17 Fix manual and instumented layout changes (force event 'resize') 2018-04-20 11:09:47 +02:00
Gabor PEK
5e3e619423 Sidebar icons are now highlighted and focus works when instrumented from backend 2018-04-20 09:30:40 +02:00
Gabor PEK
3e249e8582 Sidebar icons are now highlighted and focus works 2018-04-20 09:30:40 +02:00
Gabor PEK
f0717eb235 Layout changes finally work from backend commands 2018-04-20 09:30:40 +02:00
Gabor PEK
a0d5dfdddc All the enabled layouts are now enlisted on the sidebar in accordance with config.ts 2018-04-20 09:30:40 +02:00
Gabor PEK
959a0df3d6 Use fix sidebar to instrument and control layout changes 2018-04-20 09:30:40 +02:00
Gabor PEK
b460c429e6 Add sidebar component that is ready to be designed and instrumented 2018-04-20 09:30:40 +02:00
Kristóf Tóth
97d1a58fbf Add trigger to testmessenger default JSON 2018-04-10 14:35:23 +02:00
Kristóf Tóth
2a56880b8e Refactor testmessenger JSON sending 2018-04-10 14:26:43 +02:00
Kristóf Tóth
b6b647dc21 Expose JSON sending method in weboscketservice 2018-04-10 14:24:57 +02:00
Kristóf Tóth
438138adc5 Make it possible to send triggers with testmessenger 2018-04-10 10:33:28 +02:00
Kristóf Tóth
f9f8a3f70c Append missing = sign 2018-03-31 23:01:46 +02:00
Kristóf Tóth
ef7726af37 Reduce autoSaveInterval to slightly overshoot average CPM typing speed 2018-03-31 21:59:37 +02:00
Kristóf Tóth
635d83e1b3 Readd resetAutoSaveCountDown for more deterministic saving ops 2018-03-30 23:04:31 +02:00
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