Comments (6)
🙏🏻 Praise: Thank you for your contribution! I think this needs a more detailed user scenario:
- What happens exactly on click of the badge? (open a popin/popup..?)
from ecoindex_badge.
If a page doesn't have a score, if a user clicks on the badge:
- then it opens the eco-index website
- target is set according to the way it is implemented (new tab with the code provided in readme)
- when the ecoindex website opens, the requested URL is already set in the input and it launches the test
- Therefore I can the the popin with the text: "L’analyse est en cours pour « https://xxx »"
- If I wait a minute I can see the score
- When the initial page is reloaded, the score is displayed
OR
If a page doesn't have a score, if a user clicks on the badge:
- then it opens the eco-index website
- target is set according to the way it is implemented (new tab with the code provided in readme)
- when the ecoindex website opens, the requested URL is already set in the input
- a message reads: "This page doesn't have a score yet. Click on 'Tester le site' in order to get its environmental footprint." (to be adapted) The message can be displayed in a Toast or Snackbar in order to understand that it is contextual.
Both scenarios are fine to me.
from ecoindex_badge.
This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 5 days.
from ecoindex_badge.
I just realized this issue might be more about ecoindex_bff
from ecoindex_badge.
Hello @guillaumew IMO, this is a issue about the plugin itself and not the BFF. The main question that we need to answer to is "what do we want to do with this badge?"...
The first idea was to keep it the smallest and simpliest as possible... But if we think it could be interesting to make it evolve, let's do it...
from ecoindex_badge.
This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 5 days.
from ecoindex_badge.
Related Issues (10)
- Refactoring code between light and dark version HOT 2
- Use local storage to limit server calls HOT 5
- Petits retours HOT 6
- Donner une width et une height à l'image HOT 1
- Quand on clic sur le badge, on ne tombe pas sur le bon rapport HOT 9
- Obligation d'avoir un trailing slash HOT 1
- Minify JS HOT 2
- Indiquer de manière explicite que l'analyse est limitée à une page donnée HOT 1
- Critical issue performance: if ecoindex is down, slows down site using badge 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 ecoindex_badge.