Eric Lippmann
f8295ea825
Revert "Fix menu flickering on reload and broken layout w/o JS"
...
This reverts commit 3b06f06a04
.
Breaks announcements.
2018-11-20 10:17:27 +01:00
Eric Lippmann
3b06f06a04
Fix menu flickering on reload and broken layout w/o JS
...
fixes #3629
fixes #3630
2018-11-20 10:06:41 +01:00
Eric Lippmann
f0f9ab0eb7
JS: Simplify Date.isDst()
2018-11-16 09:00:32 +01:00
Eric Lippmann
fbc7598a6b
JS: Simplify Date.getStdTimezoneOffset()
...
refs #3607
2018-11-16 09:00:32 +01:00
h0rmiga
d9b337a213
JS: Fix DST detection
...
refs #3607
Signed-off-by: Eric Lippmann <eric.lippmann@icinga.com>
2018-11-16 09:00:19 +01:00
Florian Strohmaier
d1cbc4b05c
JS: Remove excessive scroll events
2018-10-16 15:41:33 +02:00
Eric Lippmann
84e0c0c4fb
Merge pull request #3518 from Icinga/fix/anchor-navigation-not-working-3492
...
loader.js: Make anchor navigation working again
2018-07-16 10:00:35 +02:00
Johannes Meyer
5f4aa1e296
loader.js: Make anchor navigation working again
...
fixes #3492
2018-07-10 10:50:31 +02:00
Eric Lippmann
d18d05ccee
Introduce ApplicationStateHook
...
refs #2835
2018-07-09 16:28:25 +02:00
Johannes Meyer
990df95f36
loader.js: Allow to force HTTP to be used for JS redirection
2018-07-04 14:44:03 +02:00
Johannes Meyer
9294c830f8
tipsy: Don't use opacity but rgba to avoid having transparent text
...
refs #3418
2018-04-26 13:39:50 +02:00
Eric Lippmann
7fc9d7995f
Merge pull request #3425 from Icinga/fix/avoid-unnecessary-search-requests-3348
...
Don't search as long as the user is typing
2018-04-25 03:08:47 -04:00
Johannes Meyer
c2b3bbb87b
events.js: Don't search as long as the user is typing
...
500ms is for the average typist. Still fast enough, imho.
refs #3348
2018-04-24 12:33:04 +02:00
Johannes Meyer
9857021d2c
Revert "loader.js: place focus at the end of text inputs"
...
This reverts commit d1fd7e4be7
.
Browsers seem to do this on their own natively. Way better.
refs #3348
2018-04-24 11:18:10 +02:00
Alexander A. Klimov
41b105136d
Preserve collapsed FilterEditor subtrees across auto-refreshes
...
refs #2964
2018-04-06 13:54:51 +02:00
Alexander A. Klimov
38438449e4
Revert "Performance data: render pie charts without freezing the UI"
...
This reverts commit f2b2b6a91a
.
refs #3344
2018-04-06 09:36:24 +02:00
Johannes Meyer
7483a168f9
actiontable.js: Use `event.currentTarget` instead of the closest tr
...
This event is triggered due to delegation. If any onclick event is able
to bubble up this far that it gets triggered we can safely use whatever
it has been triggered for. (i.e. it can only be a tr[href])
refs #3298
2018-01-22 13:23:28 +01:00
lippserd
0b9ae48530
Merge pull request #3288 from Icinga/bugfix/performance-problem-lots-of-performance-data-2894
...
Performance data: render pie charts without freezing the UI
2018-01-19 16:16:54 +01:00
Alexander A. Klimov
f2b2b6a91a
Performance data: render pie charts without freezing the UI
...
refs #2894
2018-01-19 16:14:42 +01:00
Alexander A. Klimov
68870ca411
Icinga.Loader.prototype.renderContentToContainer(): preserve scroll position despite the focus
2018-01-19 15:32:54 +01:00
lippserd
f92c35c193
Merge pull request #3262 from Icinga/bugfix/browser-history-multiple-columns-2779
...
Make navigation via browser history working as expected
2018-01-17 12:03:03 +01:00
Alexander A. Klimov
5a7ecb825a
Drop unneccessary browser history steps
...
... which are non-desired columns contents combinations
refs #2779
2018-01-16 12:25:22 +01:00
Alexander A. Klimov
1f61744b57
Make search reset control working across auto-refresh
...
refs #2753
2018-01-15 15:09:50 +01:00
lippserd
83faa2671c
Merge pull request #3174 from Icinga/fix/fullscreen-layout
...
Don't discard fullscreen when detecting the layout
2017-12-15 10:13:05 +01:00
Eric Lippmann
cb83a7dea3
JS: Always request application-state
...
Icinga Web 2 version 2.5.0 suspends auto-refresh if the tab is inactive.
This also pauses the application-state requests which are intended to refresh the session and announcements.
If a tab is inactive for longer than the PHP session timeout (session.gc_maxlifetime in php.ini), users are automatically logged out.
With this patch Web 2 will always request application-state. Even if auto-refresh is disabled.
2017-12-04 14:25:23 +01:00
Eric Lippmann
e77c3c8169
Don't take fullscreen into account when detecting the layout
...
The fullscreen-layout class is just a layout modifier.
2017-11-29 15:12:51 +01:00
Alexander A. Klimov
48133aae91
Flyover: select #main instead of div#main
2017-11-27 16:51:55 +01:00
Alexander A. Klimov
59054dd01c
Collapse all expanded flyovers on any click not inside any flyover
2017-11-27 16:35:18 +01:00
Alexander A. Klimov
8afd2f8a32
Handle multiple toggles per flyover
2017-11-27 16:32:52 +01:00
Eric Lippmann
47ca9bd32f
JS: Fix sidebar position
2017-11-27 15:12:15 +01:00
lippserd
8f1f8d4471
Merge pull request #3100 from Icinga/feature/expandable-content
...
Implement persistent "Show more" spoilers
2017-11-27 14:44:15 +01:00
Alexander A. Klimov
6409bdc074
Implement persistent "Show more" spoilers
2017-11-27 14:18:42 +01:00
Thomas Gelf
cc41fc25f3
js, layout: detect initial layout on load
...
fixes #3107
2017-11-27 13:45:43 +01:00
Eric Lippmann
459768ba4e
Fix JS issues with our new menu
2017-11-27 13:26:28 +01:00
Eric Lippmann
544e92ac4a
Fix issues w/ scrollbars in the menu
2017-11-27 13:26:23 +01:00
Eric Lippmann
4c32935c48
Increase header logo height
2017-11-21 23:04:12 +01:00
Florian Strohmaier
147587da90
Allow to collapse/expand the sidebar via a toggle button at the bottom of the sidebar
2017-11-21 23:04:12 +01:00
Eric Lippmann
807fbdb131
Reduce flyout menu JS complexity
2017-11-21 23:04:12 +01:00
Alexander A. Klimov
bc4b9fb4e0
Make flyover responsive
2017-11-21 18:11:05 +01:00
lippserd
df1e7683c8
Merge pull request #3041 from Icinga/feature/auto-detaching-dom-elements-3039
...
Implement auto-detaching DOM elements
2017-11-21 16:48:59 +01:00
Alexander A. Klimov
e9c189fa38
Close all flyovers on click outside a flyover
2017-11-21 16:37:52 +01:00
lippserd
7fd9f23f6c
Merge pull request #3116 from Icinga/fix/no-debug-rendering-while-disabled-3115
...
icinga/ui.js: don't spend time for UI debug...
2017-11-21 14:09:12 +01:00
Alexander A. Klimov
c7ffb41b02
Implement togglable flyover
...
refs #3024
2017-11-21 14:05:12 +01:00
Alexander A. Klimov
b000c1ae4a
Implement auto-detaching DOM elements
...
refs #3039
2017-11-21 13:17:55 +01:00
Thomas Gelf
0edcfdee33
icinga/ui.js: don't spend time for UI debug...
...
...while not being shown.
fixes #3115
2017-11-21 12:27:15 +01:00
lippserd
27867494ff
Merge pull request #2798 from towolf/suspend-autorefresh-when-invisible
...
Disable auto-refresh when page is not visible
2017-11-06 09:48:31 +01:00
Jennifer Mourek
3a8ba39abd
Disable auto-refresh when page is not visible
...
credits to @towolf
Icinga offers the user to enable or disable 'auto-refresh' with a
static preference.
But 'auto-refresh' is the default and our users often have dozens of
Icinga tabs open in their browser, which they are not looking at.
The background tabs lead to significant load on the database to to
repeated queries to keep the invisible UI fresh.
This change adds a visibility listener, which disables auto-refresh when the
page is not visible.
refs #2761
2017-10-26 13:53:25 +02:00
Florian Strohmaier
aab32214d6
JS: Close menu correctly after searching on iOS
...
fixes #2922
2017-09-21 17:52:51 +02:00
Eric Lippmann
fe12ed05e3
Fix menu height when switching back from mobile layout
...
Fixes #2841
2017-07-28 13:44:21 +02:00
Alexander A. Klimov
cb2093513a
Icinga.Timer: use setTimeout() instead of setInterval()
...
refs #11693
2017-02-10 10:14:14 +01:00