Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Live Provider #1294

Merged
merged 7 commits into from
Dec 8, 2021
Merged

Live Provider #1294

merged 7 commits into from
Dec 8, 2021

Commits on Dec 8, 2021

  1. Realtime provider (#1288)

    * add dummy structure
    
    Co-authored-by: Necati Özmen <[email protected]>
    
    * add context for live provider
    
    Co-authored-by: Necati Özmen <[email protected]>
    
    * rename
    
    * change resources channel name
    
    * use LiveProvider instead of LiveDataProvider
    
    * fix used type
    
    * added provider to refine container
    
    Co-authored-by: Necati Özmen <[email protected]>
    
    * add liveProvider as a provider to supabase example
    
    Co-authored-by: Necati Özmen <[email protected]>
    
    * add useSubscribe
    
    Co-authored-by: Necati Özmen <[email protected]>
    
    * add supabase live provider
    
    * add pubnub example
    
    * add params and id subscription
    
    * add pubnub data provider
    
    * add liveParams to useTable
    
    * remove unnecessary imports
    
    * add id to live params
    
    * ignore codemod
    
    * init live provider api reference doc
    
    * finalize supabase example
    
    * add overview, usage, live mode sections to doc
    
    Co-authored-by: Salih Özdemir <[email protected]>
    
    * add provider methods to doc
    
    * add controlled live mode to pubnub example
    
    * add deleted event
    
    * update pubnub example controlled mode
    
    * add supported hooks section
    
    Co-authored-by: Salih Özdemir <[email protected]>
    
    * update pubnub example
    
    * update liveMode values and remove useSubscription
    
    * fix pubnub example
    
    * disable liveMode in RefreshButton
    
    * make publish function in LiveProvider optional
    
    * fix pubnub unit tests
    
    * create real-time guide doc
    
    Co-authored-by: mhrrmk <[email protected]>
    
    * refactor to pubnub example
    
    Co-authored-by: mhrrmk <[email protected]>
    
    * export PubNub from  refine-pubnub package
    
    * add default custom sider
    
    Co-authored-by: mhrrmk <[email protected]>
    
    * add categories resource
    
    Co-authored-by: mhrrmk <[email protected]>
    
    * create useSubscription hook
    
    Co-authored-by: Umut Özdemir <[email protected]>
    Co-authored-by: Ömer Faruk APLAK <[email protected]>
    Co-authored-by: mhrrmk <[email protected]>
    
    * fix useResourceSubscription props type name
    
    * create usePublish hook
    
    Co-authored-by: mhrrmk <[email protected]>
    
    * add notification badge to menu item
    
    Co-authored-by: mhrrmk <[email protected]>
    
    * add custom subscriptions section to guide doc
    
    Co-authored-by: mhrrmk <[email protected]>
    
    * use id array for publications
    
    * add ably
    
    Co-authored-by: mhrrmk <[email protected]>
    
    * fix ably unsubscribe logic
    
    * handle params.ids on live
    
    * pubnub convert to ably in example and guide doc
    
    * rename pubnub to ably
    
    * finish real time guide
    
    * update supabase example
    
    * type to types for liveProvider type property
    
    * fix unit tests
    
    * fix useSelect enabled
    
    * add useLiveMode tests
    
    * add usePublish tests
    
    * fix example type parameter
    
    * add useSubscription tests
    
    * add useResourceSubscription tests
    
    * remove LiveModeContext
    
    * add types of usePublish
    
    * fix tests to remove LiveModeProvider
    
    * update live provider api reference doc
    
    Co-authored-by: Salih <[email protected]>
    
    * add useList & useOne useSubscription tests
    
    * add useMany useSubscription tests
    
    * add publish unit tests for mutation hooks
    
    * Update documentation/docs/guides-and-concepts/real-time.md
    
    Co-authored-by: Yıldıray Ünlü <[email protected]>
    
    * create usePublish doc
    
    * Update documentation/docs/api-references/hooks/live/usePublish.md
    
    Co-authored-by: Ömer Faruk APLAK <[email protected]>
    
    * Update documentation/docs/api-references/hooks/live/usePublish.md
    
    Co-authored-by: Ömer Faruk APLAK <[email protected]>
    
    * Update documentation/docs/api-references/hooks/live/usePublish.md
    
    Co-authored-by: Ömer Faruk APLAK <[email protected]>
    
    * Update documentation/docs/api-references/hooks/live/usePublish.md
    
    Co-authored-by: Ömer Faruk APLAK <[email protected]>
    
    * created useSubscription doc
    
    * add hook links
    
    * fix highlight bug
    
    * add live mode props to docs
    
    * turn off useMany live mode in useSelect
    
    * last touches in real time docs
    
    Co-authored-by: mhrrmk <[email protected]>
    
    * delete unused Space component
    
    * update livemode link
    
    Co-authored-by: Umut Özdemir <[email protected]>
    Co-authored-by: Necati Özmen <[email protected]>
    Co-authored-by: Muharrem Kocadere <[email protected]>
    Co-authored-by: Salih Özdemir <[email protected]>
    Co-authored-by: Yıldıray Ünlü <[email protected]>
    6 people committed Dec 8, 2021
    Configuration menu
    Copy the full SHA
    cb686c9 View commit details
    Browse the repository at this point in the history
  2. v2.4.0

    omeraplak committed Dec 8, 2021
    Configuration menu
    Copy the full SHA
    386ec30 View commit details
    Browse the repository at this point in the history
  3. update ably READMe

    omeraplak committed Dec 8, 2021
    Configuration menu
    Copy the full SHA
    5e5ccfd View commit details
    Browse the repository at this point in the history
  4. v2.4.1

    omeraplak committed Dec 8, 2021
    Configuration menu
    Copy the full SHA
    63f7368 View commit details
    Browse the repository at this point in the history
  5. Sync Next and Version 2.xx Docs and Add livePorivder Examples (#1290)

    * add live provider examples under the example folder
    
    * docs move to 2.x.x folder
    
    * update doc version 2.xx siderbar
    salihozdemir committed Dec 8, 2021
    Configuration menu
    Copy the full SHA
    07cb260 View commit details
    Browse the repository at this point in the history
  6. Remove supabase Example in Live Examples Folder (#1292)

    * remove supabase example in live examples folder
    
    * fix urls
    
    * Update documentation/docs/examples/data-provider/supabase.md
    
    Co-authored-by: Ömer Faruk APLAK <[email protected]>
    
    Co-authored-by: Ömer Faruk APLAK <[email protected]>
    salihozdemir and omeraplak committed Dec 8, 2021
    Configuration menu
    Copy the full SHA
    e2e43f2 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    86ca6a0 View commit details
    Browse the repository at this point in the history