Commit Graph

56 Commits

Author SHA1 Message Date
Lisa Chandra
5ca5f3cb7b
Restructured the Facets (#3097)
* added class to List Facet

* added class to Timerange Facet

* added class to Range Facet

* added class to Text Filter Facet

* added class to Scatterplot Facet

* added base class

* added end line in facet.js

* fixed indentations facet.js

* fixed indentation again

* removed fields

* added suggested changes
2020-08-25 12:29:27 -04:00
Tom Morris
6095c44cb7
Update to jQuery 1.12.4 and jQuery Migrate 1.4.1 - fixes 2932 (#2933)
* Refactor module wiring to reduce redundancy

* Update to jQuery 1.12.4 & jQuery Migrate 1.4.1 - fixes #2932

This updates to the latest jQuery 1.x and jQuery Migrate 1.x,
the first step in upgrading to a modern jQuery.

* Add a couple of bug fixes from Google Code SVN

This is an unrelease version from the Google Code freebase-site
repo which only has a few changes from the v4.3 release, but
one of them is removing the `browser.msie` reference that
jQuery Migrate is complaining about.

* Use prop() for 'checked' and 'disabled'

* Update jQuery 'value' property setting code to use val()

* Use prop() instead of attr() to set 'selected'

* Patch for jQuery >1.9
2020-08-06 13:47:31 +02:00
Tom Morris
233cb95289
Ignore events which don't change text input - fixes #1134 (#2846)
* Ignore events which don't change text input - fixes #1134

* Fix bind
2020-07-14 08:35:46 +02:00
Tom Morris
03c860d961
Update jquery.i18n to 1.07 and fix non-English plural support (#2717)
* Update jquery.i18n to 1.07 and add missing rule parser

Fixes #2700
Adds missing CLDRPluralRuleParser.js so that plurals are supported.
Updates all files to jquery.i18n 1.07
Includes a bunch of specialty language support,
but only Finnish and Russian are loaded as examples.

* Add some missing translations, including plurals

Fix some cases of Javascript string concatenation and
plural conditionalization to demonstrate that plurals work
in both English and French now.

NOTE: Corresponding updates need to be made to all the other
language files since some keys were renamed or eliminated.
2020-06-14 10:23:23 +02:00
Antoine2711
aeb0464f73 New style for Maximize icon
New picture for Maximize icon, that is not a big box, but a smaller box wih arrows in the corners.
2020-04-17 17:59:20 -04:00
Antoine2711
7730f7048e Move li.facet-state-minimize in CSS and spacing in ListFacet
Move li.facet-state-minimize in CSS closer to other minimize stuff and remove uneeded spacing in ListFacet
2020-04-17 17:14:04 -04:00
Antoine2711
f4e6ab92fc Carry the modifications from ListFacet to all other facets
• Carry the modifications from ListFacet to all RangeFacet, ScatterPlotFacet, TestSearchFacet, TimeRangeFacet.
• Also, add the maximize action to the ToolTip.
• CleanUp of hierarchie of HTML or Facets.
2020-04-17 16:17:20 -04:00
Antoine2711
d26b72bede Use this._minimizeState instead of this._config.minimize
Use this._minimizeState instead of this._config.minimize to keep track of the minimized state of the facet
2020-04-17 04:39:41 -04:00
Antoine2711
ef0d49e679 Spacing adjustment
Changed a [TAB] for 2 [SPACE].
2020-04-16 14:07:18 -04:00
Antoine2711
f9c69bf80e First implementation of minimize facets
v1 de minimize facets.
2020-04-16 03:26:47 -04:00
Kush Trivedi
fec414cb14
fix: List facets dialogue should be non editable (#2375) 2020-03-10 10:17:23 +00:00
kushthedude
3b2aa2ccd0 applying timeout variance only for regex 2020-03-07 01:56:36 +05:30
kushthedude
620d7672c9 Addresing requested changes 2020-03-06 15:35:44 +05:30
kushthedude
89b63bb8f8 resetting schedule update to 500 2020-02-28 00:40:11 +05:30
kushthedude
f96cb0e01f enh: Text Filter waits until user finishes updating
Signed-off-by: kushthedude <kushthedude@gmail.com>
2020-02-28 00:37:45 +05:30
Antonin Delpeuch
5dc005749a Add CSRF protection to remaining commands 2019-10-15 12:07:13 +01:00
Antonin Delpeuch
c078c3a81d Fix change of language. Closes #2158. 2019-09-12 11:53:21 +01:00
Michael
3cac19e089 Add a unique id to text filter facet checkboxes and labels. 2019-07-11 23:09:52 +02:00
Antonin Delpeuch
2bfc268e69 Revert "Merge pull request #1666 from ostephens/list-facet-changes"
This reverts commit 29a818f7b4, reversing
changes made to 1189cdb4f9.
2019-02-22 18:38:45 +00:00
browncow5
9b658ad9c8 Code review changes. 2019-01-21 20:04:43 -07:00
browncow5
200c3f0a4b Added a maximum date to the time range. 2019-01-09 19:30:33 -07:00
Owen Stephens
62971b3804 Don't display 'edit' option for number/date/boolean groups in list facet 2018-11-22 12:36:37 +00:00
Owen Stephens
477d9acf9b Add frontend support for number, date, boolean groups in list facet 2018-11-22 12:36:37 +00:00
Antonin Delpeuch
10931e1e4d Migrate js to new localization syntax 2018-11-21 17:30:00 +00:00
Antonin Delpeuch
9bf0bb2154 Merge JS i18n strings with slash 2018-11-21 15:24:57 +00:00
Owen Stephens
319b6bcca5 Tidying up for Codacy 2017-11-15 18:31:41 +00:00
Owen Stephens
25dd347123 Fix reset on text search facet 2017-11-14 14:37:16 +00:00
Owen Stephens
ae6e8bed86 Add UI for Invert text filter 2017-11-14 13:51:42 +00:00
Joe Wicentowski
af1cc19c6d Add labels for checkboxes in text facet, making them clickable
Checkboxes are small targets. Making the labels clickable for toggling checkboxes improves usability.
2016-09-19 09:03:30 -04:00
Gideon Thomas
79ba2c9152 Fix #896 - TextSearchFacet refreshes unnecessarily 2015-04-18 15:49:41 -04:00
Tom Morris
c934c4415c Remove old event handlers when facets are updated 2014-07-03 14:29:46 -04:00
Tom Morris
19fe478b7f Use single event handlers on parent instead of each child element 2014-07-03 09:34:26 -04:00
Tom Morris
3f5b117d07 Fix typo in I18N name - closes #790 2013-09-13 13:46:41 -04:00
Blakko
19b91bd282 Internationalization of the facets part 2013-07-05 09:30:37 +02:00
Tom Morris
bad5bc37b2 Watch paste events on input fields. Fixes #730. 2013-06-23 13:37:29 -04:00
Mateja Verlic
3b06060597 Tooltip is updated after changing facet expression - fixed #649 2013-01-25 21:56:24 +01:00
Tom Morris
03d997be8e FIXED - task 576: Use relative paths so works under a Java server named context - patch supplied by sergio@wikier.org
http://code.google.com/p/google-refine/issues/detail?id=576

git-svn-id: http://google-refine.googlecode.com/svn/trunk@2584 7d457c2a-affb-35e4-300a-418c747d4874
2012-10-13 17:47:08 +00:00
Tom Morris
c992ed9670 Issue 482 - make facet sort case insensitive
git-svn-id: http://google-refine.googlecode.com/svn/trunk@2371 7d457c2a-affb-35e4-300a-418c747d4874
2011-11-12 20:23:39 +00:00
Stefano Mazzocchi
b413833ca1 fixing a bunch of jslint issues
git-svn-id: http://google-refine.googlecode.com/svn/trunk@2303 7d457c2a-affb-35e4-300a-418c747d4874
2011-10-07 23:44:11 +00:00
David Huynh
41e4e1cd70 Some more JS indentation fixes.
Fixed issue 31: "Maximum number of facet values should be configurable." Now when we're showing "too many choices" we also display exactly how many choices there are and show a link to change the limit.

git-svn-id: http://google-refine.googlecode.com/svn/trunk@2201 7d457c2a-affb-35e4-300a-418c747d4874
2011-08-14 01:05:43 +00:00
David Huynh
8d422e2e54 Fixed Calendar vs. Date bug in time range facet
git-svn-id: http://google-refine.googlecode.com/svn/trunk@1699 7d457c2a-affb-35e4-300a-418c747d4874
2010-10-26 21:06:16 +00:00
James Home
cbb73b17be more facet tweaks, menu case tweaks
git-svn-id: http://google-refine.googlecode.com/svn/trunk@1622 7d457c2a-affb-35e4-300a-418c747d4874
2010-10-22 23:32:37 +00:00
James Home
91797339e0 UI improvements to facetting, star and flags
git-svn-id: http://google-refine.googlecode.com/svn/trunk@1617 7d457c2a-affb-35e4-300a-418c747d4874
2010-10-22 01:43:56 +00:00
David Huynh
9a96d2b8f0 Added license text to .js, .css, .less, and main .vt and .html pages
git-svn-id: http://google-refine.googlecode.com/svn/trunk@1612 7d457c2a-affb-35e4-300a-418c747d4874
2010-10-20 18:11:15 +00:00
David Huynh
6da68b37ef Added class 'button' to buttons.
git-svn-id: http://google-refine.googlecode.com/svn/trunk@1580 7d457c2a-affb-35e4-300a-418c747d4874
2010-10-16 06:43:01 +00:00
David Huynh
35def004ac Made expression bars inside facets highlight on hover to suggest they are editable.
git-svn-id: http://google-refine.googlecode.com/svn/trunk@1556 7d457c2a-affb-35e4-300a-418c747d4874
2010-10-15 05:17:07 +00:00
David Huynh
15e715dce4 When "change" is clicked in a facet, and the expression bar is opened, then it should automatically open the dialog box to edit the expression.
git-svn-id: http://google-refine.googlecode.com/svn/trunk@1553 7d457c2a-affb-35e4-300a-418c747d4874
2010-10-15 04:23:46 +00:00
David Huynh
9542c1f254 Converted list facet's "sorted by name/count" from radio buttons to links.
git-svn-id: http://google-refine.googlecode.com/svn/trunk@1537 7d457c2a-affb-35e4-300a-418c747d4874
2010-10-14 19:23:21 +00:00
David Huynh
1de5e7c00e Renamed package gel to grel.
Replaced gel with grel in other places in the code base while maintaining backward compatibility.
Changed layout in expression preview dialog to accommodate long GREL name.

git-svn-id: http://google-refine.googlecode.com/svn/trunk@1442 7d457c2a-affb-35e4-300a-418c747d4874
2010-10-07 05:19:35 +00:00
David Huynh
d15fe661fa Renamed in client-side code. Refine should start and existing projects should still work.
git-svn-id: http://google-refine.googlecode.com/svn/trunk@1293 7d457c2a-affb-35e4-300a-418c747d4874
2010-09-22 22:55:28 +00:00