Remove tablePage from useEffect in Table.tsx
Upon an error in the firebase query this was causing an infinite loop to increase page number.
Change the logic of when the clear and disable button are shown/disabled
The existing logic was preventing certain tasks to be performed. For example, deleting all filters individually was disabling both apply and clear all button. As a user I expect to delete all filters and click on the apply button to save.
Remove "" as an operator
Revert #1256 as that is not compatible with this PR
Re-implement #1256 in 66459bbNote: in order to for the URLs to be valid I had to encode them. As a result, they are huge. For 3 applied filters, the URL is 600 character long. I am open to suggestions but I guess this is the price that we'll have to pay.
This PR is a successor to #1293. It adds/fixes:
generateId
function instead ofMath.random()
tablePage
from useEffect inTable.tsx
Upon an error in the firebase query this was causing an infinite loop to increase page number.""
as an operator