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

Artefact links #52

Merged
merged 11 commits into from
Oct 24, 2023
Merged

Artefact links #52

merged 11 commits into from
Oct 24, 2023

Conversation

omar-selo
Copy link
Collaborator

@omar-selo omar-selo commented Oct 23, 2023

Resolves RTW-148

Basically, this PR is about making artefacts link-able. As right now there is no links to artefacts. This PR adds the link using the path /family/:artefactId

Sadly, this PR is much bigger than I would've liked. This is because it involved some changes and refactors both in frontend and backend. Main issue was that when I made it possible to link directly to artefacts, it no longer became possible to pass artefact data from parent widget (the stage column). Instead, the artefact dialog has to fetch artefact information on it's own. Additionally, the artefact dialog could no longer get stages information and should either fetch that too or in this PR's case just hard code the stages on the frontend. I figured there is no need to make model changes on the backend.

Copy link
Collaborator

@nadzyah nadzyah left a comment

Choose a reason for hiding this comment

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

Thanks for your changes! Sorry if some questions are ignorant.

backend/tests/controllers/artefacts/test_artefacts.py Outdated Show resolved Hide resolved
frontend/lib/models/stage_name.dart Show resolved Hide resolved
frontend/lib/routing.dart Show resolved Hide resolved
@omar-selo omar-selo merged commit 599526f into main Oct 24, 2023
5 checks passed
@omar-selo omar-selo deleted the artefact-links branch October 24, 2023 10:24
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