Wanted to release another part of our Best Practices doc, this one focusing on best design/layout principles for your Bubble apps. Topics like creating a design system, choosing between groups and pages, reuseables, and more are discussed.
This i really helpful. What is your suggestion with the size of the navigation bar on the left side? Should it extend all the way to the bottom of the screen? Should it just end when the text ends? Curious about what the best design for this would be.
Also, do you use a normal group for this? A floating group? Other?
Hey @vlad - this is great! I hadn’t seen a third-party best practices guide before, but this would have saved me a ton of time in planning layouts and data structures that I had to just learn the hard way. Keep it up!
What is your suggestion with the size of the navigation bar on the left side?
In general, the left side navigation bar should be less than the mobile width (typically anywhere between 250-320px - depends on the longest width of your text). In our Canvas template, the sidebar width is 285px.
Should it extend all the way to the bottom of the screen? Should it just end when the text ends?
For most portal/dashboard pages, the sidebar typically extends all the way to the bottom of the screen because there are usually multiple links. This format is also more scalable as it’s easier to add more links vertically vs. adding them horizontally in the top navigation menu bar (at some point, the horizontal menu will need to be hidden and users will have to click on a hamburger menu to view the menu options).
Another version of the sidebar you’ll see a lot is a sidebar that has no background. This layout is typically used when you have a lot of content on the page and want to make the page feel less busy. It might feel like the navigation bar ends where the text ends but in reality, the sidebar extends all the way to the bottom of the screen and only the right side is scrollable content.
Also, do you use a normal group for this? A floating group? Other?
Do you need the sidebar to always be accessible? If not, consider using a normal group for this.
If you do need the sidebar to always be accessible, then I would use a combination of normal group and floating group to get this effect: https://share.vidyard.com/watch/wdt9XN6oNn5s3vUhV487ii
You can check out the settings pages in our free Canvas: App Foundation template to see how we used a normal group and floating group to set up that UI.
Thank you for that wonderful reply! I have been playing around with it a bit and it has helped me tremendously to create a much more professional looking app. Crazy how just a few tweaks here and there can make a big difference.
Definitely @CapiBalid! An example is the Canvas Portal itself - most of it is one page with URL parameter navigation. You can get a similar page layout yourself if you install the free Canvas template, it’s the “Settings” page.
That’s a really nice UI, @vlad. I could have sworn, though, that using query string params for navigation allowed the browser back/forward buttons to work, no?
@sudsy - yep, you’re right it will allow back/forward buttons to work but we have the Replace the entry in the browser history option checked, which prevents that from working. So unchecking that will do the trick.
Thanks so much for putting this together, very useful and eye opening. I’ve been reading through the section about database structure and have a couple questions. Not sure if there was errors or not, so want to clear up my confusion.
In the section about database fields and types you provided the following image
In this it shows the datatype of Tweet having a datafield of original tweet with a field type of tweet.
Is this because there may be a tweet that is a reply to an original tweet or a new tweet that is actually retweeting a previous tweet and keep it all connected? Or, is it that the tweet is referencing itself?
In section about linking objects together you provided the following image which I think might have an error
I believe the “List of follows” should have a field type of “List of Users” instead of the single user.
I haven’t finished reading the entire document but have already picked up a bunch of great tips from it. Thank you again for putting it together and I highly recommend bubblers to read it not only in the beginning of their bubble experience but also after they have learned a bit to get a clearer view.
When I started a lot of this was over my head as I had no previous experience in app development what so ever, but after several months learning bubble it all makes sense to me know and is so much more valuable at this point.
So glad you’re finding the document useful! Some answers:
Yes, that’s exactly right. The Original Tweet field is there so that if you Reply or Retweet, you can link the new Tweet to the original Tweet object which the new Tweet references
Also, exactly right, it’s a mistake in the screenshot, should be a list of Tweets instead. Will update this in the docs, thanks for bringing this to our attention!