deltadao / mvg-portal Goto Github PK
View Code? Open in Web Editor NEW🌀 Pontus-X Portal Web App
Home Page: https://portal.pontus-x.eu
License: Apache License 2.0
🌀 Pontus-X Portal Web App
Home Page: https://portal.pontus-x.eu
License: Apache License 2.0
The MVG Portal needs to be adjusted for the Handover to Gaia-X.
Appearance Settings are shown (Light/Darkmode) but have no impact on the MVG portal
Please remove the settings from the dropdown.
I see the close button is super small when the image is zoomed in on big screens, maybe we can keep it only for mobile views since for the desktops we already have the cursor showing the "zoom out" icon to go back
Originally posted by @LucaMilanese90 in #103 (comment)
For the algorithm BIDS Example Application for CtD
https://portal.minimal-gaia-x.eu/asset/did:op:8eD56443192e1160185922384F20199513FaDEC9 the whitelisted data asset associated with it BIDS Data - Heartbeat Detection Task
https://portal.minimal-gaia-x.eu/asset/did:op:16229fE8e0Ebb09224E21E3dDA23D584Ea33f201 is not shown in the GUI.
The other way around it is shown. This should be fixed to demonstrate the utility of algorithms and how they are used.
The footer currently is really small and cannot handle more information as is. We want to introduce some new content to the footer which would need more space.
We need to remove the YT video from the landing page due to privacy implications.
For now, we should simply remove the video player and use a placeholder image. We can use the CtD section image.
Since this is the only place where we actually displayed any video, we should also remove all related dependencies.
Network metadata might be fetched / generated incorrectly. Look at the fix in
oceanprotocol/market@b2330fd
Merge/Implement the changes into the demonstrator
We have already demonstrators with various use-cases live and in use. These demos can and should be linked from the MVG landing page. We need to prepare a basic design to integrate 2 (or more in future) portals for now.
zoom-in
cursor on hoverPlease add the graphic below in a comment @MeikeMolitor
For the hackathon we decided to only use GX Chain in the MVG portal
Currently we are inconsistent with some wording on the demonstrator. This needs to be addressed for the MVP.
We want to overhaul the frontpage desing of the MVG demo portal to provide a more structured UX during the 2nd hackathon. The goal is especially to guide users to our educational resources.
The new design is prepared on Figma:
https://www.figma.com/file/ahgY3xyuL2Ac8zZkjzx43i/MVG-Portal?node-id=1%3A2
Prototype is available here:
https://www.figma.com/proto/ahgY3xyuL2Ac8zZkjzx43i/MVG-Portal?page-id=0%3A1&node-id=1%3A2&viewport=241%2C48%2C0.77&scaling=min-zoom&starting-point-node-id=1%3A2
Some additional notes to consider:
As a consumer I want to retrieve my results from the Gaia-X Portal using my SSI to sign in. For this reason I trigger the results overview right under the "Buy Compute Job" Dialogue on the right hand side.
Problem:
The results windows just closes randomly and I have a hard time to select my result in due time. This happens after just a few seconds. After opening it again, it takes a bit longer until it randomly just closes.
Reproduction:
Brave, MetaMask, Resource: https://portal.minimal-gaia-x.eu/asset/did:op:87152E582e3B05Cc6940E9763b9e0c22eA812448
This behavior can be reproduced with ANY asset in all Portals.
If access to an asset is denied the UI / error message does not reflect that
This has been fixed on the mvp branch > see #45 , fix should applied to main
aswell
Have a look at oceanprotocol/market@9f2cbaa
Merge/Implement XSS fix changes into the demonstrator
For now we can remove the terms from the MVG portal. These are focussed on Ocean Market & OPF. We will come up with different terms for the hackathon or simply remove them entirely for now.
This includes:
terms and conditions
can link to the page later againIn preparation for the hackathon we should make some minor adjustments:
Development build of the MVG portal for the Gaia-X hackathon #2
Currently, only the first step is added in Figma. But the next step(s) should be added as well as they might differ in their layout, texts need to be added and it is not clear how the faucet will be displayed yet.
Onboarding is cumbersome for new users not used to using MetaMask or other wallets. This should be
easy, comfortable and available from the landing page within 2 minutes.
Include a three step onboarding process at the very top of the landing page, here
Provide a step by step guide with the information and onboarding tutorial. In any case the user should never be bothered with finding the information on his/her own.
We might need to fill and provide own faucets for this with a smaller token amount (25 to 50) and 0.2 GX.
thought(non-blocking): I prefer to work with multiple base values. When dealing with pixel-perfect positioning, we can add additional base values. But in my experience, it can be very difficult to maintain magic numbers across multiple projects. Using base values also gives non-designers a grid to follow when designing new elements.
We need to discuss this in-depth after the hackathon @moritzkirstein Let's merge this PR.
Originally posted by @oceanByte in #8 (review)
The Featured Assets section should become more of an intro to different use-cases that are already implemented in various demos.
Content on Frontpage is currently missing
Add content for all 4 sections
We currently have a section outlining CtD benefits with a link to the academy.
This should be adjusted to be more "introductory", something along the lines of "The CtD paradigm", or "This demonstrator utilizes CtD" -> see #74 for final wording decisions.
The graphic(s) - for both paragraphs - needs to be (re)designed according to GX media guidelines.
Onboarding Step components should be implemented according to #107
Implement one component per step that can be displayed by the onboarding section component, see #112
The free asset did:op:59205be7D61a5137685F9f15167DD8dEA65ff351 (data is free, algo is free) can not be consumed due to an error in the frontend. Error message states "insufficient tokens".
Can be reproduced on MVG and UDL portal
https://udl.portal.minimal-gaia-x.eu/asset/did:op:59205be7D61a5137685F9f15167DD8dEA65ff351
https://portal.minimal-gaia-x.eu/asset/did:op:59205be7D61a5137685F9f15167DD8dEA65ff351
Consume button should not be greyed out and error message should not be presented.
Reported by Roberto Garcia, UDL.
We currently do not support T&C in the demo and therefore should remove this alltogether for the MVP
As a Gaia-X Consumer I want to consume a given data service offering the very first time. Often, in most cases actually, the initial transaction fails in the frontend and I am presented a "red" error without further explanation.
Try again until it works.
Apple, Brave, MetaMask, Resource: https://forever.portal.minimal-gaia-x.eu/asset/did:op:17fB3b4B571351bf8368c6c7Bfe9766F548C7201
Note: It does not happen every time and on every service, but overall this is not working properly and affects user experience.
Improvement Proposal: Change the error message to "Transaction error. Please try again."
Fix the underlying issue.
It is a best practice to serve (meta)data from the same URL both to humans (whose browsers usually request HTML) and to machine clients (which would usually request something like JSON-LD).
The recommended way of doing so is HTTP content negotiation, via the Content-type
header.
Both the frontend (this repository) and the backend should support requests for machine-friendly formats. AFAIK the current backend doesn't do so; at least a search for "Content-type" returns no result.
A request like the following should yield JSON-LD:
wget --header 'Accept: application/ld+json' -O - https://portal.minimal-gaia-x.eu/asset/did:op:A77d3A3215E904F5a8cE4e6E76C4394241917223
The current title was discussed and should be changed
Change title to "Web3.0 Ecosystem Demonstrator"
white screen when clicking edit metadata: https://portal.minimal-gaia-x.eu/asset/did:op:De7A1AB5db11de81513B837f69dEC8581DDB1035
white screen, nothing to see
metadata edit mask appears and metadata can be edited
It should be visible that the portal is a prototype instantiation. Maybe a Link to the Gaia-X Lab could be displayed, too.
Reintroduce the announcement component - displayed on all pages.
We want to deploy the MVP on a k8 cluster. Therefore the repository needs to be containerized.
The CtD paragraph needs better wording and clearer link to Gaia-X.
WIP Proposal (needs to be refined/improved):
"A core concept of Gaia-X is data sovereignty. The strongest form of data sovereignty is technical data sovereignty, meaning the owner of a data service has full control of the data usage at all times. The enable this the Minimal Viable Gaia-X supports the Compute-to-Data (CtD) approach. Compute-to-Data is the functionality that solves the current trade-off between the benefits of using private data and the risks of exposing it. It allows data consumers to run compute jobs on private data while the data stays on-premise, without the need to create a copy on a third-party system."
Result links link to https://portal.minimal-gaia-x.eu/[object Object]
but should link to the computation results and logs.
Link of compute results on the profile history page is wrong.
Compute results are listed in history and available after signing.
The academy section is no longer needed on the MVP
We want to implement a new onboarding feature according to #107
Add a new section to the landing page which will hold the n-step onboarding as defined in #107
Section should be composed of
Currently an announcement related to the hackathons is displayed. Not needed in the final MVP
Current title ("MVG Portal Demonstrator") is not sufficient for the MVP version
Change to "Minimal Viable Gaia-X"
CTAs (Buttons) look a little off in hover state. Reason is that the "shadow" simply gets smaller instead of the button getting "pressed" down and therefore minimizing shadow.
Maybe add movement to the button to imitate "press"
Other solutions are welcome if they work ;P
We want to display some quotes regarding the MVG on the portal landing page.
Keys are used by React to identify changes in a given iterable (e.g. array) that we want to render. So keys need to provide elements a fixed identity. Identity is given via a unique identifier (in comparison to the other elements in the iterable).
We don’t recommend using indexes for keys if the order of items may change
React Documentation on Keys
The suggested solution of using something like portal-link-${i}
does not work as the issue happens when the list is changed (reordered, new entries added before last ones, entries deleted). So it would cause the same issue as all elements share the same prefix while the index changes.
Generate a unique id for every item and use it as key when rendering the list (see medium article)
See Index as a key is an anti-pattern
Using index as the key is considered an anti-pattern. Therefore, I recommend updating the given iterable and adding an id
property populated with a random value using nanoid.
Exception from the rule
In some cases using an index might be okay though if we do not want to create ids for all iterables that we want to render. For this case all three statements must be true:
An in-depth description of how keys are used in React here: https://reactjs.org/docs/reconciliation.html#recursing-on-children
Originally posted by @oceanByte in #58 (comment)
development
currently has some changes needed on the main
branch before upcoming hackathon
Prepare merge of development into main & fix any merge conflicts in PR
It is currently difficult for users to find all the resources of the Minimal Viable Gaia-X as the links are not being presented on the landing page. This should be as easy as possible for users and first-time visitors.
Include links to the following resources in the top and footer navigation:
Challenge: Link texts need to very brief, so i propose:
Catalogue, Logging, Stats, Identity for the top navigation. I am aware that this might create issues with the mobile navigation thus moving the links in the upper section of the page might be an alternative to the top navigation.
Footer (does not replace the top nav, we need the links in the top nav)
Create a section like the features assets section that leads to the additional pages and teasers them briefly and describes their functionality.
User centricity needs to be in focus. As we lack a structured user testing panel we need to change the perspective to the one of a newcomer frequently.
The Gaia-X "X image" needs to be removed on the MVP
Academy content being removed leaves the site feeling "empty" now that we are used to the blue "hero banner".
Reintroduce the design of the blue hero banner again, without filling it with academy content or CTA for now.
Figma: https://www.figma.com/file/g3UYzab0B5h4ddS3pbLKlD/MVG-Portal?node-id=64%3A50
We are currently working on the onboarding feature (#107). User journey, wireframes, and requirements are defined, but the texts are missing yet. The texts are a key component of this feature. They guide the user and explain what is happening in the background (make the invisible visible).
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.