summaryrefslogtreecommitdiff
path: root/overrides/endless_private/search_box.js
Commit message (Collapse)AuthorAge
* SearchBox: RemovePhilip Chimento2018-04-17
| | | | | | | | | This was used nowhere except in eos-knowledge-lib. We are going to make many eos-knowledge-lib specific changes to it, so it's going to be forked into there. After nothing uses it, it doesn't make sense to keep it here given that we intend to slowly move away from using eos-sdk. https://phabricator.endlessm.com/T20353
* SearchBox: Don't set width of autocomplete popupPhilip Chimento2018-04-13
| | | | | | | | Setting the width here can mean that the popup gets a different width from the search box. Instead, we want it to match the search box's width and ellipsize the label if there's not enough space. https://phabricator.endlessm.com/T20352
* SearchBox: Get correct index from selected matchPhilip Chimento2018-01-31
| | | | | | | | | | | | When clicking on a result from the autocomplete popup, we should select the first index of the tree path. (The list is a flat list, so there is always only one index.) This prevents a warning about a missing property of [Symbol.toPrimitive], because we were indexing this._items with the indices array (which is not a primitive) instead of its first item. https://phabricator.endlessm.com/T21027
* js: Declare module export variables with "var"Philip Chimento2017-07-07
| | | | | | | | | In ES6, variables declared with "const" and "let" go into the "lexical scope" rather than the normal scope. Therefore, they are not available as properties on modules. GJS preserves the old behaviour with a warning, but we should fix our code anyway. https://phabricator.endlessm.com/T18106
* Merge pull request #4014 from endlessm/sdk/3974Rory MacQueen2016-01-15
|\ | | | | Don't enforce a minimum size for search box
| * Don't enforce a minimum size for search boxRory MacQueen2016-01-15
| | | | | | | | | | | | | | Instead allow clients of this widget to set their own minimum and maximum sizes. [endlessm/eos-sdk#3974]
* | Shrink auto-complete result titles on small screenMartin Abente Lahaye2016-01-15
|/ | | | | | | | | | | | | When running on small screens, some auto-complete result titles do not fit in the screen. This was most often observed in composite mode (720x480) and 800x600 resolutions. Now, we ellipsize the cell renderer accordingly by checking the screen width, based on the responsive system breakpoints defined by the Design team. (Fernando and Martin). [endlessm/eos-sdk#4016]
* search_box: add function to set text programmaticallyMatt Watson2015-08-06
| | | | | | This way we can set the search box text without triggering the signals for settings autocomplete entries [endlessm/eos-sdk#3442]
* search_box: don't set entry text after item selectedMatt Watson2015-08-06
| | | | | | We'll leave it up to the application itself what to populate the entry with after an autocomplete item is selected [endlessm/eos-sdk#3442]
* Use hand cursor on search box secondary iconPhilip Chimento2015-03-31
| | | | | | | If the secondary icon is displayed, it should change the mouse cursor to a hand as well. [endlessm/eos-sdk#2962]
* Set hand cursor on search box and topbar navPhilip Chimento2014-08-14
| | | | | | | | This changes the mouse pointer to be a 'hand' cursor when hovering over certain clickable UI elements: the back/forward buttons on the title bar, and the magnifying glass icon in the search box. [endlessm/eos-sdk#1483]
* EntryCompletion matches all results in modelRory MacQueen2014-07-10
| | | | | | | | Previously we were using the entry completions default match function which will filter words by prefix. However we want all filtering to be done in the knowledge engine in a smarter way so this entry completion should just match on all results.
* New style for the drop down completionMatt Watson2014-07-02
| | | | | | Some hacky css selecting is involved, but gets us a much nicer completion drop down [endlessm/eos-sdk#1578]
* Add eos prefix gtype names to our overridesMatt Watson2014-06-19
| | | | So they don't clash with gtype names in our apps
* Add search box to SDK.Rory MacQueen2014-06-18
We reuse this same search box functionality in a number of our apps so makes sense to stick it in the SDK. Creates a search box that has autocompletion and provides signals for when a search is triggered and when an autocompletion entry is selected. Has its own default styling which can be overridden.