Commit Graph

247 Commits

Author SHA1 Message Date
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
d23e007518 feat: remove unused action in form 2024-06-25 11:35:58 +02:00
e400b7e9ce feat: Update URL construction for add page navigation
The code changes modify the `PageController` class to update the URL construction for navigating to the add page. The `getAddPage()` method now maps to the `/add` endpoint instead of the previous `add` endpoint. This change ensures that the URL matches the correct route for the add page.

Recent commits:
- Integrate add content page into backend
- Add base URL to URL construction
- Rework URL construction

Recent repository commits:
- Integrate add content page into backend
- Merge branch 'main' into 15-make-content-adding-page-functional-js
- Merge branch '11-add-api-for-getting-home-page-data' into 'main'
- Merge branch '22-integrate-api-and-frontend' into '11-add-api-for-getting-home-page-data'
- Merge branch '11-add-api-for-getting-home-page-data' into '22-integrate-api-and-frontend'
- feature: add ability to vote on datasets
- Merge remote-tracking branch 'origin/implement-js' into 22-integrate-api-and-frontend
- Add base URL to URL construction
- Merge remote-tracking branch 'origin/implement-js' into 22-integrate-api-and-frontend
- Rework URL construction
2024-06-25 11:33:36 +02:00
ac95228be8 Merge branch '11-add-api-for-getting-home-page-data' into 22-integrate-api-and-frontend 2024-06-25 10:23:49 +02:00
Elias Schriefer
a340d59ca2 Fix voting event listeners in search 2024-06-25 09:59:39 +02:00
J-Klinke
e47edf3cf2 improved searchBar functionality:
on page reload, it now displays the query fitting to the entered string
2024-06-25 09:44:01 +02:00
6b588cba8c Refactor DatasetController and DatasetService, update upvote and downvote endpoints
This commit refactors the `DatasetController` and `DatasetService` classes to update the endpoints for upvoting and downvoting datasets. The `@PostMapping` annotations are replaced with `@PutMapping` annotations to better align with RESTful conventions. This change improves the clarity and consistency of the API endpoints.
2024-06-25 09:19:24 +02:00
J-Klinke
eb2d6189a8 some code formatting,
searchbar is now empty on reload
2024-06-25 09:14:12 +02:00
Elias Schriefer
4c8437be92 Integrate add content page into backend
The page can be found under `/add`.
2024-06-24 17:40:07 +02:00
Elias Schriefer
1864e49264 Merge branch 'main' into 15-make-content-adding-page-functional-js 2024-06-24 17:07:38 +02:00
J-Klinke
d96da1b1e7 search nw displays the search results.
other section are being hidden in the case of a search and vice versa.
a 'nothing found' div was implemented
2024-06-24 17:03:47 +02:00
Elias Schriefer
43d3ff17d5 Merge branch '11-add-api-for-getting-home-page-data' into 'main'
Resolve "Add API for getting home page data"

Closes #11

See merge request padas/24ss-5430-web-and-data-eng/gruppe-3/datadash!7
2024-06-24 14:26:05 +02:00
Julian Klinke
1b73f88cc4 Merge branch '22-integrate-api-and-frontend' into '11-add-api-for-getting-home-page-data'
Resolve "Integrate api and frontend"

See merge request padas/24ss-5430-web-and-data-eng/gruppe-3/datadash!19
2024-06-24 14:23:30 +02:00
Erik Foris
9898c5e4b2 Merge branch '11-add-api-for-getting-home-page-data' into '22-integrate-api-and-frontend'
feature: add ability to vote on datasets

See merge request padas/24ss-5430-web-and-data-eng/gruppe-3/datadash!20
2024-06-22 13:50:31 +02:00
5df6a65f1b feature: add ability to vote on datasets 2024-06-22 13:34:44 +02:00
ab92c7973f Merge remote-tracking branch 'origin/implement-js' into 22-integrate-api-and-frontend 2024-06-21 12:21:36 +02:00
Elias Schriefer
8dcd311b98 Add base URL to URL construction 2024-06-21 12:21:17 +02:00
71389f1da6 Merge remote-tracking branch 'origin/implement-js' into 22-integrate-api-and-frontend 2024-06-21 12:17:44 +02:00
Elias Schriefer
5168ccaf62 Rework URL construction 2024-06-21 12:17:16 +02:00
273d67e63f Merge remote-tracking branch 'origin/implement-js' into 22-integrate-api-and-frontend 2024-06-21 12:07:02 +02:00
Elias Schriefer
5fda42856d Fix filter + search urls 2024-06-21 12:06:02 +02:00
722be51529 Merge branch 'implement-js' into 22-integrate-api-and-frontend 2024-06-21 12:05:45 +02:00
Elias Schriefer
c19459ad01 Little fixes 2024-06-21 12:03:10 +02:00
8820f1d5ef chore: Update Dataset constructor to include URL parameter 2024-06-21 11:43:38 +02:00
efd3c7ddb7 fix: add url field 2024-06-21 11:34:40 +02:00
Elias Schriefer
ee5d9712f4 Implement JS + add URL field 2024-06-21 11:27:26 +02:00
056ea0885f chore: optimize imports 2024-06-21 11:12:58 +02:00
J-Klinke
85213b25da changed filter presets 2024-06-21 11:12:42 +02:00
J-Klinke
cd7bfc0370 added todos 2024-06-21 11:07:49 +02:00
J-Klinke
d444be4381 Merge remote-tracking branch 'origin/implement-js' into implement-js 2024-06-21 10:43:32 +02:00
J-Klinke
b8c23f7e24 added comments 2024-06-21 10:43:04 +02:00
Julian Klinke
aa472e9ee5 Merge branch 'main' into 'implement-js'
# Conflicts:
#   src/main/resources/templates/index.html
2024-06-20 15:59:55 +02:00
J-Klinke
11cd870fde resolved merge conflict 2024-06-20 15:59:03 +02:00
J-Klinke
180770f28e refined search
minor bugfixes in other functionalities
2024-06-20 15:54:01 +02:00
Erik Foris
800e3d955c Merge branch '19-add-ability-to-page-requests' into '11-add-api-for-getting-home-page-data'
Resolve "Add ability to page requests"

See merge request padas/24ss-5430-web-and-data-eng/gruppe-3/datadash!16
2024-06-20 15:39:59 +02:00
df6143da19 Refactor DatasetController and DatasetService, improve search query and add optional criteria 2024-06-20 15:38:09 +02:00
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
J-Klinke
65d9e8ea1f main.js mostly done,
started implmenting contentUtility.js
added sort options to index.html
2024-06-20 15:07:00 +02:00
J-Klinke
d5fd98a066 main.js further implemented 2024-06-18 16:38:09 +02:00
J-Klinke
cddfdf546a js skeleton implemented 2024-06-18 15:57:08 +02:00
Elias Schriefer
49f7c92178 Merge branch '18-fix-button-styling-on-add-page' into 'main'
Resolve "Fix button styling on 'add' page"

Closes #18

See merge request padas/24ss-5430-web-and-data-eng/gruppe-3/datadash!13
2024-06-18 15:41:36 +02:00
Elias Schriefer
00a1f4f12c Fix button styling for 'add' page 2024-06-18 15:40:39 +02:00
7597652f57 chore: Remove commented out code for dataset search 2024-06-18 15:24:32 +02:00
Elias Schriefer
df1598e7c5 Merge branch 'frontend-refinements' into 'main'
frontend refinements

See merge request padas/24ss-5430-web-and-data-eng/gruppe-3/datadash!12
2024-06-18 15:19:39 +02:00
e0b266ce94 pull changes into 11-add-api-for-getting-home-page-data 2024-06-18 15:17:22 +02:00
Erik Foris
15b9980772 Merge branch '17-add-swagger-for-api-dokumentation' into 'main'
Resolve "Add swagger for api Dokumentation"

Closes #17

See merge request padas/24ss-5430-web-and-data-eng/gruppe-3/datadash!9
2024-06-18 15:14:56 +02:00