Comments (10)
Probably a good thing for brand new Grafana users too (and then keep hiding it once they close it)?
from grafana.
Agreed.
from grafana.
I like his idea too.
Sent from my iPhone
On Apr 29, 2015, at 6:27 PM, Matt [email protected] wrote:
Agreed.
—
Reply to this email directly or view it on GitHub.
from grafana.
It does not make much sense for the state to be open by default for Grafana I think as you seldom need the sidemenu. The sidemenu state is remembered via local storage (browser storage), so the state is remembered when doing full page load.
from grafana.
I agree it shouldn't be open by default. I also agree you seldom need the side menu (especially as the side menu stands now).
I'm not sure if this was @mattttt original intent (I think it was) or what @bulletfactory thought, but let me rephrase what I thought to be the request:
"On first ever login, the side menu bar should be open"
From there, once they closed it for the first time it'd never appear again (even if they logged out and logged back in), unless they opened it up explicitly
It's a one time thing per user the way I imagine it. Not a default. The intent would be to educate the user that it even exists, how to open/close it, and provide a more 'cosy' introduction to their first 5 seconds in Grafana. (eg. help them add datasource, users, which are the first thing new users need to succeed at doing)
And I could be totally butchering @mattttt suggestion into something else, and maybe he did mean default.
And you could still think it's a bad idea for mainline grafana :)
from grafana.
@nopzor1200 no, I agree, that is something I have also felt would be good (that it is open on first login, or first 2 logins)
from grafana.
this looks pretty easy to implement.
just need to change this line to the below.
https://github.com/grafana/grafana/blob/master/public/app/services/contextSrv.js#L48
this.sidemenu = store.getBool('grafana.sidemenu', true);
This will set the sidemenu to open if the the users local browser storage does not yet have any value stored.
from grafana.
It's not quite the ideal scenario but it's an improvement (It doesn't actually allow for only showing the sidemenu for the first 1 or 2 logins during the lifetime of the user. It just changes the default state)
Let's make this change for raintank/grafana for now, especially since I think we'll be using the sidebar for more stuff imminently..
from grafana.
submitted PR upstream for this.
from grafana.
commits merged upstream.
from grafana.
Related Issues (20)
- separate out raintank's metric package out of grafana into standalone HOT 3
- Better wrappping in Endpoint List panel
- loading dashboard right after adding endpoint will never show the data HOT 3
- Litmus Events: Template Variable values not being populated HOT 2
- alerting does not work with latest graphite-raintank/metric-tank HOT 9
- periodic high CPU usage due to refreshing collectors
- litmus Events dashboard needs to specify datasource for template variable queries
- events stored in new per-day indexes not searchable
- contextcache: assignment to nil map
- 500 Internal Server Error ! HOT 2
- log graphite queries
- Litmus Endpoint Config: Grafana Save Menu Triggered w/ No Changes HOT 3
- Litmus Event Panel Needs to work!! HOT 3
- alert executors should drop outdated jobs HOT 3
- collectorcontroller should validate and possibly reject incoming data HOT 1
- adjust time selection options HOT 2
- lower default maxdatapoints HOT 9
- text input fields need their size checked before writting to the DB
- rabbitmq dies -> grafana reconnects but doesn't start consumption
- The master branch is stable? We maybe to use it in the production environment HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from grafana.