I currently have a “product” within the particle cloud with customers. I used to create a shadow customer for each customer I had and then that shadow customer within the Particle cloud also claims the device. Per a few other threads, I now understand a cleaner way especially for cellular products is to just claim all the devices under an “admin” account and manage who claimed each device in my own backend. The main reason I moved to this is now I can allow someone to claim a device even if that device is not powered up/connected. This also seems a little more straightforward to then trying to manage shadow customers and who claimed each device in both Particle cloud as well as my own backend. However, I realized, it’s a little harder to quickly find who owns/claimed each device. Therefore, I figured I’d use the Cloud API to update the Device notes anytime someone claim/unclaim the device from my web app. This works well however, with a few enhancements to the Particle cloud it would even better meet the needs. Wasn’t sure where to make an “enhancement” request like this but figured I’d start here. Here are some ideas to improve on the device notes:
-
Recognize the notes are in JSON format and by default “beatify” the JSON. I.e. if this is my note:
{“status”: “claimed”, “user”: {“user_id”: 0, “email”: “user@gmail.com”, “username”: “user1”, “firstName”: “John”, “lastName”: “Doe”}}. Using JSON just is a nice way to store multiple pieces of content. When it recognizes it as JSON display it as beatify like this instead of just a string:
-
Allow me to add/remove columns from the main product view. I’d like to add the “notes” column for example.
-
Even better if I could filter by a wildcard value of the notes field. In my example, I’m using JSON so I’d like to search by “User1” or maybe REGEX search would be even better.
-
By default have the text wrap instead of a scroll bar left/right. By using JSON and setting the notes via the API, the text just continues and adds a scroll bar instead of wrapping to the next line.
Obviously, I can do this first to my database to see what device someone owns, and then jump over to particle and filter by that list, I can see it being clumsy though with more devices. So lower priority stuff here but figured I’d mention it.
Anyone else have things to add or is there an easy way to accomplish what I’m trying to accomplish? Is there a better way for Particle users to make suggestions for enhancements than a post here?