firebase-tools-ui icon indicating copy to clipboard operation
firebase-tools-ui copied to clipboard

Nested object visualization problems (maps, array)

Open emanuelevivoli opened this issue 4 years ago • 1 comments

Hi, I know that is not a best practice to have document with nested object such maps in arrays in maps etc .... but I actually have a nested object in my data structure and with firebase console and emulator gui there is a bug in the visualization.

firebase console Screenshot 2020-05-19 at 23 49 36

firebase emulator Screenshot 2020-05-20 at 00 00 34

Because it render well until the 3rd - nest, is it intentional to avoid "really" nested object, or not?

emanuelevivoli avatar May 19 '20 22:05 emanuelevivoli

Hi and thanks for filing the issue! This is intentional since given the limited width of the panel, more indentation would make the editor less usable, especially for smaller screens. We got this idea from Firebase Console.

With that being said, we're definitely open to explore more ideas to make this better. Let me know if you have suggestions as well!

yuchenshi avatar May 19 '20 22:05 yuchenshi