[Unicode]   Common Locale Data Repository : Bug Tracking Home | Site Map | Search
 
Modify

CLDR Ticket #11211(accepted unknown)

Opened 3 months ago

Last modified 3 weeks ago

Performance is slow when voting on multiple items on a page

Reported by: kristi Owned by: tbishop
Component: unknown Data Locale:
Phase: dsub Review:
Weeks: Data Xpath:
Xref:

Description

Report from vetters is that the voting on multiple items on a page in rapid succession (after ~5 clicks). [
Current tool loses track and doesn’t respond.]

This was #2 in the Performance improvement goals in https://sites.google.com/site/cldr/index/cldr-engineer/sow

When this happens, the votes do not get saved and work has to be repeated.

Attachments

Change History

comment:1 Changed 3 months ago by kristi

  • Keywords STP1 added
  • Owner changed from anybody to tbishop
  • Priority changed from assess to critical
  • Status changed from new to accepted
  • Milestone changed from UNSCH to 34

comment:2 Changed 4 weeks ago by mark

This is amplified by the problem with focus. If the focus didn't change with a refresh, this would not be (quite) as bad.

comment:3 Changed 3 weeks ago by mark

That is, I think what is happening is that as fields are (asynchronously) validated, changes can cause the focus to switch to one of the past fields, thus disrupting the vetters work (and possibly causing errors).

comment:4 Changed 3 weeks ago by tbishop

Compare ticket 11312 "Make all id attributes unique for valid html in SurveyTool". The fact that id attributes are not unique may complicate accessing the right row when updating individual rows in response to user input.

comment:5 Changed 3 weeks ago by tbishop

When Survey Tool is having a hard time keeping up with a rapid sequence of votes, some rows temporarily get a light green background color, from a style in surveytool.css:

tr.tr_checking2 {
	background-color: #d4edd9;
	opacity: 0.75;
}

That style is used in survey.js:

function handleWiredClick(tr,theRow,vHash,box,button,what) {
...
	var loadHandler = function(json){
...
				if(json.submitResultRaw) { // if submitted..
					tr.className='tr_checking2';
					refreshRow2(tr,theRow,vHash,function(theRow) {

and also in a similar function handleCancelWiredClick.

View

Add a comment

Modify Ticket

Action
as accepted
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.