-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Added the object `minifiedParams` to map all the params to their minified forms. - Added the function `minifyParmas` that return a object with the params minified based on the object `minifiedParams` - Added the object `groupedMinifiedParams` that divide the minified params in five groups based on the depth of the nested objects in searchParams: general, df (for DiffFilter nested object), ti (for TreeInfo nested object), tf (for TableFilter nested object) and value (for minified values instead of keys). This was required to identify different attributes that were minified to the same value (e.g. 't' for treeInfo.treeName, TableFilter.testsTable and diffFilter.trees) - Added the function `unminifyParams` that return a object with the original param names based on the object `groupedMinfiedParams`. - Added `minifyParams` to `stringifySearch` so the processing steps are minify -> flatten -> stringify - Added `unminifyParams` to `parseSearch` so the processing steps are parse -> unflatten -> unminify - Added tests for the new functions and changed tests for the old functions Closes #725
- Loading branch information
Showing
2 changed files
with
265 additions
and
27 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters