diff --git a/CHANGELOG.md b/CHANGELOG.md index f75237c2..fde7dabf 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,11 @@ # Changelog +## [3.0.0] + +- Redesigned the user interface +- Fixed a bug when changing the exercise directory on Windows +- Bumped TMC-langs version to 0.36.0 + ## [2.2.4] - 2023-10-10 - Improved error reporting when fetching and updating exercises diff --git a/shared/lib.ts b/shared/lib.ts index 611483c2..8342415f 100644 --- a/shared/lib.ts +++ b/shared/lib.ts @@ -53,7 +53,6 @@ export type WelcomePanel = { id: number; type: "Welcome"; version?: string; - exerciseDecorations?: string; }; export type LoginPanel = { @@ -131,7 +130,6 @@ export type ExtensionToWebview = type: "setWelcomeData"; target: TargetPanel; version: string; - exerciseDecorations: string; } | { type: "setMyCourses"; diff --git a/src/panels/TmcPanel.ts b/src/panels/TmcPanel.ts index d993fb4a..e3c205db 100644 --- a/src/panels/TmcPanel.ts +++ b/src/panels/TmcPanel.ts @@ -455,15 +455,10 @@ export class TmcPanel { } case "requestWelcomeData": { const version = actionContext.resources.extensionVersion; - const exerciseDecorations = getUri(webview, extensionUri, [ - "media", - "welcome_exercise_decorations.png", - ]).toString(); postMessageToWebview(webview, { type: "setWelcomeData", target: message.sourcePanel, version, - exerciseDecorations, }); break; } diff --git a/webview-ui/src/panels/Welcome.svelte b/webview-ui/src/panels/Welcome.svelte index 32cbc662..9c2f8cbf 100644 --- a/webview-ui/src/panels/Welcome.svelte +++ b/webview-ui/src/panels/Welcome.svelte @@ -16,7 +16,6 @@ switch (message.type) { case "setWelcomeData": { panel.version = message.version; - panel.exerciseDecorations = message.exerciseDecorations; savePanelState(panel); break; } @@ -58,7 +57,7 @@
-

What's new in 2.1?

+

What's new in 3.0.0?

Here is a short overview of latest features. To see all the changes for version {panel.version}, @@ -70,42 +69,10 @@

-

Exercise Decorations

+

New user interface

- You can now see completed and partially completed (i.e. received some points) - exercises with an icon on the course workspace. -
- You can also see if the deadline has been exceeded and if the exercise has been removed - or renamed in the course. By hovering on an exercise with an icon, you should see an - information message explaining the statussss. -

- Example showing a decoration for an exercise showing it has been completed -
-
-

Migrated to VSCode Settings

-

- Old custom settings view has been removed in favor of VS Code's native settings - page.
- With this change, users can now specify course specific settings when having the course - workspace open in VSCode by going to Settings and selecting the Workspace tab. -
- Settings defined in the Workspace tab are of higher priority than those defined in the - User scope. When adding a new course, it will copy the settings defined in the User scope - to the Workspace. -

-
-
-

Automatically download old submissions

-

- Prior to version 2.0.0, downloaded exercises were restored to the state of their - latest submission. -
- This feature has been re-enabled and the extension automatically downloads your latest - submission if enabled in settings. + The extension's appearance has been updated. The extension's functionality remains + the same, with only minor changes to the user experience.