Commit Graph

4505 Commits (c34770091dc9807b1a731d1c82317b1af63a1188)

Author SHA1 Message Date
Alex Paxton 163b97f766 Merge pull request #1689 from influxdata/bugfix-tempvar-dropdown-jitter
Prevent TempVar Dropdown Size Jitter
2017-07-05 20:59:16 -07:00
Jared Scheib eb762dda86 Successfully persist new source and kapa via server flag
Move this to after BoltDb connection is opened
2017-07-05 18:12:08 -07:00
Tim Raymond fc6e3f87ec Parse JSON for --new-source into struct
Signed-off-by: Jared Scheib <jared.scheib@gmail.com>
2017-07-05 15:00:59 -07:00
Alex P b368de67ef Use monospace font inside dropdown for consistency
Also matching font size to not cause a discrepancy in calculated width
2017-07-05 14:44:57 -07:00
Alex P 9e953f4c30 Use calculate-size and enforce maximum width
Items in dropdown menu that exceed the max width wrap text
2017-07-05 14:04:46 -07:00
Alex P 5372ee2b35 Install text size calculator package
As per recommendation of @cryptoquick this thing is a much more sound
means of doing the calculation than my initial approach
2017-07-05 14:04:46 -07:00
Alex Paxton 8c2e5c4585 Merge branch 'master' into bugfix-tempvar-dropdown-jitter 2017-07-05 12:35:02 -07:00
Alex P 17fa067bda Updoot changelog 2017-07-05 12:34:20 -07:00
Alex P 24ab9332df Prevent TempVar Dropdown size jitter
Determines the required length in pixels based on the length of the
longest item in the menu and only sets it if it is greater than the
minimum dropdown width
2017-07-05 12:27:03 -07:00
Timothy J. Raymond dd265d74ac Merge pull request #1688 from influxdata/bugfix/tr-fix-rp-update
Fix RP duration editing on admin page
2017-07-05 15:06:11 -04:00
Tim Raymond 9cc093d4e5 Update CHANGELOG with RP admin page fix
Adds a note about fixing a bug with the admin page where users were
unable to update retention policies.
2017-07-05 11:50:36 -04:00
Tim Raymond 54e6864b14 Fix RP duration editing on admin page
Validation logic in the "DatabaseRow" component made some optimistic
assumptions about the presence of the "replication" in state.
Replication won't be present in OSS or Influx Relay sources, so when
users tried to update other properties of a retention policy, it failed
with an error that indicated "replication" was undefined.

Since this is expected and desired behavior, this patch uses the
existing "isRFVisible" property to determine whether or not we should
process the "replication" part of the component's state, or simply
replace it with a "1", which is the only allowed value for
non-Enterprise sources.
2017-07-05 11:41:16 -04:00
Hunter Trujillo 2c2ada93e1 Updoot CHANGELOOG~ 2017-06-30 17:54:52 -06:00
Hunter Trujillo c6c3b59ec4 Fix for tests. Phew! Thanks unit tests! 2017-06-30 17:52:50 -06:00
Hunter Trujillo 29b2515fcd Merge branch 'feature/1482-custom-time-range' of github.com:influxdata/chronograf into feature/1482-custom-time-range 2017-06-30 17:34:15 -06:00
Hunter Trujillo ec956cf5a5 Fix for Hostpage. 2017-06-30 17:34:07 -06:00
Hunter Trujillo 09c30a3834 Fix Dashboard customTimeRange persistence. Fix propTypes. 2017-06-30 17:21:23 -06:00
Andrew Watkins 6a7c3f3bf0 Fix bug where legend could not return if no series were visible 2017-06-30 15:40:01 -07:00
Andrew Watkins 334331d0d2 Handle undefined series 2017-06-30 15:36:25 -07:00
Alex P c1ded2400f Make non-highlighted series labels more legible 2017-06-30 15:36:24 -07:00
Alex P 6223abe56b Add timestamp to legend 2017-06-30 15:36:24 -07:00
Alex P 2df58fe22e Polish Legend
- Sort buttons reflect the direction of the sort and which is actively
sorting
- “Snip Measurement” shortened to “Snip”
- Can display about 7 rows before overflow
2017-06-30 15:36:24 -07:00
Andrew Watkins 6118880ab6 Use component this 2017-06-30 15:36:24 -07:00
Andrew Watkins ff752db4dd Show and hide filtered series on graph 2017-06-30 15:36:24 -07:00
Andrew Watkins bc34b3cc48 Hide legend a little better 2017-06-30 15:36:24 -07:00
Andrew Watkins 1951e78866 Handle removing measurement from legend label 2017-06-30 15:36:24 -07:00
Andrew Watkins 99d9b43eea Refactor sort order 2017-06-30 15:36:24 -07:00
Andrew Watkins dbf61fefb6 Hide hide and show legend 2017-06-30 15:36:24 -07:00
Andrew Watkins 3ddbff2e4f Refactor sorting and ordering 2017-06-30 15:36:24 -07:00
Andrew Watkins df872bde98 Add filtering to legend 2017-06-30 15:36:23 -07:00
Andrew Watkins cbbffa5dcc Sorting persists on legend update 2017-06-30 15:36:23 -07:00
Andrew Watkins 44ed21af63 WIP tweak styles 2017-06-30 15:36:23 -07:00
Andrew Watkins a8dfd571d9 Add ability to sort numerically and alphabetically 2017-06-30 15:36:23 -07:00
Andrew Watkins 653a70e9c5 Move legend into component 2017-06-30 15:36:23 -07:00
Andrew Watkins fbc1b2a087 Move functions into separate dir 2017-06-30 15:36:23 -07:00
Andrew Watkins ed9b0632e4 Allow sorting legend by numeric values 2017-06-30 15:36:23 -07:00
Andrew Watkins 4e542d5bcf Persist legend in when hovered over 2017-06-30 15:36:23 -07:00
Alex P b1468b672f Adjust custom time picker so it plays nice when inside regular time range dropdown 2017-06-30 15:34:43 -07:00
Hunter Trujillo a8dfb740a4 Add upperDashboardTime TV. 2017-06-30 16:22:46 -06:00
Hunter Trujillo 342d46261e Fix for dashboardTime on Dashboards. 2017-06-30 16:22:18 -06:00
Hunter Trujillo 7ad1ef354b Refactor CustomTimeRangeDropdown to contain its own display state. Add CustomTimeRangeDropdown to DE. Add quotes to date strings in a naive manner. 2017-06-30 15:15:02 -06:00
Alex P 78fed6012c Polish legend further
- Subtle shadow to help visually distinguish the legend container
- Align timestamp to adjacent items
- Only show scrollbar when it needs to exist
- Use a custom scrollbar in chrome (no support in other browsers)
2017-06-30 13:48:58 -07:00
Andrew Watkins 3a9b77eb07 Merge branch 'get-legend-rekt' of github.com:influxdata/chronograf into get-legend-rekt 2017-06-30 10:53:21 -07:00
Andrew Watkins efad28b5c8 Handle undefined series 2017-06-30 10:53:12 -07:00
Alex P abf6895594 Make non-highlighted series labels more legible 2017-06-30 10:52:55 -07:00
Alex P fda2637406 Add timestamp to legend 2017-06-30 10:48:58 -07:00
Alex P 3d572f21a2 Polish Legend
- Sort buttons reflect the direction of the sort and which is actively
sorting
- “Snip Measurement” shortened to “Snip”
- Can display about 7 rows before overflow
2017-06-30 09:53:46 -07:00
Andrew Watkins ddc04bf9fc Use component this 2017-06-29 16:09:18 -07:00
Andrew Watkins 4ca2dd2471 Show and hide filtered series on graph 2017-06-29 16:08:54 -07:00
Jared Scheib 6bc6324eb6 Add pseudocode outline for parsing and persisting source and server
Signed-off-by: Tim Raymond <tim@timraymond.com>
2017-06-29 15:33:22 -07:00