Added filter for status (active/inactive) plagiarizing Garrett's work shamlessly. I also added some script that shows text that no data available when filters result in an empty table
…
Related
…
## Changes
I added an additional dropdown that show status states and added the button that clears filters. I also added script checking for an empty table that shows notification if no content.
…
## Testing
1. I tested using data below
user_content = [
(
6,
4,
'Rob@arby.org',
'Robert Smith',
'UGT',
'10/22/33',
'11/22/23',
'notes here',
True,
7,
'submitter'
),
(
6,
4,
'simon@arby.org',
'Simon Gallup',
'Dunstreet',
'10/22/33',
'11/22/23',
'notes here',
False,
2,
'admin'
),
(
6,
4,
'rog@arby.org',
'Roger ODonnel',
'Dunstreet',
'10/22/33',
'11/22/23',
'notes here',
True,
3,
'submitter'
),
(
6,
4,
'jace@arby.org',
'Jason Cooper',
'UGT',
'10/22/33',
'11/22/23',
'notes here',
False,
6,
'admin'
),
(
6,
4,
'rere@arby.org',
'Reeves Gabrels',
'P',
'10/22/33',
'11/22/23',
'notes here',
False,
5,
'admin'
),
]
## UI
…Using test data I checked if the correct content shows up when various filter combinations are chosen. Table reads clearly in all.
Overview
Added filter for status (active/inactive) plagiarizing Garrett's work shamlessly. I also added some script that shows text that no data available when filters result in an empty table …
Related
… ## Changes I added an additional dropdown that show status states and added the button that clears filters. I also added script checking for an empty table that shows notification if no content. … ## Testing 1. I tested using data below user_content = [ ( 6, 4, 'Rob@arby.org', 'Robert Smith', 'UGT', '10/22/33', '11/22/23', 'notes here', True, 7, 'submitter' ), ( 6, 4, 'simon@arby.org', 'Simon Gallup', 'Dunstreet', '10/22/33', '11/22/23', 'notes here', False, 2, 'admin' ), ( 6, 4, 'rog@arby.org', 'Roger ODonnel', 'Dunstreet', '10/22/33', '11/22/23', 'notes here', True, 3, 'submitter' ), ( 6, 4, 'jace@arby.org', 'Jason Cooper', 'UGT', '10/22/33', '11/22/23', 'notes here', False, 6, 'admin' ), ( 6, 4, 'rere@arby.org', 'Reeves Gabrels', 'P', '10/22/33', '11/22/23', 'notes here', False, 5, 'admin' ), ] ## UI …Using test data I checked if the correct content shows up when various filter combinations are chosen. Table reads clearly in all.