Comments (5)
There's some existing code already present that supports this. It involves assigning the desired notice to the $SITE_NOTICE variable in the environment specific configuration file.
Looks something like the following (using test verbiage):
from bioportal_web_ui.
Issuing site-wide notices using a $SITE_NOTICE config setting requires updating config files and performing deployment of the UI which is a bit heavy-handed and requires operations or development team to do it. It is great that we have this option but It would be even better to be able to set those notices in the UI Admin or API especially for the appliance users.
from bioportal_web_ui.
I agree that it's not an ideal solution, which is why I didn't mark the issue as closed. The purpose of the comment was to document some code that I didn't know existed until yesterday. This code could be leveraged until such time that we're able to implement a better solution.
from bioportal_web_ui.
Yes, the emphasis of this task is on a temporary solution, that could flip that display on and off with a simple admin (or even Ruby) command.
But why can't $SITE_NOTICE be set with a Ruby command, and take effect immediately? (I am aware that bad HTML could cause all sorts of UI trouble. But there are ways to mitigate that risk.)
from bioportal_web_ui.
This issue was erroneously closed when a pull request was accepted that used GitHub's "close issue with commit" message syntax. The author of the pull request was referring to an issue in their repository (ontoportal-lirmm#33), not ours.
from bioportal_web_ui.
Related Issues (20)
- apache-mod-passenger and base64 v0.1.1+ gem conflict
- Enlarge search result text size in the "Find an ontology" text box HOT 1
- Upgrade to Rails 7.0 HOT 1
- Subscribe to notes emails button should redirect to login for anonymous users HOT 1
- Login as functionality fails for users with '@' symbols in the username
- Subscribing to notes emails fails for users with '@' symbols in the username
- Move GA measurement ID out of encrypted credentials
- category list on the browse ontologies page displays some of the list items as ...
- Implement subscribing to ontology update notification HOT 14
- Remove / retire OntoloBridge term request integration
- /notes/<note_id> page doesn't work as expected HOT 4
- Add OBO Id Badges for terms that are OBO Ids HOT 3
- Add a natural language selector to the ontology submission form HOT 4
- Migrate from Select2 and Chosen to tom-select HOT 3
- Add fields to the sign up page for GitHub and ORCID IDs
- Add UI support for regenerating API keys
- Upgrade from MySQL 5.7 to the 8.0 series HOT 2
- Add UI support for multi-lingual features HOT 2
- Improve NaturalLanguage selector for better usability
- Bundle install fails on Apple M2 for the iconv gem HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from bioportal_web_ui.