-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Move activity components to plugin-activity #5896
Conversation
@@ -11,17 +11,23 @@ | |||
Codenvy, S.A. - initial API and implementation | |||
|
|||
--> | |||
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> | |||
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> |
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.
is there a reason why the xsd has been renamed ?
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.
It seems that we have numerous usages of both URLs in different POMs throughout entire Che project for some reason.
And this happened because I was creating this pom by copying from another, which has this different url. I can revert it, but it seems it doesn't matter much, as http://maven.apache.org/maven-v4_0_0.xsd simply redirects to http://maven.apache.org/xsd/maven-4.0.0.xsd
Then one can normalize all poms to use same xsd URL across the project later (as a separate task) if needed.
Build success. https://ci.codenvycorp.com/job/che-pullrequests-build/3273/ |
<public path="public"/> | ||
|
||
<source path="ide"/> | ||
</module> |
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
@@ -0,0 +1,24 @@ | |||
/******************************************************************************* |
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 think we don't need this module only for one class with one const
} | ||
|
||
private native void init(String restContext, String wsId) /*-{ | ||
$wnd.ActivityTracker.init(restContext, wsId); |
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.
Should it be commented?
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.
yes, that's how native javascript is written in GWT code
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.
Oh, sorry, I missed that it was a native code
Build success. https://ci.codenvycorp.com/job/che-pullrequests-build/3293/ |
dockerfiles/init/manifests/che.env
Outdated
# Workspace Idle timeout | ||
# The length of time after which workspaces will be automatically stopped, if no activity | ||
# has been detected on them. Currently, keyboard and mouse interactions in IDE, as well as HTTP | ||
# requests to ws-agent count as activity. Set "0" to disable automatic stop of inactive workspaces |
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.
please describe default value
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
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.
We need docs update for these changes. @slemeur please help this young padawan
…ctivity Conflicts: plugins/plugin-activity/che-plugin-activity-server/pom.xml
Build success. https://ci.codenvycorp.com/job/che-pullrequests-build/3324/ |
Move activity components to plugin-activity
What does this PR do?
Move all workspace activity related code to new plugin-activity:
Also enable activity tracking with keyboard + mouse in IDE
Add workspace inactive timeout variable to che.env
What issues does this PR fix or reference?
Changelog
Moved all workspace activity related code to new plugin-activity.
Fixed activity tracking with keyboard + mouse in IDE
Added workspace inactive timeout variable to che.env
Release Notes
Docs PR