Commit Graph

55 Commits

Author SHA1 Message Date
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
Lisa Chandra
1dcc83209c
Faster rendering of rows and cells (#2973)
* changes to rendering of rows

* some cell rendering improvements

* more render row improvements

* fixed jQuery methods on js elements

* added comment for nbsp
2020-07-28 18:25:32 +02:00
Lisa Chandra
95e5e19eb3
Refactoring the data table into a single container (#2719)
* feat: Bounding the table to a single container

* Making the table more responsive

* fixing design

* remove references to adjustDataTables

* remove useless table-scroll function

* Fix naming and restore old styling

* fix border top & font size

* fix firefox css bug

* fix for XML/JSON Importers

* Fixed styling

* fixed typos

* fixed column rendering and added a sticky header

* fixed firefox borders

* fixed border and table background

* fix importer stylings (td)

Co-authored-by: kushthedude <kushthedude@gmail.com>
2020-06-16 11:40:13 +02:00
Antonin Delpeuch
8414a82df8
Fix null cell editing, followup for #2440 (#2587) 2020-04-24 18:59:33 +02:00
Joanne Ong
b6f6904af4
Show correct data type in data table cell editor (#2440)
* Show correct data type in data table cell editor

* Ensure date cell type is shown in cell editor
2020-04-24 09:28:24 +02:00
Antonin Delpeuch
2e1d5402ea Add CORS support with JSONP fallback. Closes #2260 2019-12-24 10:38:12 +01:00
Antonin Delpeuch
79394b9c0e
Merge pull request #1959 from OpenRefine/issue1943
Show reconciliation previews on hover of reconciliation candidates
2019-02-27 10:57:18 +00:00
Antonin Delpeuch
5dcd4a2f38 Add cell-ui.previewMatchCells=false preference to disable hover 2019-02-27 10:32:57 +00:00
Antonin Delpeuch
9cc481dcdc Make hover more stable on reconciliation candidates 2019-02-23 09:18:18 +00:00
Antonin Delpeuch
4344b2474c Remove buttons when previewing a matched cell 2019-02-19 16:56:07 +00:00
Antonin Delpeuch
c509dd3847 Show reconciliation previews on hover of reconciliation candidates and matches.
Closes #1943.
2019-02-19 16:46:24 +00:00
Antonin Delpeuch
b068e18ada Make suggest items clickable with the middle button.
Clicking on an item with the middle button leads the user to the page
for this item. This lets users inspect items without selecting them.
Closes #1934.
2019-02-19 14:37:11 +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
b220354284 Added display of null in data table view 2018-03-17 16:55:46 +00:00
Antonin Delpeuch
aaf8f93c04 Remove various references to Freebase, where I'm confident 2017-02-08 17:56:03 +00:00
Tom Morris
4834deca5e Add TODO for _.escape cleanup 2015-10-16 15:41:03 -04:00
Matthew Blissett
9f4c66b8d8 Fix Javascript so non-Freebase preview popouts work. 2014-11-02 14:04:43 -05:00
Blakko
5aa23d002d The width of the previewCandidate window is set with the one declared in
the reconciliation service
2013-10-15 17:37:31 +02:00
Tom Morris
ec12e5f004 Unescape HTML entities (safely) - fixes #785 2013-09-04 18:40:16 -04:00
Tom Morris
df34978b11 Adjust our search parameters to match needs of Suggest 4.3 - closes #762 2013-08-20 09:57:44 -04:00
Tom Morris
7885256d78 Fix small Freebase preview widget text - fixes #763 2013-08-20 09:48:22 -04:00
Tom Morris
71a9d2e0af Switch from encodeURIComponent to encodeURI - revised fix for #290 2013-08-06 13:35:34 -04:00
Tom Morris
36e4fd1ef5 URI encode IDs before replacing them in URL. Fixes #290 2013-08-03 13:50:37 -04:00
Tom Morris
c8f0e88bd4 Replace retired Freebase Topic Blocks with Freebase Suggest flyout -
part of
#696
2013-07-26 10:55:42 -04:00
Blakko
8a0f23be3b Internationalization of the data-table part 2013-07-09 15:57:25 +02:00
Tom Morris
bf837e82ba Add TODO 2013-05-26 08:01:38 -04:00
Tom Morris
0dfd7d7112 Blacklist /common/resource in Suggest - extends fix for issue #632 2013-03-03 09:17:48 -05:00
Tom Morris
a2b60d3d4b Fix filter to blacklist documents correctly 2013-02-25 19:45:25 -05:00
Tom Morris
ed07a4d489 Revert "Black list /type/content in Suggest. Closes issue #632"
This reverts commit 98c64201ef.
2013-02-21 12:45:49 -05:00
Tom Morris
98c64201ef Black list /type/content in Suggest. Closes issue #632 2013-02-11 17:43:58 -05:00
Tom Morris
04668eb720 Blacklist /common/document in Suggest - fixes #632 2012-11-20 15:15:52 -05:00
Tom Morris
6315036c82 Don't assume notable types are returned by Suggest
Freebase Suggest doesn't always return a notable key in its dictionary,
so we need to check whether it exits.  Fixes issue #636
2012-11-20 14:03:35 -05:00
Tom Morris
390ac944aa Revert debug alert accidently committed 2012-11-06 19:15:28 -05:00
Tom Morris
8defe9ee32 FIXED - task 628: update to Freebase Suggest 4.0 - patch supplied by sdeo@google.com
http://code.google.com/p/google-refine/issues/detail?id=628

git-svn-id: http://google-refine.googlecode.com/svn/trunk@2575 7d457c2a-affb-35e4-300a-418c747d4874
2012-10-12 18:39:05 +00:00
David Huynh
9360e3f71a Fixed Issue 488: ISO 8601 dates not supported in cell editing - cell-ui.js.
git-svn-id: http://google-refine.googlecode.com/svn/trunk@2388 7d457c2a-affb-35e4-300a-418c747d4874
2011-11-27 20:22:58 +00:00
David Huynh
e1184003df Color-code date values in data table.
Fixed Issue 426: filter with custom facet adds zero lines choice

git-svn-id: http://google-refine.googlecode.com/svn/trunk@2251 7d457c2a-affb-35e4-300a-418c747d4874
2011-09-20 01:36:47 +00:00
David Huynh
98c268d9f7 Fixed issue 38: [Wishlist] Fix the table header so that it's always visible when scrolling a long page
git-svn-id: http://google-refine.googlecode.com/svn/trunk@2229 7d457c2a-affb-35e4-300a-418c747d4874
2011-09-01 22:03:10 +00:00
David Huynh
bad7266534 Cleaned up code formatting in .js, .html, .vt, .css, .less files.
git-svn-id: http://google-refine.googlecode.com/svn/trunk@2185 7d457c2a-affb-35e4-300a-418c747d4874
2011-08-04 20:37:14 +00:00
David Huynh
a4572b66c8 Fixed yet another problem caused by r1989.
git-svn-id: http://google-refine.googlecode.com/svn/trunk@2022 7d457c2a-affb-35e4-300a-418c747d4874
2011-02-23 01:19:06 +00:00
David Huynh
669b708d60 Fixed r185: same reconciliation candidate for two cells seems to be overridden
git-svn-id: http://google-refine.googlecode.com/svn/trunk@2010 7d457c2a-affb-35e4-300a-418c747d4874
2011-02-18 05:38:41 +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
David Huynh
bc4de76ec5 Minor styling tweaks to cells judged as new topics.
git-svn-id: http://google-refine.googlecode.com/svn/trunk@1619 7d457c2a-affb-35e4-300a-418c747d4874
2010-10-22 07:35:27 +00:00
David Huynh
345c1c62ac Added new recon commands:
- clear recon data for all matching rows
- clear recon data for one cell
- clear recon data for similar cells
- copy recon judgments across columns

git-svn-id: http://google-refine.googlecode.com/svn/trunk@1618 7d457c2a-affb-35e4-300a-418c747d4874
2010-10-22 07:25:27 +00:00
James Home
3fbefac8e1 UI fixes to table controls, matching dialogs and edit dialogs
git-svn-id: http://google-refine.googlecode.com/svn/trunk@1614 7d457c2a-affb-35e4-300a-418c747d4874
2010-10-20 23:43:37 +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
a9a3944cbf Upgraded to suggest 1.2.1.
Fixed issue 160: Cancel button on Search for Match dialog sometimes not working.

git-svn-id: http://google-refine.googlecode.com/svn/trunk@1587 7d457c2a-affb-35e4-300a-418c747d4874
2010-10-17 20:49:54 +00:00
David Huynh
c451b2ded5 Re-laid out 'cell search for match' dialog so buttons wouldn't be obscured by suggest dropdown. Also added 'new' button. Made sure history widget is always scrolled to the 'done upto here' bar.
git-svn-id: http://google-refine.googlecode.com/svn/trunk@1579 7d457c2a-affb-35e4-300a-418c747d4874
2010-10-16 06:21:00 +00:00
James Home
f254740b11 refactor css, sidebar help UX, data table UX
git-svn-id: http://google-refine.googlecode.com/svn/trunk@1549 7d457c2a-affb-35e4-300a-418c747d4874
2010-10-14 23:31:27 +00:00
David Huynh
dc49047092 We have previously changed the standard-reconcile acre app to return mids, but we still need to make sure its metadata says that its identifier space is mid, not id. And we need Refine to test for the mid identifier space as well.
git-svn-id: http://google-refine.googlecode.com/svn/trunk@1479 7d457c2a-affb-35e4-300a-418c747d4874
2010-10-13 18:33:27 +00:00