Unique component in a list?

Hi again guys, is there a way to make a unique item appear in a list?

Scenario, I have a leaderboard setup and I would like the top person in that list to display a crown to show they’re the top.

I had a solution where I set the crown to be on “Top” in the styles, this worked with some fidgeting, but if the user ever scrolls it will break the illusion as it’ll be “stuck” in position on screen if you know what I mean?

Any clever solutions?

Thx

Do you have a property for ‘position’ in your database to show where the person came? If you do, you can add the crown to the list and click on the three dots and select the visibility condition.

Set the crown to be sometimes visible and then the condition should be only visible if the person came 1st (or 2nd if you want a silver crown etc.)

If you want to have more than 1 crown for 1st, 2nd, 3rd (gold, silver, bronze) then have the icons in the list but touching each other, as in stacked on top of eachother. The conditon for the silver crown would be the same as the gold but if the person came 2nd.

Hopefully that helps :slight_smile:

2 Likes

Perfect! Sounds logical, will try this out for sure. Appreciate it.

1 Like

Works great! To extend just a bit further, would you know how to automate the process?

So I’m figuring I would need a way to

  • find the top score
  • remove the position number from the bumped user
  • assign the position number to the top user

Thx again for the solution!

I think the solution is probably using something like Integromat to automate the process. I’m trying to find my feet with Integromat at the moment so I’m definitely not the best person to help with this part though.

There is an Integromat community page on facebook that’s pretty helpful and if you really get stuck I got some help from someone on Fiverr for a very good price to fix something I couldn’t get my head around.

There might be better solutions from someone else here though

1 Like

Ahh ok thx I’ll look into it, I know they say Integromat is the “glue” of the internet, never heard of it until this month when I started app developing :slight_smile:

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.