1
0
Fork 0
mirror of https://github.com/koalyptus/TableFilter.git synced 2024-05-04 07:33:18 +02:00
Commit graph

318 commits

Author SHA1 Message Date
Max Guglielmi 7e5cd343d2 Changed signature od getTableData and getFilteredData 2017-01-17 14:20:11 +11:00
Max Guglielmi b15f3ed396 Started getCellData vs getCellValue 2017-01-16 14:04:55 +11:00
Max Guglielmi 995eda0498 Fixed unit tests 2017-01-12 23:42:58 +11:00
Max Guglielmi 1d9c1a435b Made cols visibility popup auto-closable on click-away 2017-01-07 22:51:49 +11:00
Max Guglielmi 9d8744392a Fix instantiation with 1 row 2017-01-04 14:09:18 +11:00
Max Guglielmi c4a1c47176 Expanded events tests for AlternateRows 2017-01-03 14:08:21 +11:00
Max Guglielmi 90b3f21332 Fixed closed button in help popup 2017-01-01 22:14:27 +11:00
Max Guglielmi 556bf1c264 Added unit tests 2017-01-01 17:31:48 +11:00
Max Guglielmi 7e779a0242 Made help container auto-closable when user clicks away 2016-12-27 21:20:16 +11:00
Max Guglielmi f41f268975 Addressed destroy TODO 2016-12-24 23:35:26 +11:00
Max Guglielmi f9f99798e4 Addressing zebra rows with sort columnt at start option 2016-12-18 00:23:57 +11:00
Max Guglielmi 5dcd756414 Enlarged AlternateRows code coverage 2016-12-09 23:25:42 +11:00
Max Guglielmi 5adf82abc7 Uncommented test code 2016-12-08 22:19:16 +11:00
Max Guglielmi 8dee7d0cfb Continued increasing coverage 2016-12-08 22:16:47 +11:00
Max Guglielmi 0b1f4b67f5 Testing codecov 2016-12-08 14:21:39 +11:00
Max Guglielmi 5d8f81ab78 take 1 2016-12-04 10:36:39 +11:00
Max Guglielmi 0cd9854634 Addressing sorting date columns with blank values 2016-11-24 14:14:55 +11:00
Max Guglielmi 57548bd3c0 Added popup_adjust_to_container configuration option to PopupFilter 2016-11-22 14:01:36 +11:00
Max Guglielmi 0ed1ac7d1e Started transparent theme 2016-11-19 23:42:37 +11:00
Max Guglielmi f52f52f0ae Updated unit tests 2016-11-18 00:01:33 +11:00
Max Guglielmi 7370173811 Removed unnecessary DOM element IDs 2016-11-10 14:16:57 +11:00
Max Guglielmi e8a2ada208 Removed element IDs from paging 2016-11-05 22:08:32 +11:00
Max Guglielmi b99405997a Addressed #332 and continued #319 2016-11-02 23:01:31 +11:00
Max Guglielmi eeffb5b102 Removed element IDs from Loader and NoResults 2016-11-01 20:02:15 +11:00
Max Guglielmi 21305e2e62 Removed element IDs from Help and RowsCounter 2016-11-01 13:58:25 +11:00
Max Guglielmi 85c62a7bff Fixed test-api.js indentation 2016-10-31 22:27:45 +11:00
Max Guglielmi 0b72eb55b0 Removed clear button container ID 2016-10-31 22:18:21 +11:00
Max Guglielmi 111a4dd246 Added unit tests 2016-10-22 19:38:03 +11:00
Max Guglielmi a885c8caab Issue #313 Made locale.addFormat more defensive 2016-10-19 13:39:59 +11:00
Max Guglielmi 32fa832a6e Fixing date tests 2016-10-13 13:19:39 +11:00
Max Guglielmi 66f36a7531 Finalised dateType unit tests 2016-10-12 18:07:12 +11:00
Max Guglielmi c5b4251039 Started dateType unit tests 2016-10-12 14:15:19 +11:00
Max Guglielmi 288af8b94e Addressed issue-309 2016-10-10 18:16:39 +11:00
Max Guglielmi 028932e53c Expanded colOps extension tests 2016-10-08 11:50:34 +11:00
Max Guglielmi 42fb664228 initial commit 2016-10-07 23:08:13 +11:00
Max Guglielmi b882404fe3 Removed col_date_type option from test-empty-cells-filtering 2016-09-25 12:16:42 +10:00
Max Guglielmi e73471e10a Fixed unit tests 2016-09-24 22:17:01 +10:00
Max Guglielmi 8b0bad54cc Fixed tests 2016-09-21 20:24:36 +10:00
Max Guglielmi 8fa502b2c4 Merged master in, added doco comments to dateType 2016-09-20 23:45:09 +10:00
Max Guglielmi 033a6516cf Initial commit 2016-09-20 13:40:38 +10:00
Max Guglielmi 035801dc7e Initial commit 2016-09-11 00:07:46 +10:00
Archis Gore fb2f201f29 URL Encode State Hash
You'll notice a mild asymmetry in how hash was
saved vs retrieved.

The retrieval was:
    JSON.parse(decodeUrlComponent(hash))

The save was:
    JSON.stringify(hash)

I modified it to:
    JSON.stringify(encodeUrlComponent(hash))

The reason I noticed this is in one of my apps,
I wanted to be able to copy/share a stateful filter URL.

However without the url encoding, those auto-parsers
of URLs were missing the full filter.

TESTING CONDUCTED:
1. Updated the Hash unit tests to both parse the
   encoded string, as well as generate it.

2. Ran "grunt", which has built/tested/jslinted
   the code.
2016-08-22 09:31:03 -07:00
Max Guglielmi ed2f638bf2 Continued TableFilter 2016-08-14 14:14:52 +10:00
Max Guglielmi f43ccbfd50 Added comments to StatusBar for auto-generated documentation 2016-08-07 00:48:00 +10:00
Max Guglielmi dc7ffd0321 Shortened RowsCounter properties names 2016-08-06 01:26:53 +10:00
Max Guglielmi b5dafdb173 Shortened PopupFilter properties names 2016-08-04 16:11:19 +10:00
Max Guglielmi 01a34e082c Added comments to paging 2016-07-31 21:49:38 +10:00
Max Guglielmi 5e316bc778 Added tests for searching numeric columns with strings 2016-07-30 17:59:08 +10:00
Max Guglielmi a962c04213 Fixed no results container width calculation 2016-07-30 16:45:58 +10:00
Max Guglielmi 2f042e68dd Added comments for doco to HightlightKeyword and Loader 2016-07-27 17:21:30 +10:00
Max Guglielmi fa271c5445 Fixed failing unit test 2016-07-02 14:43:07 +10:00
Max Guglielmi b61bac1494 Uncommented out code 2016-07-02 14:09:43 +10:00
Max Guglielmi 603de740a3 Fixed checklist option click event 2016-07-02 14:06:12 +10:00
Max Guglielmi d031e31c0c Fixed on_after_filter callback fired twice from checklist filter 2016-06-25 21:19:58 +10:00
Max Guglielmi 35579453a6 Addressed issue 241, can filter in filters loaded callback 2016-06-15 11:29:20 +10:00
Max Guglielmi c4b3579e08 Added DOM changes unit tests 2016-06-13 19:17:13 +10:00
Max Guglielmi a965265977 Added test case 2016-06-05 12:15:34 +10:00
Max Guglielmi 0172dea15f Added comments to checklist module for autogenerated docs 2016-06-05 01:41:44 +10:00
Max Guglielmi 8e5aba04e2 Removed unused TableFilter properties, added eslint rule 2016-05-31 19:22:21 +10:00
Max Guglielmi 7c6ec56fa3 Renamed _hasGrid to initialized and hasGrid to isInitialized 2016-05-27 17:40:22 +10:00
Max Guglielmi 4095fcf888 Added unit tests to rowscounter module 2016-05-26 17:23:21 +10:00
Max Guglielmi b23aeea53a Killed the nbVisibleRows property on TableFilter 2016-05-26 14:36:36 +10:00
Max Guglielmi b38f216409 Fixed issue 217 2016-05-19 12:35:27 +10:00
Max Guglielmi be3903d2eb Added eqeqeq eslint rule 2016-05-15 13:33:16 +10:00
Max Guglielmi 0d58349432 Refactored types module 2016-05-15 12:56:12 +10:00
Max Guglielmi 472d349689 Fixed issue 204, made selectOptions in checklist feature more defensive 2016-05-08 12:53:58 +10:00
Max Guglielmi b3d2ead151 Fixed failing single filter tests 2016-05-07 19:54:22 +10:00
Max Guglielmi 4965cd5360 Added unit tests 2016-05-07 19:20:42 +10:00
Max Guglielmi 5f667f733f Added getValues method to select and checklist filter types + added unit tests 2016-05-04 22:02:22 +10:00
Max Guglielmi 88bcc4c3b5 Updated README 2016-04-30 12:58:15 +10:00
Max Guglielmi 1ee1e306fd Started decommissioning legacy persistence implementation 2016-04-30 11:45:04 +10:00
Max Guglielmi b7156566ce Fixed tests 2016-04-24 19:00:36 +02:00
Max Guglielmi e188110cb2 Updated relevant unit tests for filters persistence 2016-04-24 18:47:01 +02:00
Max Guglielmi 638892fd14 Merged master in 2016-04-20 16:30:41 +02:00
Max Guglielmi 16d221913d Upadated unit tests 2016-04-20 16:03:35 +02:00
Max Guglielmi 711f3a696b Updated unit tests 2016-04-13 18:37:56 +02:00
Max Guglielmi 9045e85484 Added activateFilter public method 2016-04-08 18:19:52 +02:00
Max Guglielmi 8c2108b3ab Added unit tests 2016-04-08 17:43:55 +02:00
Max Guglielmi ccdde872f4 Updated API unit tests 2016-04-06 08:50:32 +02:00
Max Guglielmi 3e13e787a1 Added getActiveFilterId and setActiveFilterId methods 2016-04-05 18:09:21 +02:00
Max Guglielmi 48b0fd27f6 Added responsive table option, updated unit tests 2016-04-04 11:08:57 +02:00
Max Guglielmi 3c5511a28a Initial commit 2016-03-30 18:53:16 +11:00
Max Guglielmi b22b0f663c Enhanced getText method, added test case 2016-03-29 18:18:03 +11:00
Max Guglielmi 2fb84174dd Removed commented out code 2016-03-24 10:56:59 +11:00
Max Guglielmi 8001582c2b Added unit tests 2016-03-24 10:52:23 +11:00
Max Guglielmi cda05accb5 Initial commit 2016-03-23 19:02:48 +11:00
Max Guglielmi 6cd10dd9bf Addressing PR review 2016-03-20 23:02:12 +11:00
Max Guglielmi a62a41cbc4 Added hash unit tests 2016-03-20 22:44:41 +11:00
Max Guglielmi ea604b76ba Added state unit tests 2016-03-20 22:09:08 +11:00
Max Guglielmi 1e3f51db10 Added state unit tests 2016-03-20 22:07:52 +11:00
Max Guglielmi ad04da9051 Fixed tests 2016-03-18 17:58:32 +11:00
Max Guglielmi 37d47a5adc Added unit tests 2016-03-11 16:55:42 +11:00
Max Guglielmi 70c1a4e384 Initial commit 2016-03-06 21:24:29 +11:00
Max Guglielmi 6f0a009200 Extended eslint to tests 2016-02-22 18:14:58 +11:00
Max Guglielmi 1691f38368 Fixed linked filters with 2 checklist filters 2016-02-20 18:00:03 +11:00
Max Guglielmi 803e0a7d03 Added external filters unit tests 2016-02-13 23:27:28 +11:00
Max Guglielmi 279bc1ca60 Improved store module interface 2016-02-06 14:08:46 +11:00
Max Guglielmi 6b7ce2e4b4 Addressed PR comments 2016-02-04 09:18:47 +11:00
Max Guglielmi 866d34d538 Initial commit 2016-02-03 18:34:46 +11:00
Max Guglielmi 69f0c6fcc8 Fixed sorting for filter options with numeric values 2016-02-02 18:24:16 +11:00
Max Guglielmi eee964346a Added no headers unit test 2016-02-01 18:11:45 +11:00
Max Guglielmi 5112a28775 Fixed case match in filtering logic + setFilterValue with no filters 2016-01-27 21:53:36 +11:00
Max Guglielmi 079e027ba3 Improved getFilterValue and setFilterValue API interface 2016-01-25 16:44:33 +11:00
Max Guglielmi 65fe2d1838 Started normalising get/set filter values 2016-01-23 22:52:41 +11:00
Max Guglielmi 9b1c98c307 Continued simplifying setFilterValue 2016-01-21 18:29:09 +11:00
Max Guglielmi 08f94b254f Updated help feature tests 2016-01-19 23:13:34 +11:00
Max Guglielmi 45b8ae13ae Added highlight-keyword event 2016-01-18 17:36:10 +11:00
Max Guglielmi e5a67eeee9 Removed Cookie dependency in TableFilter class 2016-01-18 17:11:33 +11:00
Max Guglielmi cf8a7fbc66 Merged pub-sub-refactoring in for issue 99 2016-01-17 18:08:59 +11:00
Max Guglielmi 6b14415976 Merged master in for issue 99 2016-01-16 12:29:24 +11:00
Max Guglielmi 0a209f342a Fixed getHeaderText helper method with popup filters, updated corresponding unit tests 2016-01-15 18:11:41 +11:00
Max Guglielmi bd9740c419 Cleaned destroy method of TableFilter class 2016-01-14 21:13:19 +11:00
Max Guglielmi ada1374ade Fixed tests for reset feature behaviour unit test (grid-layout, paging) 2016-01-14 19:35:46 +11:00
Max Guglielmi 3db685f0c9 Started disconnecting _resetGrid 2016-01-13 17:45:44 +11:00
Max Guglielmi 671bd18ee6 Added unit tests for select filter with disabled onchange event 2016-01-13 15:22:46 +11:00
Max Guglielmi 4e2ae18aff Continued pub-sub refactoring 2016-01-12 17:46:27 +11:00
Max Guglielmi 5568663f46 initial commit 2016-01-11 18:35:21 +11:00
Max Guglielmi 8427f58b2f Added watermark tests, removed commented out code 2016-01-11 12:41:25 +11:00
Max Guglielmi fbd8fa52d2 Added tests for dropdown change event 2016-01-09 20:22:57 +11:00
Max Guglielmi fe2e06e637 Added _buildSubmit button method 2016-01-09 13:42:33 +11:00
Max Guglielmi 4a7f935272 Added the _buildInputFilter method 2016-01-08 17:44:22 +11:00
Max Guglielmi cf876c730f Merge branch 'pub-sub-refactoring' into issue-90-init-refactor 2016-01-08 15:21:02 +11:00
Max Guglielmi c9b5a28f3a Merged master in for issue 94 2016-01-08 09:17:16 +11:00
Max Guglielmi 20aa5c2e9c Issue 94, excludeHiddenCols param for APIs 2016-01-07 18:29:27 +11:00
Max Guglielmi 2a0ed49314 Initial commit 2016-01-04 17:59:30 +11:00
Max Guglielmi fd8d5c759c Improved emitter logic 2016-01-03 13:49:04 +11:00
Max Guglielmi ea478ec500 Continued refactoring EvtManager 2016-01-03 01:33:31 +11:00
Max Guglielmi 9964032b88 Added cell-processed event, improved alternateRows 2016-01-02 14:43:00 +11:00
Max Guglielmi da9f8ad885 Finalised unit tests, removed applyProps method in tablefilter class 2015-12-28 17:53:03 +11:00
Max Guglielmi b20e9899b1 Added unit tests for emiitter 2015-12-28 11:18:55 +11:00
Max Guglielmi 9dcf63866b Run build 2015-12-25 13:06:54 +11:00
Max Guglielmi 43f2b2b36b Fixed filtering issue with date types 2015-12-21 17:25:25 +11:00
Max Guglielmi f399dc85ec Fixed issue #70, paging sort when column is filtered 2015-12-20 16:58:39 +11:00
Max Guglielmi 0f5811cdd9 Refined no results container 2015-12-11 18:25:12 +11:00
Max Guglielmi 82f4bf5244 Fixed var leftover in NoResults module 2015-12-09 17:33:44 +11:00
Max Guglielmi 5215673f81 Added unit tests 2015-12-09 17:24:45 +11:00
Max Guglielmi 06e1098ef2 Fixed tests, removed disable() call from a feature destroy 2015-12-06 22:33:11 +11:00
Max Guglielmi 28a74d1146 Completed filter operators unit tests 2015-11-29 21:27:43 +11:00
Max Guglielmi 20517cdfe2 Started unit tests for filter operators 2015-11-29 11:46:20 +11:00
Max Guglielmi 91cd6a88c5 Fixed paging-sort integration when paging persistence is on 2015-11-21 22:12:47 +11:00
Max Guglielmi 3565c0dad3 Implemented Feature base class for statusBar 2015-11-21 16:48:03 +11:00
Max Guglielmi 310247bd48 Implemented Feature base class for popupFilters 2015-11-21 14:41:40 +11:00
Max Guglielmi f2c5bf33f5 Started feature base class for grid layout 2015-11-16 23:21:19 +11:00
Max Guglielmi dcb271e0ba Initial commit 2015-11-15 02:14:13 +11:00
Max Guglielmi 3e271bb1cf Fixed getColValues returned data casing 2015-11-07 18:55:44 +11:00
Max Guglielmi bd2aa92fe4 Added includeHeaders parameter to getColValues helper and updated associated unit tests 2015-11-07 18:17:59 +11:00
Max Guglielmi 81819b9f9e Enhanced getCellData helper and associated unit test 2015-11-07 17:00:29 +11:00
Max Guglielmi abd94108d7 Fixed sorting callbacks and updated unit tests 2015-10-31 22:26:48 +11:00
Max Guglielmi a6d4fa458e Instantiate TableFilter with table DOM element 2015-10-31 19:00:28 +11:00
Max Guglielmi cc4b931bf5 Updated getTableData method, updated tests and README 2015-10-28 18:09:37 +11:00