upstash / issues

Issue Tracker for Upstash
https://upstash.com
2 stars 0 forks source link

Large stringified objects break the Redis Data Browser UI #47

Open alexongh opened 1 year ago

alexongh commented 1 year ago

Pretty straightforward: If you set an item with a stringified objects as value, it breaks the UI of the Data Browser. I attached some screenshots below. They do not contain any credentials or private data, so no worries.

Screenshot 2023-02-09 at 20 28 13 Screenshot 2023-02-09 at 20 28 26

Since it probably helps when reproducing, the value of the item was as follows:

[
  {
    "business_status": "OPERATIONAL",
    "geometry": {
      "location": {
        "lat": 52.4734211,
        "lng": 13.4589572
      },
      "viewport": {
        "northeast": {
          "lat": 52.4749234802915,
          "lng": 13.4600643302915
        },
        "southwest": {
          "lat": 52.4722255197085,
          "lng": 13.4573663697085
        }
      }
    },
    "icon": "https://maps.gstatic.com/mapfiles/place_api/icons/v1/png_71/generic_business-71.png",
    "icon_background_color": "#7B9EB0",
    "icon_mask_base_uri": "https://maps.gstatic.com/mapfiles/place_api/icons/v2/generic_pinlet",
    "name": "Estrel Berlin",
    "opening_hours": {
      "open_now": true
    },
    "photos": [
      {
        "height": 2000,
        "html_attributions": [
          "<a href=\"https://maps.google.com/maps/contrib/100923882924852534688\">Estrel Berlin</a>"
        ],
        "photo_reference": "AfLeUgORNR9idr0_hrgCTXU4634YNxvLBjP6x3gM2dcZmN9qlSQtcR61wo_jWpZKB5GiY9UGjFIJQt2GHdSe_BXcGuYRcKohZ2QnZdy5UrExHIw5V8xQVhZN_RwMhwUPdtGLcbn_lhSLk2eK48pkGA59zxZYXOyjx7oeEjg7YWGcvfOrEZKi",
        "width": 3000
      }
    ],
    "place_id": "ChIJb3ygbQ1PqEcRQ-vbOHZvx-k",
    "plus_code": {
      "compound_code": "FFF5+9H Berlin, Germany",
      "global_code": "9F4MFFF5+9H"
    },
    "rating": 4.4,
    "reference": "ChIJb3ygbQ1PqEcRQ-vbOHZvx-k",
    "scope": "GOOGLE",
    "types": [
      "art_gallery",
      "restaurant",
      "food",
      "lodging",
      "point_of_interest",
      "establishment"
    ],
    "user_ratings_total": 11247,
    "vicinity": "Sonnenallee 225, Berlin"
  },
  {
    "business_status": "OPERATIONAL",
    "geometry": {
      "location": {
        "lat": 52.47439269999999,
        "lng": 13.4452572
      },
      "viewport": {
        "northeast": {
          "lat": 52.47566348029149,
          "lng": 13.4467659302915
        },
        "southwest": {
          "lat": 52.4729655197085,
          "lng": 13.4440679697085
        }
      }
    },
    "icon": "https://maps.gstatic.com/mapfiles/place_api/icons/v1/png_71/restaurant-71.png",
    "icon_background_color": "#FF9E67",
    "icon_mask_base_uri": "https://maps.gstatic.com/mapfiles/place_api/icons/v2/restaurant_pinlet",
    "name": "Louis Café-Restaurant",
    "opening_hours": {
      "open_now": true
    },
    "photos": [
      {
        "height": 2168,
        "html_attributions": [
          "<a href=\"https://maps.google.com/maps/contrib/113691812189880996074\">Koen Posthouwer</a>"
        ],
        "photo_reference": "AfLeUgPfa1URhCpT1r_CJxzHEaFbcNesZAZvUdH3hRdRi_m_HBi9393e0b4xaAp6l9h0nU3y-0q2E3npevl5xEHW9JGPUol-jDhvEux2KCTzZI-d33-NsMOT1QOSDh6U-532szRXkIGPPYDvvBkonuf1TyVsb3ust-0l36YvPVglnD-sFFxH",
        "width": 3824
      }
    ],
    "place_id": "ChIJeYPGC6BPqEcRAfIx8aaN74U",
    "plus_code": {
      "compound_code": "FCFW+Q4 Berlin, Germany",
      "global_code": "9F4MFCFW+Q4"
    },
    "price_level": 1,
    "rating": 4.3,
    "reference": "ChIJeYPGC6BPqEcRAfIx8aaN74U",
    "scope": "GOOGLE",
    "types": [
      "restaurant",
      "cafe",
      "food",
      "point_of_interest",
      "establishment"
    ],
    "user_ratings_total": 1345,
    "vicinity": "Richardplatz 5, Berlin"
  },
  {
    "business_status": "OPERATIONAL",
    "geometry": {
      "location": {
        "lat": 52.4770215,
        "lng": 13.4395352
      },
      "viewport": {
        "northeast": {
          "lat": 52.4782991302915,
          "lng": 13.4406595302915
        },
        "southwest": {
          "lat": 52.4756011697085,
          "lng": 13.4379615697085
        }
      }
    },
    "icon": "https://maps.gstatic.com/mapfiles/place_api/icons/v1/png_71/restaurant-71.png",
    "icon_background_color": "#FF9E67",
    "icon_mask_base_uri": "https://maps.gstatic.com/mapfiles/place_api/icons/v2/restaurant_pinlet",
    "name": "Cafe Rix",
    "opening_hours": {
      "open_now": true
    },
    "photos": [
      {
        "height": 422,
        "html_attributions": [
          "<a href=\"https://maps.google.com/maps/contrib/101744743381966218875\">Restaurant Café Rix GmbH</a>"
        ],
        "photo_reference": "AfLeUgNmEn4UfIFGamlDsBrsePYb3QBuXR2sk7kXayk3wSAT80uudnPDYn1c5LxnzGBHnIKK_6NKQjNrzdXOLglkWFQltE1GW9AGzlOj0tgT5mSy69JV9x8j3gDmwjtygG4wqMWFqoH_AMEQv1KJOSKZCeWLg93Q5qU4Dyu9Xhlm34TklpbQ",
        "width": 750
      }
    ],
    "place_id": "ChIJ53sPfKFPqEcR2YoRxw94yBw",
    "plus_code": {
      "compound_code": "FCGQ+RR Berlin, Germany",
      "global_code": "9F4MFCGQ+RR"
    },
    "price_level": 2,
    "rating": 4.1,
    "reference": "ChIJ53sPfKFPqEcR2YoRxw94yBw",
    "scope": "GOOGLE",
    "types": [
      "restaurant",
      "meal_takeaway",
      "cafe",
      "food",
      "point_of_interest",
      "store",
      "establishment"
    ],
    "user_ratings_total": 688,
    "vicinity": "Karl-Marx-Straße 141, Berlin"
  },
  {
    "business_status": "OPERATIONAL",
    "geometry": {
      "location": {
        "lat": 52.4714821,
        "lng": 13.4293708
      },
      "viewport": {
        "northeast": {
          "lat": 52.4727866802915,
          "lng": 13.4306331802915
        },
        "southwest": {
          "lat": 52.4700887197085,
          "lng": 13.4279352197085
        }
      }
    },
    "icon": "https://maps.gstatic.com/mapfiles/place_api/icons/v1/png_71/restaurant-71.png",
    "icon_background_color": "#FF9E67",
    "icon_mask_base_uri": "https://maps.gstatic.com/mapfiles/place_api/icons/v2/restaurant_pinlet",
    "name": "from Hanoi with Love",
    "opening_hours": {
      "open_now": true
    },
    "photos": [
      {
        "height": 4032,
        "html_attributions": [
          "<a href=\"https://maps.google.com/maps/contrib/117965916917380991702\">Marcel Zelaya</a>"
        ],
        "photo_reference": "AfLeUgMv6HIjA8woTO9c4RlFNWxEvhahIh-nzm552zwrjo_ujT8SFWO8I2Rpgo0c_EHli37R7uPvJYiLeqEGbB9eAFrXkKr-_smyKl0tN9aZKYII1Oj_2IjYAMDgDRjUJCDC2gpRVi8BzfhzdiZYUj62ZqwoQTgbxuqSih0jYK4EsoVoKnla",
        "width": 3024
      }
    ],
    "place_id": "ChIJnenC25lPqEcRROHrcyM5rIE",
    "plus_code": {
      "compound_code": "FCCH+HP Berlin, Germany",
      "global_code": "9F4MFCCH+HP"
    },
    "price_level": 1,
    "rating": 4.3,
    "reference": "ChIJnenC25lPqEcRROHrcyM5rIE",
    "scope": "GOOGLE",
    "types": [
      "restaurant",
      "food",
      "point_of_interest",
      "establishment"
    ],
    "user_ratings_total": 550,
    "vicinity": "Hermannstraße 176, Berlin"
  },
  {
    "business_status": "OPERATIONAL",
    "geometry": {
      "location": {
        "lat": 52.4612902,
        "lng": 13.4455963
      },
      "viewport": {
        "northeast": {
          "lat": 52.4626921302915,
          "lng": 13.4469901302915
        },
        "southwest": {
          "lat": 52.4599941697085,
          "lng": 13.4442921697085
        }
      }
    },
    "icon": "https://maps.gstatic.com/mapfiles/place_api/icons/v1/png_71/restaurant-71.png",
    "icon_background_color": "#FF9E67",
    "icon_mask_base_uri": "https://maps.gstatic.com/mapfiles/place_api/icons/v2/restaurant_pinlet",
    "name": "Pizzeria Mona Mia",
    "opening_hours": {
      "open_now": true
    },
    "photos": [
      {
        "height": 1837,
        "html_attributions": [
          "<a href=\"https://maps.google.com/maps/contrib/103394795612676325557\">Pizzeria Mona Mia</a>"
        ],
        "photo_reference": "AfLeUgPVmNoQ-feLL89u6wzsVyz8vnSZJrZZt3zDOxoaxrnZAycw_dQ3VDoKqgPxzBs4epCayKWTBhCFPIHepMpmo9Oha_zMLMQrTkPoFwgFgxF-e6u8mg1WwZ0_Q9RmQ3HoYuITzuS4TmLkphs_bSKb6RhhMmAzXaQ_g6xYH9b_WU5VhW2L",
        "width": 3264
      }
    ],
    "place_id": "ChIJN83D7XlPqEcRHJzi7Svvyt0",
    "plus_code": {
      "compound_code": "FC6W+G6 Berlin, Germany",
      "global_code": "9F4MFC6W+G6"
    },
    "price_level": 1,
    "rating": 4.3,
    "reference": "ChIJN83D7XlPqEcRHJzi7Svvyt0",
    "scope": "GOOGLE",
    "types": [
      "restaurant",
      "food",
      "point_of_interest",
      "establishment"
    ],
    "user_ratings_total": 469,
    "vicinity": "Buschkrugallee 32, Berlin"
  },
  {
    "business_status": "OPERATIONAL",
    "geometry": {
      "location": {
        "lat": 52.4662202,
        "lng": 13.4318178
      },
      "viewport": {
        "northeast": {
          "lat": 52.46760288029149,
          "lng": 13.4332748802915
        },
        "southwest": {
          "lat": 52.4649049197085,
          "lng": 13.4305769197085
        }
      }
    },
    "icon": "https://maps.gstatic.com/mapfiles/place_api/icons/v1/png_71/restaurant-71.png",
    "icon_background_color": "#FF9E67",
    "icon_mask_base_uri": "https://maps.gstatic.com/mapfiles/place_api/icons/v2/restaurant_pinlet",
    "name": "Tandır Restaurant",
    "opening_hours": {
      "open_now": true
    },
    "photos": [
      {
        "height": 3024,
        "html_attributions": [
          "<a href=\"https://maps.google.com/maps/contrib/112507729422169518472\">Hassan Akhtar</a>"
        ],
        "photo_reference": "AfLeUgOo6uPdFY7Ce21wNeEe5rpmycVylk3DHW2DbJOUAAxTQGLFHfxJsSygc6w4o-aIazLVSwe2dW0ckaqEGoj3ldLLWT2qO0s14L0eWCNeZemql3ig_bSOybQQhMJ7YdQGbS6lF12OF-kJQkgLcETTzcDw-5jDE-fkdsHwVkTsXqswVVcz",
        "width": 4032
      }
    ],
    "place_id": "ChIJOXQNoZtPqEcRUXnQMEnj4Rc",
    "plus_code": {
      "compound_code": "FC8J+FP Berlin, Germany",
      "global_code": "9F4MFC8J+FP"
    },
    "price_level": 2,
    "rating": 4.2,
    "reference": "ChIJOXQNoZtPqEcRUXnQMEnj4Rc",
    "scope": "GOOGLE",
    "types": [
      "restaurant",
      "food",
      "point_of_interest",
      "establishment"
    ],
    "user_ratings_total": 584,
    "vicinity": "Hermannstraße 117, Berlin"
  },
  {
    "business_status": "OPERATIONAL",
    "geometry": {
      "location": {
        "lat": 52.47515310000001,
        "lng": 13.4396855
      },
      "viewport": {
        "northeast": {
          "lat": 52.4764969302915,
          "lng": 13.4411066302915
        },
        "southwest": {
          "lat": 52.4737989697085,
          "lng": 13.4384086697085
        }
      }
    },
    "icon": "https://maps.gstatic.com/mapfiles/place_api/icons/v1/png_71/restaurant-71.png",
    "icon_background_color": "#FF9E67",
    "icon_mask_base_uri": "https://maps.gstatic.com/mapfiles/place_api/icons/v2/restaurant_pinlet",
    "name": "Yücel Kebab Restaurant",
    "opening_hours": {
      "open_now": true
    },
    "photos": [
      {
        "height": 1080,
        "html_attributions": [
          "<a href=\"https://maps.google.com/maps/contrib/105732935978967021265\">Mehmet Oğuz</a>"
        ],
        "photo_reference": "AfLeUgO9Q3zEkI9zlX6YLTrEDcCzYY1eqx1pJOOEvKrFLKOZ6YHOTjhfzxlMTh5bZwtl4zZ6xkyEv4rcUYKlUuWm27pCSB-JJ_UGAJ_wTsUms_KxmN9jdHABUf4DUAUxLQcmakdtcQCk5yWkdqGQK-lLjmnj29SnmBA0PQGFbi8CZxY6iJCJ",
        "width": 1920
      }
    ],
    "place_id": "ChIJKbEe7aFPqEcRVHRaOI_W93E",
    "plus_code": {
      "compound_code": "FCGQ+3V Berlin, Germany",
      "global_code": "9F4MFCGQ+3V"
    },
    "price_level": 1,
    "rating": 4.2,
    "reference": "ChIJKbEe7aFPqEcRVHRaOI_W93E",
    "scope": "GOOGLE",
    "types": [
      "meal_takeaway",
      "restaurant",
      "food",
      "point_of_interest",
      "establishment"
    ],
    "user_ratings_total": 469,
    "vicinity": "Karl-Marx-Straße 166, Berlin"
  },
  {
    "business_status": "OPERATIONAL",
    "geometry": {
      "location": {
        "lat": 52.455209,
        "lng": 13.4448448
      },
      "viewport": {
        "northeast": {
          "lat": 52.4564578302915,
          "lng": 13.4462289302915
        },
        "southwest": {
          "lat": 52.45375986970851,
          "lng": 13.4435309697085
        }
      }
    },
    "icon": "https://maps.gstatic.com/mapfiles/place_api/icons/v1/png_71/restaurant-71.png",
    "icon_background_color": "#FF9E67",
    "icon_mask_base_uri": "https://maps.gstatic.com/mapfiles/place_api/icons/v2/restaurant_pinlet",
    "name": "Gallo Nero",
    "opening_hours": {
      "open_now": true
    },
    "photos": [
      {
        "height": 3024,
        "html_attributions": [
          "<a href=\"https://maps.google.com/maps/contrib/108296768945670465455\">Rainer Ostertag</a>"
        ],
        "photo_reference": "AfLeUgPj0XIOWd7EFD-cwMSGbwyICOXq4mBHrgAuXUeHcvsv8RJ1f_nXxvyghx6Iz053SPHiGkuMbFkdHp0wXHdVHju96G6U-GP5kv_RhTVyGzpSfBOBr1vsOmKA7chKCNbzspaL19ms8XFnNBKc65ybiHjNwYsIrkAfdzo9gFKDYcg1Uknt",
        "width": 4032
      }
    ],
    "place_id": "ChIJZx9OO3xPqEcRZnp6Jw3JyRk",
    "plus_code": {
      "compound_code": "FC4V+3W Berlin, Germany",
      "global_code": "9F4MFC4V+3W"
    },
    "price_level": 2,
    "rating": 4.5,
    "reference": "ChIJZx9OO3xPqEcRZnp6Jw3JyRk",
    "scope": "GOOGLE",
    "types": [
      "restaurant",
      "food",
      "point_of_interest",
      "establishment"
    ],
    "user_ratings_total": 547,
    "vicinity": "Hannemannstraße 34, Berlin"
  },
  {
    "business_status": "OPERATIONAL",
    "geometry": {
      "location": {
        "lat": 52.4656059,
        "lng": 13.4325993
      },
      "viewport": {
        "northeast": {
          "lat": 52.46704548029149,
          "lng": 13.4338475802915
        },
        "southwest": {
          "lat": 52.4643475197085,
          "lng": 13.4311496197085
        }
      }
    },
    "icon": "https://maps.gstatic.com/mapfiles/place_api/icons/v1/png_71/restaurant-71.png",
    "icon_background_color": "#FF9E67",
    "icon_mask_base_uri": "https://maps.gstatic.com/mapfiles/place_api/icons/v2/restaurant_pinlet",
    "name": "Pho Phan",
    "opening_hours": {
      "open_now": true
    },
    "photos": [
      {
        "height": 2269,
        "html_attributions": [
          "<a href=\"https://maps.google.com/maps/contrib/107363116020679925380\">Pho Phan</a>"
        ],
        "photo_reference": "AfLeUgPx8XaEpO6e3cBkLTbl6z462lYLYfZYcaFq2UKAGxkHcINhLSF2MmiBznSafU4HRhaqH9TNFRHyV0S1ic3z5v7KZIJP6GQqhMaoQC6QLfqBUQtfVm4A4fEuX89CfSC8IT75mOd6rV3MGeFNySBgyfeCF2PqXKhTsp1FvKyC_GAPM5lO",
        "width": 4032
      }
    ],
    "place_id": "ChIJScNbb5tPqEcRcVs-V5hxjLQ",
    "plus_code": {
      "compound_code": "FC8M+62 Berlin, Germany",
      "global_code": "9F4MFC8M+62"
    },
    "price_level": 1,
    "rating": 4.4,
    "reference": "ChIJScNbb5tPqEcRcVs-V5hxjLQ",
    "scope": "GOOGLE",
    "types": [
      "restaurant",
      "food",
      "point_of_interest",
      "establishment"
    ],
    "user_ratings_total": 984,
    "vicinity": "Hermannstraße 151, Berlin"
  },
  {
    "business_status": "OPERATIONAL",
    "geometry": {
      "location": {
        "lat": 52.46568800000001,
        "lng": 13.4320435
      },
      "viewport": {
        "northeast": {
          "lat": 52.4670786802915,
          "lng": 13.4335256802915
        },
        "southwest": {
          "lat": 52.46438071970851,
          "lng": 13.4308277197085
        }
      }
    },
    "icon": "https://maps.gstatic.com/mapfiles/place_api/icons/v1/png_71/restaurant-71.png",
    "icon_background_color": "#FF9E67",
    "icon_mask_base_uri": "https://maps.gstatic.com/mapfiles/place_api/icons/v2/restaurant_pinlet",
    "name": "Asude",
    "opening_hours": {
      "open_now": true
    },
    "photos": [
      {
        "height": 447,
        "html_attributions": [
          "<a href=\"https://maps.google.com/maps/contrib/101772010017395726373\">Asude Yemek Dünyası</a>"
        ],
        "photo_reference": "AfLeUgPtom2DB34N6Zb450MvA5AkNj8yhUOmuBV709Ncoxb55Xg-T54qS69hDttBMBUqaglqhVi2Um3-NWgnufdHd_dBoAbRMm3QgJBzFjjzGHFiY6pp6PPjkYyERY1-FgiJD4qxmsDuYRhjSbnUX20k7DmU8gSDO3T811GT697qDXjOZzO-",
        "width": 800
      }
    ],
    "place_id": "ChIJH3GIbJtPqEcRiGkSKyp4LIk",
    "plus_code": {
      "compound_code": "FC8J+7R Berlin, Germany",
      "global_code": "9F4MFC8J+7R"
    },
    "price_level": 1,
    "rating": 4.4,
    "reference": "ChIJH3GIbJtPqEcRiGkSKyp4LIk",
    "scope": "GOOGLE",
    "types": [
      "meal_takeaway",
      "restaurant",
      "food",
      "point_of_interest",
      "establishment"
    ],
    "user_ratings_total": 1154,
    "vicinity": "Hermannstraße 120, Berlin"
  }
]
chronark commented 1 year ago

Thanks, we'll fix that