refactor(library): remove library component and related localization files #429
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This pull request removes the library reservation feature from the THI app. The changes include deleting related API methods, components, and localization entries.
Removal of Library Reservation Feature:
docs/thi-rest-api.md
: Removed all sections and examples related to library reservations.rogue-thi-app/components/allCards.jsx
: Removed theLibrary
import and the corresponding dashboard card for library reservations. [1] [2]rogue-thi-app/lib/backend-utils/library-utils.js
: Deleted the utility functiongetFriendlyAvailableLibrarySeats
.rogue-thi-app/lib/backend/authenticated-api.js
: Removed all methods related to library reservations, includinggetLibraryReservations
,getAvailableLibrarySeats
,addLibraryReservation
, andremoveLibraryReservation
.rogue-thi-app/pages/library.jsx
: Deleted the entire library reservation page component.Localization Updates:
rogue-thi-app/public/locales/de/common.json
: Removed the "library" entry.rogue-thi-app/public/locales/de/dashboard.json
: Removed the "library" title entry.rogue-thi-app/public/locales/de/library.json
: Deleted the entire library localization file.rogue-thi-app/public/locales/en/common.json
: Removed the "library" entry.rogue-thi-app/public/locales/en/dashboard.json
: Removed the "library" title entry.rogue-thi-app/public/locales/en/library.json
: Deleted the entire library localization file.Style Updates:
rogue-thi-app/styles/Library.module.css
: Removed CSS styles related to the library reservation page.