webstatus.dev icon indicating copy to clipboard operation
webstatus.dev copied to clipboard

Add bcd key insert, retreival, tests

Open suprith-hub opened this issue 9 months ago • 3 comments

Adds feature search by BCD key. Addresssing the issue Majorly:

  1. Use and store CompatFeatures from web-platform-dx
  2. Create a table to store compat features
  3. Query and function to retrieve from table
  4. Modify search grammar to support bcd key

suprith-hub avatar May 06 '25 13:05 suprith-hub

@jcscottiii I’ve completed all the changes, and run successful precommit. It was interesting and my first backend contribution.

During development, I needed to inspect database data, so I used:

kubectl port-forward pod/spanner 9010:9010 9020:9020
spanner-cli -p local -i local -d local --endpoint=localhost:9010

This allowed me to run queries directly against the local Spanner emulator.

We might want to document this workflow for others — including how to debug Go services inside devcontainers — as it makes local development and debugging much smoother.

Let me know what you think!

suprith-hub avatar May 07 '25 19:05 suprith-hub

Also @jcscottiii Screenshot from 2025-05-08 20-26-19 Should the search by description be disallowed ?

suprith-hub avatar May 08 '25 14:05 suprith-hub

@jcscottiii can you review this PR. Can I continue contributing on more issues?

suprith-hub avatar May 19 '25 18:05 suprith-hub