Skip to content

sidebar-info update - DB engine#6744

Merged
jacekkolasa merged 7 commits intonetdata:masterfrom
jacekkolasa:sidebar-dbengine-conditional
Sep 12, 2019
Merged

sidebar-info update - DB engine#6744
jacekkolasa merged 7 commits intonetdata:masterfrom
jacekkolasa:sidebar-dbengine-conditional

Conversation

@jacekkolasa
Copy link
Copy Markdown
Contributor

solves #6734

Summary

User should not see the DB tip on the sidebar, when he/she already configured db engine. (on the host level, for now)
Additionally, Netdata is using ** of memory on **for ** minutes and ** seconds of real-time history. sentence should be removed

Component Name

Web

mfundul
mfundul previously approved these changes Sep 2, 2019
vlvkobal
vlvkobal previously approved these changes Sep 2, 2019
thiagoftsm
thiagoftsm previously approved these changes Sep 2, 2019
Copy link
Copy Markdown
Contributor

@thiagoftsm thiagoftsm left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi @jacekkolasa ,

I tested now the changes that you did using FreeBSD 12.0-release-p10 and dbengine, everything worked as expected where we had the new variable present in the report and the JS did not report any error, so LGTM! :)

@jacekkolasa jacekkolasa dismissed stale reviews from thiagoftsm, vlvkobal, and mfundul via 5909526 September 3, 2019 10:06
@jacekkolasa jacekkolasa force-pushed the sidebar-dbengine-conditional branch from df3dae8 to 95db5ff Compare September 5, 2019 10:11
@jacekkolasa jacekkolasa changed the title [WiP] sidebar-info update - DB engine sidebar-info update - DB engine Sep 5, 2019
Comment thread web/gui/main.js Outdated
@thiagoftsm thiagoftsm self-requested a review September 11, 2019 17:34
thiagoftsm
thiagoftsm previously approved these changes Sep 11, 2019
Copy link
Copy Markdown
Contributor

@thiagoftsm thiagoftsm left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I have tested this PR again, this time on Slackware current and I verified that it is working well.

Congratulations @jacekkolasa !

Copy link
Copy Markdown

@vlegakis vlegakis left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM.
Just a note only: perhaps we could introduce a more automated cache buster-versioning system.

Comment thread web/gui/index.html
<meta name="twitter:image" content="https://cloud.githubusercontent.com/assets/2662304/14092712/93b039ea-f551-11e5-822c-beadbf2b2a2e.gif" />

<script src="main.js?v20190902-0"></script>
<script src="main.js?v20190905-0"></script>
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice! Perhaps we could introduce a mode standard and more automated cache buster logic though, like we do in the cloud (console project)

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thanks for mentioning that, i'll check current cloud solutions. i think we can think about cache when we'll do build/compile task for the new dashboard

@jacekkolasa jacekkolasa merged commit 788fbb2 into netdata:master Sep 12, 2019
@jacekkolasa jacekkolasa deleted the sidebar-dbengine-conditional branch September 12, 2019 13:35
Saruspete pushed a commit to Saruspete/netdata that referenced this pull request Oct 9, 2019
* remove "Netdata is using # MB of memory on HOSTNAME for # hour, # minutes, and # seconds of real-time history."

* Added "memory_mode" key to the get "charts" API call

* don't show db engine tip when user has it already installed

* add back hostname information

* add oxford comma (only for db-engine users)

* update main.js hash

* <b> --> <strong> (but only in sidebar info, main.js)
jackyhuang85 pushed a commit to jackyhuang85/netdata that referenced this pull request Jan 1, 2020
* remove "Netdata is using # MB of memory on HOSTNAME for # hour, # minutes, and # seconds of real-time history."

* Added "memory_mode" key to the get "charts" API call

* don't show db engine tip when user has it already installed

* add back hostname information

* add oxford comma (only for db-engine users)

* update main.js hash

* <b> --> <strong> (but only in sidebar info, main.js)
Saruspete pushed a commit to Saruspete/netdata that referenced this pull request May 21, 2020
* remove "Netdata is using # MB of memory on HOSTNAME for # hour, # minutes, and # seconds of real-time history."

* Added "memory_mode" key to the get "charts" API call

* don't show db engine tip when user has it already installed

* add back hostname information

* add oxford comma (only for db-engine users)

* update main.js hash

* <b> --> <strong> (but only in sidebar info, main.js)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants