Creating Upvote / Downvote Tags

Hey,

I’m trying to build a tag system that allows upvoting / downvoting in Bubble.

It’s quite similar to one tutorial in Bubble (https://bubble.io/page?type=page&name=index&id=learn&tab=tabs-1&lesson_ref=8&no_arrow=true), however the only problem there was when you inputted a new tag that was identical to an already existing tag, I didn’t add the count.

So basically I want to get to a point exactly where the tutorial gets you at, it being that you have a text input field, a button, and a repeating group. Then you can either upvote certain entries in the list (by clicking the button and thus increasing the count), or you can add new tags. If those tags are already existent, they should just increase the count of the already existing tag.

At the beginning I got a bit confused between a list of things and just things, and I suppose you require a list of things for this task.

Nevertheless, I seem to be stuck in trying to increase the count of those tags that are identical to an already existing one in the list of things.

Would be much appreciated if you could help me out.

Cheers

Hey Jan, Welcome to Bubble! :slight_smile:

Can you share a link to your app editor? This will give a better idea of what would be most useful to setup with your app’s data structure.

@fayewatson Thanks fayewatson, by now I actually figured out how to create this.

My problem now however is that when I try to upvote tags and delete them again by pressing the cross then it doesn’t refresh the accurate count. So I delete something and then it only updates the count when I refresh the page.

Maybe you can have a look:

Edior: https://bubble.io/page?version=test&type=page&name=reviews&id=glassdollarreviews&tab=tabs-1
Preview: https://glassdollarreviews.bubbleapps.io/version-test/reviews?debug_mode=true

Thanks in advance

I figured that when you really quickly uvpote / down vote a tag, then it doesn’t register (even though the buttons change).
When you click everything very patiently it works.

Is there anything in the set-up where I can optimize to avoid this latency?

Thanks in advance

Best,

Jan

This topic was automatically closed after 70 days. New replies are no longer allowed.