Page MenuHomeMiraheze

Implement Search in TSPortal
Open, LowPublic

Description

Search was an item added visually in the initial design but never implemented as it was unsure how to best do this. On consideration I'm thinking:

Searching a string will initially check whether a user account exists by that username. If it does, auto-redirect. If it does not, then search descriptions for reports, investigations and appeals in that order then auto redirect. If no results found, reload current page and just put a toast up for it.

To allow easy access to all items, we should also implement a fast track search as follows:
u:<text> searches for usernames only.
r:<id> redirects to the reports.
r:<text> searches reports only.
i:<id> redirects to the investigation.
i:<text> searches investigations only.
d:<id> redirects to the DPA.
d:<text> searches DPAs filed.
a:<id> redirects to the appeal.
a:<text> searches appeals only.

Event Timeline

Owen triaged this task as Low priority.Dec 18 2022, 18:07
Owen created this task.
Unknown Object (User) subscribed.Dec 19 2022, 16:47
Reception123 renamed this task from Implement Search to Implement Search in TSPortal.Jan 10 2023, 17:57
Unknown Object (User) unsubscribed.Mar 18 2023, 03:34