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

refactor: moved constants to separated files #128

Merged
merged 27 commits into from
Jul 13, 2023

Conversation

rzarviv
Copy link
Contributor

@rzarviv rzarviv commented Jun 25, 2023

Following this discussion I renamed PACKAGE_REPORT_SELECTOR to packageReportTagName and moved it to a new file called tag-naems.js

@rzarviv rzarviv changed the title fixup: moved constants to separated files refactor: moved constants to separated files Jun 25, 2023
@rzarviv rzarviv marked this pull request as ready for review June 25, 2023 10:40
Copy link
Collaborator

@baruchiro baruchiro left a comment

Choose a reason for hiding this comment

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

Thanks, see my comments

@@ -0,0 +1 @@
export const packageReportTagName = 'overlay-package-report';
Copy link
Collaborator

Choose a reason for hiding this comment

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

Please add the 'overlay-indicator' to here too.

src/utils/tag-names.js Outdated Show resolved Hide resolved
src/globals.js Outdated
export const advisoriesNames = Object.keys(advisories);

export const packageReportTagName = 'overlay-package-report';
export const tooltipSourceSelector = '.overlay-indicator__tooltip__sources > .overlay-indicator__tooltip__source';
Copy link
Collaborator

Choose a reason for hiding this comment

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

Don't know... I prefer the selector to stay in the tests area.

@github-actions
Copy link

Hey! This pull request was made a few days ago and still needs changes, but nothing has happened since then. Maybe the current contributor can comment on this?

@github-actions
Copy link

Due to a long period of inactivity, this task was unassigned automatically.

@baruchiro baruchiro merged commit 39b18ca into os-scar:master Jul 13, 2023
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants