Police-Data-Accessibility-Project / data-sources-app

An API and UI for using and maintaining the Data Sources database
MIT License
2 stars 5 forks source link

v2: user profile #274

Open josh-chamberlain opened 4 months ago

josh-chamberlain commented 4 months ago

Context

Part of #248 — wireframe coming

Front end

This view shows:

Back end

maxachis commented 3 months ago

For the backend, I see this involving:

  1. A new table user_recent_searches, which links between the user and quick_search_query_logs table (or whatever inherits from it.
  2. Additionally functionality upon hitting a search endpoint where, if it's an actual user, we add their entry to the above linking table.

Not terribly challenging.