monkeytype/frontend/static/html
Malo Hamon f02649ae9f
Custom Filters [FrontEnd] (#3106) nocommentcode
* Add Create and Delete functions for Filter Presets to `Users` ape endpoint
- deleteFilterPreset
- addFilterPreset

* Added name and _id fields to the `ResultFilter` interface in the front end

This matches the `ResultFilter` interface in the backend
Added the new fields for the default filter
Added checks in result-filter.ts to not update the ui based on these fields

* Added new-filter-preset-popup

This popup is displayed when creating a new filter preset
It allows the user to select a name.

* Added Filter Preset Buttons in account page html

- Added the Filter Preset button
- Added the filter preset region
- Added the new and delete buttons

* Added Filter Presets to DB Snapshot

* Implemented Custom Fileter Creation, Selection and Deletion flow

- Users can now create a custom filter based on the current settings
- Users will be prompted to select a name for the filter
- User can click on any custom filter and the current filter will be updated
- User can delete a custom filter while it is selected

* Implemented Filter Preset Creation, Selection and Deletion flow

- Users can now create a filter preset based on the current settings
- Users will be prompted to select a name for the filter
- User can click on any filter preset and the current filter will be updated
- User can delete a filter preset while it is selected

* adjusted styling

* removed margin

* removed icon

* added media query

* popup wording

* automatically replacing _ when displaying and creating preset

* using loader and notifications

* fixed bork

* fixed sometimes not being able to delete preset

* make preset popup look like tags popup

Co-authored-by: Miodec <bartnikjack@gmail.com>
2022-06-15 14:47:52 +02:00
..
pages Custom Filters [FrontEnd] (#3106) nocommentcode 2022-06-15 14:47:52 +02:00
bottom.html Added sub alt color, fixed various styling inconsistencies (#2804) 2022-04-07 22:04:43 +02:00
head.html removed unnecessary stylesheet link 2022-04-08 22:25:41 +02:00
popups.html Custom Filters [FrontEnd] (#3106) nocommentcode 2022-06-15 14:47:52 +02:00
top.html showing discord avatar in menu if avatar hash is saved in the db 2022-06-03 17:46:04 +02:00
warnings.html showing requested styles and client version on no css warning 2022-04-26 15:03:09 +02:00