Commit Graph

543 Commits (dc95ca2b6e7f2ff685bb11f79da9d4eb926c2f13)

Author SHA1 Message Date
Will Piers afd636d174 Fix bug that stopped apps from displaying 2016-12-05 16:54:11 -08:00
Tim Raymond 7b0f2d93e6 Merge 'master' into feature/tr-search-by-tag
Conflicts:
-  ui/src/hosts/components/HostsTable.js

Concurrent design changes happened alongside some performance
improvements.
2016-12-02 15:14:42 -05:00
Will Piers a989828591 Refactor HostsTable for fun and SPEED 2016-12-01 16:46:19 -08:00
Andrew Watkins 312e4f6da2 Merge pull request #632 from influxdata/layout-y-ranges-labels
Layout y ranges labels
2016-12-01 11:42:15 -08:00
Tim Raymond 2ad07760a2 Add ability to filter by tags on hosts
If users have hosts with tags specifying things like fstype=ext3, they
want to be able to filter by that. To facilitate this, we have to
perform additional parsing of the series that we get back from the
initial `SHOW SERIES` that we issue to figure out the apps for hosts.

This is parsed out into an object with a shape like:

```
{
   "measurement" : "foo",
   "tags" : {
      "host" : "skeletor",
      "cpu" : "cpu",
      "fstype" : "overlay"
   }
}
```

The host is extracted and used for looking up apps as before, however
now all tags are also assigned to that host as well. These are then
filtered against in SearchBar.

Performance is less than ideal with large numbers of hosts, causing page
lockup for about 1s each type a character is typed. The `render`
function of HostTable.js is approximately 300ms in some profiles that
I've taken, which seems very high. Upon further investigation, it seems
like `filterHosts` only takes approx 20ms in profiles taken, so the
issue appears to be the render path and not related to this patch.
2016-12-01 11:28:30 -05:00
Alex P 6cc430d4ed Minor cosmetic change on actions in the sessions dropdown 2016-11-30 18:49:00 -08:00
Alex P edf43be484 Dark create first source page 2016-11-30 17:26:36 -08:00
Alex P 08ae33bac5 UI microcopy tweak
Letting users know filtering only works on the Name column in the table
2016-11-30 17:16:41 -08:00
Alex P a67d92aa06 User Search Widget polish
Had some UI bugs, looks better now
2016-11-30 17:15:08 -08:00
Alex P 9d20adda8a Hosts Table UI Polish
- 1 Host has no S on the end
- No hosts shows loading state
2016-11-30 17:03:28 -08:00
Alex P 40c3771223 Source Mgmt. Layout Polish 2016-11-30 16:42:45 -08:00
Alex P 2a14d37f16 Custom Default Source Label 2016-11-30 16:30:34 -08:00
Alex P 92fc68195b Moving dark panel styles into dark theme sheet 2016-11-30 16:30:22 -08:00
Alex P c4bfda14bb Replace Edit & Delete w/ Icons
more compact, don’t need text label to understand
2016-11-30 16:29:53 -08:00
Alex P 78c131c6cf Dark Modal Styles 2016-11-30 16:29:30 -08:00
Alex P 574f8c2d8d Fixing dropdown item hover state UI bug 2016-11-30 15:30:32 -08:00
Alex P fbe272eb14 Dropdown menu polish
dropdown actions are included
2016-11-30 15:26:14 -08:00
Alex P 5809476360 Forgot to remove this reference 2016-11-30 15:06:44 -08:00
Andrew Watkins 5470726ca1 Refactor more for more fun and more profit
Signed-off-by: Will Piers <willpiers@influxdb.com>
2016-11-30 15:05:51 -08:00
Alex P abb5409adb Refactor DE Sessions Dropdown
Making the “actions” option generic and a part of generic dropdown
styles. No longer located in the DE header file
2016-11-30 15:00:03 -08:00
Alex P 90c9905afc Removing commented out UI
No plans to build this stuff any time soon
2016-11-30 14:59:00 -08:00
Alex P 0fb483d40e Removing unused file 2016-11-30 14:56:31 -08:00
Will Piers a7f3d394da Update range and labels for new layout shape 2016-11-30 14:13:15 -08:00
Andrew Watkins cdf5bfb1e0 Fix broken test
Signed-off-by: Will Piers <willpiers@influxdb.com>
2016-11-30 14:13:15 -08:00
Andrew Watkins 478be6e6ae Handle multiple ranges supplied by layout 2016-11-30 14:13:15 -08:00
Andrew Watkins ec61046d8c Add dygraphSeries prop 2016-11-30 14:13:15 -08:00
Andrew Watkins 33eb58e383 Remove prop requirement' 2016-11-30 14:13:15 -08:00
Andrew Watkins 8536f9d264 Rename fields to labels
What we where calling fields in timeSeriesToDygraph is really
a dygraph concept called labels.  Simply put, labels are the strings
used in a legend to identify a series.  Naming them fields was a bit
confusing as they are really an amalgomation of measurements, fields,
and tags.
2016-11-30 14:13:15 -08:00
Andrew Watkins 3644ab7fd9 Remove requirement from rp prop 2016-11-30 14:13:15 -08:00
Andrew Watkins db0a4cc5fd Handle multiple y-axes legend labels 2016-11-30 14:13:15 -08:00
Will Piers 289c7e00f5 Refactor for fun and profit 2016-11-30 14:12:56 -08:00
Will Piers bf4efeefc9 Add Y-labels to graphs 2016-11-30 14:04:32 -08:00
Alex P 89d3b3ea7e Merge branch 'master' into all-dark-ui 2016-11-30 12:32:05 -08:00
Alex P db177fbcbc Proper cursor on editable rule name 2016-11-30 12:31:43 -08:00
Alex P d54f986eb3 Pencil icon next to editable name on Rule Builder 2016-11-30 12:29:11 -08:00
Alex P 25801a5f16 Removing previous overrides for Kapacitor themed forms
Using modifier classes defined in theme-dark instead
2016-11-30 12:28:56 -08:00
Alex P 5fb23272c0 Kapacitor Theme Inputs 2016-11-30 12:10:20 -08:00
Alex P 35c6cf3fef Code styles for dark theme 2016-11-30 12:08:22 -08:00
Will Piers 3ef3644d6a Merge pull request #630 from influxdata/edit-telegraf
Fix uneditable telegraf text input
2016-11-30 12:02:26 -08:00
Alex P 8f6d8b7956 Removing custom dropdown styles from DE sheets
- These will be in theme-dark.scss and not scoped to the DE
- Less is more
2016-11-30 11:52:52 -08:00
Alex P 0be72ddd0d Removing unused styles 2016-11-30 11:51:38 -08:00
Alex P 9778c84e0f Dark Theme styles have their own sheet
Trying to clean things up
2016-11-30 11:51:24 -08:00
Andrew Watkins f808a49aa2 Use defaultValue prop 2016-11-30 10:03:06 -08:00
Nathan Haugo 360819bc27 Merge pull request #573 from influxdata/bugfix/tr-layouts
Fix template layout ordering
2016-11-30 05:20:01 -08:00
Alex P e37183a1f6 Rule builder has a green scrollbar 2016-11-29 23:34:59 -08:00
Alex P 20f338118e Theme options for page-contents scrollbar 2016-11-29 23:30:12 -08:00
Alex P 43360a0530 New dark form styles & cleaned up layouts for alert configs 2016-11-29 17:45:46 -08:00
Alex P 119bb8d9f2 Removing unused styles 2016-11-29 15:52:03 -08:00
Alex P d767264ac5 Flash Messages have their own stylesheet
They were searching for a home for so long, I felt bad
2016-11-29 15:42:20 -08:00
Alex P a9ac8e4bd0 Removing some unused styles
Lots of vestigial madness in here
2016-11-29 15:41:49 -08:00