Giter Club home page Giter Club logo

Comments (15)

farskid avatar farskid commented on August 16, 2024 1

@SaraVieira I'm on it.

from awesome-talks.

SaraVieira avatar SaraVieira commented on August 16, 2024

Hey!

I was going to add that, right now it's harder but I will move the pagination to the front-end and then I will ping you then :)

from awesome-talks.

farskid avatar farskid commented on August 16, 2024

Hi!

Sounds cool! Will wait for it 👍

from awesome-talks.

SaraVieira avatar SaraVieira commented on August 16, 2024

Hi !

All the pagination in now in the frontend 💃

Let me know if you need anything @farskid :D

from awesome-talks.

SaraVieira avatar SaraVieira commented on August 16, 2024

@farskid how is it going? Need any help?

from awesome-talks.

farskid avatar farskid commented on August 16, 2024

@SaraVieira Almost done. To make it work, I had to do a state lift and write a provider :)
Will push it in a couple of hours.

from awesome-talks.

SaraVieira avatar SaraVieira commented on August 16, 2024

Awesome!!

I was using appollo link state for the state, what did you use? :)

from awesome-talks.

farskid avatar farskid commented on August 16, 2024

@SaraVieira A provider component, simple state lift and wrap Home children with that provider. The rest is done by props passing. But it won't scale for complex use cases. Maybe tiny refactor in future if search got more complex?

from awesome-talks.

SaraVieira avatar SaraVieira commented on August 16, 2024

Yeah , don't worry about it :)

from awesome-talks.

farskid avatar farskid commented on August 16, 2024

@SaraVieira I have an issue on the search functionality. Right now the only thing we can support is tagName on tagVideos query, am I right?
Is there a way we can support name variable on ALL_VIDEOS query to search for speakerName, videoName and tags at the same time?
Should we discuss it here or I'd better submit PR and discuss it there?

from awesome-talks.

SaraVieira avatar SaraVieira commented on August 16, 2024

Hey !

I have been playing with the API and here is an example to search for speakers name, tag and name:

{

	allVideoses(
    filter: 
    {	
	  name_contains: "beyond",
      tags_some: { name_contains: "react" }
      speaker_some: { name_contains: "D"}
    }
  ) {
    name,
    tags {
      name
    }
    speaker {
      name
    }
  }
}

You can also play with it here: https://api.graphcms.com/simple/v1/cjhdcwrb98if90109o4pzawaq

I should have given you this like before, sorry about that :)

Also we can set up Algolia if you want :)

from awesome-talks.

SaraVieira avatar SaraVieira commented on August 16, 2024

Hey!

How is it going? I can pick it up if you having a lot of issues :)

from awesome-talks.

farskid avatar farskid commented on August 16, 2024

Hey!

Yeah. first experience with GraphQL is hard :)

ok, I'll send the PR and let's see how bad it is :)

from awesome-talks.

SaraVieira avatar SaraVieira commented on August 16, 2024

from awesome-talks.

SaraVieira avatar SaraVieira commented on August 16, 2024

closed by #30

from awesome-talks.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.