appsmithorg / appsmith

Platform to build admin panels, internal tools, and dashboards. Integrates with 25+ databases and any API.
https://www.appsmith.com
Apache License 2.0
33.95k stars 3.66k forks source link

[Bug]: Datasource Environment Selector Not Appearing in Deployed Version of App #31266

Open dzelemba opened 7 months ago

dzelemba commented 7 months ago

Is there an existing issue for this?

Description

According to the docs -- https://docs.appsmith.com/connect-data/how-to-guides/setup-datasource-environments#switch-environments :

In addition, users with the necessary permissions can also switch to the Staging environment configuration when accessing the app in View mode. For more information on permissions, you can refer to the [Granular Access Control](https://docs.appsmith.com/advanced-concepts/granular-access-control).

However, I don't see any selector in the View mode for switching environments. I'm assuming that since I can Edit the app I should have the permissions to switch datasources.

Steps To Reproduce

  1. Open any app that has multiple enviornments configured
  2. Open that app in view mode
  3. There is no selector to switch environments

Public Sample App

No response

Environment

Production

Issue video log

https://www.loom.com/share/89371ffff6de43859e4e0829a99f808d

Version

Self Hosted -- Appsmith v1.10

riteshkew commented 7 months ago

@dzelemba Thank you for raising this. Seems like a bug that was introduced with the recent changes. We will try to prioritize and resolve it as soon as possible.

dzelemba commented 6 months ago

Thanks all for taking a look here! Do you have any approximate ETA on the fix? We're just trying to decide how much work to invest in a workaround here.

riteshkew commented 6 months ago

Hey @dzelemba I understand your concern. We have already started triaging this issue and will do our best to publish the fix by next week's release. If not, please anticipate its availability in the subsequent release.

dzelemba commented 6 months ago

Hey folks -- just checking in here :) I see there is a PR out which is exciting to see. But doesn't look like much activity last week.

brayn003 commented 6 months ago

Hey @dzelemba, apologies for the delay. We were just revisiting the logic for the env switcher in view mode. Will push it to release this week.

riteshkew commented 6 months ago

@dzelemba Update on the fix you've been eagerly awaiting. In our latest round of internal testing, we discovered that the fix didn't meet our quality standards due to unforeseen complications arising from our code's complexity. We wanted to reach out proactively to let you know before this became a further concern for you.

We're dedicated to getting this right, which means it'll take a couple more releases to fully address the issue, but our focus is on quality and efficacy. We know this fix is important to you, so if there's anything specific we can do to help in the meantime, please let us know.

Your patience and feedback are invaluable to us as we work to make things right.

dzelemba commented 5 months ago

Hi @riteshkew any updates here?

riteshkew commented 5 months ago

@dzelemba We're still in development and actively working so that it reaches you as soon as possible. Please expect to hear back from us within the next two weeks with some good news. Truly appreciate the patience you have shown all this while here with us.

dzelemba commented 4 months ago

Hi @riteshkew checkingin again :)

riteshkew commented 4 months ago

Hello @dzelemba,

We apolgise for the delay in getting back to you. We genuinely appreciate your patience throughout this process. I understand how frustrating waiting can be, especially when you're looking forward to a resolution.

We have been carefully considering the best approach to handle your request, and unfortunately, we won’t be able to proceed as initially hoped. However, we are committed to finding the best alternative solution for you. To ensure we fully address your concerns and discuss the next steps, could we have a call at your convenience? We aim to resolve this matter to your satisfaction, and speaking directly might be the most effective way to do that. Please use this link for scheduling

Thank you for being so understanding, and I look forward to our conversation.