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

Send student's progress to teacher #224

Open
wsuhoey opened this issue Aug 14, 2019 · 14 comments
Open

Send student's progress to teacher #224

wsuhoey opened this issue Aug 14, 2019 · 14 comments
Labels
Category-Module Pertaining to the module's functionality itself. Issue-Suggestion This should be added! Up For Grabs / Hacktoberfest 💻 If it's Up For Grabs, take it and run with it! If not, ask if it's in progress / you can take it.
Milestone

Comments

@wsuhoey
Copy link

wsuhoey commented Aug 14, 2019

Describe "Functionality"

How about a way for a student (user) to send their koans progress / koans answers to the teacher (vexx32), either for review or for the teacher's knowledge of what most people are coming up with on how they solved certain koans (if you didn't think of that particular solution)? Or perhaps for homework review or if they need help?

@vexx32 vexx32 added Category-Module Pertaining to the module's functionality itself. Issue-Suggestion This should be added! Up For Grabs / Hacktoberfest 💻 If it's Up For Grabs, take it and run with it! If not, ask if it's in progress / you can take it. labels Aug 14, 2019
@vexx32
Copy link
Owner

vexx32 commented Sep 1, 2019

Any ideas on how this could be accomplished would be fantastic. 😁

Preliminary thoughts:

Implement a command (name up for discussion) which:

  1. (by default) packages all koans files into a zipfile, OR packages only selected koans files into a zipfile,
  2. doesn't need to preserve folder structure
  3. sends an email / Slack / Discord message with the zipfile as attachment, OR uploads the file to a publicly available file share via a public API and returns the link to the uploaded file

Any other suggestions welcome, would love to get something like this in, but details are still fuzzy. Send-MailMessage is 1) obsoleted, and 2) doesn't actually work in all cases if the environment doesn't have that capability, so I think we'd either need to implement an Azure Functions endpoint that can handle either a file upload or being sent a link to the files, and somehow that would get in contact with me or send an email to me, or something.

@TylerLeonhardt may have some ideas in this vein. 🙂

@TylerLeonhardt
Copy link

I could see a sort of "opt-in" experience where a student agrees to share their answers to the questions that will be sent to a REST API (for example Azure Functions) and stored in some database or something.

"would you like to opt in to share your answers so we can improve the course? (Y/n)"

@TylerLeonhardt
Copy link

Maybe if the student is stuck, you could have a cmdlet that opens a GitHub issue in this repo with:

  • what question they're stuck on
  • (maybe) what they have already
  • etc

@vexx32
Copy link
Owner

vexx32 commented Sep 2, 2019

Both of those are great ideas! 😍

We can borrow some pieces from @indented-automation's work in #223 for some of that, perhaps?

I'm not sure how sending them into a REST API would work, but it'll be something I'll need to look into I suppose 🙂

@TylerLeonhardt
Copy link

TylerLeonhardt commented Sep 2, 2019

Something like this maybe?

irm https://myfunc.azurewebsites.net/api/report `
-Body (@{
    Level = "foo"
    Solution = (Get-Content ./path/to/ps1)
})

Then your Function just throws that into some database

@vexx32
Copy link
Owner

vexx32 commented Sep 2, 2019

Yeah that makes sense. I think it's more the latter part that I'm not sure how I'd handle, I think... but I guess we can look at that when we start getting things set up for it.

@TylerLeonhardt
Copy link

@vexx32
Copy link
Owner

vexx32 commented Sep 2, 2019

👀 that's a cool idea! Woah.

@vexx32 vexx32 added this to the Future milestone Sep 18, 2019
@pminnebach
Copy link

I would like to suggest Github Gists.

They can have multiple files. And can be public or private (opt-in/out).
And @dfinke already has a powershell module for interacting with them: https://github.com/dfinke/Posh-Gist

The link to the Gist can then still be send by your means of choice. (email, discord, slack, ...)

@vexx32
Copy link
Owner

vexx32 commented Sep 25, 2019

Oh, awesome, that's a great place to start. Thank you for the suggestion! 💖 😊

@dfinke
Copy link

dfinke commented Sep 25, 2019

@pminnebach Wow, that's an oldie. Wonder if it still works?

@vexx32
Copy link
Owner

vexx32 commented Sep 25, 2019

@dfinke ah, the shining avatar of confidence in our hour of need. 😉 😂

@dfinke
Copy link

dfinke commented Sep 25, 2019

Maybe if Pester had been around, I would've had some unit tests, and confidence :)

@pminnebach
Copy link

Based on this tweet: https://twitter.com/LostInTangent/status/1206004919066476544

The GistPad extention for vscode looks like an awesome contender: aka.ms/gistpad

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Category-Module Pertaining to the module's functionality itself. Issue-Suggestion This should be added! Up For Grabs / Hacktoberfest 💻 If it's Up For Grabs, take it and run with it! If not, ask if it's in progress / you can take it.
Projects
None yet
Development

No branches or pull requests

5 participants