Commit Graph

17 Commits

Author SHA1 Message Date
d4d8ef9f22 [Extension] Fix broken import 2024-03-20 09:37:11 -04:00
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
cb7383a437 [extension] Fix submitting 2023-10-17 12:50:13 -04:00
dfa16b714a [extension] Improve code running 2023-10-16 15:32:26 -04:00
3d81cf91a6 [extension] Fix warning about sourcemaps 2023-10-16 13:58:44 -04:00
697dfb968d [extension] Add eslint 2023-10-16 13:51:50 -04: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
9540e6eb48 [extension] Auto and manual stop process 2023-05-09 17:55:13 -04:00
4bb261a8a5 [extension] Submit problems 2023-05-08 14:37:52 -04:00
8ace5a0061 [extension] Run java files 2023-05-07 16:30:42 -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