bcgov / NRPTI

Natural Resources Public Transparency Initiative
Apache License 2.0
5 stars 15 forks source link

Improved ability to share results and records #1191

Closed RFK250 closed 6 months ago

RFK250 commented 6 months ago

As a user of NRCED who shares search results (e.g. news agencies who include links to NRCED records or search results on their websites), I need the results I share to be accurate and helpful so that the people who use the results I send can see the information I intend them to see.

Additional Context Currently, sharing is done using URLs in two ways:

  1. When I click on "Share Filtered Results," the current URL is copied to my clipboard, which I can then share to a new user. When that user clicks on that link, it will take them to the NRCED page and apply the same filters.
    • However, as time goes by and new records are added to NRCED, the records that are filtered down to may change. Usually, this is fine, and in most cases is probably the most desirable outcome. However, some media outlets have used this button to try to direct users to a specific record, expecting that the user will go to the first record in the list. They should be using the "Share Record" button instead, but this usage has been known to occur.
  2. When I go to a specific record, open it and then click the "Share Record" button, the exact same process as above in 1. occurs, plus autofocus=recordid is added to the URL. When a user goes to that URL, they see the filtered results, except the record matching record id is expanded.
    • In this case, as time goes by, the URL becomes a less and less accurate way of directing the user to the exact record. If the original filter was not set narrowly, the intended record may over time become pushed so far down off the list that it doesn't appear in the user's initial filtered view.
    • Example: Go to this news article, click on the "series of documents" URL, and try to find the specific record to Vintage Views farm. It no longer appears in the filtered results - a user has to go to the next page to see it, but would have no idea that doing so was necessary. They might think the record was simply no longer there.

An acceptable first increment would be one in which a URL generated in the second scenario ("Share Record") took the user to that record and only that record, excluding all others from the list. No change to the "Share Filtered Results" function would be needed in this scenario.

Further incremental improvements should be considered, and would be a good opportunity for Robin to engage ENV's service design staff. For example, the ability to filter results down by clicking on fields within an open record (e.g. Issued To) seems intuitively useful, but may also be confusing, and there may be better approaches. Service design and user research seems prudent beyond the above increment.

Acceptance Criteria First increment: