Skip to content

NetSim: Teacher View#9752

Merged
islemaster merged 16 commits into
stagingfrom
netsim-teacher-view-for-real
Aug 1, 2016
Merged

NetSim: Teacher View#9752
islemaster merged 16 commits into
stagingfrom
netsim-teacher-view-for-real

Conversation

@islemaster

@islemaster islemaster commented Jul 29, 2016

Copy link
Copy Markdown
Contributor

Adds a "Teacher View" that is only available from the lobby, and only to shard owners (i.e. the teacher).

Here's the button:
screenshot from 2016-07-29 16-01-01

It's just like the log browser, but it includes a "Sent By" column listing the username for each message.
screenshot from 2016-07-29 16-02-42

It also lets the teacher filter by "Sent By" user, which makes it easy to track a student across simulated IP addresses.
screenshot from 2016-07-29 16-02-54

I've intentionally kept this separate from the main log browser view, which teachers may still want to project (say, during the battleship lesson) for instructional purposes. We also enable the "Teacher View" button in levels that don't have the log browser (like Battleship) to allow monitoring.

TODO

  • Disable Teacher View on peer-to-peer levels, or else add logging in those levels!

Gives a better default sort order in teacher view.
Also add a storybook entry for teacher view.
Use a separate "Teacher View" button in the lobby to display the log browser with teacher-view features, instead of making them 'always on' for the shard owner.  This lets us enable teacher view in levels where the log browser is disabled, and leaves the teacher an option for having a live log browser on the projector without revealing sender names.
Comment thread apps/src/netsim/NetSimLogBrowser.jsx Outdated
`Here's what the teacher (or shard owner) gets to see`,
() => (
<div id="netsim">
<div className="new-router-log-modal">

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

TODO: Remove now-unneeded wrapper div

@Hamms

Hamms commented Aug 1, 2016

Copy link
Copy Markdown
Contributor

LGTM!

@islemaster islemaster merged commit acbc578 into staging Aug 1, 2016
@islemaster islemaster deleted the netsim-teacher-view-for-real branch August 1, 2016 20:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants