1
0
Fork 0
mirror of https://github.com/koalyptus/TableFilter.git synced 2024-05-23 16:52:26 +02:00
Commit graph

402 commits

Author SHA1 Message Date
Max Guglielmi 32ea4a28cc Finalised sortable table adapter 2016-09-06 11:45:27 +10:00
Max Guglielmi 37c6b70f7e Added comments for auto-generated docs 2016-09-04 18:17:54 +10:00
Max Guglielmi af75fe5236 Continued commenting for auto-documentation 2016-09-03 23:30:31 +10:00
Max Guglielmi c723b962bf initial commit 2016-09-02 19:26:21 +10:00
Max Guglielmi aee9c11551 Fixed doco 2016-09-02 13:32:59 +10:00
Max Guglielmi 6d32d6b5bd Moved clear button CSS class definition in ClearButton class 2016-09-01 18:07:24 +10:00
Max Guglielmi 7ea7e5be5c Finalised TableFilter documentation 2016-08-31 21:13:01 +10:00
Max Guglielmi 17ce8759ac Continued documentation for TableFilter 2016-08-29 19:03:32 +10:00
Archis Gore 03a5d251a1 Bumped package version
And ran grunt to update some files,
as well as validate all tests.
2016-08-22 20:44:06 -07: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 e770b13320 Additional comments in TableFilter 2016-08-17 17:31:41 +10:00
Max Guglielmi ed2f638bf2 Continued TableFilter 2016-08-14 14:14:52 +10:00
Max Guglielmi 34cc60ace9 Started comments for auto-generated doc in TableFilter 2016-08-11 17:25:00 +10:00
Max Guglielmi d222f32674 Added comments to Storage for auto-generated documentation 2016-08-08 17:22:25 +10:00
Max Guglielmi f43ccbfd50 Added comments to StatusBar for auto-generated documentation 2016-08-07 00:48:00 +10:00
Max Guglielmi 0b1256d571 Added comments to State for auto-generated documentation 2016-08-06 19:46:26 +10:00
Max Guglielmi dc7ffd0321 Shortened RowsCounter properties names 2016-08-06 01:26:53 +10:00
Max Guglielmi 912433a032 Replaced var with let in RowsCounter 2016-08-06 00:53:32 +10:00
Max Guglielmi b5dafdb173 Shortened PopupFilter properties names 2016-08-04 16:11:19 +10:00
Max Guglielmi 10f843430d Added comments to PopupFilter for auto-generated documentation 2016-08-04 15:40:02 +10:00
Max Guglielmi 330755f78c Stashing changes 2016-08-01 09:28:33 +10:00
Max Guglielmi 01a34e082c Added comments to paging 2016-07-31 21:49:38 +10:00
Max Guglielmi 8c3597be4b Fixed no results container width for all browsers 2016-07-31 18:36:47 +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 714fa5d91a Grunted 2016-07-23 18:48:15 +10:00
Archis Gore e1e56daac0 Ran full grunt - updated build dates apparently. 2016-07-14 21:03:45 -07:00
Max Guglielmi 3899aee53c Continued refactoring grid layout 2016-07-09 21:51:32 +10:00
Max Guglielmi 96237553bd Initial commit 2016-07-02 20:25:23 +10:00
Max Guglielmi 603de740a3 Fixed checklist option click event 2016-07-02 14:06:12 +10:00
Max Guglielmi f135d3776d Issue 245 fix, sort arrow making header jump 2016-06-25 22:07:58 +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 6b8783b830 Initial commit 2016-06-24 17:48:04 +10:00
Max Guglielmi c5fd43d150 More desensive coding in sort feature 2016-06-19 15:07:49 +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 7c2eb8ad4c Merged issue-197-misc-refactor in 2016-06-13 12:49:27 +10:00
Max Guglielmi d0360c01e5 Contunued 2016-06-13 11:01:20 +10:00
Max Guglielmi e4ab8be82f Initial commit 2016-06-10 23:03:46 +10:00
Max Guglielmi 6070d9b52f Renamed GridLayout properties 2016-06-05 18:44:21 +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 0e403e6f09 Fixed empty-option and non-empty-option persistence 2016-06-05 00:28:55 +10:00
Max Guglielmi 2e2515586e Refactored Event module 2016-06-02 14:13:56 +10:00
Max Guglielmi f5848c7b8e Enhanced removeNbFormat helper 2016-06-02 13:31:58 +10:00
Max Guglielmi 8e5aba04e2 Removed unused TableFilter properties, added eslint rule 2016-05-31 19:22:21 +10:00
Max Guglielmi 3f58be9f8c Finalised hasGrid removal 2016-05-29 20:44:27 +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 73f72ce959 Killed matchCase TableFilter property replaced by caseSensitive 2016-05-26 12:21:27 +10:00
Max Guglielmi 7d84c7d09e Refactored dom module 2016-05-25 17:31:53 +10:00
Max Guglielmi 9fec6eb6ef Started refactoring Dom module 2016-05-24 18:42:11 +10:00
Max Guglielmi 3434185dbe Refactored date helper module 2016-05-21 11:33:49 +10:00
Max Guglielmi c849418e2f Refactored array module 2016-05-20 16:58:54 +10:00
Max Guglielmi dbf44d488a Removed nbRows property and replaced its usage by getRowsnb method 2016-05-19 17:38:18 +10:00
Max Guglielmi bc8e3c34a8 Prepared build 2016-05-19 12:50:18 +10:00
Max Guglielmi b38f216409 Fixed issue 217 2016-05-19 12:35:27 +10:00
Max Guglielmi 540b3b9e2a Removed unused TableFilter properties related to legacy persistence implementation 2016-05-15 19:19:30 +10:00
Max Guglielmi 924884dfd0 Added eqeqeq eslint rule (2) 2016-05-15 13:40:32 +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 d5dcc38cc9 Finalised extending extensions with Feature base class 2016-05-14 22:09:28 +10:00
Max Guglielmi 6f3fe2eb23 Started making extension extend Feature base class 2016-05-14 20:04:00 +10:00
Max Guglielmi 03eb1ecb38 built package 2016-05-12 21:37:41 +10:00
Max Guglielmi d3aac7476e Fixed IE regression related to drop-down getValues method 2016-05-08 18:03:39 +10:00
Max Guglielmi a1317ec130 Missed window refs 2016-05-08 16:14:40 +10:00
Max Guglielmi 075427c37c Added root module 2016-05-08 15:33:19 +10:00
Max Guglielmi f67bb8e15c Added root module 2016-05-08 15:26:52 +10:00
Max Guglielmi 55cab197cc Added starter.html file 2016-05-08 13:10:02 +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 8a2a7c7ba7 Created constants file, added filter types constants 2016-05-07 21:59:42 +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 9a694ba263 Fixed search inconsistency with numeric column types 2016-05-07 14:33:17 +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 88183ac770 Removed Evt object 2016-05-01 19:57:23 +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 ac8337fe4b Fixing issue #193 2016-04-28 14:05:24 +10:00
Max Guglielmi 361d90cae0 Fixed issue with filters visibility persistence event 2016-04-26 19:22:02 +10:00
Max Guglielmi 2a89916681 Prod build 2016-04-24 19:07:55 +02:00
Max Guglielmi b7156566ce Fixed tests 2016-04-24 19:00:36 +02:00
Max Guglielmi 574a371ba4 Started filters visibility persistence 2016-04-24 17:12:45 +02:00
Max Guglielmi 638892fd14 Merged master in 2016-04-20 16:30:41 +02:00
Max Guglielmi ae6c2eee6b Continued columns visibility persistence 2016-04-19 15:28:37 +02:00
Max Guglielmi 29d58d3a45 Continued columns visibility persistence 2016-04-18 11:04:50 +02:00
Max Guglielmi ed840793b4 Updated examples 2016-04-14 10:22:44 +02:00
Max Guglielmi 0004afe9bb dist build 2016-04-13 19:03:05 +02:00
Max Guglielmi 9156bdbb9d Finalised sort persistence 2016-04-13 18:28:12 +02:00
Max Guglielmi 139eaf998e continued sort persistence 2016-04-12 18:39:20 +02:00
Max Guglielmi eb9374f48d Page number is now updated on filters clearing 2016-04-10 10:46:20 +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 2656435d00 Continued storage class 2016-04-07 18:34:25 +02:00
Max Guglielmi 680e13840d Initial commit 2016-04-07 12:13:54 +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 50b7ab616b Initial commit 2016-04-05 10:51:56 +02:00
Max Guglielmi 091bdf267a Prod build 2016-04-04 11:22:32 +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 f38f05e15b Added a TODO 2016-03-24 12:07:32 +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 df5cd45da1 Fixed hash deep linking on Firefox 2016-03-21 18:36:46 +11:00
Max Guglielmi 11fab705fa Fixed help button regression due to feature module refactoring 2016-03-21 10:41:21 +11:00
Max Guglielmi 250787391e Prepare build for PR 2016-03-20 22:53:10 +11:00
Max Guglielmi ea604b76ba Added state unit tests 2016-03-20 22:09:08 +11:00
Max Guglielmi e4a048fd2d Fixed circular events issue with state and hash 2016-03-20 16:15:15 +11:00
Max Guglielmi f45fae30ee Merged master in 2016-03-20 14:51:08 +11:00
Max Guglielmi a75e6902f8 splitted into state and hash modules 2016-03-20 01:10:59 +11:00
Max Guglielmi ad04da9051 Fixed tests 2016-03-18 17:58:32 +11:00
Max Guglielmi 6334667767 Renamed long custom event names, added hashchange event 2016-03-16 18:08:26 +11:00
Max Guglielmi b55bd0119a Continued stateful class 2016-03-15 18:18:51 +11:00
Max Guglielmi 975dc35059 Initial commit 2016-03-14 17:49:23 +11:00
Max Guglielmi f9af8bf321 Generated build 2016-03-11 16:59:14 +11:00
Max Guglielmi 37d47a5adc Added unit tests 2016-03-11 16:55:42 +11:00
Max Guglielmi fb90965444 Built and bumped version 2016-03-10 17:37:07 +11:00
Max Guglielmi 86722da61f Initial commit 2016-03-10 17:31:36 +11:00
Max Guglielmi 70c1a4e384 Initial commit 2016-03-06 21:24:29 +11:00
Max Guglielmi 4f66b7410e Trying to fix build with babel-eslint 6.0.0-beta.1 2016-03-05 17:57:28 +11:00
Max Guglielmi e6725d3b63 Merged master in, fixed conflict 2016-03-05 17:32:10 +11:00
Max Guglielmi 0d41632c05 Merged master in again 2016-03-01 13:03:31 +11:00
Max Guglielmi e540eabfc6 Merged master in 2016-03-01 12:49:49 +11:00
Max Guglielmi 63076678d6 Fixed doco 2016-02-28 23:01:26 +11:00
Max Guglielmi f6707547f9 Removed unused argument in setColWidths 2016-02-22 18:41:41 +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 40069e9652 Fixed active column styling for all themes 2016-02-06 12:04:11 +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 df802d0c0b Initial commit 2016-01-20 17:14:32 +11:00
Max Guglielmi 183aab6f84 Removed commented out code 2016-01-19 23:19:34 +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 7a57101ace Cleaned code 2016-01-17 18:27:12 +11:00
Max Guglielmi cf8a7fbc66 Merged pub-sub-refactoring in for issue 99 2016-01-17 18:08:59 +11:00
Max Guglielmi 0c032efbd8 Removed _resetGridValues logic 2016-01-17 17:56:15 +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 93d902f235 Removed dropdown and checklist persistence logic 2016-01-10 20:41:01 +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 20aa5c2e9c Issue 94, excludeHiddenCols param for APIs 2016-01-07 18:29:27 +11:00
Max Guglielmi 010d9add36 Added init to drop-down and check-list filters 2016-01-06 18:12:16 +11:00
Max Guglielmi 2a0ed49314 Initial commit 2016-01-04 17:59:30 +11:00
Max Guglielmi 1109888366 Reduced jshint cyclomatic complexity values 2016-01-03 13:58:07 +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 7b47726aee Fixed unit tests 2015-12-31 15:20:51 +11:00
Max Guglielmi 114d508c97 Continued row-processed event 2015-12-31 12:56:50 +11:00
Max Guglielmi 8e3416e24c Started row-processed event 2015-12-30 17:59:20 +11:00
Max Guglielmi f96e9b97b8 Hooked up into the before-filtering event 2015-12-30 16:56:44 +11:00
Max Guglielmi 9ab5f5fb9d Hooked-up highlight keyword feature 2015-12-29 17:13:08 +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 4fcfaf1ec7 Added emitter class, started implementing pub-sub pattern (rowsCounter) 2015-12-27 22:08:14 +11:00
Max Guglielmi c43f5dd3d5 Fixed build error when package installed from npm 2015-12-27 14:37:27 +11:00
Max Guglielmi 3641fc941a Updated README and removed build-demos task from deployment 2015-12-26 17:17:15 +11:00
Max Guglielmi 70f4213a8c Upgraded to Babel6 2015-12-26 01:33:04 +11:00
Max Guglielmi 9dcf63866b Run build 2015-12-25 13:06:54 +11:00
Max Guglielmi 4908fed6e4 Fixed filterig with dd-MMM-YYYY date format 2015-12-25 12:31:00 +11:00
Max Guglielmi 43f2b2b36b Fixed filtering issue with date types 2015-12-21 17:25:25 +11:00
Max Guglielmi b0dfb2e4a8 Added starter file 2015-12-20 20:20:29 +11:00
Max Guglielmi f399dc85ec Fixed issue #70, paging sort when column is filtered 2015-12-20 16:58:39 +11:00
Max Guglielmi 5ff9620028 Addressed position issue 2015-12-11 18:33:49 +11:00
Max Guglielmi 0f5811cdd9 Refined no results container 2015-12-11 18:25:12 +11:00
Max Guglielmi 5856f42397 Layout fixes 2015-12-11 09:03:21 +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 ef29a10564 Added class logic styling, styling 2015-12-08 22:53:12 +11:00
Max Guglielmi 06e1098ef2 Fixed tests, removed disable() call from a feature destroy 2015-12-06 22:33:11 +11:00
Max Guglielmi 086e25ee76 Implemented Dom.remove 2015-12-06 00:37:59 +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 f08250eedd Fixed paging reset 2015-11-21 18:52:33 +11:00
Max Guglielmi 0c8731cd54 Finalised tests 2015-11-21 18:31:32 +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 bba32b2ff3 Added Feature base class to clear button and paging 2015-11-15 21:20:40 +11:00