-
Notifications
You must be signed in to change notification settings - Fork 3
Conversation
Does it handle parse checkout yet? :) |
Can we add a small recording with this ? |
|
"theia": { | ||
"target": "browser" | ||
} | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
New line is missing
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
new line is here
|
||
bind(FactoryTheiaClient).toSelf().inSingletonScope(); | ||
bind(FrontendApplicationContribution).toDynamicValue(c => c.container.get(FactoryTheiaClient)); | ||
}); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
New line is missing
}); | ||
}) | ||
} | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
New line is missing
|
||
export interface IFactory { | ||
workspace: IWorkspaceConfig; | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
New line is missing
"include": [ | ||
"src" | ||
] | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
New line is missing
electron-app/package.json
Outdated
"theia": { | ||
"target": "electron" | ||
} | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
New line is missing
"stream": true | ||
} | ||
} | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
New line is missing
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
looks like new line is there
}); | ||
}); | ||
}) | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you, please, rewrite this method with async/await, and maybe split in several, it is hard to read code with so many callbacks
browser-app/package.json
Outdated
"name": "browser-app", | ||
"version": "0.0.0", | ||
"dependencies": { | ||
"@theia/core": "latest", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could you use 0.3.10 version everywhere, to prevent potential breaking browser-app and electron-app modules, after newer Theia realeses?
"@eclipse-che/workspace-client": "latest" | ||
}, | ||
"devDependencies": { | ||
"rimraf": "latest", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Use, please, version 2.6.2 or another one approved by Eclipse CQ.
}, | ||
"devDependencies": { | ||
"rimraf": "latest", | ||
"typescript": "latest" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Use, please, version 2.7.2 or another one approved by Eclipse CQ.
6f965e7
to
3049b07
Compare
Signed-off-by: Sun Seng David TAN <sutan@redhat.com>
@AndrienkoAleksandr @evidolob I have updated the PR with your feedback. Let me know if it works for you |
README.md
Outdated
3. Create a new factory from the created workspace. | ||
4. Edit the factory and select `from a stack` and `Java Theia (OpenShift)` | ||
5. Edit the configuration and add to the theia machine the environment variable THEIA_PLUGINS |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
could you please use
THEIA_EXTENSIONS (as THEIA_PLUGINS will now only work with theia plugins)
README.md
Outdated
"env": { | ||
"CHE_MACHINE_NAME": "ws/theia", | ||
"THEIA_PLUGINS": "che-theia-factory:https://github.com/eclipse/che-theia-factory-extension.git" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
could you please use
THEIA_EXTENSIONS (as THEIA_PLUGINS will now only work with theia plugins)
README.md
Outdated
## Developing with the browser example | ||
|
||
Start watching of the hello world extension. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
FYI it's not hello world extension
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
;)
browser-app/package.json
Outdated
"@theia/terminal": "0.3.11", | ||
"@theia/typescript": "0.3.11", | ||
"@theia/workspace": "0.3.11", | ||
"@eclipse/che-theia-factory": "^0.3.11" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
carret should be removed as well
also I'm not sure this extension should use 0.3.11 version , it's the first version so more like 0.0.1 (or something like that)
che-theia-factory/package.json
Outdated
"keywords": [ | ||
"theia-extension" | ||
], | ||
"version": "0.3.11", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
0.0.1 ?
|
||
import { AxiosInstance, AxiosPromise } from 'axios'; | ||
|
||
export interface IResources { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
some comments ?
import { IWorkspaceConfig } from "@eclipse-che/workspace-client"; | ||
|
||
|
||
export interface IFactory { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
do we need this .d.ts ?
electron-app/package.json
Outdated
@@ -0,0 +1,32 @@ | |||
{ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
latest here should not be used
electron-app/package.json
Outdated
{ | ||
"private": true, | ||
"name": "electron-app", | ||
"version": "1.0.2", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
version should be the same on the whole project
electron-app/package.json
Outdated
"@theia/terminal": "latest", | ||
"@theia/typescript": "latest", | ||
"@theia/workspace": "latest", | ||
"sunix-che-theia-factory-frontend-extension": "^1.0.2" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
something wrong there ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ok let's remove the electron app what do you think ?
Signed-off-by: Sun Seng David TAN <sutan@redhat.com>
Signed-off-by: Sun Seng David TAN <sutan@redhat.com>
Signed-off-by: Sun Seng David TAN <sutan@redhat.com>
Signed-off-by: Sun Seng David TAN <sutan@redhat.com>
Signed-off-by: Sun Seng David TAN <sutan@redhat.com>
Signed-off-by: Sun Seng David TAN <sutan@redhat.com>
README.md
Outdated
Open http://localhost:3000 in the browser. | ||
|
||
## Developing with the Electron example |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I guess, you should remove this section, because you removed electron package.
lerna.json
Outdated
@@ -0,0 +1,11 @@ | |||
{ | |||
"lerna": "2.4.0", | |||
"version": "1.0.2", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You definded version of your extension like 0.0.1: https://github.com/eclipse/che-theia-factory-extension/pull/1/files#diff-2c9e1ab7353b6750c47de1b55b578910R6, so I think here should be the same version
@benoitf @eivantsov @AndrienkoAleksandr could you review and approve if it is ok ? |
Signed-off-by: Sun Seng David TAN <sutan@redhat.com>
|
||
/** | ||
* Provides basic factory client side features at startup of the browser IDE: | ||
* - checking/retriving factory-id from URL |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
FYI small typo on retrieving
Provides basic factory client side clone feature
eclipse-che/che#9837
eclipse-che/che#9221