[docs-update] Update docs for string filter case sensitivity#232
Draft
github-actions[bot] wants to merge 1 commit intomainfrom
Draft
[docs-update] Update docs for string filter case sensitivity#232github-actions[bot] wants to merge 1 commit intomainfrom
github-actions[bot] wants to merge 1 commit intomainfrom
Conversation
Add documentation for the case-insensitive default behavior of string filters in DataTable.Filters, including: - Note that string filters are case-insensitive by default (regex with (?i)) - UI checkbox for users to opt into case-sensitive matching - Programmatic control via CollectionControl.addFilter caseSensitive option - initialFilters usage with caseSensitive property on Filter objects Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Updates
docs/components/data-table.mdto document the string filter case sensitivity feature.Changesets that prompted this update
string-filter-case-sensitive.md— String filters inDataTable.Filtersare now case-insensitive by default (using the Tailor Platformregexoperator with(?i)prefix). A "Case sensitive" checkbox allows users to opt into exact-case matching. TheFiltertype andCollectionControl.addFilternow accept an optionalcaseSensitiveproperty.Other changesets were reviewed and found to already be reflected in the existing documentation:
bright-foxes-jump.md— Root page/module behavior already documented indefault-sidebar.mdcuddly-planes-sit.md—useDataTablesortoption already documented indata-table.mdfix-temporal-filter-formats.md—datetime/timefilter types already in the filter types tablemean-geckos-grin.md—Select.Asynclimitation already documented inselect.mdshiny-planes-glow.md—DataTable.Paginationrow count/selection info already documentedtall-cats-hunt.md—betweenfilter mode already documentedremove-next-themes.md/wide-dodos-march.md— Internal/dependency changes, not user-facingFiles modified
docs/components/data-table.md— Added a new "String Filter Case Sensitivity" subsection under the FilterConfig section explaining:CollectionControl.addFilter'scaseSensitiveoptioncaseSensitiveinparams.initialFiltersviauseCollectionVariables