Exciting news!! We just added a Review system to our openBuild library!
The first widget that we added to the widget collection is a Review system. Integrating this into your app will allow your users to create, edit and list user Reviews with Star Ratings. The widget comes with sorting and a rating summary.
What the Review widget looks like:
Check out a live preview here: Review widget
This widget comes with workflows and is close to plug and play. You only need to go through a few steps to successfully paste the widget in your app.
Step 1
If you havenât already, install the openBuild extension. You can do that here.
Step 2 (Required plugins)
Make sure that the following plugins are installed:
- Bootstrap Star Rating Input (by Bubble)
- Toolbox (by MIsha V)
- openToast (by ideable)
Step 3
Go to the data tab in your app and create a new type called âReviewâ. For this new type, create the following fields:
- Field name = âstar ratingâ
- type = number
- Field name = âreviewâ
- type = text
- Field name= âpublishedâ
- type = yes/no
Step 4
Go to the privacy tab and remove the privacy rules for the data type âReviewâ that youâve just created. This ensures that all the reviews are publicly visible.
Potential additional step
This widget uses another data fields relating to the data type âUserâ, namely name.
You might have already created this field yourself. In that case, thereâs no need to add a new field. Keep in mind that after pasting the widget in your app, some issues might arise and youâll need to connect these entries to the right ones within your own database.
If you havenât created these fields already, go to the data tab in your app and go to data type 'Userâ. Add the following new fields:
- Field name = ânameâ
- type = text
Tip: If you havenât already created an app, we recommend to start your app on our openBase Starter Template. This not only includes the data fields as mentioned above but also some âdummy usersâ and allows you to use our style system.
To add the openBase Starter template to your templates, go to this link and hit âuse templateâ. When creating a new app, you will now see the openBase Starter Template appear in the list of templates.
Step 5 (Pasting the widget in your app)
Go to the Review widget in the openBuild extension and hit âPick meâ. Bubble will recognize that the Review widget is a page and will show the popup âPaste a pageâ.
Step 6
Modify the page name if desired and paste the page by hitting âCREATEâ
Youâre done! Hit preview to check it out.