Improvements 01 28 (#264)

* improving footer

* improve ui

* upgrading dependencies

* adding glow to all boxes on dashboard

* introducing single listing view

* next release version

* improve screenshots and login page
This commit is contained in:
Christian Kellner
2026-01-28 14:27:03 +01:00
committed by GitHub
parent 3117044139
commit 472169693f
29 changed files with 999 additions and 383 deletions

View File

@@ -195,6 +195,18 @@ export const useFredyState = create(
console.error('Error while trying to get resource for api/listings. Error:', Exception);
}
},
async getListing(listingId) {
try {
const response = await xhrGet(`/api/listings/${listingId}`);
set((state) => ({
listingsData: { ...state.listingsData, currentListing: response.json },
}));
return response.json;
} catch (Exception) {
console.error(`Error while trying to get resource for api/listings/${listingId}. Error:`, Exception);
throw Exception;
}
},
async getListingsForMap({ jobId, minPrice, maxPrice } = {}) {
try {
const qryString = queryString.stringify(
@@ -239,6 +251,7 @@ export const useFredyState = create(
page: 1,
result: [],
mapListings: [],
currentListing: null,
maxPrice: 0,
},
generalSettings: { settings: {} },