Skip to content
This repository has been archived by the owner on Jun 24, 2024. It is now read-only.

New Assignment Creation Page Does not Work #2545

Open
waqarsaleem opened this issue Feb 3, 2020 · 6 comments
Open

New Assignment Creation Page Does not Work #2545

waqarsaleem opened this issue Feb 3, 2020 · 6 comments

Comments

@waqarsaleem
Copy link

waqarsaleem commented Feb 3, 2020

Describe the bug
The new assignment creation page, see below, has lost the following functionality

  • detect repository names from GitHub
  • allow custom prefix

image

To Reproduce
Steps to reproduce the behavior:

  1. Go to Create Individual Assignment
  2. Click on pen icon next to repository prefix
  3. Also enter repository name for starter code

Expected behavior

  • The custom prefix seems to get lost each time I come back to the page, e.g. to change some setting. This should not happen.
  • The starter code field does not automatically detect repository names. It should.
  • Sometimes, entering all the fields and clicking on 'Create Assignment' just reloads the page with some of the settings lost and no assignment created.
  • Other times, it gives a 404 error.

image

Additional context
It seems the new page has been deployed without proper testing. Today is the assignment release data and I am panicking.

@spinecone
Copy link
Contributor

Hi @waqarsaleem , I'm taking a look at these issues now. Have you been able to create any assignments despite the issues with the starter code and the custom prefix?

@waqarsaleem
Copy link
Author

This is the first time I am seeing and using this page. I think an assignment did get created but that was with minimal settings for testing when regular creation failed. Its settings need to be changed, but I keep encountering the same issues when I try to edit it.

@waqarsaleem
Copy link
Author

@waqarsaleem
Copy link
Author

Actually, I had not paid attention to the URL until I copied it here just now. The URL contains the custom prefix I want. The deadline was not set when creating the assignment but I think the source repository was. I will go ahead and share the invite link for now and will enter the deadline when the issues are resolved.

@waqarsaleem
Copy link
Author

You will notice in the first screenshot above that the space for the prefix is shaded. That is the default behavior when I edit the created assignment. It gets populated with the default name when I click in the Assignment Title box. I would expect it to be populated with the stored custom prefix. The repository I entered for the started code is remembered but creating after setting the deadline either leads to a reload of the page or a 404.

@spinecone
Copy link
Contributor

We've just deployed a revert to the changes on the assignment form and it should be working now. Let us know if you experience any other issues.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants