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

support tag and count for our blog #470

Closed
liuxiran opened this issue Aug 17, 2021 · 20 comments · Fixed by #538 or #641
Closed

support tag and count for our blog #470

liuxiran opened this issue Aug 17, 2021 · 20 comments · Fixed by #538 or #641
Assignees
Labels
Enhancement New feature or request good first issue Good for newcomers Help Wanted Extra attention is needed
Milestone

Comments

@liuxiran
Copy link
Contributor

liuxiran commented Aug 17, 2021

Actual Behavior

At the moment, our blog only shows the title, author and other information in the summary page,

for example:

image

Expected Behavior

We need to add some tags for each blog, and at the same time, viewers can search blogs via tags, so that it will be easier for viewer to get what they want

for example:

https://quickwit.io/blog

image

https://developer.axioms.io/blog

image

@juzhiyuan juzhiyuan added the Enhancement New feature or request label Aug 18, 2021
@Baoyuantop
Copy link
Contributor

I found that in the blog type file of Docusaurus, the header of the file allows us to set the tags field.

It looks like this when I try to set it up:

image

And when I select a tag, it will list all the blogs under that tag:

image

I think it can solve this demand, all we need to do is to add tags to each blog.

@juzhiyuan
Copy link
Member

Good!

@liuxiran
Copy link
Contributor Author

cool ~, we can use it as our first edition

@liuxiran
Copy link
Contributor Author

liuxiran commented Aug 26, 2021

I noticed there are about 4 types blogs in our site, they are:

what's your opinion about classification of articles? @Baoyuantop @yzeng25 @Serendipity96 @bzp2010 @KishaniKandasamy @1502shivam-singh @juzhiyuan @moonming

Once the categories have been defined we can get to work on this function

@Serendipity96
Copy link
Contributor

Awesome!

  1. Will the events page also be modified at the same time as the blog page? Do the contents also can be searched, added tags, and see a list of all articles on the events page?
  2. What about change "technology" to 3 tags, "API GateWay" "Ingress Controller" "Service Mesh"?
  3. What about change "practical case" to "user case"?

@yzeng25
Copy link
Contributor

yzeng25 commented Aug 26, 2021

I agree with the '4 types blogs' as @liuxiran listed above. In addition, I think we can derive more types out of these 4 when necessary.

@liuxiran
Copy link
Contributor Author

  1. Will the events page also be modified at the same time as the blog page? Do the contents also can be searched, added tags, and see a list of all articles on the events page?

good catch, actually all posts need tags in our site, and we can first do it in blog page, and Iterate through the detailed classification of articles for each module step by step.

  1. What about change "technology" to 3 tags, "API GateWay" "Ingress Controller" "Service Mesh"?

This is more focused~! Based on this idea, maybe we also need a tag something called Peripheral technology
e.g.
https://apisix.apache.org/blog/2021/06/16/Chaos-Mesh-helps-Apache-APISIX-improve-stability/
https://apisix.apache.org/blog/2021/03/02/get-front-end-test-coverage-with-cypress/

  1. What about change "practical case" to "user case"?

Agree with it ~!

@KishaniKandasamy
Copy link
Contributor

Yes, absolutely! Well
4 types of blog looks good to me

@KishaniKandasamy
Copy link
Contributor

What about first separating them into en and zh blogs then we could apply these 4 types blogs in our site ?

@liuxiran
Copy link
Contributor Author

What about first separating them into en and zh blogs then we could apply these 4 types blogs in our site ?

yes, separating them into en and zh blogs is necessary, we can start it from this point, and would like to have a try @KishaniKandasamy

@KishaniKandasamy
Copy link
Contributor

Sure, I will give a try

@liuxiran
Copy link
Contributor Author

Sure, I will give a try

ok, assign to you, thanks very much, any questions can be commented here

@liuxiran
Copy link
Contributor Author

hi @KishaniKandasamy, you are currently focused on separating blogs into en and zh right, do you have any problems we can do for you?

@KishaniKandasamy
Copy link
Contributor

Yes.Separating blogs into en and zh is okay .but I'm a bit unclear in some places dividing the zh blogs into those 4types due to the language issue :( .Can anyone help me to do this?

@liuxiran
Copy link
Contributor Author

Yes.Separating blogs into en and zh is okay .but I'm a bit unclear in some places dividing the zh blogs into those 4types due to the language issue :( .Can anyone help me to do this?

got you, thanks @KishaniKandasamy , then you can just complete the separating part, and for the tag part , just leave it to @bzp2010 , let's work together to finish it , is that ok for you?

@KishaniKandasamy
Copy link
Contributor

yeah that's fine

@liuxiran
Copy link
Contributor Author

yeah that's fine

glad to hear that, looking forward to your pr @KishaniKandasamy

@KishaniKandasamy
Copy link
Contributor

KishaniKandasamy commented Aug 30, 2021

Sure!

@bzp2010
Copy link
Contributor

bzp2010 commented Aug 31, 2021

Yes.Separating blogs into en and zh is okay .but I'm a bit unclear in some places dividing the zh blogs into those 4types due to the language issue :( .Can anyone help me to do this?

Hi @KishaniKandasamy. By the way, You can refer to this document for this work. link here

@KishaniKandasamy
Copy link
Contributor

Yes.Separating blogs into en and zh is okay .but I'm a bit unclear in some places dividing the zh blogs into those 4types due to the language issue :( .Can anyone help me to do this?

Hi @KishaniKandasamy. By the way, You can refer to this document for this work. link here

Thanks . PR submitted for this task.

@juzhiyuan juzhiyuan added this to the V2.1 milestone Oct 4, 2021
@juzhiyuan juzhiyuan changed the title Feature request: support tag for our blog Feature request: support tag and count for our blog Oct 4, 2021
@juzhiyuan juzhiyuan changed the title Feature request: support tag and count for our blog support tag and count for our blog Oct 4, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Enhancement New feature or request good first issue Good for newcomers Help Wanted Extra attention is needed
Projects
None yet
8 participants