Files
compiler-explorer/static
Matt Godbolt 02951a20db Unify types for tool args (#7199)
- 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
2024-12-07 14:44:42 -06:00
..
2024-12-06 17:28:47 +01:00
2024-12-07 14:44:42 -06:00
2024-10-25 12:19:04 +03:00
2024-10-25 12:19:04 +03:00
2023-08-15 22:16:36 -05:00
2024-11-08 18:38:41 +01:00
2024-10-25 12:19:04 +03:00
2024-10-25 12:19:04 +03:00
2024-10-25 12:19:04 +03:00
2024-10-25 12:19:04 +03:00
2024-10-25 12:19:04 +03:00
2024-01-15 18:31:46 -06:00
2024-04-09 20:20:18 -05:00
2024-10-25 12:19:04 +03:00
2024-10-25 12:19:04 +03:00
2024-10-25 12:19:04 +03:00