popcodeorg / popcodeorg/popcode

Prompt coders to log in when they do significant work logged out

Open
#1,129 9 comments 0 reactions 1 assignee View on GitHub

@wilsonj806 is already working on this.

Since Aug 4, 2020.

ux
Dominant language
JavaScript
Stars
191
Forks
143
Avg merge
4d 11h
Merged PRs (30d)
5

Description

While it’s fine to use Popcode logged out for quickly practicing coding techniques, we don’t want students doing a significant amount of work without it being saved. The always-visible “log in to save” prompt in the top bar is definitely an improvement, but I think we can be a bit more annoying about it.

In particular, I would propose a banner notification when the student has done a significant amount of work logged out. “A significant amount of work” might be measured in time since they started working, or number of discrete changes to the current project, or some combination of the two.

At such time as the wire is tripped for “a significant amount of work has been done”, we’ll want to display a banner notification (probably using a not-yet-existing “warning” yellow) that informs the user that their work won’t be saved and prompts them to log in. I think this idea is entirely stolen from CodePen.

I think it’s probably best to only display this notification once per session.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.