Skip to content

Commit c9ff416

Browse files
Mickaël SchoentgenBoboTiG
authored andcommitted
NXDRIVE-2559: CSV filename should be elided when too long
1 parent 526df31 commit c9ff416

2 files changed

Lines changed: 3 additions & 1 deletion

File tree

docs/changes/5.0.1.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ Release date: `2021-xx-xx`
2424

2525
- [NXDRIVE-2382](https://jira.nuxeo.com/browse/NXDRIVE-2382): Add CSV export capability for sessions
2626
- [NXDRIVE-2537](https://jira.nuxeo.com/browse/NXDRIVE-2537): Enable the Direct Transfer feature by default
27+
- [NXDRIVE-2559](https://jira.nuxeo.com/browse/NXDRIVE-2559): CSV filename should be elided when too long
2728

2829
## GUI
2930

nxdrive/data/qml/SessionItem.qml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,6 @@ Rectangle {
9898
Link {
9999
id: csvCreationLink
100100
Layout.fillWidth: true
101-
elide: Text.ElideNone
102101
onClicked: {
103102
csvCreationLink.enabled = false
104103
try {
@@ -117,6 +116,8 @@ Rectangle {
117116
}
118117
Link {
119118
id: csvFileLink
119+
Layout.fillWidth: true
120+
elide: Text.ElideMiddle
120121
visible: !active && csv_path
121122
enabled: !active && csv_path != "async_gen"
122123
text: active ? "" : (csv_path == "async_gen" ? qsTr("GENERATING") : csv_path.split(/[\\/]/).pop()) + tl.tr

0 commit comments

Comments
 (0)