OHS-Hosting-Infrastructure / complaint-tracker

**This repo is currently not in active development.** Increasing visibility into complaint status by connecting data across the OHS ecosystem
Other
4 stars 0 forks source link

changes table detail to use complaint model and adds RAN / TTA activity #223

Closed jduss4 closed 2 years ago

jduss4 commented 2 years ago

Description of change

I went to add "Yes" to the RAN and TTA columns of the index page's complaint table, when I decided it would be much easier if the Complaint model itself knew whether it had any RAN / TTA activity. Then I realized heck, it would be great if it knew if it was a new complaint, and if it could return its status already formatted and then I kinda just kept redoing things....

In terms of the RAN / TTA issue, this is what I've got:

image

Acceptance Criteria

How to test

Start the app, navigate to a complaint page and add a TTA and / or RAN link. Now on the complaints page, you should see "Yes" in the appropriate column.

Issue(s)

Checklist

To be completed by the submitter:

To the Reviewer

This project is using Conventional Comments to give structure and context to PR comments. Please use these labels in your comments.