Hello,
I am making an app where users can earn "points" across a "season". And then I want a page on the app where one can view the "leaderboard". To give the page a bit of a nicer look (had the AI make the page design, and I like what it came up with) there is a little bit of a podium on the top of the page.
Unfortunately, I don't really know how I would go about dynamically populating this.
I know I could just use a list view and sort by number of points, but like I said I want to page to look a little bit more special. Ideally, I would love Flutterflow to order the list, and then update my "users" document with a value (a "rank", as it were, based on a user's position on the list).
My issue is I don't really know how to code, and I am not sure if Flutterflow has the components to achieve what I want (or even if this is the best way to go about what I want to do). If the user's rank was stored as a value in the document, I would like to display this elsewhere on the app, but it is not a dealbreaker.
I know it's extremely clunky, but I've tried to create an "admin" page where the listview is (sorting users by number of 'points'). I would want to then get Flutterflow to update the 'rank' on the Users document, and then on the actual leaderboard page that all users could see, would have a listview sorted by Users 'rank' (filtering for 4 or greater) and then somehow getting each of the podium places to display the info.
Again, this may be a really inefficient (or outright wrong) way to do this, so any other suggestions would be more than welcomed. Hopefully I'm making sense?