This commit is contained in:
@@ -6,10 +6,9 @@
|
||||
MISC ITEMS THAT CAME UP
|
||||
|
||||
todo: DataList view and filter are combined and this is wrong
|
||||
View should be something changed rarely and static as how people like it
|
||||
or is it? Maybe we need a separate view and filter system from each other but both
|
||||
columnorder / sort should be something changed rarely and static as how people like it
|
||||
Filter should be dynamic and saveable and have multiple variations supported
|
||||
a forced filter (metaView) should only affect the filter portion, not the view portion
|
||||
a forced filter (metaView) should only affect the filter portion, not the column order / sort portion
|
||||
This is why I'm running into issues with the metaview stuff conflicting, it's not done correctly
|
||||
|
||||
What is dynamic and user changes a lot?
|
||||
@@ -32,12 +31,15 @@ todo: DataList view and filter are combined and this is wrong
|
||||
maybe a filter type control for each type of field? Or maybe more efficient to just have one with various templates per type
|
||||
https://github.com/vuetifyjs/vuetify/issues/3102#issuecomment-529046589
|
||||
https://www.front.id/en/articles/vuetify-achieve-multiple-filtering-data-table-component
|
||||
One click to remove all filters
|
||||
Indicator of filtered but not visible columns
|
||||
|
||||
COLUMN ORDER AND VISIBLITY
|
||||
set column order and visibility in back
|
||||
Saves as a personal default at the server but easily reverted to server default
|
||||
Removed columns don't filter or sort!
|
||||
make sure non visible columns are removed from any saved filter or sort
|
||||
hmm...actually, not sure about above, maybe it needs to indicate extra filtered (but not visible) columns somewhere? "+[filtersymbol]" at end??
|
||||
|
||||
PROGRAMATTIC FILTER
|
||||
DataTable accepts external filter on the fly and replaces internal filter with provided filter but *does not* change the view or sort settings
|
||||
@@ -87,6 +89,13 @@ todo: DataList view and filter are combined and this is wrong
|
||||
|
||||
TO THIS:
|
||||
See DataListBase.cs for format
|
||||
|
||||
PERSISTENT SETTINGS
|
||||
DataListTable options columns, sortby, filter instead of one listview
|
||||
User can customize the column display and order and it will save it at the server as their personal singular view to that datatable
|
||||
User can create MULTIPLE NAMED filter and sortby combos and save it as a named filter to the server
|
||||
can select and go back to default as needed
|
||||
|
||||
|
||||
# METAVIEW / VARIANT / PROGRAMMATIC FILTERING
|
||||
There are filters users make and filters the program makes
|
||||
@@ -122,14 +131,6 @@ todo: DataList view and filter are combined and this is wrong
|
||||
solution is solved by above changes and can provide alterantive filter programmatically any time
|
||||
MIXED restricting a list on teh fly but also support user filtering
|
||||
|
||||
|
||||
todo: remove metaview entirely at both ends
|
||||
|
||||
todo: replace STATIC FILTERS with existing IAyaDataListServerCriteria interface and filter
|
||||
todo: replace DYNAMIC FILTERS with system above
|
||||
todo: replace MIXED VARIANT FILTERS with variant system
|
||||
|
||||
|
||||
SEEDER
|
||||
sample datalist is whack now
|
||||
|
||||
@@ -140,6 +141,9 @@ todo: DataList view and filter are combined and this is wrong
|
||||
|
||||
|
||||
OUTSTANDING TO DO
|
||||
Saved filters and saved default column order / sort
|
||||
Named and saveable Filters are the new listview
|
||||
Column order and sort is just default behind the scenes they don't save it on purpose or name it
|
||||
replace this:
|
||||
[HttpGet("default/{dataListKey}")]
|
||||
public ActionResult GetDefaultDataListView([FromRoute] string dataListKey)
|
||||
@@ -151,6 +155,7 @@ todo: DataList view and filter are combined and this is wrong
|
||||
ReminderDataList in correct order? ''
|
||||
Clean up the server code
|
||||
lots of commented out classes and redundancies and possibly naming re-jigging needed once working
|
||||
seeder line 169 sample filters, replace? Or remove?
|
||||
|
||||
|
||||
todo: DataList - there are a bunch of props being set that don't exist, for example currentListViewId, dataListFilter, dataListSort
|
||||
|
||||
Reference in New Issue
Block a user