[RAS] affiliations percentage

Ivan Kurmanov duraley at gmail.com
Wed Nov 16 06:14:48 CST 2011


Here is my affiliations draft. I could make this into a google
document, but let's start with plain text:


Affiliations' percentages spec draft with questions


I'm using the "we" pronoun in the following mainly to mean the RAS/ACIS system.

We let users enter percentage for each affiliations that they list in
their profile. We show an input box for each affiliation, with some
label next to it. For example, in this mockup I use "Share:" as the
label: http://www.screencast.com/t/qza127hJ0e

Or we change the affiliations display to a table view and put those
input boxes into a column, with the submit button below the column.
http://www.screencast.com/t/cNotuQQJ8uc

(We probably need the percent sign (%) near the input boxes, or in the
column title?)

 – What would the input box label or the column label be?
 – What label should the button have?

The [Save share changes] button can be disabled (grayed out) until the
user modifies one of the given percentage values (JavaScript).

By default, when a user first sees this screen with this feature
enabled, we calculate the percentage automatically, splitting the 100%
equally, in the best possible way (e.g. 34, 33, 33 in case of three
institutions).

User may change the numbers and submit the change by clicking the
[Save share changes] button. Then we process the share values given
and adjust it proportionally to a total of 100%. And we display the
same screen with adjusted numbers and with the affiliations sorted in
the order of decreasing share. Additionally, we show a confirmation
message in the top part of the page, saying "The affiliation shares
have been saved." or similar.

 – Do we need such message? What text would you like to have there?

If a person deletes an affiliation, we adjust the remaining numbers in
the same way.

While adjusting the numbers we always ensure that the total sum of
them is 100, in the best way possible, while keeping the individual
numbers in the integer range 1-99.

The numbers entered by the users as a share are also enforced to be
numbers in the integer range 1-99. If a user enters a non-numeric
value, or a non-integer value, ACIS would show an error message
"Invalid share number. Use an integer between 1 and 99." and it would
bring back the displayed share of that affiliation to it's previous
value.

If the user has only one affiliation, we do not show the Share column,
the input boxes, the [Save share changes] button. (And no
Workplace-Share attribute is written into the ReDIF template in that
case.)

If the user has opened the affiliations page, has modified the Share
value for one or more affiliations, but then clicked on the [Delete]
button of some other affiliation, his change to the share values is
not saved. We may show a confirmation dialog if he wants to submit the
form without saving the share value.

 – What should be the confirmation dialog text then? "The share
changes will not be saved. [Cancel] [OK]"

 – Or alternatively, we could save the shares even in this case. Save
the shares AND delete the affiliation at the same time. Is this
better?


 – Anything else to clarify or to consider?


-Ivan



More information about the RAS-run mailing list