add documentation on frontend statusBanner config#92
Open
omkar-ethz wants to merge 2 commits intoSciCatProject:masterfrom
Open
add documentation on frontend statusBanner config#92omkar-ethz wants to merge 2 commits intoSciCatProject:masterfrom
omkar-ethz wants to merge 2 commits intoSciCatProject:masterfrom
Conversation
5 tasks
omkar-ethz
added a commit
to SciCatProject/frontend
that referenced
this pull request
Mar 13, 2026
## Description
Add a status banner similar to one on Landing Page with configurable
message and statusCode.
Configure using these two keys (updated in docs PR):
```json
{
"statusBannerMessage": "Some SciCat update to be displayed on the dismissible banner", // Optional
"statusBannerCode": "INFO" // Optional, "WARN" or "INFO" - affects the styling of status banner, defaults to INFO
}
```
## Motivation
#2158
## Fixes:
Please provide a list of the fixes implemented in this PR
* None
## Changes:
Please provide a list of the changes implemented by this PR
* changes made
## Screen recording
it's fairly responsive:
[Screencast from 03-11-2026 11:07:11
AM.webm](https://github.com/user-attachments/assets/009840eb-a9f6-4fa5-a2db-c59a0c54fd49)
## Tests included
- [x] Included for each change/fix?
- [x] Passing? (Merge will not be approved unless this is checked)
## Documentation
- [ ] swagger documentation updated \[required\]
- [x] official documentation updated \[nice-to-have\]
### official documentation info
If you have updated the official documentation, please provide PR # and
URL of the pages where the updates are included
SciCatProject/documentation#92
## Backend version
- [ ] Does it require a specific version of the backend
- which version of the backend is required:
## Summary by Sourcery
Add a configurable status banner to the application header that displays
environment messages based on app configuration.
New Features:
- Introduce a status banner component that shows a dismissible message
at the top of the application.
- Extend application configuration to support a status banner message
and code for informational or warning states.
---------
Co-authored-by: junjiequan <a331998513@gmail.com>
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
No description provided.