Skip to content

Commit 9d343e0

Browse files
CRIOPS-258 Fix Broken Icons
Upgrade to Font Awesome 6. Fixes missing icons in the user management interface.
1 parent caef6ab commit 9d343e0

File tree

6 files changed

+11
-10
lines changed

6 files changed

+11
-10
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
1717
### Fixed
1818

1919
- Fix filebeat tokenizer pattern
20+
- Fix icons broken by the upgrade to AuthLib 2.2 (CRIOPS-248)
2021

2122
## [2.0.2] - 2025-04-02
2223

pom.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -212,12 +212,12 @@
212212
<dependency>
213213
<groupId>org.webjars</groupId>
214214
<artifactId>bootstrap</artifactId>
215-
<version>5.2.0</version>
215+
<version>5.3.8</version>
216216
</dependency>
217217
<dependency>
218218
<groupId>org.webjars</groupId>
219219
<artifactId>font-awesome</artifactId>
220-
<version>5.15.4</version>
220+
<version>6.7.2</version>
221221
</dependency>
222222
<dependency>
223223
<groupId>org.webjars</groupId>

src/main/resources/frontend/components/EntryJudgment.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ export default {
3737
'lh-base',
3838
// icon
3939
'far',
40-
'fa-check-circle'
40+
'fa-circle-check'
4141
];
4242
4343
if (!this.selected) {

src/main/resources/frontend/components/NoteList.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -166,13 +166,13 @@ export default {
166166
preview(text) {
167167
let sub = text.substring(0, this.previewSize);
168168
if (sub.length === this.previewSize) {
169-
sub = sub.concat('... <i class="fas fa-angle-double-right text-primary"></i>');
169+
sub = sub.concat('... <i class="fas fa-angles-right text-primary"></i>');
170170
}
171171
return sub;
172172
},
173173
expand(text) {
174174
if (text.length > this.previewSize) {
175-
text = text.concat(' <i class="fas fa-angle-double-left text-primary"></i>');
175+
text = text.concat(' <i class="fas fa-angles-left text-primary"></i>');
176176
}
177177
return text;
178178
},

src/main/resources/frontend/components/PoolSummary.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -121,13 +121,13 @@ export default {
121121
preview(text) {
122122
let sub = text.substring(0, this.previewSize);
123123
if (sub.length === this.previewSize) {
124-
sub = sub.concat('... <i class="fas fa-angle-double-right text-primary"></i>');
124+
sub = sub.concat('... <i class="fas fa-angles-right text-primary"></i>');
125125
}
126126
return sub;
127127
},
128128
expand(text) {
129129
if (text.length > this.previewSize) {
130-
text = text.concat(' <i class="fas fa-angle-double-left text-primary"></i>');
130+
text = text.concat(' <i class="fas fa-angles-left text-primary"></i>');
131131
}
132132
return text;
133133
},

src/main/resources/frontend/test/components/EntryJudgment.spec.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ describe('EntryJudgment.vue', () => {
5959
showJudgment: false
6060
}
6161
});
62-
expect(wrapper.find('.fa-check-circle').exists()).toBe(true);
62+
expect(wrapper.find('.fa-circle-check').exists()).toBe(true);
6363
});
6464

6565
it('adapts the icon classes when item is selected', async () => {
@@ -70,7 +70,7 @@ describe('EntryJudgment.vue', () => {
7070
}
7171
});
7272

73-
const iconWrapper = wrapper.find('.fa-check-circle');
73+
const iconWrapper = wrapper.find('.fa-circle-check');
7474
expect(iconWrapper.exists()).toBe(true);
7575

7676
// classList seems to be mutated in place, so capture the original values
@@ -79,7 +79,7 @@ describe('EntryJudgment.vue', () => {
7979

8080
await wrapper.setProps({ selected: true });
8181

82-
const updatedWrapper = wrapper.find('.fa-check-circle');
82+
const updatedWrapper = wrapper.find('.fa-circle-check');
8383
const updatedClasses = [...updatedWrapper.element.classList];
8484
expect(updatedClasses).not.toEqual(iconClasses);
8585
});

0 commit comments

Comments
 (0)