Skip to content

Conversation

@pawelangelow
Copy link
Collaborator

Before After
Screenshot 2025-11-04 at 10 19 36 Screenshot 2025-11-04 at 10 18 59
Screenshot 2025-11-04 at 10 19 50 Screenshot 2025-11-04 at 10 18 42
Screenshot 2025-11-04 at 10 19 29 Screenshot 2025-11-04 at 10 19 17

Currently, the icon that should be in front of the result text is missing, so I added the most suitable one, IMO, from the existing set.

@github-actions
Copy link
Contributor

github-actions bot commented Nov 4, 2025

Code Coverage - Frontend unit tests

St.
Category Percentage Covered / Total
🟢 Statements 82.24% 20152/24504
🟡 Branches 67.7% 8722/12884
🟡 Functions 76.39% 5361/7018
🟢 Lines 82.65% 19730/23872

Test suite run success

5230 tests passing in 681 suites.

Report generated by 🧪jest coverage report action from 2cb1b26

Copy link
Collaborator

Choose a reason for hiding this comment

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

I think you should be provided with a dark theme svg as well

Copy link
Collaborator

Choose a reason for hiding this comment

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

We should stirve to use one image for both, if possible

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

IMO, we shouldn't block the PR with this. If we have such an image in the future, we'll address it in a separate one.

Copy link
Collaborator

Choose a reason for hiding this comment

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

We should stirve to use one image for both, if possible

import MonitorLog from '../MonitorLog'
import MonitorOutputList from '../MonitorOutputList'

import ProfilerImage from 'uiSrc/assets/img/profiler/magnifier.svg'
Copy link
Collaborator

Choose a reason for hiding this comment

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

Why not import it as SVG component and output as such?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Not sure I got you, but check 04bd33a

Copy link
Collaborator

Choose a reason for hiding this comment

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

What I meant is:

import ProfilerImage from 'uiSrc/assets/img/profiler/magnifier.svg?react'

// ---

<ProfilerImage
          alt="Profiler"
          style={{ userSelect: 'none' }}
        />

Basically how icons work now

data-testid="monitor-not-started"
>
<StyledImagePanel align="center">
<StyledImage as="img" src={ProfilerImage} alt={'asd'} />
Copy link
Collaborator

Choose a reason for hiding this comment

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

why do you need as? Also, my comment above stands

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Because I was using <img /> instead of <RIImage /> and TS complained about as.

valkirilov
valkirilov previously approved these changes Nov 4, 2025
@pawelangelow pawelangelow merged commit 4c17b85 into main Nov 5, 2025
18 checks passed
@pawelangelow pawelangelow deleted the fe/RI-7691/update-profiler branch November 5, 2025 08:19
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.

5 participants