22 Commits

Author SHA1 Message Date
Matt Godbolt
23fad10939 Unit testing the frontend (#7829)
This adds some unit tests for the front end.

- configures "frontend tests" as a unit tests in `static/tests`,
removing the old cypress-requiring "unit" tests
- hack enough of a DOM  to get things working
- port motd and id tests
- *adds* a golden layout checks  (see #7807)
- Updates READMEs etc

---------

Co-authored-by: Claude <noreply@anthropic.com>
2025-06-19 08:46:57 -05:00
Matt Godbolt
74e5f237eb Update all the things (#7699)
All minor updates, commander was one major update but only to support
node 20 (which we're already past).

Tests pass, everything loaded up locally.
2025-05-19 06:51:21 -05:00
Matt Godbolt
1dab667564 Support hostnameForLogging too, more out of date refences 2025-05-12 12:59:57 -05:00
Matt Godbolt
03fb43066a More library hacking notes (cc @partouf in case I made any obvious blunders) 2025-04-23 10:51:05 -05:00
Rupert Tombs
83e06b0424 Update .js to .ts in documentation (#5558)
While reading the (excellent) documentation here, I noticed a few stale
references to `.js` files that are now implemented in TypeScript.

* Update `*.js` to `*.ts` in Markdown documentation.

* Update `app.js` to `out/dist/app.js` in
`docs/SystemdSocketActivation.md`.
_I managed to follow these instructions and locally run Compiler
Explorer through socket activation after that change._

* Update `*.js` to `*.ts` in the GitHub labeller config
`.github/labeler.yml`.
_Also correct some misnamed files here. I have checked the new version
with `ls $(grep -E "^ - " .github/labeler.yml | sed "s/ - //g")`. If I
were more familiar here, I would have liked to add a similar check to
the automated tests._

- Sheepishly add myself to the contributors list, despite this being a
tiny find-and-replace change.

---------

Co-authored-by: Jeremy Rifkin <51220084+jeremy-rifkin@users.noreply.github.com>
2023-10-04 20:27:06 -04:00
Patrick Quist
51d4073912 Update FrontendTesting.md 2023-06-20 04:10:07 +02:00
Patrick Quist
f4cbb6b2f7 build command has changed 2022-12-03 16:43:47 +01:00
Jeremy Rifkin
2e844e9ef5 Make docenizer naming more consistent (#4387) 2022-12-02 12:16:42 -05:00
tocic
8d7b271a6f Fix typos in docs (#4041) 2022-09-09 19:07:22 +02:00
Matt Godbolt
f2c1e0bd31 The Grand Reformat (#3643)
* The Grand Reformat

- everything made prettier...literally
- some tweaks to include a few more files, including documentation
- minor changes to format style
- some tiny `// prettier-ignore` changes to keep a few things the way we like them
- a couple of super minor tweaks to embedded document types to ensure they format correctly
2022-05-09 23:13:50 -05:00
cui fliter
d0c0791bd0 fix some typos (#3509)
* fix some typos

Signed-off-by: cuishuang <imcusg@gmail.com>

* Update AboutLibraryPaths.md

Co-authored-by: Rubén Rincón Blanco <ruben@rinconblanco.es>
2022-04-13 00:12:50 +02:00
Patrick Quist
a6363ee3d4 Update AddingLinkableLibrary.md 2022-04-05 16:11:01 +02:00
Rubén Rincón Blanco
48eee26d2c Group some files to their own folders (#3384)
* Group some files to their own folders

In etc/scripts/, added disasms/, docenizers/, and util/ folders
In lib/, added mapfiles/, and parsers/ folders (+moved google.js to
shortener)
In static/, added widgets/ folder

Added cypress folder to .gitignore

* Address Matt's PR reviews

* Move new Pane renaming to folder
2022-02-22 00:18:21 +01:00
Patrick Quist
51047b6ad7 Frontend testing (#3169) 2022-02-04 18:35:04 +01:00
Marc Poulhiès
f947b73d5c Fix typo in doc
Signed-off-by: Marc Poulhiès <dkm@kataplop.net>
2022-01-20 22:50:10 +01:00
RabsRincon
2306073103 Grammar check pass on docs
Used WebStorm built-in spellchecker and updated the docs where necessary
2021-07-13 12:01:07 +02:00
Patrick Quist
9425e7e245 Create library_builder_logging.md 2021-06-24 17:57:44 +02:00
Matt Godbolt
e66f4c4b57 More master->main. Will do the PP one in the PP branch 2021-02-13 17:27:43 -06:00
Patrick Quist
eb368a529a Update AddingLinkableLibrary.md 2020-09-09 19:09:30 +02:00
Patrick Quist
afb55d0c4e Update AddingLinkableLibrary.md 2020-09-09 18:39:47 +02:00
Patrick Quist
138a7ade82 to be refactored into a usable public doc 2020-09-09 18:25:30 +02:00
RabsRincon
a0ec345148 Add a doc overview about adding custom compilers
Moved some internal-only documents to their own folder,
 so they don't confuse other people with extra information
2020-07-09 16:41:27 +02:00