f717394661
Merge branch 'develop' into 3470-forum-msg-ui-improvement
Deploy to branch.dsv.su.se / deploy (pull_request) Successful in 2m19s
Build and test / build-and-test (push) Successful in 15m32s
Remove branch deployment from branch.dsv.su.se / cleanup (pull_request) Successful in 13s
2024-12-19 15:12:00 +01:00
844ef39914
3492: Reformat code
Deploy to branch.dsv.su.se / deploy (pull_request) Successful in 2m23s
Build and test / build-and-test (push) Successful in 15m54s
2024-12-19 12:18:35 +01:00
8f647c67d4
Merge remote-tracking branch 'refs/remotes/origin/3470-forum-msg-ui-improvement' into 3470-forum-msg-ui-improvement
Build and test / build-and-test (push) Failing after 45s
Deploy to branch.dsv.su.se / deploy (pull_request) Successful in 2m10s
2024-12-19 12:15:33 +01:00
d5bc04e90c
3492: Remove unused method hasUreadThreads in ProjectForumService
2024-12-19 12:14:06 +01:00
4a9232dab0
3492: Move counter to a Label instead of Panel, which simplifies a lot.
2024-12-19 11:58:21 +01:00
6bcc869e4d
Merge branch 'develop' into 3470-forum-msg-ui-improvement
Build and test / build-and-test (push) Successful in 21m10s
Deploy to branch.dsv.su.se / deploy (pull_request) Successful in 3m42s
2024-12-19 10:46:08 +01:00
1f2670b501
3470: Reformat code with prettier for BasicForumService
Build and test / build-and-test (push) Successful in 15m43s
2024-12-18 15:38:29 +01:00
08f40959fd
3470: Reformat code with prettier
Build and test / build-and-test (push) Failing after 42s
2024-12-18 15:31:17 +01:00
2ad0061a09
Merge branch 'develop' into 3470-forum-msg-ui-improvement
...
# Conflicts:
# core/src/main/java/se/su/dsv/scipro/forum/BasicForumService.java
# core/src/main/java/se/su/dsv/scipro/forum/ForumPostRepository.java
# core/src/main/java/se/su/dsv/scipro/forum/ForumPostRepositoryImpl.java
# core/src/main/java/se/su/dsv/scipro/forum/ProjectThreadRepository.java
# core/src/main/java/se/su/dsv/scipro/forum/ProjectThreadRepositoryImpl.java
# view/src/main/java/se/su/dsv/scipro/forum/panels/AbstractReadStatePanel.java
# view/src/main/java/se/su/dsv/scipro/supervisor/panels/SupervisorMyProjectsPanel.java
2024-12-18 15:25:54 +01:00
379b5c34fc
3470: Use Wicket behavior (less intrusive) to modify AbstractReadStatePanel
Build and test / build-and-test (push) Successful in 6m57s
2024-12-18 15:15:22 +01:00
c8930ec5fe
3470: Optimize import
2024-12-18 13:34:33 +01:00
b20b1239a0
3470: Refactor how message counting works:
...
Build and test / build-and-test (push) Successful in 6m51s
1. Now we retrieve at first all threads, then use another database call to get count of threads which have unread posts. It makes possible to reuse the logic of unread-post-counting somewhere else.
2. We use QueryDSL instead of native SQL, also left join from thread table instead of exists().
2024-12-18 13:23:58 +01:00
3e71bc1c9e
3470: Use JPA native query to reduce number of calls to database
Build and test / build-and-test (push) Successful in 6m56s
2024-12-18 08:58:41 +01:00
0525f89560
3470: Add logic to retrieve actual message counts
2024-12-17 09:45:14 +01:00
74b2396376
3470: Add new panel to show unread message count (as POC so far)
2024-12-02 14:49:40 +01:00
552aaade6e
3470: Write a method to get unread messages count as POC
2024-12-02 14:47:46 +01:00
0d612d44ee
3470: Move variable 'icon' from class level to method level:
...
This reduces the visibility of the variable icon, which usually is a good thing. The 'icon' is never accessed anywhere else.
2024-12-02 14:46:03 +01:00
2eb7f1bf14
3470: Write a-element in one line to avoid white spaces:
...
* since this component is put in a table cell, and when there are more than one component in the cell, the white spaces breaks the visual with additional underscore like character.
2024-12-02 14:43:27 +01:00
499aaaa402
3470: Enhance ProjectForumStateColumn of SupervisorMyProjectPanel
...
* it contains 2 components, one with flag, one with number of messages.
* since table cell can only contain one component, Wicket Fragment is used.
2024-12-02 14:40:43 +01:00
b58a8a2d8b
3470: Show tooltip if there are unread messages
...
* AbstractReadStatePanel is expanded with option to show tooltip.
2024-11-25 15:20:28 +01:00