User Values


Implementation Stories, in priority order

I can control who can see all of the User Values: I should be able to control whether, eg, Members have access to the _userValues function and suchlike.

Also referred to by

As an Email Invitee, I should be able to enter User Values: That is, the owner should be able to send limited "invitations", that let you follow an individualized email link to authenticate you, but the authentication only lets you enter User Values.
I should be able to easily create a Survey: This is the high-level Epic for creating a new "Survey" UI, which is a more usable interface for building complex User Values.
I should be able to vote on a collection of Things or Tags: This is for any use case where we want people to be able to opine on a selection of choices. Almost any sort of "poll" use case will want it.
If an Instance is both Publishable *and* has User Values, the Publishers will not see their User Values while there are outstanding changes: This is an obscure edge case, but is pretty obvious in the code in OldUserSpaceSession.makeEnhancedState() -- the In-Publication version of the Instance will override the one with the User Values.
I can control who can see all of the User Values: I should be able to control whether, eg, Members have access to the _userValues function and suchlike.
It shouldn't be possible for my User Value Summaries to get out of sync: When you mess around with the Summary Link of an established User Value, you can wind up with Summaries that are out of sync with reality. You can work around this with the Recalculate Summaries button, but that's a hack.
Ratings wikify without the correct labels: When you simply display a Rating (not _edit it), it shows the correct number of stars, but the hover text doesn't follow the Chart Labels.
When viewing a Space Version, I should see my User Values at that point: Currently, when viewing a Version, I don't see my User Values. I should see the values as of that time.

Closed Issues

I can define a simple numeric User Value Property: The beginnings of User Values -- in this case, just defining the Property itself
I can display all of the User Values for a given Thing: This is probably introducing the thing -> _userValues function.
I can display a histogram of Ratings: Requires introducing the notion that a User Value Type also exists as a Property in the Thing itself.
I can display the average Rating on a Thing: This is probably a simple _average function, which takes the histogram information from the Property and calculates the average.
I can define a Reviews Property: This is mainly a matter of being able to create a Model Type User Value Property.
I can give my Rating as 1-5 stars: Mainly a matter of finding or writing a decent control for this.
I can see the average Rating as stars: The trick here is mainly in showing fractional stars. Shouldn't be hard, though: I think it is just a matter of CSS hackery.
I can see text prompts for the discrete values of a Rating: From Eric: "I'll advocate for being able to define text labels to display when rolling over some/all of the values. "
I can display all of the User Values for a given Thing: This is probably introducing the thing -> _userValues function.
I can define a Reviews Property: This is mainly a matter of being able to create a Model Type User Value Property.
I can give my Rating as 1-5 stars: Mainly a matter of finding or writing a decent control for this.
I can see the average Rating as stars: The trick here is mainly in showing fractional stars. Shouldn't be hard, though: I think it is just a matter of CSS hackery.
I can display the average Rating on a Thing: This is probably a simple _average function, which takes the histogram information from the Property and calculates the average.
Ratings Stars are frequently failing to display: Not sure what's going on, but in my dev "Simple Space to Convert", if I look at "I'm an Instance!" and then refresh (using the Querki refresh button), the stars often don't show.
No way to create my own Review Properties: Since Review is a Model Type, and the system isn't showing the Models from System, there is currently no way to create one's own Review Property.
I should be able to define User Preferences for my Space: That is, users of my Space should be able to set Preferences that affect how the Space works.
Chart Labels are too limited: Discovered the hard way that Chart Labels can't contain, eg, apostrophes.
Rating._edit is broken: The changes to remove Ecology from Property broke it -- it now causes an Unexpected.
UV Summaries can get out of sync from actual values: Due to the way Summaries work, they can get out of sync if they are added/removed after User Values are added. More importantly, there is no way to resynchronize them, even manually, with any confidence.
I can define a simple numeric User Value Property: The beginnings of User Values -- in this case, just defining the Property itself
_userValues and _thingValues are broken: This got broken a little while ago, which shows how little these summary functions are used
Rating Summaries not updating post-conversion?: In my dev "Simple Space to Convert", looking at "I'm an Instance!", the pre-conversion ratings were 4 and 2, and the _average was correctly set to 3.00. Post-conversion, I change the ratings to 4 and 5, but the _average is still 3.00. So something's getting lost.
I can display a histogram of Ratings: Requires introducing the notion that a User Value Type also exists as a Property in the Thing itself.
I can see text prompts for the discrete values of a Rating: From Eric: "I'll advocate for being able to define text labels to display when rolling over some/all of the values. "