Commit Graph

9 Commits

Author SHA1 Message Date
David Poeschl
42a58afbde
Extension: Merge show team relevant repo management buttons (#17)
* Extension: Show team relevant repo management buttons

* fix formatting

* Fix: Actually delete team repo contents

Was passing incomplete path to remove API

* Extra logging

* Formatting

* Fix path on windows

* Remove logs

---------

Co-authored-by: orosmatthew <orosmatthew@pm.me>
2024-03-13 13:13:09 -04:00
fde6b0019b [extension] Format 2024-03-05 19:31:11 -05:00
David Poeschl
4a3ff56e7a
VSCode Extension: Sidebar UI showing team's submissions, automatically updating and showing alerts as submissions are judged (#14)
* Add an Output Panel channel named "BWContest Log"

* Allow client logout when no contest

And make login/logout error messages clearer

* Show contest name & team name in Code extension side panel

* submission icons for sidebar panel

* Start VSCode extension "onStartupFinished"

instead of waiting for Sidebar to be opened

* VSCode: Sidebar UI for up-to-date problem/submissions status

- VSCode: poll API every 30 seconds to get contest metadata and all submission metadata for the logged in team
- The Sidebar now shows all problems in the contest, along with their submissions and overall status, which automatically updates as submissions are submitted & judged
- Web: "contestState" API to get all info for an activeTeam via their token
- Update submit API to return the submission id, allowing the VSCode UI to immediately render it as Pending without waiting for a polling cycle
-

* Add "Compilation Failed" message to submissions that fail to build

* Contest Import - Option to create repos & immediately activate the imported contest

Useful for testing with old contests (including the submissions)

* Test/Submit panel, use fixed-width font in input/output areas

* Fix build error for 'pluralize'

* Clear all state & halt polling loops on logout, restart them on login

* Improve the debug fastPolling option

- Toggleable via package.json config
- Setting the option changes the initial state as well as ability to toggle states

* Web project 'npm run format'
2024-03-05 17:50:16 -05:00
93b18d6caa [extension] Add CSharp runner 2023-11-15 21:01:12 -05:00
6fb6f57ece [extension] More cleanup 2023-10-16 13:11:54 -04:00
74b9b50d8e [sandbox] Clean up 2023-10-15 18:35:49 -04:00
234ce83d9d [extension] Problem panel 2023-05-07 11:01:27 -04:00
5d48bd0b37 [extension] Clone and open correct repo 2023-05-06 12:36:34 -04:00
Admin
d43ffb680a Login with extension 2023-05-06 00:01:27 -04:00