Create a ranking app on Glide

Hello,

I am testing Glide and trying to create an app that would rank NBA teams in their respective conferences and then share the results on social media.

It’s just a list integrated into the new “Tabs Container” component. East conference on the first tab, West conference on the second.

I would like to have the ranking number on the left of a line and not below as we can see up there.

How can I do that ?

I think the problem is the layout but I don’t figure out how to make it like this with classic container and buttons.

Here is how things are organized :

Thanks for your help!

There is a few ways to make this work, you can use a list and have an image of a number icon then use if else column to determine the url. if Rank = 1 then rank1.png etc etc

or you can, which i might prefer, swap the collection out for a table component and put the rank column first. You can add button columns to the table for your up down logic

3 Likes

Thanks for your reply ! The second option is way better than mine.

However, add buttons disappeared for each screen sizes. I just have a “…” icon now

Sounds like you just have the default item click action. You can add buttons as column types in the table collection and assign actions to them.

2 Likes

Let us know if we can help you further here.

Coming from a Boston fan myself, gotta drop Boston a few spots down this year :laughing: .

1 Like

Ahah sure, you will make the PO I hope. Will be interesting to see Brown as 1st option.

If you have some ideas to suggest for my app, I will take it :+1:t2:

1 Like

Okay, I reorganized my tables because I had issues with duplicates and users could also increment beyond the set limit.

Now, I have my Users table with those columns :

  • E-mail
  • Pseudo
  • Teams (Joined List) Concatenates every teams from my Teams table
  • Teams (Split Text)
  • Teams (Relation) To get informations from my Teams table for each team in my Column Teams (Split Text)

I have 2 questions :

  • How can I move up or move down a team in my list? There is no more Ranking Column
  • How can I get the index of a team in my list and display it?

Thanks

Is there a reason why you removed the rank column? Do you prefer to store each user’s selections as a comma-delimited list so anyone can view each others’ selections?

The rank wasn’t reliable because I didn’t have a good way to avoid duplicates (two teams could have the same rank, for example, which is impossible. And I couldn’t manage a limit, the user could increment beyond 15, which is also impossible)