Git Product home page Git Product logo

training-api's People

Contributors

glinia avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar

training-api's Issues

Feature request: Display full names where relevant (directly or in hover text)

I understand that there is some benefit in using abbreviated names-- first names only, typically.

However, this does get to be problematic.

Example case: Let's suppose that we wish to assign the fasteners badge to a student named Abhinav:

screen shot 2015-10-23 at 11 00 13 am

Wait-- which one is it? Since clicking the names will assign or remove the badge, you need to actually close this context, open up the student page directly to see their last names, remember what the avatars look like, and then come back here to assign the badges.

Possible solutions:

  1. Display the full student name, always, rather than just the first name. This may require reducing the font size slightly in some contexts.
  2. Add the student full name in hover text. If this is the approach, it could be as simple as adding a title attribute within each <li class="user">.
  3. When returning names, if there are more than two matches for a given first name in the DB, then display the first letter of the last name as well ("Abhinav K.") or display both their full name. Likely more complicated than is justified.

Feature request: Display current badge status when assigning badges

Statement of problem:
The current workflow for assigning badges is as follows:

  • Open the badge
  • Click "Assign Badge"
  • Begin typing the name of the student that you wish to assign the badge to, and continue until that student is listed first in the list of students.
  • Click "Add user"

This works well in general, but there is one annoying case (frequently encountered when entering a full classroom of students) which is when some of the students already have the badge. If a student already has the badge, then instead of adding the badge, it presents a dialog box "Are you suring you want to remove this badge from XXYYZZ?"*

This confirmation dialog box is reasonable-- since this is also the interface for removing badges, and one should double check before removing badges --but is annoying, since getting to that dialog box is (sadly) the quickest way to check to see if the user already has the badge.

Proposed solution: When in the Assign Badge interface, display an indicator for each user that already has the badge. That indicator could be:

  • A small image of the badge over the user avatar
  • A star over the user avatar
  • The users name written in italic
  • An asterisk after the user name, perhaps followed by an asterisk-prefixed footnote on the page, "*User has badge"

*Side note, not worth making a separate issue over: "Suring?"

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.