Commit Graph

4505 Commits (361a1cb3f9f1a369ce76ad374a7757c6aba7d55c)

Author SHA1 Message Date
Alex Paxton 45cd199359 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 52e65be69d 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 b1f8ff81c3 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 2f34756767 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 dece136b54 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 d0047e48cb 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 d2fadbf51b Merge branch 'master' into bugfix-tempvar-dropdown-jitter 2017-07-05 12:35:02 -07:00
Alex P 0d387daf15 Updoot changelog 2017-07-05 12:34:20 -07:00
Alex P 3a1291a0da 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 ff76a9831d 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 2923d66cb0 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 40a5609e78 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 9519973690 Updoot CHANGELOOG~ 2017-06-30 17:54:52 -06:00
Hunter Trujillo 0ca0be2481 Fix for tests. Phew! Thanks unit tests! 2017-06-30 17:52:50 -06:00
Hunter Trujillo b99ad9122e 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 51b9b48aab Fix for Hostpage. 2017-06-30 17:34:07 -06:00
Hunter Trujillo b19ab93d47 Fix Dashboard customTimeRange persistence. Fix propTypes. 2017-06-30 17:21:23 -06:00
Andrew Watkins 7379b32dc3 Fix bug where legend could not return if no series were visible 2017-06-30 15:40:01 -07:00
Andrew Watkins c5b419880e Handle undefined series 2017-06-30 15:36:25 -07:00
Alex P d3f400860a Make non-highlighted series labels more legible 2017-06-30 15:36:24 -07:00
Alex P e77e28c8a4 Add timestamp to legend 2017-06-30 15:36:24 -07:00
Alex P 4855204f94 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 5214f80bc4 Use component this 2017-06-30 15:36:24 -07:00
Andrew Watkins 5bd50fd587 Show and hide filtered series on graph 2017-06-30 15:36:24 -07:00
Andrew Watkins d381312b9c Hide legend a little better 2017-06-30 15:36:24 -07:00
Andrew Watkins 8ad72e554c Handle removing measurement from legend label 2017-06-30 15:36:24 -07:00
Andrew Watkins 6b36881ebe Refactor sort order 2017-06-30 15:36:24 -07:00
Andrew Watkins 118c4d095c Hide hide and show legend 2017-06-30 15:36:24 -07:00
Andrew Watkins 617f62da52 Refactor sorting and ordering 2017-06-30 15:36:24 -07:00
Andrew Watkins f0728264db Add filtering to legend 2017-06-30 15:36:23 -07:00
Andrew Watkins 9b9a709893 Sorting persists on legend update 2017-06-30 15:36:23 -07:00
Andrew Watkins 7d3d16a88b WIP tweak styles 2017-06-30 15:36:23 -07:00
Andrew Watkins 32ecf1b796 Add ability to sort numerically and alphabetically 2017-06-30 15:36:23 -07:00
Andrew Watkins 45ee3f7253 Move legend into component 2017-06-30 15:36:23 -07:00
Andrew Watkins 1cd661da82 Move functions into separate dir 2017-06-30 15:36:23 -07:00
Andrew Watkins 1d8e42fe6e Allow sorting legend by numeric values 2017-06-30 15:36:23 -07:00
Andrew Watkins 8b92ca7ff8 Persist legend in when hovered over 2017-06-30 15:36:23 -07:00
Alex P efebeaac18 Adjust custom time picker so it plays nice when inside regular time range dropdown 2017-06-30 15:34:43 -07:00
Hunter Trujillo 17af88374c Add upperDashboardTime TV. 2017-06-30 16:22:46 -06:00
Hunter Trujillo 5158e49ee3 Fix for dashboardTime on Dashboards. 2017-06-30 16:22:18 -06:00
Hunter Trujillo 089649326a 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 843c395fa1 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 12bb11528b Merge branch 'get-legend-rekt' of github.com:influxdata/chronograf into get-legend-rekt 2017-06-30 10:53:21 -07:00
Andrew Watkins d57beb7673 Handle undefined series 2017-06-30 10:53:12 -07:00
Alex P 76ce7af6b8 Make non-highlighted series labels more legible 2017-06-30 10:52:55 -07:00
Alex P 38837cc98a Add timestamp to legend 2017-06-30 10:48:58 -07:00
Alex P 93bce8392b 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 f295d763d6 Use component this 2017-06-29 16:09:18 -07:00
Andrew Watkins bbd48e4e25 Show and hide filtered series on graph 2017-06-29 16:08:54 -07:00
Jared Scheib 0c8b543806 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