Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Change reporter text for better UX #2168

Merged
merged 1 commit into from
Dec 22, 2022

Conversation

ashokm
Copy link
Contributor

@ashokm ashokm commented Dec 22, 2022

To prevent users seeing 'See errors details in' text even when their run is not in an error state, lets change this to 'See detailed report in'.

Also removing the 'artifact' text in the message as there are use cases where artifacts are not published and the link takes the user to the build (and not artifacts) page.

Copy link
Collaborator

@echoix echoix left a comment

Choose a reason for hiding this comment

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

This looks good to me, and a good idea too! Are the other reporters outputting a similar text that should be harmonized too?

@ashokm
Copy link
Contributor Author

ashokm commented Dec 22, 2022

Should we update /megalinter/reporters/GitlabCommentReporter.py as well?

Copy link
Member

@nvuillam nvuillam left a comment

Choose a reason for hiding this comment

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

Good suggestion, but you forgot a reference in GitlabCommentReporter , please can you update it too ?
image

Copy link
Member

@nvuillam nvuillam left a comment

Choose a reason for hiding this comment

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

plz check last comment :)

megalinter/reporters/GitlabCommentReporter.py Outdated Show resolved Hide resolved
Copy link
Member

@nvuillam nvuillam left a comment

Choose a reason for hiding this comment

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

plz check comment ^^

megalinter/reporters/GitlabCommentReporter.py Outdated Show resolved Hide resolved
To prevent users seeing 'See errors details in' text even when their run is not in an error state, lets change this to 'See detailed report in'.

Also removing the 'artifact' text in the message as there are use cases where artifacts are not published and the link takes the user to the build (and not artifacts) page.
@ashokm ashokm requested a review from nvuillam December 22, 2022 19:15
@nvuillam nvuillam merged commit b85424b into oxsecurity:main Dec 22, 2022
@nvuillam
Copy link
Member

Thanks :)

@ashokm ashokm deleted the change_reporter_text branch December 22, 2022 20:16
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.

3 participants