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

CB-367: Review page doesn't link to the detail page of the entity. #319

Merged
merged 5 commits into from
Feb 6, 2022

Conversation

KasukabeDefenceForce
Copy link
Contributor

@KasukabeDefenceForce KasukabeDefenceForce force-pushed the hyperlink branch 2 times, most recently from 09d329b to d211c8b Compare October 17, 2020 19:09
@alastair
Copy link
Collaborator

@brainzbot test this please

@alastair alastair changed the title [CB-367] Review page doesn't link to the detail page of the entity. CB-367: Review page doesn't link to the detail page of the entity. Oct 22, 2020
Copy link
Collaborator

@alastair alastair 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 these changes.
One thing that we like to do when making changes to these projects is to make sure that we leave the code in a better quality than when we started. This could mean things like improving tests, or removing code that's no longer required. I added some suggestions for things that we could do to improve the structure of this code to make this better.

critiquebrainz/frontend/templates/review/modify/work.html Outdated Show resolved Hide resolved
critiquebrainz/frontend/views/review.py Outdated Show resolved Hide resolved
Copy link
Collaborator

@alastair alastair left a comment

Choose a reason for hiding this comment

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

This is much better, thanks. Just a few small things to update

critiquebrainz/frontend/views/review.py Outdated Show resolved Hide resolved
@alastair
Copy link
Collaborator

alastair commented Nov 2, 2020

Thanks for making these changes. I see one more display issue in one of the templates. Can you double-check all of them that the show the link properly?

@KasukabeDefenceForce
Copy link
Contributor Author

@alastair Tests for this PR are passing offline but not online. Please take a look.

@alastair
Copy link
Collaborator

@brainzbot test this please

@alastair
Copy link
Collaborator

alastair commented Dec 2, 2020

@AbhinavOhri I found the failing tests, and fixed them in #322, we can merge those fixes here once we approve that PR.

How are you running the tests? I realised that ./develop.sh test may give the wrong results sometimes. Try with

./test.sh -d
./test.sh

and see if you get the failures

@KasukabeDefenceForce
Copy link
Contributor Author

KasukabeDefenceForce commented Dec 20, 2020

https://gist.github.com/AbhinavOhri/020de79a735721b22cee423bbd479abf
I rebased my current branch on the latest master but I am still facing the same errors.I dont think they are related to my PR.

@amCap1712
Copy link
Member

Updated the PR. Did some reformatting and added a missing link.

@amCap1712 amCap1712 merged commit 5b07c68 into metabrainz:master Feb 6, 2022
@github-actions
Copy link

github-actions bot commented Feb 6, 2022

Unit Test Results

    1 files  ±0      1 suites  ±0   44s ⏱️ ±0s
145 tests ±0  145 ✔️ ±0  0 💤 ±0  0 ❌ ±0 

Results for commit 5b07c68. ± Comparison against base commit 5b07c68.

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