Commit Graph

32 Commits

Author SHA1 Message Date
d616d193f1 Refactor DatasetController and DatasetService, add upvote and downvote functionality and create new search query to use with request parameters 2024-06-20 15:17:23 +02:00
7597652f57 chore: Remove commented out code for dataset search 2024-06-18 15:24:32 +02:00
e0b266ce94 pull changes into 11-add-api-for-getting-home-page-data 2024-06-18 15:17:22 +02:00
c0de764f15 Refactor DatasetController and DatasetService, improve search query and add optional criteria
This commit refactors the `DatasetController` and `DatasetService` classes. It updates the request mappings in the `DatasetController` class to `/api/v1/datasets` and adds new methods for upvoting and downvoting datasets. In the `DatasetService` class, it adds the `upvoteDataset` and `downvoteDataset` methods to handle dataset upvoting and downvoting. Additionally, it improves the search query in the `getDatasetsByDateAfter` method by adding optional criteria for title, description, author, abstract, type, and minimum rating. This refactoring enhances code organization, functionality, and search capabilities.
2024-06-18 15:09:07 +02:00
Julian Klinke
2f96de274b Merge branch 'frontend-searchbar' into 'main'
finished implementation of frontend features

See merge request padas/24ss-5430-web-and-data-eng/gruppe-3/datadash!11
2024-06-18 14:06:45 +02:00
35fcd0513b chore: Refactor DatasetController and DatasetService, add upvote and downvote functionality and create new search quirey to use with request parameters 2024-06-18 13:35:15 +02:00
4a09da87d3 chore: Refactor DatasetController and DatasetService
This commit refactors the `DatasetController` and `DatasetService` classes. It updates the request mappings in the `DatasetController` class to `/api/v1/datasets` and adds new methods for upvoting and downvoting datasets. In the `DatasetService` class, it adds the `upvoteDataset` and `downvoteDataset` methods to handle dataset upvoting and downvoting. This refactoring improves code organization and functionality.
2024-06-18 12:30:55 +02:00
J-Klinke
d5889341e6 proper add button implementation 2024-06-18 11:43:14 +02:00
Elias Schriefer
f8378140c8 Merge branch 'main' into add-content-page 2024-06-17 23:31:39 +02:00
Elias Schriefer
a7b479074a Add content adding page 2024-06-17 22:43:59 +02:00
10e339f32b feature: add minimal API 2024-06-17 18:13:25 +02:00
165397e86b chore: Add LoadDummyDatabase class for initializing dummy data 2024-06-17 16:01:36 +02:00
J-Klinke
1fe7a2ca29 changed css path to be correct 2024-06-17 15:49:50 +02:00
J-Klinke
b721973d05 implemented sort-by,
implemented divider,
fixed class/id in css
2024-06-17 15:42:20 +02:00
909a9021fe chore: Rename variable in Dataset class for consistency
The variable `Categories` in the `Dataset` class has been renamed to `categories` to follow the naming convention. This change improves code readability and consistency.
2024-06-17 15:32:05 +02:00
bad9855dce feat: Update dataRepository findByAuthor method name
The `findByAutor` method in the `dataRepository` interface has been renamed to `findByAuthor` to align with the naming convention. This change improves code readability and consistency.
2024-06-17 15:22:12 +02:00
b607b4a109 chore: Refactor dataset class and dataRepository interface
- Rename dataset.java to Dataset.java
- Update references to Dataset class
2024-06-17 15:17:37 +02:00
J-Klinke
5a682e1800 basic implementation of add button 2024-06-17 15:11:16 +02:00
09f685eef8 chore: Rename type.java to Type.java and update references, add default constructor to dataset 2024-06-17 15:10:43 +02:00
J-Klinke
b3f5c43a94 Merge remote-tracking branch 'origin/frontend-searchbar' into frontend-searchbar 2024-06-14 16:53:59 +02:00
J-Klinke
148035ed0d improved toolbar,
implemented filter
2024-06-14 16:51:55 +02:00
14a9bbd56a feat: Add dataRepository interface and dataset class 2024-06-14 16:47:51 +02:00
Elias Schriefer
e41e9f022b Add search results section 2024-06-14 16:07:48 +02:00
J-Klinke
9431c2bb71 added searchbar 2024-06-14 15:30:50 +02:00
b189a8f022 chore: Add dataset and type classes 2024-06-14 15:30:12 +02:00
Elias Schriefer
25728f6bc0 Add looking glass icon 2024-06-14 15:02:17 +02:00
schriefer
2d44e4d5a3 Add preliminay search bar 2024-06-14 14:13:26 +02:00
J-Klinke
af68a840d3 added div 2024-06-14 14:13:24 +02:00
3f7ab20b60 chore: move templates into right location 2024-06-14 14:12:12 +02:00
f30a93a8ba chore: Add initial project files and configurations 2024-06-14 14:12:06 +02:00
9c24168252 chore: move templates into right location 2024-06-14 13:39:02 +02:00
50527966de chore: Add initial project files and configurations 2024-06-11 09:41:10 +02:00