Skip to content

"View comments" button under the community is not visible on other record versions (landing page) #568

@sakshamarora1

Description

@sakshamarora1

Is your feature request related to a problem? Please describe.

Currently, if a request is accepted for a record version, the "View Comments" button under the accepted community only shows up for that specific version. It is stored in the "topic" sub-field of the request's payload.

Describe the solution you'd like

There should be a way to view the request comments from the landing page of all versions.

This will require to have the parent_id on the requests index, to be able to show the button on all other versions.

Solution proposal (to be discussed and finalized)

The link can redirect to the dashboard with the results containing all the related requests on the parent id.
This way if there is scenario where a community inclusion request of version was not accepted but the version 2 was accepted, the link will redirect to the requests dashboard containing all requests for those records in that community to be able to refer to the older request for reference.

Steps

  1. Add parent id to the request index and update index (all new requests will contain parent_id)
  2. Re-index the requests (where parent_id doesn't exist, all requests before we updated the index)
  3. Update the link in the UI at the end (this way we avoid any searches on the parent till we have it indexed on all)

Additional context

Another thing to consider is that on the request dashboard currently there is no way to view all open/closed/owned/shared request in a single list view. We can have a way to be able to view.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

Status

In review 🔍

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions