Skip to content

Commit 9466cd4

Browse files
committed
rename collapsable to collapsible
1 parent 9b46515 commit 9466cd4

File tree

3 files changed

+8
-8
lines changed

3 files changed

+8
-8
lines changed

user-interface/src/main/java/life/qbic/datamanager/views/general/Collapsible.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
package life.qbic.datamanager.views.general;
22

33
/**
4-
* <b>Collapsable Element Interface</b>
4+
* <b>Collapsible Element Interface</b>
55
*
6-
* <p>Collapsable elements can be collapsed into a concise view representation of an element,
6+
* <p>Collapsible elements can be collapsed into a concise view representation of an element,
77
* such as e.g. a large text box with information.</p>
88
*
99
* @since 1.7.0

user-interface/src/main/java/life/qbic/datamanager/views/general/CollapsibleDetails.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,13 +5,13 @@
55
import java.util.Objects;
66

77
/**
8-
* <b>Collapsable Details</b>
8+
* <b>Collapsible Details</b>
99
*
1010
* <p>Implementation of the {@link Collapsible} interface for the Vaadin component
1111
* {@link Details}.</p>
1212
* <p>
1313
* For the Vaadin {@link Details} component, it would not be necessary to provide a wrapper object. However
14-
* the interface gives a lot of flexibility to add collapsable elements wrapping other custom
14+
* the interface gives a lot of flexibility to add collapsible elements wrapping other custom
1515
* components while exposing a unified behaviour.
1616
* <p>
1717
* Also we favor a more declarative and readable object API, like {@link #collapse()} or {@link #expand() } over

user-interface/src/main/java/life/qbic/datamanager/views/projects/project/info/ProjectSummaryComponent.java

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -489,16 +489,16 @@ private void buildDesignSection(ProjectOverview projectInformation, Project proj
489489
var objective = new SimpleParagraph(project.getProjectIntent().objective().objective());
490490
details.setSummary(objectiveTitle);
491491
details.add(objective);
492-
var collapsableDetails = new CollapsibleDetails(details);
493-
collapsableDetails.collapse();
494-
collapsableDetails.addClassNames("background-color-grey", "padding-left-01", "padding-right-01",
492+
var collapsibleDetails = new CollapsibleDetails(details);
493+
collapsibleDetails.collapse();
494+
collapsibleDetails.addClassNames("background-color-grey", "padding-left-01", "padding-right-01",
495495
"line-height-01", "max-width-55rem", "text-justify", "box-corner-radius-small");
496496

497497
content.add(
498498
Heading.withIconAndText(VaadinIcon.NOTEBOOK.create(), "Project ID and Title"));
499499
content.add(new SimpleParagraph("%s - %s".formatted(projectInformation.projectCode(),
500500
projectInformation.projectTitle())));
501-
content.add(collapsableDetails);
501+
content.add(collapsibleDetails);
502502
projectDesignSection.setContent(content);
503503
}
504504

0 commit comments

Comments
 (0)