Commit Graph

119 Commits

Author SHA1 Message Date
49eda4ce0a Merge branch '11-add-api-for-getting-home-page-data' into 22-integrate-api-and-frontend 2024-07-05 12:16:34 +02:00
J-Klinke
93a52097de - main.js:
fixed bug in the filterButton EventListener (removed if-clause)
added new EventListener for fetching categories
updated fetchCategories()
2024-07-05 12:04:32 +02:00
fe4f0a8d6b refactor: Add licence field to Dataset model 2024-07-05 11:31:22 +02:00
Erik Foris
f60ce5babf Merge branch '32-add-paging-functionality' into '22-integrate-api-and-frontend'
upvoting suppression by local storage now works, there is a bug however with...

See merge request padas/24ss-5430-web-and-data-eng/gruppe-3/datadash!33
2024-07-04 23:02:53 +02:00
c73f195c2a Merge branch '11-add-api-for-getting-home-page-data' into 22-integrate-api-and-frontend 2024-07-04 22:59:19 +02:00
J-Klinke
bbb8c9259f accepted review comments 2024-07-04 18:28:44 +02:00
9e5c83dce9 chore: Remove unused import statement in DatasetController 2024-07-04 15:33:55 +02:00
cdeb4fc2be refactor: fix internal server errror on bad request 2024-07-04 15:32:45 +02:00
027528909d chore: Refactor DatasetService to improve code structure and readability 2024-07-04 14:46:10 +02:00
31fc359d55 chore: Refactor CategoryController to improve code structure and error handling 2024-07-04 14:42:58 +02:00
0ca9579949 feat: Add error handling for dataset endpoints & return dataset that is beeing returend for the abilty to get the id 2024-07-03 15:03:14 +02:00
J-Klinke
62b0d5c028 local storage now properly implemented, (sessionstorage) 2024-07-03 12:08:59 +02:00
J-Klinke
02d2f90e85 fixed bug 2024-07-03 11:52:29 +02:00
J-Klinke
6d34b8c388 upvoting suppression by local storage now works, there is a bug however with the entries loaded o startup 2024-07-03 11:27:49 +02:00
J-Klinke
20eda5931a started implementing local storage 2024-07-02 17:41:48 +02:00
9434de5bfc chore: Update H2 database dependency and configuration 2024-07-02 14:39:08 +02:00
d48f9da2b7 chore: Suppress null warnings in CategoryRepository 2024-07-02 10:45:11 +02:00
7554eefae4 feat: Add ability to add categories 2024-07-02 10:41:52 +02:00
J-Klinke
1174f03d42 added paging functionality 2024-07-01 15:50:57 +02:00
Elias Schriefer
d84a78d0e2 Merge branch '21-add-functionality-for-listing-query-results-in-frontend' into '22-integrate-api-and-frontend'
Resolve "add functionality for listing query results in frontend"

See merge request padas/24ss-5430-web-and-data-eng/gruppe-3/datadash!18
2024-07-01 14:41:10 +02:00
J-Klinke
662beff527 adopted revision comments 2024-07-01 14:38:31 +02:00
J-Klinke
c683a63e74 finished initial page display 2024-07-01 13:59:37 +02:00
a883d8217e Merge remote-tracking branch 'origin/11-add-api-for-getting-home-page-data' into 22-integrate-api-and-frontend 2024-07-01 12:28:51 +02:00
59c6367043 chore: Refactor DatasetController to fix typo's 2024-07-01 12:27:17 +02:00
J-Klinke
3aa87d531b started initial page display 2024-07-01 12:22:56 +02:00
93b604fe5b feat: implement ability to combine search and filters 2024-07-01 12:17:28 +02:00
J-Klinke
e5a4b1186e finished centralization of query creation.
DatasetController.java: changed mapping for simplification
index.html: Changed option text also for simplification
main.js: replaced dedicated query methods for search, sort & filter with a central one, also refactored the url parameter generation process.

Also removed resolved TODOs and added comments
2024-07-01 12:05:21 +02:00
J-Klinke
32ba4995be Merge remote-tracking branch 'origin/21-add-functionality-for-listing-query-results-in-frontend' into 21-add-functionality-for-listing-query-results-in-frontend 2024-07-01 11:12:01 +02:00
J-Klinke
fcd24c2abc proceeded implementing query improvements:
query methods are now uniform and with one central function
2024-07-01 11:11:29 +02:00
J-Klinke
907487c22c started implementing query improvements 2024-07-01 10:51:09 +02:00
J-Klinke
1dfd2f765a formatted the categories 2024-07-01 10:42:25 +02:00
J-Klinke
d9707a25df implemented fetching categories from backend 2024-07-01 10:21:43 +02:00
J-Klinke
4e645903e3 main page states (search & initial) are now working 2024-06-30 11:55:20 +02:00
J-Klinke
b7ecb4500c upvoting is now fully functional 2024-06-29 13:05:26 +02:00
b24b215bc0 chore: Set dataset date when adding to the repository 2024-06-28 17:08:04 +02:00
72a8f919c8 Merge branch '15-make-content-adding-page-functional-js' into 22-integrate-api-and-frontend 2024-06-28 16:34:40 +02:00
43646493e1 fix: Up and downvote puttons 2024-06-28 16:29:49 +02:00
8a1b9c75c6 Merge remote-tracking branch 'origin/21-add-functionality-for-listing-query-results-in-frontend' into 22-integrate-api-and-frontend 2024-06-28 15:51:26 +02:00
7498e17643 Merge branch '21-add-functionality-for-listing-query-results-in-frontend' into 22-integrate-api-and-frontend 2024-06-28 15:51:22 +02:00
J-Klinke
ebb90632eb refined main.js/vote() -> ready for receiving backend response 2024-06-28 14:24:19 +02:00
c98602520b Merge branch '11-add-api-for-getting-home-page-data' into 22-integrate-api-and-frontend 2024-06-28 13:48:09 +02:00
d6d3ca2121 fix: Update Dataset class to use java.sql.Date for date field to fix sorting after date 2024-06-28 13:40:10 +02:00
683f18cc27 chore: Refactor DatasetController to fix spaceing 2024-06-28 13:14:19 +02:00
d6a8cab85a chore: Refactor DatasetService to improve search functionality and remove unnecessary print statement 2024-06-28 13:11:43 +02:00
62a578124d chore: Refactor LoadDummyDatabase class to remove unused imports 2024-06-28 13:03:07 +02:00
5ccfe8ddb2 feat: Add Category enum for dataset classification & Add api endpoint 2024-06-28 12:47:25 +02:00
de0a027674 Merge branch '11-add-api-for-getting-home-page-data' into 22-integrate-api-and-frontend 2024-06-25 16:20:37 +02:00
ca2f67cb25 fix: closes #26 2024-06-25 16:12:31 +02:00
J-Klinke
e9e825eb42 added sorting by date
refined main.js/vote()
2024-06-25 13:30:38 +02:00
J-Klinke
7e3f191910 upvote/down vote work in frontend, but api seems to work incorrectly 2024-06-25 12:49:28 +02:00