StampyAI / stampy-ui

AI Safety Q&A web frontend
https://aisafety.info
MIT License
35 stars 9 forks source link

QA and various fixes #832

Closed bryceerobertson closed 2 weeks ago

bryceerobertson commented 2 weeks ago

This stuff from #817:

Screenshot 2024-11-05 at 23 15 25

Some stuff too complicated for me remains, e.g. making the small cards at the bottom display in a 2x2 grid when there are four of them (instead of three). I'll collect them all up and make issues.

bryceerobertson commented 2 weeks ago

@mruwnik I'm afraid the lint ghosts continue to haunt me. You're going to need to teach me how to fix it myself, lest I bother you every time to fix it

LeMurphant commented 2 weeks ago

@bryceerobertson here are the steps for debugging

stampy-ui/app/routes/how-can-i-help.career.tsx
  235:29  error  Irregular whitespace not allowed  no-irregular-whitespace
  235:70  error  Irregular whitespace not allowed  no-irregular-whitespace
  237:69  error  Irregular whitespace not allowed  no-irregular-whitespace
  238:45  error  Irregular whitespace not allowed  no-irregular-whitespace

stampy-ui/app/routes/how-can-i-help.volunteer.tsx
  8:8  error  'LonsImg' is defined but never used  @typescript-eslint/no-unused-vars
  8:8  error  'LonsImg' is defined but never used  unused-imports/no-unused-imports

The numbers at the start are the line number and character number. I fixed all the errors, and can push the fix to resolve the issues, but I can also let you diagnose them for yourself if you want

mruwnik commented 2 weeks ago

npm run lint:fix should also solve as much as it can, giving you the places to fix

bryceerobertson commented 2 weeks ago

Managed it! Thank you 🙏🏼