-
Notifications
You must be signed in to change notification settings - Fork 37
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
CLDIDE-2631: Change behavior for perClick policy, add error notificat… #451
Conversation
@@ -124,7 +125,7 @@ public void tryStartWorkspace() { | |||
final WorkspaceConfigDto workspaceConfigDto = factory.getWorkspace(); | |||
|
|||
if (workspaceConfigDto == null) { | |||
//TODO handle this situation | |||
notificationManager.showError("Workspace config is not defined"); |
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 we add return here?
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 it needed here, thank you
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.
Also move please message to localization contant
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
2fbcf5a
to
15bad0f
Compare
Ok |
053dea5
to
cc70bfe
Compare
ae52f27
to
55a7878
Compare
If workspace already exists You should add counter to the name |
@@ -470,6 +470,9 @@ | |||
@Key("workspace.start.failed") | |||
String workspaceStartFailed(String workspaceName); | |||
|
|||
@Key("workspace.start.failed") |
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.
Change please key for this property. I think It'll broke gwt compiling
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.
👍
35fcaf3
to
de23be3
Compare
*/ | ||
private Promise<UsersWorkspaceDto> getWorkspaceByConditionOrCreateNew(final WorkspaceConfigDto workspaceConfigDto, | ||
final Function<UsersWorkspaceDto, Boolean> condition) { | ||
final Function<UsersWorkspaceDto, Boolean> condition, | ||
final boolean generateName) { |
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 it would be better to name this parameter something like useExists or createNewWorkspace
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.
or reuseExisted
wdyt?
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
de23be3
to
748c99f
Compare
Other OK for me |
1 similar comment
Other OK for me |
748c99f
to
1895ad5
Compare
CLDIDE-2631: Change behavior for perClick policy, add error notificat…
…ions