community-content icon indicating copy to clipboard operation
community-content copied to clipboard

[UPDATE OUTDATED CONTENT] A Deep Dive into Strapi GraphQL

Open vcoisne opened this issue 3 years ago • 9 comments
trafficstars

https://strapi.io/blog/a-deep-dive-into-strapi-graph-ql

Hello 👋

Please explain which article or tutorial has an issue. --> Its on v3

Issue Describe the issue --> I think v4 introduced a fair amount of graphQL related changes

vcoisne avatar Jan 14 '22 05:01 vcoisne

@ShadaW11 could I update this?

ghost avatar Mar 04 '22 12:03 ghost

@zaracooper Do you have time to work on this?

ShadaW11 avatar May 02 '22 13:05 ShadaW11

Sorry @ShadaW11. No, not at this time.

ghost avatar May 02 '22 14:05 ghost

I am keeping this open since this is related to an initiative around GraphQl best practices that I am looking to do in the near future. But if anyone wants to pick this article up before me, you can do that as well. At the moment I am working on Strapi v3 to v4 migration content.

PaulBratslavsky avatar Jul 21 '22 15:07 PaulBratslavsky

Hello @dessireugarte and @PaulBratslavsky , I will like to update this article

Oluwoleopeyemi avatar Sep 09 '22 14:09 Oluwoleopeyemi

Hello @dessireugarte and @PaulBratslavsky , I will like to update this article

Oluwoleopeyemi avatar Sep 11 '22 05:09 Oluwoleopeyemi

Hello @Oluwoleopeyemi 👋 Have you worked on Strapi articles or v4 updates? If yes, please go ahead. Otherwise, take a look at the guidelines here. Please share the draft when it is ready, so @PaulBratslavsky and @TiaraOluwanimi review it.

dessireugarte avatar Sep 12 '22 08:09 dessireugarte

Alright, thank you.

Oluwoleopeyemi avatar Sep 12 '22 21:09 Oluwoleopeyemi

Hi @dessireugarte and @TiaraOluwanimi here is the link to this article update

https://www.dropbox.com/scl/fi/agg9qw3u6xairc99tr6u4/Untitled.paper?dl=0&rlkey=mevmjtcc4mcfyhc0cqvd5p0wo

Oluwoleopeyemi avatar Oct 14 '22 10:10 Oluwoleopeyemi

Hello @Oluwoleopeyemi We will review this draft soon and get back to you. Thank you!

dessireugarte avatar Oct 18 '22 10:10 dessireugarte

Hi @dessireugarte i have issues with the previous document Here is the draft link to the article with the permission to edit, Thank you.

https://www.dropbox.com/scl/fi/7ddjgk6e1jozx92rfsozb/Untitled.paper?dl=0&rlkey=t9ivjt4wbeen7tr79uobubdkn

Oluwoleopeyemi avatar Oct 19 '22 06:10 Oluwoleopeyemi

@Oluwoleopeyemi I will take a look to review your article thank you.

PaulBratslavsky avatar Oct 19 '22 12:10 PaulBratslavsky

Hi @dessireugarte and @TiaraOluwanimi Any update on the article?

Oluwoleopeyemi avatar Nov 04 '22 12:11 Oluwoleopeyemi

Hello @Oluwoleopeyemi 👋 Just wanted to let you know that your article will be published around the second week of December. I'll let you know if we need any changes or when it is published!

dessireugarte avatar Nov 15 '22 20:11 dessireugarte

Hello @Oluwoleopeyemi 👋 I left a comment on the draft. Could you please take a look?

dessireugarte avatar Dec 06 '22 20:12 dessireugarte

@Oluwoleopeyemi while reviewing your article I saw that the Vue JS app has not been updated to use Strapi v4.

Here is the change I had to make in the app to be able to render the post on screen, but you will have to do all the additional changes to reflect working with the Strapi v4 graphql response structure.

@dessireugarte this article is not ready to publish until the changes are made.

@Oluwoleopeyemi let me know when you are done and please provide links to both repos.

Strapi v4 projerct Updated Vue Js project. Thank you.


<template>
  <div>
    <div class="container">
      <div class="container">
        <div class="customPadding">
          <div class="row">
            <div class="col-sm">
              <div class="customCard">
                <h1
                  style="
                    font-size: 3rem;
                    text-align: center;
                    padding-bottom: 6rem;
                  "
                >
                  All Blog Post
                </h1>
              </div>
              <div v-for="blog in blogs.data" :key="blog.id">
                <router-link
                  class="nav-link"
                  :to="{ path: '/blog/' + blog.id }"
                >
                  <div class="container">
                    <div class="customCard">
                      <div
                        class="
                          card
                          shadow-lg
                          p-3
                          mb-5
                          bg-white
                          rounded
                          mr-5
                          ml-5
                        "
                      >
                        <div class="card-head" style="padding: 4rem">
                          
                          <h1 style="font-size: 6rem">
                            {{ blog.attributes.Title }}
                            <hr />
                          </h1>
                        </div>
                        <div class="card-body text-center">
                          <p style="line-height: 26pt">{{ blog.attributes.Body }}</p>
                        </div>
                      </div>
                    </div>
                  </div>
                </router-link>
                <br />
              </div>
            </div>
          </div>
        </div>
      </div>
    </div>
  </div>
</template>

<script>
import gql from "graphql-tag";
export default {
  name: "HelloWorld",
  data() {
    return {
      blogs: [],
    };
  },

  apollo: {
    blogs: {
      query: gql`
        query {
          blogs {
            data {
              id
              attributes {
                Title
                Body
              }
            }
          }
        }
      `,
    },
  },
};


</script>

<style>
.customPadding {
  margin-top: 12rem !important;
  margin-bottom: 12rem !important;
  /* padding: 4rem; */
}
</style>


PaulBratslavsky avatar Dec 08 '22 16:12 PaulBratslavsky

Okay, I will work on it

Oluwoleopeyemi avatar Dec 16 '22 06:12 Oluwoleopeyemi

@Oluwoleopeyemi just wanted to check if you are still working on this article?

PaulBratslavsky avatar Apr 26 '23 16:04 PaulBratslavsky

Hi I am still working on the article But I having some issue, I'd get back to you soon.

Best Regards Emmanuel

On Wed, Apr 26, 2023, 5:53 PM Paul Bratslavsky @.***> wrote:

@Oluwoleopeyemi https://github.com/Oluwoleopeyemi just wanted to check if you are still working on this article?

— Reply to this email directly, view it on GitHub https://github.com/strapi/community-content/issues/611#issuecomment-1523752011, or unsubscribe https://github.com/notifications/unsubscribe-auth/ARXG5JG2WEQ25EL457Y2HVLXDFHHJANCNFSM5L52JG4Q . You are receiving this because you were mentioned.Message ID: @.***>

Oluwoleopeyemi avatar Apr 27 '23 18:04 Oluwoleopeyemi

Hi @PaulBratslavsky @dessireugarte

I'm done with the article and I have address the issue. Sorry for the delay, Here is a link to a new Dropbox that contains the article.

https://www.dropbox.com/scl/fi/00bkwrqjy0ons6pnb2qu7/A-Deep-Dive-into-Strapi-GraphQl.paper?dl=0&rlkey=w93xcgm8azej63y8xpqhstajr

Oluwoleopeyemi avatar May 22 '23 15:05 Oluwoleopeyemi

Hello @Oluwoleopeyemi 👋 Thanks for updating it. Could you please also update the covers with the new template? We will review the article and get back to you soon.

dessireugarte avatar May 24 '23 13:05 dessireugarte

Hi @PaulBratslavsky @dessireugarte

I have updated the cover with the new templates.

Best regards, Emmanuel

Oluwoleopeyemi avatar May 26 '23 18:05 Oluwoleopeyemi

@Oluwoleopeyemi I noticed some additional changes. I left comments in the dropbox post. Thank you.

PaulBratslavsky avatar Jun 06 '23 17:06 PaulBratslavsky

Hi @PaulBratslavsky @dessireugarte I have made the necessary changes, I'm looking forward to your feedback

Best, Emmanuel

Oluwoleopeyemi avatar Jun 11 '23 19:06 Oluwoleopeyemi

Hello @Oluwoleopeyemi The images are still not available and the covers should be updated.

dessireugarte avatar Jun 12 '23 10:06 dessireugarte

Hello I have updated both the image and the cover image initially, but i don't know if there is a new cover image

On Mon, Jun 12, 2023 at 11:04 AM Dessi @.***> wrote:

Hello @Oluwoleopeyemi https://github.com/Oluwoleopeyemi The images are still not available and the covers should be updated.

— Reply to this email directly, view it on GitHub https://github.com/strapi/community-content/issues/611#issuecomment-1587009155, or unsubscribe https://github.com/notifications/unsubscribe-auth/ARXG5JHHVV6ZUNOBRNYGG4DXK3SS7ANCNFSM5L52JG4Q . You are receiving this because you were mentioned.Message ID: @.***>

Oluwoleopeyemi avatar Jun 21 '23 10:06 Oluwoleopeyemi

@Oluwoleopeyemi I added some notes in the dropbox link.

PaulBratslavsky avatar Jun 22 '23 16:06 PaulBratslavsky

@PaulBratslavsky @dessireugarte I have addressed the issue, please check it out.

Best Emmanuel

Oluwoleopeyemi avatar Jun 24 '23 05:06 Oluwoleopeyemi

@PaulBratslavsky @dessireugarte Any update on the article?

Oluwoleopeyemi avatar Jul 04 '23 14:07 Oluwoleopeyemi

@Oluwoleopeyemi I had made some comments, doesn't see that you addressed all of them yet. Let me know if you have any questions. https://www.dropbox.com/scl/fi/00bkwrqjy0ons6pnb2qu7/A-Deep-Dive-into-Strapi-GraphQl.paper?dl=0&rlkey=w93xcgm8azej63y8xpqhstajr.

PaulBratslavsky avatar Jul 11 '23 14:07 PaulBratslavsky