Comments (6)
If I understand correctly, this is issue is only about verifying in the production environment. My follow-up question would be why can't this be verified locally though, knowing it would be the same in the production environment?
from metabolicatlas.
The markup (HTML document) in local development mode is not the same as in production. This issue is a reminder to double check that things are done correctly after deploy.
from metabolicatlas.
The markup (HTML document) in local development mode is not the same as in production
@e0 besides the host url changing, what other changes in the HTML should we be aware of?
from metabolicatlas.
There is a lot of Vue specific stuff that's helpful during development but is stripped away for production. There is also other type of verifications (which I should have mentioned in the original issue description such as link previews when sending over Slack for example and verifying search engine titles and summaries) that makes more sense to test only on production.
from metabolicatlas.
Hi @mihai-sysbio and @e0, I've deployed the branch feat/bioschemas_MA-675
on the dev server and verified the Genes page using Schema Markup Validator. The profile looks fine as shown by
https://validator.schema.org/#url=https%3A%2F%2Fdev-metatlas.csbi.chalmers.se%2Fexplore%2FHuman-GEM%2Fgem-browser%2Fgene%2FENSG00000136010
However, title
and description
are not interpreted correctly by a search engine or Slack.
I've created a simple test page https://pcons1.scilifelab.se/test1.html and it seems Slack can catch the metaInfo.
from metabolicatlas.
@nanjiangshu Thanks for deploying and trying this out. I was wondering if it was maybe due to caching but I realized it is probably because these fields for title and description are populated after the webpage already loads and it makes another request to get the component data. To get around this issue, I think we would need to do some SSR. That would be a much larger issue though with changes to our infrastructure so we should probably have a talk before deciding if we want to make this change.
For now, I think the best things to do is to only focus on the bioschemas for genes and metabolites in this issue.
from metabolicatlas.
Related Issues (20)
- Automatically run end to end tests when creating pull requests on GitHub
- Improve quality of service HOT 2
- UptimeRobot downtime incident HOT 1
- Integrate and test dependabot updates HOT 1
- deploy to production HOT 1
- 3.4 release
- 2D MapViewer in fullscreen has black background
- Migrate from DC Bitwarden
- Fullscreen functionality for interaction partners
- Invisible nodes in 3d viewer
- clarify purpose of tsv export in GotEnzymes
- User may visit earlier versions of integrated models that are deployed previously
- broken expansion of Interaction Partners
- old nginx image
- wrong text on identifier/MetabolicAtlas pages creates circular reference
- Bug identified for GotEnzymes website
- browserstack via gh action
- duplicated requests
- URL or DNS bug
- Change the list order and default GEM selected for the search function
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 metabolicatlas.