Bug #17876 the message menu isn't fully displayed if there is only one message or no other messages below
Incident #17778 direct download attachment does not work< git-svn-id: http://svn.research-infrastructures.eu/public/d4science/gcube/trunk/portlets/user/message-conversations@182129 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
parent
22a56928fb
commit
9146f45207
|
@ -1,4 +1,9 @@
|
|||
<ReleaseNotes>
|
||||
<Changeset component="org.gcube.portlets-user.messages.2-4-0"
|
||||
date="2019-10-25">
|
||||
<Change>Bug #17876 the message menu isn't fully displayed if there is only one message or no other messages below</Change>
|
||||
<Change>Incident #17778 direct download attachment does not work</Change>
|
||||
</Changeset>
|
||||
<Changeset component="org.gcube.portlets-user.messages.2-3-0"
|
||||
date="2019-02-28">
|
||||
<Change>Feature #10068, Request for enhancement: new Messages is error prone and challenging to use</Change>
|
||||
|
|
8
pom.xml
8
pom.xml
|
@ -25,12 +25,12 @@
|
|||
|
||||
<properties>
|
||||
<!-- Convenience property to set the GWT version -->
|
||||
<gwt.version>2.8.1</gwt.version>
|
||||
<gwt.version>2.8.2</gwt.version>
|
||||
<distroDirectory>distro</distroDirectory>
|
||||
<!-- GWT 2.8 requires 1.8 -->
|
||||
<maven.compiler.source>1.8</maven.compiler.source>
|
||||
<maven.compiler.target>1.8</maven.compiler.target>
|
||||
<gwt-material.version>2.0-rc6</gwt-material.version>
|
||||
<gwt-material.version>2.0.1</gwt-material.version>
|
||||
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
||||
</properties>
|
||||
|
||||
|
@ -246,7 +246,7 @@
|
|||
<plugin>
|
||||
<groupId>org.codehaus.mojo</groupId>
|
||||
<artifactId>gwt-maven-plugin</artifactId>
|
||||
<version>2.8.1</version>
|
||||
<version>${gwt.version}</version>
|
||||
<executions>
|
||||
<execution>
|
||||
<goals>
|
||||
|
@ -278,7 +278,7 @@
|
|||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-war-plugin</artifactId>
|
||||
<version>2.1.1</version>
|
||||
<version>3.2.3</version>
|
||||
<executions>
|
||||
<execution>
|
||||
<phase>compile</phase>
|
||||
|
|
|
@ -18,6 +18,7 @@ import gwt.material.design.client.constants.IconType;
|
|||
import gwt.material.design.client.constants.ProgressType;
|
||||
import gwt.material.design.client.ui.MaterialChip;
|
||||
import gwt.material.design.client.ui.MaterialLabel;
|
||||
import gwt.material.design.client.ui.MaterialProgress;
|
||||
import gwt.material.design.client.ui.html.Label;
|
||||
import gwt.material.design.client.ui.html.ListItem;
|
||||
import gwt.material.design.client.ui.html.UnorderedList;
|
||||
|
@ -703,4 +704,10 @@ public class MaterialAutoComplete extends AbstractValueWidget<List<? extends Sug
|
|||
public SuggestBox getSuggestBox() {
|
||||
return suggestBox;
|
||||
}
|
||||
|
||||
@Override
|
||||
public MaterialProgress getProgress() {
|
||||
// TODO Auto-generated method stub
|
||||
return null;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -22,6 +22,7 @@
|
|||
|
||||
.marginTop {
|
||||
margin-top: 0px;
|
||||
min-height: 800px;
|
||||
}
|
||||
|
||||
.overflowXHidden {
|
||||
|
|
|
@ -103,16 +103,16 @@ public class AttachmentMenu extends Composite {
|
|||
public void onSaving(Item parent, String fileName) {
|
||||
GWT.log("onSaving parent: "+parent +", fileName" +fileName);
|
||||
wpTreepopup.hide();
|
||||
MaterialLoader.showProgress(true, parentButton);
|
||||
MaterialLoader.progress(true, parentButton);
|
||||
convService.saveAttachmentToWorkspaceFolder(item.getIdentifier(), parent.getId(), new AsyncCallback<Boolean>() {
|
||||
@Override
|
||||
public void onFailure(Throwable caught) {
|
||||
MaterialLoader.showProgress(false, parentButton);
|
||||
MaterialLoader.progress(false, parentButton);
|
||||
MaterialToast.fireToast("Warning: could not save this file to the selected Workspace folder, please retry", "rounded");
|
||||
}
|
||||
@Override
|
||||
public void onSuccess(Boolean result) {
|
||||
MaterialLoader.showProgress(false, parentButton);
|
||||
MaterialLoader.progress(false, parentButton);
|
||||
MaterialToast.fireToast("File " +fileName+" Saved succesfully");
|
||||
}
|
||||
});
|
||||
|
|
|
@ -17,6 +17,7 @@
|
|||
padding: 0px;
|
||||
margin: 0px;
|
||||
}
|
||||
|
||||
#wpTreepopup>div.modal-footer div.htmlSaveName {
|
||||
display: none;
|
||||
}
|
||||
|
@ -27,7 +28,8 @@
|
|||
}
|
||||
/* END Customisation to avoid bootstrap and material clashes for modal*/
|
||||
.unread-message {
|
||||
border-left: 3px solid #2196f3;
|
||||
border-left: 5px solid #2196f3;
|
||||
font-weight: 500;
|
||||
}
|
||||
|
||||
.collection .collection-item.active {
|
||||
|
@ -62,8 +64,8 @@
|
|||
|
||||
.gwt-SuggestBoxPopup .item-selected {
|
||||
color: #1565c0 !important;
|
||||
|
||||
}
|
||||
|
||||
.breadcrumb {
|
||||
padding: 2px 10px;
|
||||
}
|
||||
|
@ -71,4 +73,3 @@
|
|||
div.modal.BS-Navigator.in div.modal-body {
|
||||
height: 300px;
|
||||
}
|
||||
|
Loading…
Reference in New Issue