-
Notifications
You must be signed in to change notification settings - Fork 15
feat(public-search): display disabled request button with tooltip #1399
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
Open
PascalRepond
wants to merge
1
commit into
rero:staging
Choose a base branch
from
PascalRepond:rep-request-button
base: staging
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Contributor
PascalRepond
commented
Dec 3, 2025
- Only when the patron has reached the maximum number of active loans, fees, or requests, the request button is now displayed in the public UI but disabled with a tooltip explaining the reason. This allows patron to understand why they cannot place a request.
- Depends on refact(permissions): add codes to can request api rero-ils#3992.
44e5f85 to
66f630b
Compare
66f630b to
290975e
Compare
290975e to
537d6f6
Compare
Garfield-fr
approved these changes
Dec 3, 2025
projects/public-search/src/app/document-detail/item/item-request.component.ts
Outdated
Show resolved
Hide resolved
projects/public-search/src/app/document-detail/request/holdings-request.component.ts
Outdated
Show resolved
Hide resolved
projects/public-search/src/app/document-detail/item/item-request.component.ts
Outdated
Show resolved
Hide resolved
projects/public-search/src/app/document-detail/request/holdings-request.component.ts
Outdated
Show resolved
Hide resolved
projects/public-search/src/app/document-detail/request/holdings-request.component.ts
Outdated
Show resolved
Hide resolved
This comment was marked as resolved.
This comment was marked as resolved.
15a9a9e to
19dcc29
Compare
jma
approved these changes
Dec 4, 2025
projects/public-search/src/app/document-detail/item/item-request.component.ts
Outdated
Show resolved
Hide resolved
projects/public-search/src/app/document-detail/item/item-request.component.ts
Outdated
Show resolved
Hide resolved
projects/public-search/src/app/document-detail/request/holdings-request.component.html
Show resolved
Hide resolved
projects/public-search/src/app/document-detail/request/holdings-request.component.ts
Outdated
Show resolved
Hide resolved
projects/public-search/src/app/document-detail/request/holdings-request.component.ts
Outdated
Show resolved
Hide resolved
...p/patron-profile/patron-profile-loans/patron-profile-loan/patron-profile-loan.component.html
Show resolved
Hide resolved
0faa224 to
b8c799e
Compare
… tooltip * Only when the patron has reached the maximum number of active loans, fees, or requests, the request button is now displayed in the public UI but disabled with a tooltip explaining the reason. This allows patron to understand why they cannot place a request. * Depends on rero/rero-ils#3992. Co-Authored-by: Pascal Repond <[email protected]>
b8c799e to
49e09ce
Compare
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
f: circulation
Concerns the circulation interface or backend
f: professional ui
Professional interface
f: public ui
Public interface, as opposed to the professional interface
f: user management
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.