tl-its-umich-edu / my-learning-analytics

My Learning Analytics (MyLA)
Apache License 2.0
36 stars 39 forks source link

Demo Mode to Obscure Identifying Information #502

Open johnpj opened 5 years ago

johnpj commented 5 years ago

To mitigate the possibility of inadvertently displaying identifying student information, and to facilitate demonstration, I'm proposing a demo mode that would blur identifying text elements.

Suggested implementation:

  1. A new class (e.g. class="sensitive") would be added to all identifying text elements in MyLA including the student's name, uniqname, and the course name.
  2. A role-sensitive "Demo Mode" checkbox would be displayed to those logged in with the admin role (we could consider the have the default and state be on).
  3. When in demo mode the following CSS rule would be applied:

.sensitive {filter: blur(4px);}

jonespm commented 5 years ago

I was seeing this here as well.

https://www.codesdope.com/blog/article/how-to-create-blurred-text-with-css/

Looks like we could use color and text-shadow though most browsers support blur filter but more support the text-shadow.

This seems like it would be a good idea!

johnpj commented 5 years ago

I actually tried both methods to to the uniqname field in MyLA and the blur method seemed to work better. We could actually just apply both methods (no harm blurring it twice :) or use feature detection to apply the appropriate method conditionally.

On Fri, Apr 26, 2019 at 3:17 PM Code Hugger (Matthew Jones) < notifications@github.com> wrote:

I was seeing this here as well.

https://www.codesdope.com/blog/article/how-to-create-blurred-text-with-css/

Looks like we could use color and text-shadow though most browsers support blur filter https://caniuse.com/#feat=css-filters but more support the text-shadow https://caniuse.com/#search=text-shadow.

This seems like it would be a good idea!

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/tl-its-umich-edu/my-learning-analytics/issues/502#issuecomment-487169337, or mute the thread https://github.com/notifications/unsubscribe-auth/ABK7KCQJU3JAYB76CI4ABCTPSNIKVANCNFSM4HIY7TXA .

-- John Johnston IT Program Manager University of Michigan

jonespm commented 4 years ago

I started working on this on #630 but this didn't finish and might need some more changes.