Change Shadowed Fields on Existing Core Filter Sets #2806
Labels
impact: breaking change
This change or feature will remove or replace existing functionality; needs to be an X.0.0 release
type: housekeeping
Changes to the application which do not directly impact the end user
Milestone
Adapted from https://gist.github.com/jathanism/7c585954da4cb1a54997be31991cdaac#coreutilities --
Core/Utilities
Utilities are being included with core since
nautobot.utilities.filters.BaseModelSet
is the bread and butter here and we may very well end up folding all of the primitives from Utilities into Core to streamline the namespace.Items that have been moved to their own story:
BaseFilterSet
BaseFilterSet.FILTER_DEFAULTS
needs to also include the correct UI widget types in theextra
for the filter mappingTaggableManager
should always be mapped toTagFilter
to obviate the need to definetag
/tags
on every new filterset that requires tags. (but see also TagFilter created from BaseFilterSet Meta.fields is not usingslug
#3154)FILTER_DEFAULTS
#3584The base form used should be included by default on theMeta.form
option. This base form should be what is used as the base form for our UI including its own model field to form field mappings. (Seefield_classes
on that page)..form
is used anymore with the new UIhas_
Filters Automagically #3587NameSlugSearchFilterSet
toNameSlugSearchFilterSetMixin
because it is a mixin #3588Review:
https://gist.github.com/jathanism/7c585954da4cb1a54997be31991cdaac#extras
for fields to be changed under "Incorrect Fields"
NOTE: Let's do this after #2721
and #2722The text was updated successfully, but these errors were encountered: