monkeytype/frontend
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
..
scripts fix quote lengths 2022-05-28 17:14:55 +02:00
src Custom Filters [FrontEnd] (#3106) nocommentcode 2022-06-15 14:47:52 +02:00
static Custom Filters [FrontEnd] (#3106) nocommentcode 2022-06-15 14:47:52 +02:00
webpack Change from port 5000 to 3000 for dev frontend serve (#3055) 2022-06-01 18:43:13 +02:00
.eslintignore
docker-compose.yaml Create docker-compose.yaml file for frontend (#3058) 2022-06-01 14:04:00 -04:00
firebase.json
gulpfile.js Rename scripts to ts (#2869) ferotiq 2022-04-24 17:20:30 +02:00
package-lock.json rebuilding remplate on save 2022-05-03 18:57:33 +02:00
package.json definitely didnt forget about those 2022-05-05 23:35:40 +02:00
tsconfig.json Rename scripts to ts (#2869) ferotiq 2022-04-24 17:20:30 +02:00