tdm-calculator icon indicating copy to clipboard operation
tdm-calculator copied to clipboard

Implement Reset Filters Button on My Project Page

Open entrotech opened this issue 1 year ago • 0 comments

Overview

  • In order to meet the design requirements of Issue #1833 (see Nilakshi's final comment on 10/17/24 for the wireframe) we need to move the Search TextBox and add a "Reset Filters" button to the My Projects Page.

Action Items

  • Look at the above-mentioned wireframe.
  • Apply changes to the My Projects page to move the Search textbox and add a Reset Filter button.
  • The code to reset to the default criteria can be found on line 58 of the FilterDrawer.js component:
setCriteria({
     type: "all",
     status: "active",
     visibility: "visible",
     name: "",
     address: "",
     author: "",
     alternative: "",
     startDateCreated: null,
     endDateCreated: null,
     startDateModified: null,
     endDateModified: null,
     nameList: [],
     authorList: [],
     addressList: [],
     alternativeList: []
  });```


### Resources/Instructions

entrotech avatar Oct 22 '24 00:10 entrotech