Skip to content

Add APIv3 version edit URL #7594

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

Merged
merged 4 commits into from
Jun 4, 2021
Merged

Add APIv3 version edit URL #7594

merged 4 commits into from
Jun 4, 2021

Conversation

agjohnson
Copy link
Contributor

@agjohnson agjohnson commented Oct 23, 2020

For use in dashboard client code, having a link to the dashboard for
some resources would be helpful, and would avoid exposing the url
resolver through Django to the JS side.

Requires #7595

@agjohnson agjohnson requested a review from humitos October 23, 2020 01:18
@agjohnson agjohnson added Accepted Accepted issue on our roadmap Improvement Minor improvement to code labels Oct 23, 2020
Copy link
Member

@humitos humitos left a comment

Choose a reason for hiding this comment

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

Code changes look good! I suppose we need to add the new field in the version list JSON response as well to make test to pass.

For use in dashboard client code, having a link to the dashboard for
some resources would be helpful, and would avoid exposing the url
resolver through Django to the JS side.
@agjohnson agjohnson force-pushed the agj/apiv3-version-edit-url branch from 37d81d0 to dade299 Compare November 20, 2020 18:50
@agjohnson
Copy link
Contributor Author

I'd like to push this PR forward if possible. Merging this would help reduce the volume of the rat's nest of code I've created to make templates work.

Moving from urls.edit to urls.dashboard.edit
@agjohnson agjohnson requested a review from humitos May 26, 2021 21:47
@agjohnson
Copy link
Contributor Author

Updated with the feedback on API return data structure. I think I did it right 🤷

@agjohnson agjohnson requested a review from a team May 26, 2021 21:48
Copy link
Member

@humitos humitos left a comment

Choose a reason for hiding this comment

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

Like a champ! 🏅

@agjohnson agjohnson merged commit 0340604 into master Jun 4, 2021
@agjohnson agjohnson deleted the agj/apiv3-version-edit-url branch June 4, 2021 21:55
stsewd added a commit that referenced this pull request Jun 7, 2021
Tests weren't updated after changing things
in #7594
@stsewd stsewd mentioned this pull request Jun 7, 2021
stsewd added a commit that referenced this pull request Jun 7, 2021
Tests weren't updated after changing things
in #7594
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Accepted Accepted issue on our roadmap Improvement Minor improvement to code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants