Convert rating bar note to stars

Sorry. Follow the Firebase Database structure:

This is Amarildo’s record

I used the dictionary to assemble the list of registered (with your help)

When I select Amarildo from the list, only his name goes to the evaluation register and then follows the structure inside Firebase:

Suppose I choose Amarildo to provide services at my house, in addition to the registration data (this one doesn’t need it because I already have it) I want to show the three or four last assessments he had, like the average and description of the assessment. Show this data in a list I know.

My problem is in the Bucket and how to compare the Name that is in the Perfomace with Registration Data.

I believe already you have the list of names… so just show it in a list view, Suppose if the user clicks or selects the name from list, just use this structure as bucket
image

or use firebase get value (avaliacao/Profissioais/performace/lisetview selection)
or make it as web url like. and as usual use dictionary method or anything to get required value alone

GSR, so I made one that looks like this following your guidance (I don’t know if that’s right). I put it that way but it didn’t show up. The option I chose was the following. I have several providers that have the same specialty or multiple specialties. I have set up a tracking of these budgets using the budget text with random numbers. Thus, before sending the budget with his number, generate the PDF and attach it to the email using Taifunmail. However, I want this budget or quotes to be viewed in the app as well. So when opening this search field he will type his name and a list is opened with the budget number, the customer’s name. Clicking on this quote opens a screen with these data. I want to use the web component and the dictionary but I’m not sure how to do this to get this data. Using Firebase’s Get Value I did it according to the image but nothing appears. I know this post has nothing to do with the subject informed but practically the two things are the same since to check the provider’s ratings I have to select its name.

Block:
Block used to send / save the budget in firebase

image

Block to fetch quotes from the provider’s name

Data saved in Firebase

I did so as an experiment. But instead of typing the name, I would like to put the budget number

image

image

well, i am unable to understand what is called budget number here?
anyway design your url like this

https://apporcamento-df327-default-rtdb.firebaseio.com/Orcamento/Lista%20de%20Profissionais/Profissional/Antonio%20Carlos%20Silva/.json

and use dictionary method to take the desired datas like this,

e.g i designed to take Only Celular value of this person

So I can’t put the provider’s name in the URL as you say since I have 50 people providing services. I will do as in the example I gave. If I have more than one budget for it (AntoMnio) will I have to use the for each item? Can you give me an example, if it’s not inconvenient?
Oh, I remembered. I will use this same method for the topic reviews of this topic here.

https://apporcamento-df327-default-rtdb.firebaseio.com/Orcamento/Lista%20de%20Profissionais/Profissional/(search text box text)/.json

I have showed an example… by using above url and after entering the particular person name if user clicked button then you will get values if the text box text matches the name from your data base .

To use the above url you must use join block with three compartment

Hey did so. In the URL block I made a Join where the professional types the name. I don’t know how to do it when I have more than one request for it.

I did it this way here. In the URL I put a join with the bank’s url + name of the expert. The rest I used the dictionary to fetch the data and add to the list. This way I will use the same logic for the evaluations. If it works, I’ll close this post with the app’s blocks.

See your web URL doesn’t have slash symbol perfectly… after creating block click it do it and make sure your URL is correct just like what I suggested in the prev posts…

Well by using this you can take all the value under the text box value. I am still clear with your question… Do you want to take value from multiple person project bucket?

GSR, good night (here in Brazil). I did as you said and it worked for both budget research and evaluation. Would there be a way to put a rating bar inside a text and image listview?

it means, you want overlapping components?

if so, you can get it from here

1 Like

Hi!
Next I decided not to use overlapping components. I made a logic here to get the average values ​​of each provider’s assessment. In my list view image and text I have the title of the review, the rating and the grade.
Here are the blocks:

Get the values ​​from the URL

In this block I just got the title name, valuation date and the average. I want to transform the grade according to ranking criteria: Poor, Fair, Good, Very Good, Excellent. In this case, inside For Each I put conditions for each item’s value.
If the item obtained is greater than or equal to 4 and less than 8, the rating is Weak and so on. However I get the grades but the Rating is the same. Is there an error there? Can you help me?

Firebase

image

Set global classification to create an empty list. Create another loop and move blocks marked with green in that loop
For each item in list global_lista_media if get item is …and … add item to list global classification Fraco else if is… add Regular … etc

In procedure replace global classification with select list item list global classification index get number

I think I’m doing something wrong.

image

This is another method of approach using dynamic component with over all rating based in their score

This one has its structure because I would very much like to use the rating bar in the listview

Guys, thank you very much for your help. I did it as directed by Dora and it worked. :grinning:

1 Like

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