mirror of
https://github.com/compiler-explorer/compiler-explorer.git
synced 2026-12-01 19:39:26 -06:00
- Uses strings across the board in the UI part (no functional change here from before; all state is the same as it was before). - Sends _arrays_ in the POST, using the same `splitArguments` code as the backend. - Backend _still supports_ strings (though doesn't advertise), also using same `splitArguments`. - Moves `splitArguments` into common utils, and rephrases to avoid unnecessary use of underscore and ES2021+ code. Tested locally: - with both old and new client code (ran new backend and old webcode to show sending strings still works) - with creating and removing tool windows (checked with `ldd` locally) - with various strings on the client `moo foo "this is bad" #moo` and even "error" things like `this is "badger` (with a missing close quote). All works as you'd expect Happy to break the "move the splitArguments" code into a separate PR if that'd be easier to review separately. Fixes #7195