Skip to content

fix: call detectRepoCourseAndExercise after cloning#168

Merged
Fangoling merged 1 commit intomainfrom
fix/update-button-on-clone
Feb 24, 2026
Merged

fix: call detectRepoCourseAndExercise after cloning#168
Fangoling merged 1 commit intomainfrom
fix/update-button-on-clone

Conversation

@Fangoling
Copy link
Copy Markdown
Contributor

Description

In theia the behavior for the scorpio extension is different compared to the vscode version.
After cloning the repo, the submit button was previously only shown on page reload, calling detectRepoCourseAndExercise() after cloneCurrentExercise() fixes this issue.

Steps for Testing

  1. Open Theia with the Scorpio Extension
  2. Open an exercise in Scorpio
  3. Click the clone button
  4. Check that the clone button changes to a submit button after the exercise was cloned

Review Progress

Code Review

  • Review 1
  • Review 2

Manual Tests

  • Test 1
  • Test 2

Screenshots

In theia the behavior for the scorpio extension is different compared to
the vscode version. After cloning the repo, the submit button was
previously only shown on page reload, calling
detectRepoCourseAndExercise() after cloneCurrentExercise()
fixes this issue

Signed-off-by: Fangxing Liu <fx.liu@tum.de>
@Fangoling Fangoling self-assigned this Feb 24, 2026
@Fangoling Fangoling added the bug Something isn't working label Feb 24, 2026
Copy link
Copy Markdown

@KevinGruber2001 KevinGruber2001 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Works for me👍🏻

@Fangoling Fangoling merged commit cce34a8 into main Feb 24, 2026
2 checks passed
@Fangoling Fangoling deleted the fix/update-button-on-clone branch February 24, 2026 19:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants