openlibhums / openlibhums/janeway

Repository: Comment moderation link to preprint title should resolve to preprint

Open Beginner friendly
#5,461 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement Repositories
Dominant language
Python
Stars
239
Forks
97
Avg merge
9d 1h
Merged PRs (30d)
8

Description

Describe the bug
When reviewing the Repository Comment Moderation queue, the link of a submission's title resolves to the comment moderation queue for that preprint. It should resolve to the preprint itself -- the moderator is already on the moderation page.

Janeway version
1.9 RC1

To Reproduce
Steps to reproduce the behavior:

  1. Using an author or other account, submit a comment on a Janeway Repository object.
  2. Log in on a Moderator account, go to the Repository Comment Moderation queue
Image 3. Click a submission's name's link and note that, while the queue updates to display only pending comments for that Repository object, it does not link back to the object itself. Image

Screenshots

Image

Expected behavior

The title Repository Object (eg Preprint) should link to the Preprint's moderator page view /repository/manager/[ID] and have some other method to filter all pending comments for a single Preprint, or it should at least have some method for getting to the Preprint's page (eg an additional column/link).

Compare with the UI for new version moderation, which gives heaps of info:

Image

Would be nice: The link would go to the /repository/view/[ID] and have the pending comment(s) in line, in preview mode.

Image

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the Repository Comment Moderation queue behavior described in the issue and inspect the submission title link and its destination. Compare the link with the expected moderator or preprint view URLs; done means the title reaches the intended preprint page while moderators retain a way to filter pending comments for that preprint.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
frontend
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Active
Clarity
Mostly clear
Newbie friendliness
68/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.