Commit Graph

873 Commits (d927bc6d6f774fca178fdf35df969fc008e65585)

Author SHA1 Message Date
Andrew Watkins cb56391761 Refactor rule message template tooltips 2017-01-12 15:09:33 -08:00
Chris Goller d85c91afba Merge pull request #758 from influxdata/unsafe-ssl
Unsafe ssl
2017-01-12 17:08:12 -06:00
Nathan Haugo 848e62c1f3 Merge pull request #762 from influxdata/feature/596-select-host
Feature/596 select host
2017-01-12 14:53:15 -08:00
Andrew Watkins 03c1311e15 Merge pull request #765 from influxdata/get-range
Get range
2017-01-12 14:51:13 -08:00
Andrew Watkins 996c1d077b Add tests for range calc 2017-01-12 14:19:48 -08:00
Hunter Trujillo 1b10041f4f Merge branch 'feature/596-select-host' of github.com:influxdata/chronograf into feature/596-select-host 2017-01-12 14:59:13 -07:00
Hunter Trujillo c9a77e0207 Refactor to use async/await. 2017-01-12 14:59:07 -07:00
Andrew Watkins c2850bb670 Export getRange to helper funciton 2017-01-12 13:44:22 -08:00
Alex P 90138fcf3e Create new CSS component page-header-dropdown 2017-01-12 13:16:38 -08:00
Alex Paxton ee9a7bdd50 Merge pull request #763 from influxdata/misc-ui-polish
Misc UI Polish
2017-01-12 11:10:50 -08:00
Alex P 958cac834c Make text selection readable app-wide, not just inputs 2017-01-12 10:59:04 -08:00
Alex P 4c48fe4acf Change style.css to chronograf.css to be more consistent and branded 2017-01-12 10:57:40 -08:00
Alex P 2786831cf1 Change kapacitor copy from Metric to Time-Series 2017-01-12 10:56:11 -08:00
Jade McGough 5cde8362d1 filter out hosts that don't match the current app 2017-01-12 06:48:52 -08:00
Jade McGough dedba07a75 get apps for all hosts 2017-01-12 06:07:45 -08:00
Jade McGough 77bbcd3de9 cleanup 2017-01-12 04:34:12 -08:00
Andrew Watkins bba5a35621 Update test paths 2017-01-11 16:20:28 -08:00
Andrew Watkins 9bbd5ebd48 Rename src/chronograf to src/data_explorer 2017-01-11 16:00:56 -08:00
Andrew Watkins 4ba7c274a6 Remove the send all explicitly checkbox from Telegram 2017-01-11 15:46:35 -08:00
Andrew Watkins 9d25cc3631 Remove the send all explicitly checkbox from HipChat 2017-01-11 15:39:38 -08:00
Andrew Watkins dd564690b5 Remove the send all explicitly checkbox from PagerDuty 2017-01-11 15:34:56 -08:00
Andrew Watkins d183b65f9f Delete archaic component and copy 2017-01-11 14:48:57 -08:00
Andrew Watkins f10db6d3da Include UnsafeSSL checkbox for insecureSkipVerify 2017-01-11 14:47:03 -08:00
Andrew Watkins 7573807804 Turn SourceForm into true container 2017-01-11 13:58:25 -08:00
Jade McGough f3eac33942 add host dropdown to host page 2017-01-11 00:51:43 -08:00
Jade McGough 3c7e25b3b7 Merge pull request #747 from influxdata/feature/672-sort-status
add sort by status on hosts page
2017-01-10 12:48:34 -08:00
Andrew Watkins 3e476352fe Simplify if block 2017-01-10 11:23:26 -08:00
Andrew Watkins 86835125b3 Handle multiple responses with identical field and measurement names 2017-01-10 11:23:26 -08:00
Andrew Watkins 61df9fd309 Decontruct PropTypes 2017-01-10 11:23:26 -08:00
Andrew Watkins 9a0c866226 Remove multiple axes from DataExplorer
It doesn't make sense to have multiple axes in the DE with the
current UI.  A user can create n queries and has no way to indicate
which query should belong to which axis.  Making this intuitive an
not clunky is not trivial and requires some more thought and design.
2017-01-10 11:23:26 -08:00
Andrew Watkins e5171fc2e9 Add tests 2017-01-10 11:22:21 -08:00
Andrew Watkins 6e3c35ab61 Refactor label sorting 2017-01-10 10:55:17 -08:00
Jade McGough 8e0327d4c5 add sort by status on hosts page 2017-01-10 02:54:22 -08:00
Andrew Watkins 1619f9be99 Sort graph legend alphabetically 2017-01-06 11:56:38 -08:00
Andrew Watkins 31adca6e77 Remove replace 'out of range' with 'outside range' 2017-01-06 11:01:11 -08:00
Hunter Trujillo 695e9c6096 \"\" 2017-01-06 11:11:18 -07:00
Hunter Trujillo de5d4cc9fa Update frontend to use new API values. 2017-01-06 11:01:54 -07:00
Hunter Trujillo c67282d989 Change fake information in stubs. 2017-01-06 10:29:57 -07:00
Hunter Trujillo 3f91e33a91 Fix styles path for stories. 2017-01-06 10:29:23 -07:00
Andrew Watkins cb5e3edc89 Fix bug #711 range not set 2017-01-04 16:02:31 -08:00
Andrew Watkins 5464230c1b Fix case for ruleValues being undefined 2017-01-04 16:02:31 -08:00
Andrew Watkins b2d8d44ce7 Refactor addPadding function 2017-01-04 16:02:12 -08:00
Andrew Watkins e134bf5ea1 Fix Rule visualization padding 2017-01-04 16:02:12 -08:00
Hunter Trujillo cf40630113 Closer to the goal! 2017-01-04 16:02:12 -08:00
Andrew Watkins 25b54fb106 Update visualization for out of range rule 2017-01-04 16:02:12 -08:00
Andrew Watkins 11c8351adf Add range visualization to RuleGraph 2017-01-04 16:02:12 -08:00
Hunter Trujillo e166fc3969 Add out of range to select. 2017-01-04 16:02:12 -08:00
Hunter Trujillo e18eecab6b Refactor story values into storiesOf. 2017-01-04 16:02:12 -08:00
Hunter Trujillo 321e2ae8f4 Forgot an import. 2017-01-04 16:02:12 -08:00
Hunter Trujillo e457705d48 Reorganized stories file. 2017-01-04 16:02:12 -08:00
Hunter Trujillo 135e974d20 Return results of action creator when spying on component actions. Add defaults to rule stub so there aren’t misses. It’s not a real object, but it reduces distracting errors. 2017-01-04 16:02:11 -08:00
Hunter Trujillo 1f886a6e95 Last-minute edits are usually bad, mkay. 2017-01-04 16:02:11 -08:00
Hunter Trujillo caf5b1a3dc Add React Storybook, in addition to stories and stubs for ValuesSection. Also… Add a nifty corsless proxy courtesy of yt. 2017-01-04 16:02:11 -08:00
Hunter Trujillo 0da923cb97 adding within range support: the good, the bad, and the ugly 2017-01-04 16:02:11 -08:00
Andrew Watkins 561d73ea22 Merge pull request #712 from influxdata/style-refactor
Styles Refactor
2017-01-04 16:17:41 -07:00
Will Piers 930a1ef29f Fix bug that stopped apps from displaying 2017-01-03 17:28:27 -05:00
Nathan Haugo a1e202a479 Merge pull request #696 from influxdata/feature/tr-dashboard-frontend
Implement Dashboard Index Page
2016-12-30 14:12:53 -08:00
Nathan Haugo ea69632b93 Merge pull request #672 from influxdata/feature/tr-host-status
Spike: Use `system` metrics to indicate host status
2016-12-28 13:34:47 -08:00
Alex P 680d2c4151 fire ze lazer 2016-12-20 20:08:27 -08:00
Alex P bd99cf2bdc fixing spacing on checkbox 2016-12-20 20:07:52 -08:00
Alex P 35fecb7077 styling responsive tables
Was previously bright white, now is dark
2016-12-20 19:54:23 -08:00
Alex P 9c613ce4af Organizing dygraphs stylesheet 2016-12-20 19:49:17 -08:00
Alex P 9285d4fe64 Sortable table styles moved to table component sheet 2016-12-20 19:49:00 -08:00
Alex P 13f6a467de Removing odd letter spacing on monotype table cells 2016-12-20 19:48:40 -08:00
Alex P 19866853fd code font variable 2016-12-20 19:48:22 -08:00
Alex P c59ff76177 Deleting extra space 2016-12-20 19:47:57 -08:00
Alex P e1ad368c7e Refactorus maximus
- Removing glyph icons and font awesome (not being used for anything)
- Removing unused stylesheets (there were a lot)
- Re-organizing all stylesheets in a more understandable way
2016-12-20 14:18:48 -08:00
Alex P db4449d7c8 Keeping session names truncated if too long 2016-12-15 15:47:04 -08:00
Alex P 3a2920bfc2 Merge branch 'master' into misc-ui-polish 2016-12-15 14:43:38 -08:00
Alex P f928c1be79 Color Coded alert levels in alerts history 2016-12-15 14:43:15 -08:00
Alex P bc68d46c70 Fixing janky data selector in kap rule creator 2016-12-15 14:35:39 -08:00
Tim Raymond 409d928d62 Use the dashboard ID for the iterator key
Iterator keys should use something unique, like an ID :).
2016-12-15 17:01:30 -05:00
Tim Raymond 42956a7201 Make dashboard list fetch from API
This removes some mocked-out data to make the Dashboard list actually
hit the API.
2016-12-15 17:01:30 -05:00
Tim Raymond ed3abc1250 Build dashboard table from API
This pulls the table data into a fetch from the mocked-out API. A
subsequent commit will remove the commented-out sections to actually hit
the backend.
2016-12-15 17:01:30 -05:00
Tim Raymond bfebcd85af Initial Dashboard Index Page
This sets up the routing, sidebar links, and a stubbed out table view of
the dashboards.
2016-12-15 17:01:30 -05:00
Alex P 3d761e2176 Moving groupbytimedropdown styles higher up
Some styles needed in kapacitor rule builder, could not see because
scoped to DE
2016-12-15 12:29:28 -08:00
Will Piers 2aac7ed5ea Use InfluxQL instead of Raw Text 2016-12-15 12:24:19 -08:00
Alex P 6a38763974 Hidden scrollbar on panel-builder
Previously it was unclickable because the resizer sits on top,
rendering it purely aesthetic. The visual clutter of it was quite ugly.
Now it is hidden, but still scrollable. Hypothesis: users will not miss
this scrollbar, usability should remain intact
2016-12-15 12:13:10 -08:00
Alex P 6f7fb331b5 Source indicator doesn't break on small screens 2016-12-15 12:10:54 -08:00
Alex P f8d2268f05 Fixing active state of panels in DE 2016-12-15 11:54:42 -08:00
Alex P 9bb29701e4 Attempting to solve UX bug from community
https://github.com/influxdata/chronograf/issues/689
2016-12-15 11:50:28 -08:00
Alex P e24d155a41 Merge branch 'master' into misc-ui-polish 2016-12-15 11:29:23 -08:00
Alex P 3571994e72 Merge branch 'master' into misc-ui-polish 2016-12-15 09:55:20 -08:00
Andrew Watkins 2b90ce3cad Fix missed rebase conflicts 2016-12-15 09:52:01 -08:00
Andrew Watkins 1ece592ec4 Update tests 2016-12-15 09:49:17 -08:00
Andrew Watkins 082411aa92 Cleanup 2016-12-15 09:49:17 -08:00
Andrew Watkins 2204aa64ea Move activeQueryID state to DE container 2016-12-15 09:49:17 -08:00
Andrew Watkins d237e05573 Highlight lines that correspond to selected query tab 2016-12-15 09:48:18 -08:00
Will Piers 880b69a3e1 Merge pull request #667 from influxdata/editor-mode
Editor mode
2016-12-14 14:58:35 -08:00
Alex P 65ec43ae79 If no kapacitor instance, show -- instead of blank cell 2016-12-13 17:41:07 -08:00
Alex P 0e9ee98196 Right aligned delete rule button 2016-12-13 17:23:53 -08:00
Alex P d7ab5d67bf More obvious empty state for kapacitor config 2016-12-13 17:22:34 -08:00
Alex P f45189a7b5 new panel menu a little wider 2016-12-13 17:01:27 -08:00
Alex P 3d1ae8e3fa Adding "open" class to dropdown toggle if it is open
Helps differentiate between itself and nearby buttons during dropdown
open state, following bootstrap’s design patterns
2016-12-13 17:00:11 -08:00
Alex P cf28f3d19b Styling new panel tab menu
Using full text names “Query Builder” and “Raw Text” to be as clear as
possible to users
2016-12-13 16:55:33 -08:00
Will Piers 5949b273bc Minor tweaks 2016-12-13 16:32:19 -08:00
Will Piers 4f20a42e54 Create simple dropdown and use it. Needs style help 2016-12-13 14:30:02 -08:00
Alex Paxton 420a62a1cc Merge pull request #684 from influxdata/fix-input-text-selection
Fix Input Text Selection
2016-12-13 13:22:04 -08:00
Andrew Watkins 31c7fa934b Rename sources to configuration in SideNav 2016-12-13 10:41:44 -08:00
Tim Raymond 0194ab2184 Merge branch 'master' into feature/tr-host-status
Conflicts:
  ui/src/hosts/components/HostsTable.js
2016-12-13 13:31:33 -05:00
Tim Raymond c227fb152f Add warning status light
It's useful to see when a host is potentially having problems and when a
host is definitely having problems. We want to show when we haven't
heard from hosts in the past 10 minutes or greater than that interval.

To facilitate this, the deltaUptime query was adjusted to fetch 10
minutes worth of data grouped into 1m intervals with a fill(0). The
"show tag values" query to fetch all hosts sets the uptime value of
hosts to be -1. If a negative value is seen by a HostRow for a
deltaUptime value, the status light is set to red. If it's 0 (meaning a
fill value), we set that to an amber light. Finally if the host is
reporting a positive deltaUptime, the light becomes green.
2016-12-13 13:13:53 -05:00
Tim Raymond a50b73db87 Improve Host Status Queries
This incorporates some feedback received from a spike implementation of
host status. For one, the uptime query (now named deltaUptime to
better indicate this is a change in uptime) is now packed into the query
to fetch the rest of the data for the host page. Also, a "show tag
values" query has been added here to fetch hosts that will escape the
time range selected by the group by in the deltaUptime query (see this
issue: https://github.com/influxdata/influxdb/issues/6967).

While not implemented in this commit, it's possible now that we could
show different treatments for those hosts that haven't been seen
"recently" (as defined by the time selection on the deltaUptime query)
and those that have.
2016-12-13 12:01:43 -05:00
Alex P 8be70eb9f3 Works for textarea as well as input 2016-12-12 17:55:45 -08:00
Alex P 0a24643f91 fancy blue highlight 2016-12-12 17:49:07 -08:00
Alex P e91f6feee8 Commenting out this button until it has an event listener 2016-12-12 16:50:10 -08:00
Alex P e16661b9a6 Styling raw text field
- Builder queries are blue
- Raw text queries are purple
- Using the new monospace font here
- Doing something a bit heavy-handed to ensure there is no jitter
between the raw text and builder text
2016-12-12 16:40:40 -08:00
Alex P df98fefeab Removing references to previous monotype font 2016-12-12 16:25:17 -08:00
Alex P 5e387ad0d2 Removing excess styles from query editor 2016-12-12 16:17:43 -08:00
Alex P 2fc4d7172f New monotype font! 2016-12-12 16:15:34 -08:00
Alex P f695830cbe Renaming stylesheet to match component
Raw query editor —> raw text
2016-12-12 14:27:54 -08:00
Alex P a63cf7581d Switching to new class names (explorer --> panel) 2016-12-12 14:27:31 -08:00
Alex P 26167bc881 Renaming stylesheet to match new conventions 2016-12-12 13:05:48 -08:00
Alex P c09c283849 Removing extra div 2016-12-12 13:05:33 -08:00
Will Piers 093b692110 Clean up and small refactors 2016-12-12 12:04:33 -08:00
Will Piers 350cb401ae Allow for rawText queries again 2016-12-12 12:03:48 -08:00
Will Piers 603104eb6d Rename Explorers to Panels and add functionality to create raw queries 2016-12-12 11:50:58 -08:00
Alex P 6b9606046e spinner rotates the right direction now 2016-12-12 11:25:56 -08:00
Alex P 35cb894614 transparent spinner 2016-12-12 11:17:49 -08:00
Alex P d489df8822 Re-adding GroupByTimeDropdown stylesheet 2016-12-09 13:53:05 -08:00
Alex P fd309e338f Explorer tabs have names that refer to the query
Name is “Measurement” + First Field Selected Name
If multiple fields selected it only shows the first field not all fields
2016-12-09 13:17:14 -08:00
Alex P fe0fc85248 Explorer Tabs designed for measurement + field name
Eventually the tab will truncate text with …
With the current max-length of 175px
that gets you about 27-29 characters in the tab
2016-12-09 13:00:21 -08:00
Alex P e2c33809cc Renaming / Refactoring
“graph-panel” —> “graph”
2016-12-09 12:14:26 -08:00
Alex P 68d3d6c6be Explorer tabs cleanup
Had previously deleted the “X” icon, replaced with pseudo elements
2016-12-09 11:48:48 -08:00
Alex P 7dd17e4201 Tag list polish
checkboxes are darker, badges darker, search bar matches measurements
search bar
2016-12-09 11:37:13 -08:00
Alex P 19a04087f6 Removing white space 2016-12-09 11:36:47 -08:00
Alex P a8324d4794 Multi-select dropdown cleanup 2016-12-08 13:48:40 -08:00
Alex P bbf2afde9d Darker checkboxes in query editor list 2016-12-08 12:39:46 -08:00
Alex P 0403125b54 Slightly short min height on query editor lists 2016-12-08 12:39:32 -08:00
Tim Raymond 06cdd47d47 Use `system` metrics to indicate host status
This uses the `uptime` field collected by Telegraf in the `system`
measurement to determine if a Host is currently up or down. We can
determine if a host is down by using group by with a fill(0) and looking
for zero values.
2016-12-08 14:19:55 -05:00
Alex P 68f52c138d Merge branch 'master' into apply-function-ui-fix 2016-12-07 15:34:32 -08:00
Alex P 032cd5580a RIP it was a great file 2016-12-07 15:34:13 -08:00
Andrew Watkins 9578b0d296 Fix no page load on refresh bug 2016-12-07 14:15:21 -08:00
Andrew Watkins bf5325b158 Remove unnecessary context and PropTypes 2016-12-07 14:14:07 -08:00
Alex P d585816b46 UI for export function 2016-12-07 13:00:56 -08:00
Alex P 04ddcca33f Styling explorer actions 2016-12-07 13:00:39 -08:00
Alex P caa0c817b8 Merge branch 'master' into apply-function-ui-fix 2016-12-07 12:49:51 -08:00
Andrew Watkins 435f3b258e Merge pull request #660 from influxdata/rule-time-range
Add time range selection to RulePage
2016-12-06 21:11:56 -08:00
Alex P fa3d87f762 Removing excess markup and styles
no longer have tabs in the builder, so removing all that
2016-12-06 18:45:28 -08:00
Alex P 241691a7b1 Discarding obsolete styles 2016-12-06 18:35:57 -08:00
Alex P cec1233fff Merge branch 'master' into apply-function-ui-fix 2016-12-06 18:29:54 -08:00
Alex P 554a120b15 Renaming styles
Beginning process of simplifying names for the query editor / explorer
- “qeditor” instead of “query-editor”
- Using -- instead of __
- Generic toggle style in theme-dark.scss (previously tag list toggle)
2016-12-06 18:29:47 -08:00
Alex P b720717cb2 Assorted changes (see desc)
- Explorer is darker
- Group by Time styles were all over the place, moving to own file in
chronograf components css
- Removing _sizes.scss (only had 1 variable in it)
2016-12-06 16:56:55 -08:00
Andrew Watkins 5feb4b86b0 Fix ReactTooltip prop error 2016-12-06 16:47:09 -08:00
Andrew Watkins 49202e86ca Cleanup 2016-12-06 16:44:59 -08:00
Andrew Watkins 68036f944e Merge pull request #658 from influxdata/more-icons-in-font
New Icons in Font
2016-12-06 16:07:31 -08:00
Alex P bde76dfe63 Merge branch 'master' into apply-function-ui-fix 2016-12-06 15:41:13 -08:00
Alex P dd22cb1628 Cleanup
should be slightly easier to search now, was nested like crazy
2016-12-06 15:36:48 -08:00
Alex P fc1a2cac1b Removing excess styles
Mo’ generic yo
2016-12-06 15:36:23 -08:00
Alex P 67c7318452 This will make me less crazy 2016-12-06 15:35:05 -08:00
Alex P 4471f03ac0 Skinny scrollbars 2016-12-06 15:34:52 -08:00
Andrew Watkins 966fd83b6b Add time range selection to RulePage 2016-12-06 13:59:36 -08:00
Alex P bef5502f2c New icons in font
- Brush
- Polaroid
- Export
- Keynote
- Alphabet (A)
- Alphabet (B)
- Square
- Diamond
- Circle
2016-12-06 13:12:05 -08:00
Alex P 3dc28011d8 Cleanup based on comments 2016-12-06 12:32:47 -08:00
Alex P 57cd5401b7 More polished y axis labels 2016-12-06 12:30:44 -08:00
Alex P a0c8aad0fb More subtle spinner for graphs in host dash 2016-12-06 12:28:10 -08:00
Alex P fe013d0c90 Styling Y labels
Not super great looking, but at least it doesn’t overlap with the y
values
2016-12-06 12:27:25 -08:00
Alex P 3326c6d85d Cleanup based on comments 2016-12-06 12:24:15 -08:00
Alex P f76708925e Adding helper tooltips to dashboard pages 2016-12-06 12:23:46 -08:00
Alex P bd9b4e578f More polished y axis labels 2016-12-06 12:23:46 -08:00
Alex P eae5d1ffa8 More subtle spinner for graphs in host dash 2016-12-06 12:22:25 -08:00
Alex P 039c1d3db3 Styling Y labels
Not super great looking, but at least it doesn’t overlap with the y
values
2016-12-06 12:21:29 -08:00
Alex P be84e1a3c8 Reorganizing DE header
- Didn’t have a page title, it does now
- Opting for “session” instead of “exploration”
- “New Exploration” shortened to “New”
2016-12-06 12:21:29 -08:00
Alex P 2b3fd6b938 cleanup code samples
in query editor line height was much too low
2016-12-06 12:21:29 -08:00
Alex P ae755f0420 Time range dropdown
- No label required
- Added icon back in (wasn’t showing up before) which makes it a lot
more clear
- Styles are generic so any icon inside a dropdown will get positioned
the same way
2016-12-06 12:21:29 -08:00
Jade McGough b0f3fc9176 updateSource reducer needs to return an array 2016-12-06 12:06:31 -08:00
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