Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Updated changelog #709

Merged
merged 1 commit into from
Jan 25, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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
Expand Down
2 changes: 0 additions & 2 deletions shared/lib.ts
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,6 @@ export type WelcomePanel = {
id: number;
type: "Welcome";
version?: string;
exerciseDecorations?: string;
};

export type LoginPanel = {
Expand Down Expand Up @@ -131,7 +130,6 @@ export type ExtensionToWebview =
type: "setWelcomeData";
target: TargetPanel<WelcomePanel>;
version: string;
exerciseDecorations: string;
}
| {
type: "setMyCourses";
Expand Down
5 changes: 0 additions & 5 deletions src/panels/TmcPanel.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down
41 changes: 4 additions & 37 deletions webview-ui/src/panels/Welcome.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@
switch (message.type) {
case "setWelcomeData": {
panel.version = message.version;
panel.exerciseDecorations = message.exerciseDecorations;
savePanelState(panel);
break;
}
Expand Down Expand Up @@ -58,7 +57,7 @@
</div>

<div class="content_area">
<h2>What's new in 2.1?</h2>
<h2>What's new in 3.0.0?</h2>
<div class="content_section">
<p>
Here is a short overview of latest features. To see all the changes for version {panel.version},
Expand All @@ -70,42 +69,10 @@
</p>
</div>
<div class="content_section">
<h3>Exercise Decorations</h3>
<h3>New user interface</h3>
<p>
You can now see completed and partially completed (i.e. received some points)
exercises with an icon on the course workspace.
<br />
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.
</p>
<img
alt="Example showing a decoration for an exercise showing it has been completed"
class="rounded mx-auto d-block"
src={panel.exerciseDecorations}
/>
</div>
<div class="content_section">
<h3>Migrated to VSCode Settings</h3>
<p>
Old custom settings view has been removed in favor of VS Code's native settings
page. <br />
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.
<br />
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.
</p>
</div>
<div class="content_section">
<h3>Automatically download old submissions</h3>
<p>
Prior to version 2.0.0, downloaded exercises were restored to the state of their
latest submission.
<br />
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.
</p>
</div>
</div>
Expand Down
Loading