Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add the redirect to the provider portal again #612

Merged
merged 1 commit into from
Jul 9, 2024

Conversation

mrchrisadams
Copy link
Member

@mrchrisadams mrchrisadams commented Jul 9, 2024

When removing the unused flags, the last PR related to this work, #610 (i.e. Remove old, unneeded flags), was a tad overzealous, and removed a flag called called "dashboard" from three years ago.

This was the flag that hid some of the older involved charts we never released, and users who visited the the application root, at / could either be able to see the new stats, or be redirect to the shiny new provider portal.

This had the effect of showing the screen below that would only be showed when the dashboard flag was active:

Screenshot 2024-07-09 at 13 28 35

This PR redirects user to the provider portal view, restoring the previous behaviour, so visiting / when authenticated shows you something like this again:

Screenshot 2024-07-09 at 13 30 39

Copy link

github-actions bot commented Jul 9, 2024

Eco-CI Output:

Label 🖥 avg. CPU utilization [%] 🔋 Total Energy [Joules] 🔌 avg. Power [Watts] Duration [Seconds]
Total Run (incl. overhead) 20.5414 551.097 3.51 157
checkout 8.99 3.59347 1.80 2
pip install uv wheel 9.11 3.59705 3.60 1
pip install requirements 66.6171 44.2509 5.53 8
pytest 18.4265 499.656 3.47 144

🌳 CO2 Data:
City: Washington, Lat: 38.7095, Lon: -78.1539
IP: 40.76.119.10
CO₂ from energy is: 0.253504620 g
CO₂ from manufacturing (embodied carbon) is: 0.044794268 g
Carbon Intensity for this location: 460 gCO₂eq/kWh
SCI: 0.298299 gCO₂eq / pipeline run emitted

@mrchrisadams mrchrisadams merged commit b78ba81 into master Jul 9, 2024
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant