~smagoun/whoopsie/whoopsie-lp1017637

« back to all changes in this revision

Viewing changes to backend/stats/static/js/yui/releasenotes/HISTORY.autocomplete.md

  • Committer: Evan Dandrea
  • Date: 2012-05-09 05:53:45 UTC
  • Revision ID: evan.dandrea@canonical.com-20120509055345-z2j41tmcbf4as5uf
The backend now lives in lp:daisy and the website (errors.ubuntu.com) now lives in lp:errors.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
AutoComplete Change History
2
 
===========================
3
 
 
4
 
3.5.0
5
 
-----
6
 
 
7
 
* Added an `enableCache` config attribute. Set this to `false` to prevent the
8
 
  built-in result sources from caching results (it's `true` by default).
9
 
 
10
 
* The `requestTemplate` value is now made available to YQL sources via the
11
 
  `{request}` placeholder, which works just like the `{query}` placeholder. Use
12
 
  this when you need to customize the query value (such as double-escaping it)
13
 
  used in the YQL query. [Ticket #2531285]
14
 
 
15
 
* Changing the value of the `value` attribute programmatically will now also
16
 
  update the value of the `query` attribute and will fire a `clear` event when
17
 
  the value is cleared (thus clearing results), but still will not fire a
18
 
  `query` event. Use the `sendRequest()` method to trigger a query
19
 
  programmatically.
20
 
 
21
 
* Added a workaround for an IE7 bug that would cause the result list to appear
22
 
  empty when it first becomes visible.
23
 
 
24
 
* Fixed a bug that caused a scrollable result list to be hidden when the user
25
 
  clicked and dragged on the scrollbar and then released the mouse button while
26
 
  the cursor was outside the list region.
27
 
 
28
 
* Fixed a bug that caused the list to disappear on mouseover if the input field
29
 
  received focus before the AutoComplete widget was initialized
30
 
  [Ticket #2531651]
31
 
 
32
 
* Fixed a bug that could prevent results from being selected via mouse click
33
 
  after a result was selected via the tab key. [Ticket #2531684]
34
 
 
35
 
* Fixed a bug that prevented the list from being re-aligned when the window was
36
 
  resized.
37
 
 
38
 
 
39
 
3.4.1
40
 
-----
41
 
 
42
 
* The "combobox" ARIA role is no longer automatically added to an
43
 
  AutoCompleteList input node. After consulting with the Y! Accessibility
44
 
  team, we felt that the combobox role doesn't accurately represent the
45
 
  out-of-the-box interactions that AutoCompleteList provides. Implementers can
46
 
  still apply this role (or any other ARIA role) to the input node manually if
47
 
  desired.
48
 
 
49
 
* Fixed a bug that prevented the autocomplete list from being hidden after
50
 
  right-clicking on the list and then clicking elsewhere in the document.
51
 
  [Ticket #2531009]
52
 
 
53
 
 
54
 
3.4.0
55
 
-----
56
 
 
57
 
* Added the ability to use a `<select>` node as a result source.
58
 
 
59
 
* Function sources may now be either asynchronous or synchronous. Returning
60
 
  an array of results from a function source will cause it to be treated as
61
 
  synchronous (same as in 3.3.0). For async operation, don't return anything,
62
 
  and pass an array of results to the provided callback function when the
63
 
  results become available. [Ticket #2529974]
64
 
 
65
 
* Added a `sourceType` attribute to `AutoCompleteBase`, which may be used to
66
 
  force a specific source type, overriding the automatic source type
67
 
  detection. [Ticket #2529974]
68
 
 
69
 
* The `scrollIntoView` config option is now much smarter. It will only scroll
70
 
  if the selected result isn't fully visible. If the result is already
71
 
  entirely within the visible area of the viewport, no scrolling will occur.
72
 
 
73
 
* A pre-existing `listNode` may now be specified at initialization time.
74
 
 
75
 
* Added `subWordMatch` filters and highlighters. [Contributed by Tobias
76
 
  Schultze]
77
 
 
78
 
* The `this` object now refers to the current AutoComplete instance instead of
79
 
  the window in list locators, text locators, filters, formatters,
80
 
  highlighters, and requestTemplate functions.
81
 
 
82
 
* Added an `originEvent` property to the event facade of `select` events. It
83
 
  contains an event facade of the DOM event that triggered the selection if
84
 
  the selection was triggered by a DOM event.
85
 
 
86
 
* Small performance improvement for filters operating on empty query strings.
87
 
  [Ticket #2529949]
88
 
 
89
 
* Result list alignment is now updated both when results change and when
90
 
  the window is resized instead of only when the list becomes visible. This
91
 
  makes right-aligned lists with dynamic widths less awkward.
92
 
 
93
 
* Fixed a bug that prevented CSS-based z-index values from taking effect on
94
 
  the AutoComplete list and required the z-index to be set via JS. The
95
 
  `.yui3-aclist` class now provides a default z-index of 1, and this can be
96
 
  overridden with custom CSS. Specifying a `zIndex` attribute value via JS
97
 
  no longer has any effect.
98
 
 
99
 
* Fixed a bug that caused the IE6 iframe shim under the AutoComplete list to
100
 
  be sized incorrectly the first time the list was displayed.
101
 
 
102
 
* Fixed a bug in which the `requestTemplate` would sometimes be used as the
103
 
  query instead of being appended to the source URL. This affected XHR and
104
 
  JSONP sources that used both a `{query}` placeholder in the source string
105
 
  and a custom `requestTemplate` value. [Ticket #2529895]
106
 
 
107
 
* Fixed a bug that caused the `requestTemplate` function to be called twice
108
 
  for an XHR request instead of just once.
109
 
 
110
 
* Fixed a bug in which JSONP, XHR, and YQL requests were cached solely based
111
 
  on the query rather than on the complete request. This could result in
112
 
  cache collisions when two requests with the same query but different
113
 
  parameters (provided by a requestTemplate) were made. [Ticket #2530410]
114
 
 
115
 
* Fixed a bug that caused the `&` character to be treated as an up arrow
116
 
  key in Firefox. [Ticket #2530455]
117
 
 
118
 
* Removed the "beta" label. Hooray!
119
 
 
120
 
 
121
 
3.3.0
122
 
-----
123
 
 
124
 
* Initial release.