Commit Graph

608 Commits (8be70eb9f3562c6b4eb9084e18a4dca062857ae2)

Author SHA1 Message Date
Jade McGough df47dcd299 fix deletion redux action for sources 2016-12-06 12:02:36 -08:00
Jade McGough 69444c2968 remove unneccessary mapDispatchToProps 2016-12-06 11:55:53 -08:00
Nathan Haugo 08018ea577 Merge pull request #646 from influxdata/redux_sources
store sources in redux
2016-12-06 11:37:24 -08:00
Jade McGough d90d5341c6 clean up sources reducers 2016-12-06 11:30:39 -08:00
Andrew Watkins f541af1471 Merge pull request #642 from influxdata/number-vis-type
Visualization: SINGLE STAT
2016-12-06 11:10:58 -08:00
Andrew Watkins e101559ac8 Update LAYOUT docs and vis type 2016-12-06 10:59:22 -08:00
Jade McGough adbfdde2b8 revert unnecessary change 2016-12-06 10:51:52 -08:00
Jade McGough eb779a01f7 remove git hash 2016-12-06 04:54:42 -08:00
Jade McGough 35b30dd037 store sources in redux 2016-12-06 04:48:01 -08:00
Will Piers 964be56896 Fix bug that stopped apps from displaying 2016-12-05 16:54:11 -08:00
Andrew Watkins 509f0e11da Introduce Single Stat plus Line Graph 2016-12-05 16:15:12 -08:00
Andrew Watkins ee8028e71f Introduce single state component 2016-12-05 14:58:19 -08:00
Andrew Watkins 0c5cea645e Remove require from some props 2016-12-05 14:58:19 -08:00
Will Piers cdd1fa5349 WIP 2016-12-05 14:57:42 -08:00
Tim Raymond 9de7bcf3ce 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 9dc8e02b1d Refactor HostsTable for fun and SPEED 2016-12-01 16:46:19 -08:00
Andrew Watkins e72d8a64b8 Merge pull request #632 from influxdata/layout-y-ranges-labels
Layout y ranges labels
2016-12-01 11:42:15 -08:00
Tim Raymond b7a8ab5ad6 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 598d1898ee Minor cosmetic change on actions in the sessions dropdown 2016-11-30 18:49:00 -08:00
Alex P 12707460f9 Dark create first source page 2016-11-30 17:26:36 -08:00
Alex P 88f1418f2b 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 b8f819291a User Search Widget polish
Had some UI bugs, looks better now
2016-11-30 17:15:08 -08:00
Alex P 39b7657534 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 fdc93d9981 Source Mgmt. Layout Polish 2016-11-30 16:42:45 -08:00
Alex P 99c1c0d26b Custom Default Source Label 2016-11-30 16:30:34 -08:00
Alex P cfb872c389 Moving dark panel styles into dark theme sheet 2016-11-30 16:30:22 -08:00
Alex P 0bf7027629 Replace Edit & Delete w/ Icons
more compact, don’t need text label to understand
2016-11-30 16:29:53 -08:00
Alex P 7255bb37b3 Dark Modal Styles 2016-11-30 16:29:30 -08:00
Alex P 96504b3ff5 Fixing dropdown item hover state UI bug 2016-11-30 15:30:32 -08:00
Alex P 32d8f81f0b Dropdown menu polish
dropdown actions are included
2016-11-30 15:26:14 -08:00
Alex P ad40c1150f Forgot to remove this reference 2016-11-30 15:06:44 -08:00
Andrew Watkins ca7ceac79b 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 6b00a2db77 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 02867f2bc3 Removing commented out UI
No plans to build this stuff any time soon
2016-11-30 14:59:00 -08:00
Alex P 8e6e6b09ba Removing unused file 2016-11-30 14:56:31 -08:00
Will Piers 6360997494 Update range and labels for new layout shape 2016-11-30 14:13:15 -08:00
Andrew Watkins f6e85badf6 Fix broken test
Signed-off-by: Will Piers <willpiers@influxdb.com>
2016-11-30 14:13:15 -08:00
Andrew Watkins 76567e5ee7 Handle multiple ranges supplied by layout 2016-11-30 14:13:15 -08:00
Andrew Watkins 1d6c364165 Add dygraphSeries prop 2016-11-30 14:13:15 -08:00
Andrew Watkins b41fc0bee1 Remove prop requirement' 2016-11-30 14:13:15 -08:00
Andrew Watkins 1046407b5b 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 82168c1f20 Remove requirement from rp prop 2016-11-30 14:13:15 -08:00
Andrew Watkins 8ed8967cb5 Handle multiple y-axes legend labels 2016-11-30 14:13:15 -08:00
Will Piers 33ea32c8b2 Refactor for fun and profit 2016-11-30 14:12:56 -08:00
Will Piers 916b3484ae Add Y-labels to graphs 2016-11-30 14:04:32 -08:00
Alex P c153a50acf Merge branch 'master' into all-dark-ui 2016-11-30 12:32:05 -08:00
Alex P a582f2eff0 Proper cursor on editable rule name 2016-11-30 12:31:43 -08:00
Alex P fd6cac5b1c Pencil icon next to editable name on Rule Builder 2016-11-30 12:29:11 -08:00
Alex P 026b337056 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 7bb95fc2ce Kapacitor Theme Inputs 2016-11-30 12:10:20 -08:00
Alex P 82b3c80390 Code styles for dark theme 2016-11-30 12:08:22 -08:00
Will Piers f6c20592bf Merge pull request #630 from influxdata/edit-telegraf
Fix uneditable telegraf text input
2016-11-30 12:02:26 -08:00
Alex P 77678ce886 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 b1479ce9ec Removing unused styles 2016-11-30 11:51:38 -08:00
Alex P ade39fd38e Dark Theme styles have their own sheet
Trying to clean things up
2016-11-30 11:51:24 -08:00
Andrew Watkins 013d0b4029 Use defaultValue prop 2016-11-30 10:03:06 -08:00
Nathan Haugo da57a607eb Merge pull request #573 from influxdata/bugfix/tr-layouts
Fix template layout ordering
2016-11-30 05:20:01 -08:00
Alex P 5ebce6449b Rule builder has a green scrollbar 2016-11-29 23:34:59 -08:00
Alex P 43f0a935bd Theme options for page-contents scrollbar 2016-11-29 23:30:12 -08:00
Alex P 8901e582bf New dark form styles & cleaned up layouts for alert configs 2016-11-29 17:45:46 -08:00
Alex P 2be6138c8c Removing unused styles 2016-11-29 15:52:03 -08:00
Alex P 9b1a633cc4 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 d43a88f899 Removing some unused styles
Lots of vestigial madness in here
2016-11-29 15:41:49 -08:00
Alex P 8ab32ce3f5 Cleanup 2016-11-29 15:29:32 -08:00
Alex P ccbbaf077f Page title font size slightly smaller
Looked huge on my laptop
Decreased slightly, more space efficient
Less likely to cause a wrap on pages like the Data Explorer
2016-11-29 15:25:15 -08:00
Alex P 72293b3fcf All pages have new page classes
- More consistent
- More semantic
- Might have missed a page or two, will circle back later
2016-11-29 15:24:38 -08:00
Alex P c99cf1dbb1 CSS Refactor
- Since all pages are dark, don’t need special styles for dark pages
- New naming conventions:
  - page > page-header
  - page > page-contents
2016-11-29 15:22:28 -08:00
Tim Raymond ee67298092 Enforce cell dimensions on auto-layout cells
Previously, the calculation of cells which are in autoflow layouts was
incorrect since it needed to be multiplied by the cellHeight. To have
this, we also need to have a fixed cellHeight for these cells. This
overrides any cell width and height set on autoflowed layouts and forces
it to 4x4
2016-11-29 17:42:30 -05:00
Tim Raymond cee5c85116 Fix template layout ordering
This divides templates into two classes: autoflow and static. This is
controlled by a boolean "autoflow" property on templates. Any autoflow
templates that will be rendered for a host, have their cells arranged in
a left-to-right, top-to-bottom fashion.

Static templates, are assumed to have precise positioning information
for their graphs. The only adjustment made to them will be a translation
of their Y coords so they do not overlap other layouts.

The autoflow templates, after processing, become a static layout as
defined above and are positioned accordingly.
2016-11-29 17:41:19 -05:00
Nathan Haugo 4ed1a8c39a Merge pull request #583 from influxdata/grid-layout-tweaks
Grid Layout Tweaks
2016-11-29 13:24:13 -08:00
Nathan Haugo ecc4aa5076 Merge pull request #628 from influxdata/fancy-auth-page
Fancy Auth Page
2016-11-29 13:22:36 -08:00
Alex P 17743326eb Update from Master 2016-11-29 13:11:46 -08:00
Alex P 14bae82dcc Auth page looks fancy now 2016-11-29 13:04:46 -08:00
Alex P e5daab3ada New sheet for auth page styles 2016-11-29 13:04:28 -08:00
Alex P 49b87e1879 App container & bg style
Makes the Login page look good, laying track for all dark UI
2016-11-29 13:04:06 -08:00
Alex P 7de32d5109 Adding in image assets
Using SVGs so the file size should be negligible
2016-11-29 13:03:07 -08:00
Nathan Haugo bb83920dfe Merge pull request #579 from influxdata/fix/536-show-kapacitor-error
extract kapacitor error to separate component, share it with rules page
2016-11-29 12:35:38 -08:00
Nathan Haugo 75ca2d0752 Merge pull request #601 from influxdata/measurement-present
Fix layout being displayed when measurement not present
2016-11-29 11:30:51 -08:00
Will Piers 8bf9b69daa Refactor to use me from redux store 2016-11-28 14:19:40 -07:00
Will Piers b17b06850f Add a logout button 2016-11-28 13:55:01 -07:00
Andrew Watkins aed61ada9f Fix layout being displayed when measurement not present 2016-11-22 11:31:30 -08:00
Will Piers 3ff0bf08a5 Remove old spec 2016-11-21 16:10:00 -07:00
Will Piers 411e2f68dc Dont render routes if user is not authenticated 2016-11-21 14:20:33 -07:00
Will Piers 1dc53d5759 Setting up structure for Auth flow 2016-11-21 14:20:33 -07:00
Jade McGough e39f152824 provide a default value for telegraf database in forms 2016-11-18 15:19:16 -08:00
Jade McGough 947100c779 add telegraf config to initial source creation page 2016-11-18 14:57:29 -08:00
Chris Goller c061141f96 Add placeholder text for default telegraf database 2016-11-18 16:47:00 -06:00
Jade McGough a13c23b60a fix other hardcoded references to telegraf database 2016-11-18 14:21:23 -08:00
Jade McGough 7b57dcc428 use configured telegraf db on kubernetes dashboard 2016-11-18 16:07:53 -06:00
Jade McGough 2534b6dc63 fix telegraf input id 2016-11-18 16:07:53 -06:00
Jade McGough 6ab01e1cfe add telegraf db configuration to source form 2016-11-18 16:07:53 -06:00
Jade McGough b37ef9477c use configured telegraf database for queries 2016-11-18 16:07:53 -06:00
Jade McGough dc7e5a9408 pass telegraf db name to cpu and load query 2016-11-18 14:02:06 -08:00
Andrew Watkins c879c9a723 Merge pull request #585 from influxdata/legend
Remove identifier (host) from timeSeriesToDygraph converter
2016-11-18 13:48:36 -08:00
Andrew Watkins a7b748b31f Remove identifier (host) from timeSeriesToDygraph converter 2016-11-17 18:50:59 -08:00
Alex P 462731d479 more breathing room around graph headings in host view 2016-11-17 12:55:59 -08:00
Alex P 14858801e1 Graph refreshing spinner is slightly larger 2016-11-17 12:55:29 -08:00
Alex P 09e9d82b98 Graphs now fit together nicely
uniform margins, lines up with page gutters
2016-11-17 12:55:14 -08:00
Alex P 2425e519d5 Standard graph height
Empties match non-empties now, less jitter

Also adding more uniform padding to the top and bottom of container
2016-11-17 10:50:58 -08:00
Alex P 50e7bcfcc0 Don't need row div 2016-11-17 10:50:11 -08:00