edmcouncil / html-pages Goto Github PK
View Code? Open in Web Editor NEWspec.edmcouncil.org web pages
spec.edmcouncil.org web pages
We do not have 'minimist' directly in the dependencies.
Should update the following packages that contain it:
Is likely to return a problem with issuecomment-1046656161, backport to an older version fixes this problem, When dependencies are updated, cooperation with @mereolog will be required to check for compatibility in IOS system with docker.
IDMP pages
Products.vue and other pages are orphaned, i.e., they cannot be reached from the landing pages.
All these pages need to found, reviewed, and relinked or removed.
We should be able to download an ontology, for now as an RDF/XML file, from its webpage.
There should be an option to get all imports for this ontology - for now with turned off (i.e. greyed out).
User should be able to choose whether they want to display parents for a resource as breadcrumbs, which is currently implemented, or as a tree, like in Protege.
New search must use the following API:
https://github.com/edmcouncil/onto-viewer/blob/develop/api-doc/rest_api.md#10-find-search
New GUI features:
If advanced search is expanded and at least one "findProperties" option is selected or useHighlighting is enabled then "advance" mode is used, otherwise "basic" mode is used.
User should be able to configure search in mobile version.
New GUI needs to be updated with the EDMC graphics: banner, logo, etc.
For the time being I suggest we use the old files.
Following instructions on https://github.com/edmcouncil/html-pages#running-the-content-of-website-locally fails to start yarn server.
After the following setup on a MS Windows Server 2016 machine:
error D:\projects\fibo\git\edmc\html-pages\fibo\node_modules\node-sass: Command failed.
....
gyp verb check python checking for Python executable "c:\python27\python.exe" in the PATH
gyp verb `which` failed Error: not found: c:\python27\python.exe
gyp verb `which` failed at getNotFoundError (D:\projects\fibo\git\edmc\html-pages\fibo\node_modules\which\which.js:13:12)
After installing python 2.7.18 and setting the path to the folder with python 2.7. the same error occurs.
One probably needs to run
npm config set python c:\python27\python.exe
as per https://stackoverflow.com/a/64486670 - this solve the previous error but 'discovers' a new one:
MSBUILD : error MSB4132: The tools version "2.0" is unrecognized. Available tools versions are "4.0".
Build FAILED.
MSBUILD : error MSB4132: The tools version "2.0" is unrecognized. Available tools versions are "4.0".
0 Warning(s)
1 Error(s)
I got similar issues on a MS W10 machine and different, but also critical, on a MacOs system.
The 'how to use' button does not take you to the 'how to use' page
We should visually emphasize that a resource is deprecated, e.g., https://spec.edmcouncil.org/fibo/ontology/FND/Relations/Relations/hasTag.
To this end we can use something similar to the maturity level display:
We should say then something like 'This resource is deprecated and may be removed shortly' in red banner.
We need to updated frontend because of edmcouncil/onto-viewer#147.
Collapse (unfolded) lists ('See less')
Due to recent developments in the idea of the EDMC OKG Lab we should update the contents of https://spec.edmcouncil.org.
When edmcouncil/onto-viewer#187 is merged, entity endpoint needs to be implemented by front-end.
Optimize queries to the api in hints.
User should have access to information about viewer:
One of the most important issues and more difficult unfortunately it seems to me that is to update versions of vue and its derivatives, for example in the project we use vue version 2.6.10 (publicly available stable version 3.2.31), vue-cli we have 3.12 (last stable version is 5.0. 4), probably just updating these dependencies and code as it is a change of one or more versions will "fix" most dependabot alerts.
Currently the site content is stored in vue files, to change it you need to create a pr, wait for reviews and only then the updated content is available. This increases the time it takes to implement content and changes and adds an extra step by involving additional people.
My suggestion would be to use headless cms and keep all the site content out of the templates.
A headless content management system, or headless CMS, is a back-end-only content management system. Such systems include their own dashboard, login and users, content can be added on your own defined templates and will be made available by endpoint or in the case of some headless cms, you can perform graphql queries.
On 'html-pages' side there would be only downloading data from api and displaying them. As headless cms do not have a front end, connecting them to our solutions in html pages will be easier as it will not interfere with the part of application which will download and display data from onto-viewer. Having separate front-end and back-end is also a standard that would be kept here.
The front-end would need a proper reformatting of the results, the menu could also be moved along with the possibility to manipulate the content using it.
What kind of content should be available to change from the cms should be discussed separately. Based on my limited experience with STRAPI(page, demo), I can say that there would be no need to create this cms for each site separately and it would be possible to manage them all from one panel by creating appropriate content types for each site.
The Strapi I mentioned earlier:
Alternatives:
Displays flag icons instead of language tags, e.g., @en
examples: Poland, jurisdiction of Poland, Car control ontology (CC)
https://github.com/edmcouncil/html-pages/blob/develop/README.md needs an update regarding running html-pages in docker.
We need to tell explicitly how to build Docker image.
As long as there are no new icons, provisonal
and informative
are treated the same (old dev type):
prod is now type with label Release
RELEASE("https://spec.edmcouncil.org/fibo/ontology/FND/Utilities/AnnotationVocabulary/Release", "Release")
Warnings on website should display only for provisonal
and informative
(release
, not_set
and mixed
should be ignored)
there is no longer an icon in the json response
"maturityLevel": {
"label": "NOT_SET",
"iri": "https://spec.edmcouncil.org/ontoviewer/NotSet"
},
All information based on: PR-240(OV)
@mereolog do you accept this solution?
dependecies should be updated to fix dependabot alerts
https://spec.edmcouncil.org/idmp/products should be updated to provide links to IDMP products.
We need to update auto pages to the new GUI design
Currently, we use plain bullets and hyphens to display lists and embedded lists.
Could we use some more fancy/more modern way?
Works on /auto/products/, but broken on /auto/products (this is canonical URL for PRODUCTS page - see top menu on main page)
Suggest a trivial change:
--- auto/src/views/Products.vue.orig
+++ auto/src/views/Products.vue
@@ -21,7 +21,7 @@
<td><strong>D01</strong></td>
<td>Auto schema.org ontology: A schema.org-compliant fundamental ontology for vehicle information in e-commerce</td>
<td>Released</td>
- <td><a href="../ontology?query=https%3A%2F%2Fspec.edmcouncil.org%2Fauto%2Fontology%2FEC%2FSchemaAutomotive%2FAutoSchemaOrg%2F">Auto Viewer</a></td>
+ <td><router-link :to="{ path: router('ontology'), query: { query: encodeURI('https://spec.edmcouncil.org/auto/ontology/EC/SchemaAutomotive/AutoSchemaOrg/')} }">Auto Viewer</router-link></td>
</tr>
<tr>
<td><strong>D02</strong></td>
Show more/less on every level in enumeration.
Results for iri containing '#' are returned incorrectly. Arguments are incorrectly parsed. The error is in processing the query.
JS get the query http://fibo-viewer.korora.makolab.net/fibo/ontology?query=http://www.w3.org/2004/02/skos/core#altLabel.
Js get the query value and processes what is inserted.
Then the query goes to the backend with the iri in which the ending is already cut off.
http://fibo-viewer.korora.makolab.net/fibo/ontology/api/entity?iri=http://www.w3.org/2004/02/skos/core
This needs to be handled on the frontend. Probably here:
html-pages/fibo/src/views/Ontology.vue
Line 1192 in 7827cb0
IDMP frontend should display stats like FIBO: #177
We need to replace '' string in FIBO Time Machine with a more appropriate string, e.g., stable.
The page https://spec.edmcouncil.org/fibo/ontology-tools needs to be updated:
edmcouncil/onto-viewer#215
PROD = "prod" -> PROD_ICON = "prod"
PROD_DEV = "prodDev" -> PROD_DEV_ICON = "prodDev"
PROD_DEV_MIXED = "prodDev" -> PROD_DEV_MIXED_ICON = "prod_and_dev_mixed"
DEV = "dev" -> DEV_ICON = "dev"
The following pages are unused:
I think we should delete all of them as they seem to out-dated now.
This issue was initiated in #124.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.