Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

messages #119

Open
wants to merge 43 commits into
base: main
Choose a base branch
from
Open

messages #119

wants to merge 43 commits into from

Conversation

emilybetter
Copy link

compatibility messages

HoldenA1 and others added 30 commits May 6, 2024 13:16
Updated the README.md so onboarding should be easier for us folks new to the project.
Added a section on using python for running a local webserver so you can
actually run the E2E tests on your own computer.

Added how to run ESLint. This is the last of the included scripts that was not
explicitly documented.
npm reported security vulnerabilities so I just ran `npm audit fix` to deal
with it.
Forgot to run prettier before commit...
Update the hardcoded URLs to go point to the correct places after the repo forking.

We may want to investigate if it's possible to make these links relative instead of absolute somehow.
Add our team introduction video.
Added link to the wiki. Also changed `check` to `checking` for consistency.
Added section to cache npm dependencies. Also use the later versions of checkout and specify usage of node v20.
See: https://docs.github.com/en/actions/using-workflows/caching-dependencies-to-speed-up-workflows

Also replaced npm install with npm ci as suggested in the setup-node documentation.
See: https://docs.npmjs.com/cli/v8/commands/npm-ci
The previous set up would only run the Jest tests post deployment to github
pages on the live website and deployments only occur on the `main` branch.
This will run a python webserver on the Github runner and run the tests on
that. Most important, all branches will now have testing run.
Run Tests on all branches; Update Github Action Dependencies
…lity

Previously `npm run docs` would result in an error, meaning it was impossible
to locally generate the JSDocs on your own computer. This is now fixed. In
addition, I've setup main.yml to use the same script for consistancy. The
JSDocs will look slightly different than before. Previously the `Minami` theme
was used, however usage of that requies taffy which allows attackers to access
any data items in the Taffy database. I don't think that's important to us,
since what's in there for the JSDocs should be public already but...
See https://nvd.nist.gov/vuln/detail/CVE-2019-10790#range-9035153
Added jpg and webp images for usage with `<picture>` tag for better performance.
Also seems I could make some of the pngs a bit smaller.
Added usage of `<picture>` tags to html files to select best possible
user-supported image. Got rid of usage of large png files entirly, jpg is just
as compatitable. Usage of images in the js and css is replaced with the jpg
versions.

TODO: Like the picture tag, in the JS and CSS we should use the best format
possible. At the moment they're hardcoded to use one particular image. FIXME.
See `imageUrl` in `source/common/nav.js` and the various styles.css with
`background-image` being used on a `url()`
…ght zodiac wheel

Added avif images and the appropriate `<source>` tags. Added `<picture>` tag
usage for fortune-cookie and palm-reader (didn't get to it last time). Also it
seems I missed one of the zodiac wheels for putting it in a `<picture>` tag.
This has been fixed.

TODO: FIXME: I couldn't put the arrows in love-compatibility inside picture
tags, doing so seems to break their positioning. This isn't the biggest of
deals since those are small images anyways. Honestly they should probably just
be replaced with an svg instead (and we can rotate the same image to make both
left and right versions too).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

7 participants