Implement Search & Filter #25 (#36)

Add React-Table library replacing the default table.
Integrated a search function by name.
Added sorting by Name and LastSeen

Co-authored-by: Misha Bragin <bangvalo@gmail.com>
This commit is contained in:
Oluchukwu Vivian Obiako
2022-04-06 18:17:22 +01:00
committed by GitHub
parent ed82212e77
commit f11aff792d
3 changed files with 523 additions and 243 deletions

19
package-lock.json generated
View File

@@ -24,6 +24,7 @@
"react-dom": "^17.0.1",
"react-router-dom": "^5.2.0",
"react-scripts": "^5.0.0",
"react-table": "^7.7.0",
"tailwindcss": "^3.0.23",
"web-vitals": "^0.2.4"
},
@@ -13214,6 +13215,18 @@
}
}
},
"node_modules/react-table": {
"version": "7.7.0",
"resolved": "https://registry.npmjs.org/react-table/-/react-table-7.7.0.tgz",
"integrity": "sha512-jBlj70iBwOTvvImsU9t01LjFjy4sXEtclBovl3mTiqjz23Reu0DKnRza4zlLtOPACx6j2/7MrQIthIK1Wi+LIA==",
"funding": {
"type": "github",
"url": "https://github.com/sponsors/tannerlinsley"
},
"peerDependencies": {
"react": "^16.8.3 || ^17.0.0-0"
}
},
"node_modules/readable-stream": {
"version": "3.6.0",
"resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-3.6.0.tgz",
@@ -25692,6 +25705,12 @@
"workbox-webpack-plugin": "^6.4.1"
}
},
"react-table": {
"version": "7.7.0",
"resolved": "https://registry.npmjs.org/react-table/-/react-table-7.7.0.tgz",
"integrity": "sha512-jBlj70iBwOTvvImsU9t01LjFjy4sXEtclBovl3mTiqjz23Reu0DKnRza4zlLtOPACx6j2/7MrQIthIK1Wi+LIA==",
"requires": {}
},
"readable-stream": {
"version": "3.6.0",
"resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-3.6.0.tgz",