digma-ai / digma-ui

MIT License
3 stars 1 forks source link

Update environment "How to instrument" panel layout and text #850

Closed doppleware closed 4 months ago

doppleware commented 4 months ago

There are two layouts, one for private environments and one for public environments.

Prerequisites: Add to run config should not use environment id, instead, it should do the following:

Private environment layout here:

https://www.figma.com/design/MxA95ZHK5NqGX4ptFQljRJ/%E2%AD%90-Design-System-3.0?node-id=7694-114747&t=x5cWZ0UdPEsY0AO3-4

On the left panel, we need to change the env variable example to be the same as what we do today with "Set active run config"

image.png

If the environment is already or was just set by the user for the current run config, instead of the button we show an indicator that the environment is active and a link to remove it.

image.png

Public environment layout here:

https://www.figma.com/design/MxA95ZHK5NqGX4ptFQljRJ/%E2%AD%90-Design-System-3.0?node-id=7708-114876&t=x5cWZ0UdPEsY0AO3-4

doppleware commented 4 months ago

The link for the docs: https://docs.digma.ai/digma-developer-guide/instrumentation/spring-spring-boot-dropwizard-and-default/instrumenting-your-code-in-ci-staging-or-the-terminal