PromucFlow_constructor/app/client/src/widgets/MapWidget
Shrikant Sharat Kandula bb4ca19179
chore: Remove Maps API Key env variable for client (#19486)
Part of #11855.

Instead of getting the Google Maps API Key from runtime env variables,
we get it from the server, as part of the response of
`/api/v1/tenant/current`. This doesn't add a database call, just include
the env variable name in the response, so shouldn't have any performance
impact on the API.

On the client though, the Maps API key won't be available, until at
least the first call to `/tenant/current` is finished.

Also, first big PR in client code. 🙂

Edit: not `/me` anymore, but from `/tenant/current`.

---------

Co-authored-by: Pawan Kumar <pawan.stardust@gmail.com>
Co-authored-by: Aishwarya UR <aishwarya@appsmith.com>
2023-02-07 14:53:15 +05:30
..
component fix: v.1.9.5 Map Widget can't choose color on Markers and Unresponsive on updating (by requerying) (#20274) 2023-02-07 14:21:19 +05:30
widget chore: Remove Maps API Key env variable for client (#19486) 2023-02-07 14:53:15 +05:30
constants.ts fix: v.1.9.5 Map Widget can't choose color on Markers and Unresponsive on updating (by requerying) (#20274) 2023-02-07 14:21:19 +05:30
icon.svg feat: Appsmith design system changes (#8125) 2021-10-04 21:04:37 +05:30
index.ts fix: Theme Stylesheet refactor (#18258) 2022-11-28 10:14:31 +05:30