Add filter support to the airtable data provider#1372
Merged
omeraplak merged 2 commits intorefinedev:alphafrom Dec 20, 2021
IgnusG:airtable-filters
Merged
Add filter support to the airtable data provider#1372omeraplak merged 2 commits intorefinedev:alphafrom IgnusG:airtable-filters
omeraplak merged 2 commits intorefinedev:alphafrom
IgnusG:airtable-filters
Conversation
Literally just saw #1282 about a different provider having it the other way around. Reference: https://refine.dev/docs/api-references/interfaceReferences/#crudfilters
omeraplak
approved these changes
Dec 20, 2021
Contributor
|
Hey @IgnusG, |
yildirayunlu
approved these changes
Dec 20, 2021
Merged
omeraplak
added a commit
that referenced
this pull request
Dec 20, 2021
* add strapi v4 links * Add appwrite data provider (#1296) * add appwrite data provider * add categories edit and detail pages * add permissions in example * add getOne * update example to 2.x.x * update dependencies * add crud methods to dataprovider * update example and add create and edit pages * update appwrite example for live mode * add live provider * remove unnecessary package-lock files * fix problems in appwrite example * remove categories resource * remove test file * Update examples/dataProvider/appwrite/src/App.tsx Co-authored-by: Salih Özdemir <salihozdemir94@gmail.com> * Revert "remove test file" This reverts commit 5c8d995. * update test client file name * add appwrite to docs * update documentation package lock * add appwrite logo for landing Co-authored-by: Salih Özdemir <salihozdemir94@gmail.com> Co-authored-by: Ömer Faruk APLAK <omer@pankod.com> * v2.4.7 * Optimised images with calibre/image-actions * Add filter support to the airtable data provider (#1372) * Add filter support to the airtable data provider * Reverse case sensitive and insensitive airtable contains filter Literally just saw #1282 about a different provider having it the other way around. Reference: https://refine.dev/docs/api-references/interfaceReferences/#crudfilters * Change flag for controlling useTable's loading property to isFetched (#1374) isFetching is set to true during re-fetching as well. isFetched is set to false only when loading new data, for cached data that is already available it will return true. We can invert this flag to achieve the desired effect. * v2.4.10 Co-authored-by: Umut Özdemir <umutozdemir997@gmail.com> Co-authored-by: Salih Özdemir <salihozdemir94@gmail.com> Co-authored-by: Pankod Community Bot <53254888+pankod-bot@users.noreply.github.com> Co-authored-by: Jonathan <6438760+IgnusG@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.
Please provide enough information so that others can review your pull request:
Adds support for filters in Airtable by using Airtable's
filterByFormulafeature.Note: I was not sure how the
nullfilter works from the documentation (I assumed value isfalseforfield is not nullandtrueforfield is null).Explain the details for making this change. What existing problem does the pull request solve?
This provides feature parity with other data providers by making simple filtering in a table possible.
Some things that could still be added:
Test plan (required)
Tried on the Airtable example app. Tests are part of the PR - they check whether the filter is correctly translated into a syntax Airtable can understand.
Resolves #1317