• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

openSUSE / agama / 7298419110
72%

Build:
DEFAULT BRANCH: master
Ran 22 Dec 2023 09:41AM UTC
Jobs 3
Files 658
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

22 Dec 2023 09:38AM UTC coverage: 74.932%. Remained the same
7298419110

push

github

web-flow
[web] Does not mangle names ending in PageMenu (#950)

## Problem

`core/Page` component changed a lot in #925 and got _the ability_ to
work with it's children in order to been able to extract some of them
for placing in the right place.

It's the case of the `Page.Actions` and `Page.Menu`, but while the
former are extracted by checking their `type`, for the latest it's
needed to relay on their `type.name` since they can be wrapped in
another component due to their potential complexity.

Thus, it was required that components intended to be used as page menus
were named ending in _PageMenu_, but this does not work as expected when
minification comes into scene.

## Solution

Until we have something better, the solution by now is asking
[TerserWebpackPlugin](https://webpack.js.org/plugins/terser-webpack-plugin/)
to keep functions names for these functions (aka components) ending in
_PageMenu_. A few bytes more for the production build, but in exchange
everything works as expected.

Fixes #949 

## Testing

Tested manually

## Screenshots

|Before | After |
|-|-|
|![Page Menu
missplaced](https://github.com/openSUSE/agama/assets/1691872/dbfe338b-751c-4110-ab8b-6f5f7a68fc5a)
| ![Page Menu in
place](https://github.com/openSUSE/agama/assets/1691872/b0fd3638-47cc-42ec-a3d9-b07751227862)
|

1426 of 2171 branches covered (0.0%)

Branch coverage included in aggregate %.

15998 of 21082 relevant lines covered (75.88%)

22.63 hits per line

Subprojects
ID Flag name Job ID Ran Files Coverage
1 web 7298419110.1 22 Dec 2023 09:41AM UTC 293
74.26
GitHub Action Run
1 service 7290413673.1 21 Dec 2023 04:00PM UTC 304
84.98
GitHub Action Run
1 rust 7246554818.1 18 Dec 2023 10:12AM UTC 61
40.45
GitHub Action Run
Source Files on build 7298419110
  • Tree
  • List 658
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #7298419110
  • 5205490b on github
  • Prev Build on master (#7290413673)
  • Next Build on master (#7298594068)
  • Delete
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc