Skip to content

groups: fix for exposures - path should be the path in the BI#1243

Merged
haritamar merged 4 commits into
masterfrom
ele-1922-exposures-sidebar-fix
Oct 26, 2023
Merged

groups: fix for exposures - path should be the path in the BI#1243
haritamar merged 4 commits into
masterfrom
ele-1922-exposures-sidebar-fix

Conversation

@haritamar
Copy link
Copy Markdown
Collaborator

No description provided.

@linear
Copy link
Copy Markdown

linear Bot commented Oct 25, 2023

ELE-1922 Exposures sidebar fix

Definition of done:

@github-actions
Copy link
Copy Markdown
Contributor

👋 @haritamar
Thank you for raising your pull request.
Please make sure to add tests and document all user-facing changes.
You can do this by editing the docs files in this pull request.

Comment thread elementary/monitor/api/groups/groups.py Outdated
# For exposures, we want the path to be the path in the BI
artifact_full_path_split = artifact_full_path_split[
:2
] + artifact.fqn.split("/")
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.

first two parts of the full path are the package name and "exposures", which we want to keep

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

can we add a test?

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.

I'll actually replace with more straightforward logic

Copy link
Copy Markdown
Contributor

@NoyaArie NoyaArie left a comment

Choose a reason for hiding this comment

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

👍

Comment thread elementary/monitor/api/groups/groups.py Outdated
# For exposures, we want the path to be the path in the BI
artifact_full_path_split = artifact_full_path_split[
:2
] + artifact.fqn.split("/")
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

can we add a test?

@haritamar haritamar merged commit 9314cc2 into master Oct 26, 2023
@haritamar haritamar deleted the ele-1922-exposures-sidebar-fix branch October 26, 2023 10:36
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.

2 participants