ibutsu / ibutsu-server

Ibutsu is a test result aggregator
https://ibutsu-project.org
MIT License
17 stars 22 forks source link

Portal Dashboards, PF5 #504

Open mshriver opened 4 months ago

mshriver commented 4 months ago

The intent of this PR is to introduce a new frontend for dashboards that does not require project access for users.

The test artifacts, runs, and results will not be directly available through this dashboard, only the widgets aggregating data.

I also intend to introduce static URLs for these portals, and their dashboards, so that people can generate permalinks to them.

Status

Backend, ready for review

Backend updates for the models, DB upgrade, a new controller for portals and portal admin, updates to impacted controllers, new unit tests, and updates to existing unit tests for consistency are in the current commit.

I'd like a review on this backend commit separate from the frontend implementation.

DB v5 to v6 upgrade tested with local postgres, table updates are as expected. I'll be testing this on our Red Hat stage instance internally as well.

Frontend, MOSTLY ready for review

Frontend changes for the admin portal, profile, and project pages are working and can be reviewed.

Frontend changes for project dashboards, runs, results are ready for review, but I'm expecting to find bugs.

Frontend static routing for admin, profile, projects, dashboards, runs, results are ready for review. You should be able to navigate via URL and the resulting frontend has the correct project and dashboard selected!

mshriver commented 3 months ago

Thanks all for first round reviews - I've re-requested reviews as I've made significant frontend updates that should be ready for local testing and review.

I'd really appreciate your help in running this locally and finding any weird behaviors! I'll be doing that myself this week, as well as preparing to deploy the stage instance in GPC.

Note - before final review and merge I'll be auditing the diff and removing any console.log messages that got left behind from my debugging.