Skip to content

feat(ci): configure unlighthouse in CI - #853

Open
P0m1d00r wants to merge 4 commits into
Hack4Krak:masterfrom
P0m1d00r:feat/unlighthouse-in-ci
Open

feat(ci): configure unlighthouse in CI#853
P0m1d00r wants to merge 4 commits into
Hack4Krak:masterfrom
P0m1d00r:feat/unlighthouse-in-ci

Conversation

@P0m1d00r

@P0m1d00r P0m1d00r commented Apr 17, 2026

Copy link
Copy Markdown
Collaborator

closes #751

@P0m1d00r
P0m1d00r requested review from a team and Norbiros as code owners April 17, 2026 23:36
Comment thread package.json Outdated
Comment thread frontend/package.json Outdated
Comment thread frontend/package.json Outdated
Comment thread frontend/package.json Outdated
Comment thread frontend/package.json Outdated
Comment thread frontend/unlighthouse.config.ts Outdated
'performance': 55,
'accessibility': 80,
'best-practices': 85,
'seo': 80,

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 point of adding Nuxt SEO was to monitor issues that hurt our rating. Those current limits are kinda low, so it won't catch most of our mistakes. I see 2 possible solutions to this problem:

  • resolve issue related to seo, best-practices and accessibility on this PR, it will require mostly mindless work with adding alt tags etc., and after you are finish bump up those values
  • let's merge this PR with lower limits, but create a new issue for impoving our scores & increasing the budget

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

Done, there are two problems in Accesibility left to resolve to get all 100's. First is related to colors contrasts while the second one is caused by Auto-Form. With Auto-Form I can't do anythink while that first one I simply prefer don't to touch colors/design aspects.

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.

What about other fields like seo and best practices?

that first one I simply prefer don't to touch colors/design aspects.

Could you please rebase your branch on top of master and verify if it is happening again? Could you provide more information about this issue? If you don't want to touch any of that, I can quickly fix it and you can just rebase

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

Rest fields (except performance) are 100's

"Background and foreground colors do not have a sufficient contrast ratio." - the muted text is not enough visable on the background

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.

What? They are 98:

 'best-practices': 98,
 'seo': 98,

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.

"Background and foreground colors do not have a sufficient contrast ratio." - the muted text is not enough visable on the background

Thanks for reporting! I just committed a fix for that eb066ce

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

They are 100s but I set limits to 98. IDK if we want to be that strict but i can change it

@P0m1d00r
P0m1d00r force-pushed the feat/unlighthouse-in-ci branch from 5f77c56 to 56830f4 Compare April 19, 2026 18:08
@hack4krak-frontend-dokploy

hack4krak-frontend-dokploy Bot commented Apr 19, 2026

Copy link
Copy Markdown

Dokploy Preview Deployment

Name Status Preview Updated (UTC)
Frontend ❌ Failed Preview URL 2026-05-09T13:17:35.729Z

@P0m1d00r
P0m1d00r force-pushed the feat/unlighthouse-in-ci branch 8 times, most recently from fa64450 to 1fe0464 Compare April 20, 2026 20:34
@P0m1d00r
P0m1d00r requested a review from Norbiros April 21, 2026 17:46
Comment thread frontend/app/pages/about_us.vue Outdated
Comment thread frontend/app/pages/about_us.vue Outdated
@P0m1d00r
P0m1d00r force-pushed the feat/unlighthouse-in-ci branch 4 times, most recently from d90f501 to 8e845ca Compare April 21, 2026 20:17

@lajczi lajczi left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

lgtm tbh

Comment thread frontend/content/about-us-content.ts Outdated
Comment thread frontend/content/about-us-content.ts Outdated
Comment thread frontend/content/about-us-content.ts Outdated
Comment thread frontend/app/pages/about_us.vue Outdated
@P0m1d00r
P0m1d00r requested a review from Norbiros May 1, 2026 21:28
Sanielia
Sanielia previously approved these changes May 2, 2026
@P0m1d00r
P0m1d00r force-pushed the feat/unlighthouse-in-ci branch from 49d1f47 to 290b6ae Compare May 9, 2026 13:17
@P0m1d00r
P0m1d00r requested a review from a team as a code owner May 9, 2026 13:17
Comment thread backend/TasksTemplate

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.

Is there a reason for this change, or am I missing something

},
ci: {
budget: {
'performance': 55,

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.

If we know that performance is unreliable, maybe you should completely disable it like this:

    onlyCategories: ['best-practices', 'accessibility', 'seo'],

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.

[Feat]: Run unlighthouse in CI

4 participants