Skip to content

feat: Hide Dashboard sidebar using user config#521

Merged
davidebriani merged 1 commit intoastarte-platform:masterfrom
AliouneGaye21:hide_sidebar-
Feb 26, 2026
Merged

feat: Hide Dashboard sidebar using user config#521
davidebriani merged 1 commit intoastarte-platform:masterfrom
AliouneGaye21:hide_sidebar-

Conversation

@AliouneGaye21
Copy link
Contributor

@AliouneGaye21 AliouneGaye21 commented Feb 26, 2026

Hide The dashboard sidebar by setting the user config Json UI option to true!

Signed-off-by: Alioune Gaye <alioune.gaye@secomind.com>
@davidebriani davidebriani merged commit 2e2ae59 into astarte-platform:master Feb 26, 2026
4 checks passed
lucamarchiori added a commit to lucamarchiori/astarte-kubernetes-operator that referenced this pull request Mar 4, 2026
PR astarte-platform/astarte-dashboard#521 introduced the ability to hide 
the Astarte Dashboard sidebar by tweaking its configuration. This allows 
the dashboard to be more easily used as an embedded component.

This commit adds an annotation to the Astarte Custom Resource (CR) that 
acts as a feature flag to enable or disable the sidebar display. 

This annotation is a temporary solution to support the feature until it 
is officially added to the Astarte CR specification under the Dashboard 
component section. If the annotation is not set, it defaults to false 
(the sidebar remains visible). No defaulting webhook has been configured 
to automatically populate this annotation on the Astarte CR.

To hide the Dashboard sidebar, set the following on the Astarte CR:
```yaml
annotations:
  api.astarte-platform.org/hide-dashboard-sidebar: "true"
```


Signed-off-by: Luca Marchiori <luca.marchiori@secomind.com>
lucamarchiori added a commit to lucamarchiori/astarte-kubernetes-operator that referenced this pull request Mar 4, 2026
PR astarte-platform/astarte-dashboard#521 introduced the ability to hide 
the Astarte Dashboard sidebar by tweaking its configuration. This allows 
the dashboard to be more easily used as an embedded component.

This commit adds an annotation to the Astarte Custom Resource (CR) that 
acts as a feature flag to enable or disable the sidebar display. 

This annotation is a temporary solution to support the feature until it 
is officially added to the Astarte CR specification under the Dashboard 
component section. If the annotation is not set, it defaults to false 
(the sidebar remains visible). No defaulting webhook has been configured 
to automatically populate this annotation on the Astarte CR.

To hide the Dashboard sidebar, set the following on the Astarte CR:
```yaml
annotations:
  api.astarte-platform.org/hide-dashboard-sidebar: "true"
```


Signed-off-by: Luca Marchiori <luca.marchiori@secomind.com>
lucamarchiori added a commit to lucamarchiori/astarte-kubernetes-operator that referenced this pull request Mar 5, 2026
PR astarte-platform/astarte-dashboard#521 introduced the ability to hide 
the Astarte Dashboard sidebar by tweaking its configuration. This allows 
the dashboard to be more easily used as an embedded component.

This commit adds an annotation to the Astarte Custom Resource (CR) that 
acts as a feature flag to enable or disable the sidebar display. 

This annotation is a temporary solution to support the feature until it 
is officially added to the Astarte CR specification under the Dashboard 
component section. If the annotation is not set, it defaults to false 
(the sidebar remains visible). No defaulting webhook has been configured 
to automatically populate this annotation on the Astarte CR.

To hide the Dashboard sidebar, set the following on the Astarte CR:
```yaml
annotations:
  api.astarte-platform.org/hide-dashboard-sidebar: "true"
```


Signed-off-by: Luca Marchiori <luca.marchiori@secomind.com>
lucamarchiori added a commit to lucamarchiori/astarte-kubernetes-operator that referenced this pull request Mar 5, 2026
PR astarte-platform/astarte-dashboard#521 introduced the ability to hide 
the Astarte Dashboard sidebar by tweaking its configuration. This allows 
the dashboard to be more easily used as an embedded component.

This commit adds an annotation to the Astarte Custom Resource (CR) that 
acts as a feature flag to enable or disable the sidebar display. 

This annotation is a temporary solution to support the feature until it 
is officially added to the Astarte CR specification under the Dashboard 
component section. If the annotation is not set, it defaults to false 
(the sidebar remains visible). No defaulting webhook has been configured 
to automatically populate this annotation on the Astarte CR.

To hide the Dashboard sidebar, set the following on the Astarte CR:
```yaml
annotations:
  api.astarte-platform.org/hide-dashboard-sidebar: "true"
```


Signed-off-by: Luca Marchiori <luca.marchiori@secomind.com>
lucamarchiori added a commit to lucamarchiori/astarte-kubernetes-operator that referenced this pull request Mar 6, 2026
PR astarte-platform/astarte-dashboard#521 introduced the ability to hide 
the Astarte Dashboard sidebar by tweaking its configuration. This allows 
the dashboard to be more easily used as an embedded component.

This commit adds an annotation to the Astarte Custom Resource (CR) that 
acts as a feature flag to enable or disable the sidebar display. 

This annotation is a temporary solution to support the feature until it 
is officially added to the Astarte CR specification under the Dashboard 
component section. If the annotation is not set, it defaults to false 
(the sidebar remains visible). No defaulting webhook has been configured 
to automatically populate this annotation on the Astarte CR.

To hide the Dashboard sidebar, set the following on the Astarte CR:
```yaml
annotations:
  api.astarte-platform.org/hide-dashboard-sidebar: "true"
```


Signed-off-by: Luca Marchiori <luca.marchiori@secomind.com>
lucamarchiori added a commit to lucamarchiori/astarte-kubernetes-operator that referenced this pull request Mar 9, 2026
PR astarte-platform/astarte-dashboard#521 introduced the ability to hide 
the Astarte Dashboard sidebar by tweaking its configuration. This allows 
the dashboard to be more easily used as an embedded component.

This commit adds an annotation to the Astarte Custom Resource (CR) that 
acts as a feature flag to enable or disable the sidebar display. 

This annotation is a temporary solution to support the feature until it 
is officially added to the Astarte CR specification under the Dashboard 
component section. If the annotation is not set, it defaults to false 
(the sidebar remains visible). No defaulting webhook has been configured 
to automatically populate this annotation on the Astarte CR.

To hide the Dashboard sidebar, set the following on the Astarte CR:
```yaml
annotations:
  api.astarte-platform.org/hide-dashboard-sidebar: "true"
```


Signed-off-by: Luca Marchiori <luca.marchiori@secomind.com>
lucamarchiori added a commit to lucamarchiori/astarte-kubernetes-operator that referenced this pull request Mar 9, 2026
PR astarte-platform/astarte-dashboard#521 introduced the ability to hide 
the Astarte Dashboard sidebar by tweaking its configuration. This allows 
the dashboard to be more easily used as an embedded component.

This commit adds an annotation to the Astarte Custom Resource (CR) that 
acts as a feature flag to enable or disable the sidebar display. 

This annotation is a temporary solution to support the feature until it 
is officially added to the Astarte CR specification under the Dashboard 
component section. If the annotation is not set, it defaults to false 
(the sidebar remains visible). No defaulting webhook has been configured 
to automatically populate this annotation on the Astarte CR.

To hide the Dashboard sidebar, set the following on the Astarte CR:
```yaml
annotations:
  api.astarte-platform.org/hide-dashboard-sidebar: "true"
```


Signed-off-by: Luca Marchiori <luca.marchiori@secomind.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants