Skip to content

Adds the option to submit your own script - #5

Open
ribalba wants to merge 1 commit into
mainfrom
webnrg-playwright
Open

Adds the option to submit your own script#5
ribalba wants to merge 1 commit into
mainfrom
webnrg-playwright

Conversation

@ribalba

@ribalba ribalba commented Aug 12, 2026

Copy link
Copy Markdown
Member

This PR relies on two other PRs:

https://github.com/green-coding-solutions/gateway.green-coding.io/pull/1
green-coding-solutions/green-metrics-tool#1818

The idea is that someone can also submit a script through the webnrg interface.

@ribalba
ribalba requested a review from ArneTR August 12, 2026 08:24

@ArneTR ArneTR left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The integration looks reasonable. Have to see it live to judge CSS/Style quirks if present.

Please have a look at my questions.

Comment thread js/code.js
}

// Custom Playwright paths are not listed under the recent runs, so the job id is the only handle the user has
if (script !== '' && job_id != null) {

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why can we not change the filter query that shows the runs on the frontpage to include?

Does the script-details page provide that much more value that the code duplication scripts-details.js is justified?

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.

2 participants