-
Notifications
You must be signed in to change notification settings - Fork 105
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(filters): improve filter ui rendering
This commit improves the filters ui again by introducing the following upgrades: 1. The server uses `moment` to parse dates in the date filters. The code on the server for rendering the filters is very similar to the clientside codebase, which is unavoidable. There might be an optimisation down the road to reduce this replication, but I think this is acceptable for now. 2. The filters are now passed into the filter form and preset there. That way, when you go to filter a second time, all the data is preserved. 3. A weird bug with caching filters was fixed. The detailed flag no longer shows up as a potential filter, and refreshing the page after printing no longer breaks the browser. 4. The date rendering has been improved in the handlebar's date helper function. If an invalid date occurs, it will simply render the empty string. 5. The `$uibModal` handler now implements the behavior described in #506. Closes #492. Closes #336.
- Loading branch information
Showing
10 changed files
with
110 additions
and
62 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
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
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
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
Oops, something went wrong.