-
Notifications
You must be signed in to change notification settings - Fork 8
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Change the 'Reserve' button text to the standard and move the notice about material ordered from other libraries to the MaterialAvailabilityTextParagraph
.
#854
Conversation
9deea60
to
90c5d21
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't understand what the fix you did what it consists of it what it solves.
I wrote some comments that are related to code style/practise.
Also I think that the ReservationModalBody
has too much logic inside of the comopnent. It would be nice to på the saveReservation
handler and state in an external hook
90c5d21
to
2fab8ad
Compare
2fab8ad
to
40f5360
Compare
This has been lingering for quite a while now. I am assigning this to you @kasperbirch1 so you can figure out what is needed to move this along. |
016bf5b
to
acff10d
Compare
…about material ordered from other libraries to the `MaterialAvailabilityTextParagraph`. This will give the user a more streamlined experience while still notifying the user that the material is ordered from another library.
acff10d
to
5d38f24
Compare
@spaceo now it finally works 👍 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please look at my comments
…therLibrary` For better code readability
0e73838
to
5658543
Compare
...components/material/material-buttons/physical/MaterialButtonReservableFromAnotherLibrary.tsx
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM 👍
161cf51
to
66d9353
Compare
66d9353
to
f854c63
Compare
Link to issue
https://reload.atlassian.net/browse/DDFSOEG-528
Description
This PR enhances the user experience by providing a more streamlined interface, while still effectively notifying the user when the material is ordered from an another library.
In this revision, I have incorporated a useEffect hook within the
UserListItems
component. This modification ensures that the default branch and interest period, as specified in theModalReservationFormSelect
, are consistently used as the values transmitted with the request.Screenshot of the result
Skaermoptagelse.2024-04-03.kl.13.59.37.mov