Compass got stack without errors info (over 10 min)
Better error reporting for the user. Importing a json (a valid file) puts the compass in an infinity loop without any error info for the user what is wrong. Values are not stored. App doing importing over 10 min simple file structure, I stoped on end the process.
I found on end that json should to be in collection format (just with {} brackets). I added standard content with [] (example of the file is below). Improve validation.
I used 1.21.1 (stable) version of mongodb compass for mac
[{
"title": "Specification by Example",
"isbn": "1617290084",
"pageCount": 0,
"publishedDate": { "$date": "2011-06-03T00:00:00.000-0700" },
"thumbnailUrl": "https://s3.amazonaws.com/AKIAJC5RLADLUMVRPFDQ.book-thumb-images/adzic.jpg",
"status": "PUBLISH",
"authors": ["Gojko Adzic"],
"categories": ["Software Engineering"]
},
{
"title": "Flex 3 in Action",
"isbn": "1933988746",
"pageCount": 576,
"publishedDate": { "$date": "2009-02-02T00:00:00.000-0800" },
"thumbnailUrl": "https://s3.amazonaws.com/AKIAJC5RLADLUMVRPFDQ.book-thumb-images/ahmed.jpg",
"longDescription": "New web applications require engaging user-friendly interfaces and the cooler, the better. With Flex 3, web developers at any skill level can create high-quality, effective, and interactive Rich Internet Applications (RIAs) quickly and easily. Flex removes the complexity barrier from RIA development by offering sophisticated tools and a straightforward programming language so you can focus on what you want to do instead of how to do it. And now that the major components of Flex are free and open-source, the cost barrier is gone, as well! Flex 3 in Action is an easy-to-follow, hands-on Flex tutorial. Chock-full of examples, this book goes beyond feature coverage and helps you put Flex to work in real day-to-day tasks. You'll quickly master the Flex API and learn to apply the techniques that make your Flex applications stand out from the crowd. Interesting themes, styles, and skins It's in there. Working with databases You got it. Interactive forms and validation You bet. Charting techniques to help you visualize data Bam! The expert authors of Flex 3 in Action have one goal to help you get down to business with Flex 3. Fast. Many Flex books are overwhelming to new users focusing on the complexities of the language and the super-specialized subjects in the Flex eco-system; Flex 3 in Action filters out the noise and dives into the core topics you need every day. Using numerous easy-to-understand examples, Flex 3 in Action gives you a strong foundation that you can build on as the complexity of your projects increases.",
"status": "PUBLISH",
"authors": ["Tariq Ahmed with Jon Hirschi", "Faisal Abid"],
"categories": ["Internet"]
}]