Commit Graph

2414 Commits (c68cf168640476c06f7025bc2dffe0a0b2da7b1e)

Author SHA1 Message Date
Regan Kuchan c68cf16864 Merge pull request #1102 from influxdata/rk-nooooo
Update version in installation page
2017-03-28 14:39:38 -07:00
Regan Kuchan 6ff12a1e5b Update version in installation page 2017-03-28 13:55:16 -07:00
Regan Kuchan 3ef198034c Merge pull request #1098 from influxdata/feature/beta7-release-prep
Changelog and known issues from readme update for beta7
2017-03-28 13:07:51 -07:00
Regan Kuchan d903623afb Update version to beta7 2017-03-28 13:06:28 -07:00
Regan Kuchan 28a705e86c Remove PR from CHANGELOG 2017-03-28 13:05:45 -07:00
nathan haugo 48d344b6e1 Changelog and known issues from readme update for beta7 2017-03-28 13:04:33 -07:00
Andrew Watkins 1d0d47c7ec Merge pull request #1099 from influxdata/bugfix/delete-database
Bugfix delete database
2017-03-28 12:04:29 -07:00
Andrew Watkins bc9dca4b6f Move Header into separate component 2017-03-28 11:44:22 -07:00
lukevmorris 48de1a95d3 Persist and render Dashboard Cell groupby queries (#1092)
* Rename selectStatement to buildInfluxQLQuery

* Moved `influxql/select` to `utils/influxql`

* Replace `buildQuery` with `buildInfluxQLQuery` util function

* Retain GROUP BY clause when saving cell query

* Revert "Replace `buildQuery` with `buildInfluxQLQuery` util function"

This reverts commit d932d99bfa0de54d07be4b42cc13d1b34fbe950b.

* Build DashboardCell queries with buildInfluxQLQuery util

Retain old LayouRenderer.buildQuery functionality for
canned dashboards, and anything else that isn’t using
the queryConfig schema. Rename this function to make
it clear that it is legacy behavior, and that it 
should not be a dependency of any new code.

* Update CHANGELOG
2017-03-28 11:02:49 -07:00
Alex Paxton 6c4ceedcfa Merge pull request #1093 from influxdata/ui-polish
Custom Cursors + Other Polish
2017-03-28 10:55:15 -07:00
Timothy J. Raymond 67c2b98f68 Redirect to default source when deleting sources (#1074)
* Redirect to default source on invalid source ID

When supplied with an invalid source ID, the CheckSources component
would redirect the user to a "Create Source" page. This caused
surprising behavior when a source was deleted because that source ID
would become invalid. The effect being that deleting a source brought
users immediately to the create source page, rather than back to the
sources list.

This instead redirects users to the default source when provided an
invalid source id. The backend automatically re-assigns the "default"
source, so this will always succeed, since sources are fetched again
from the backend.

The regex used is slightly dependent on URL structure that has been
stable over the lifetime of this project. Also it relies on URL
structure more than the previous redirecting implementation.

* Force sources to reload after deletion

Deleting a source invalidates the state held by the client because of
automatic re-assignment of the default source by the backend. Without
duplicating backend logic, it is impossible for the frontend to discover
the new source without reloading sources.

The ManageSources page now uses an async-action creator which deletes
the requested source and reloads all sources. The source action creators
have also been refactored to use implicit returns like other action
creators.

* Remove Dead removeSource action

removeSource is no longer used because the API invalidates its
assumptions. For more information, see 04bf3ca.

* Update Changelog with source deletion redirect fix

Users are no longer unexpectedly redirected to the "create source" page
whenever they delete a source that they are connected to.

* Return 404 when deleting non-existent source

When deleting a source, a new default is assigned automatically. If a
non-existent source ID was provided, previously this would result in a
500. This is a violation of the Swagger docs. The solution is to examine
the error and if it was an ErrSourceNotFound, invoke the notFound
handler.

* Add Error handling to source deletion

There are two kinds of errors that can be encountered when deleting a
source: a 404 and a 500 (from either the delete or the subsequent
fetch).

The 404 is a precondition failure of the action creator. The source.id
requested can be non-existent for two reasons: 1) The action creator was
passed garbage by the caller. 2) A concurrent write occurred which
silently invalidated this session's state. For the first case, we can
ensure that the caller is sane by having an assertion check that the
requested source is among some set of sources. This could be
circumvented by a caller, but chances are good that both the full set of
sources and the desired source are both available to callers of this
action creator. The second case is not an error. In this case, we should
proceed reloading sources, since the deletion that was requested has
already been performed by someone else.

Finally, 500s can only occur if there is something broken with the API.
In this situation, we provide a notification that tells the user to
check the API logs for more information.

* Remove duplicate CHANGELOG entries

These were introduced due to a naive merge conflict resolution.

* Remove assertion

This was decided to be confusing and unnecessary.

* Remove remnants of removed assertion

These were needed for an assertion that has been removed. It's no longer
necessary to pass `sources` to the action creator.
2017-03-28 08:53:11 -07:00
Alex P 1cbe69e231 Merge branch 'master' into ui-polish 2017-03-27 19:01:10 -07:00
Alex P 1220d5a6b5 Comment out cell dragging css
Going to re-implement later when we have a way to differentiate between
editable and non-editable cells
2017-03-27 18:57:29 -07:00
Alex P 674f3768a1 Make custom cursors slightly smaller and higher contrast 2017-03-27 18:17:48 -07:00
Alex P 454244d91f Polish and small refactor of query builder styles 2017-03-27 17:27:52 -07:00
Alex P f4a820697b Bring the cool edit mode styles out of edit mode
However does need to be scoped to “editable” cells
2017-03-27 17:23:01 -07:00
Andrew Watkins 621697bb5d Merge pull request #1087 from influxdata/bugfix/1003-hosts-loading-message
Bugfix/1003: Hosts Loading Messaging
2017-03-27 17:14:16 -07:00
Hunter Trujillo 211af6b68a No need to coerce a string into another string. 2017-03-27 18:03:06 -06:00
Hunter Trujillo 707c8eefb3 Merge branch 'master' into bugfix/1003-hosts-loading-message
# Conflicts:
#	CHANGELOG.md
2017-03-27 17:42:57 -06:00
Hunter Trujillo 1123104421 Update changelog. 2017-03-27 17:36:04 -06:00
Hunter Trujillo 8c77440107 Remove up property from HostsPage component. It does nothing. 2017-03-27 17:31:37 -06:00
Hunter Trujillo 5747f5d561 Fix messaging for hosts page when there are no hosts. Add appropriate error messages. 2017-03-27 17:29:39 -06:00
Jared Scheib 861730fb3f (Fix) Graphs are now resizable again (#1085)
* (Fix) Graphs are now resizable again

* Update changelog
2017-03-27 15:32:40 -07:00
Andrew Watkins 766fb91e38 Fix DBRP page bugs (#1072)
* Fix confirm button not deleting a DB

* Fix cancel delete button

* Fix no name pass on creation of RP
2017-03-27 14:14:42 -07:00
Alex P f2a7ecded4 Merge branch 'master' into ui-polish 2017-03-27 12:24:58 -07:00
Alex P a7187e585b show Invert cursor on graphs 2017-03-27 12:24:50 -07:00
Alex P 1fc76f1d99 Replace standard cursors with custom ones 2017-03-27 12:24:24 -07:00
Alex P 1eced38f82 Add custom cursors and stylesheet 2017-03-27 12:23:58 -07:00
Alex P f7478d78c3 Add 2 new icons to font
Solid style Crown & Server
2017-03-27 12:08:10 -07:00
Nathan Haugo 337e2e3f09 Merge pull request #1075 from influxdata/rk-fix-changelog
Fix beta6 bug fixes entries
2017-03-27 11:37:05 -07:00
Regan Kuchan 0cd4290671 Fix beta6 bug fixes entries 2017-03-27 10:45:00 -07:00
Regan Kuchan 20e4334b41 Merge pull request #1071 from influxdata/beta6-doc-updates
Update docs for beta6 release
2017-03-24 18:23:18 -07:00
Regan Kuchan 6c6c70b6e8 Update docs for beta6 release 2017-03-24 18:22:16 -07:00
Jared Scheib 69b6de3e51 Graphs are no longer editable from a Host Page (#1069)
* Graphs can now not be edited in on a HostPage

* Update changelog
2017-03-24 17:33:48 -07:00
lukevmorris f690e4a546 Save and Cancel edits to dashboard name (#1065)
* Move isEditMode from Redux to component state

* Use ConfirmButtons instead of Save button

* Save and Cancel dashboard name edits with ConfirmButtons

* Handler should operate on values instead of events

* Update CHANGELOG
2017-03-24 16:56:46 -07:00
Chris Goller 8ac429b475 Update CHANGELOG to correct numbering 2017-03-24 16:05:17 -07:00
Chris Goller e46bb7df4b Merge pull request #1064 from influxdata/feature/changelog.1.2.0.6
Update changelog
2017-03-24 16:03:22 -07:00
nathan haugo 5494ea8599 Update changelog 2017-03-24 15:36:47 -07:00
Andrew Watkins 0deae63eee Merge pull request #1063 from influxdata/dbm-polish
Fix DB manager table column sizing
2017-03-24 14:04:19 -07:00
Andrew Watkins b2eac2442a Merge pull request #1061 from influxdata/1060-remove_visualizations_bar
Remove VisualizationSelector from Dashboard Edit Mode
2017-03-24 13:56:59 -07:00
Andrew Watkins c0d430712f Fix DB manager table column sizing
The delete RP button was not rendered if
there was only one RP for that RP's database.
This caused the table columns to render in different
sizes.  Hiding the button keep the same functionality but
preserves the sizing for the table.
2017-03-24 13:51:49 -07:00
Luke Morris fdd93f8ccf Merge branch 'master' into 1060-remove_visualizations_bar 2017-03-24 13:43:35 -07:00
Chris Goller 3107408851 Fix go dependency breaking master build 2017-03-24 13:34:56 -07:00
Luke Morris 2fd9bf220a Merge branch 'master' into 1060-remove_visualizations_bar 2017-03-24 13:32:25 -07:00
Luke Morris 815ec99eb3 Update CHANGELOG 2017-03-24 13:31:06 -07:00
Luke Morris 9470bd1a41 Remove VisualizationSelector from Dashboard Edit Mode 2017-03-24 13:29:10 -07:00
Andrew Watkins d6038cced4 Make div a button 2017-03-24 13:26:22 -07:00
lukevmorris 853ec5fa60 NameableGraph Dropdown now contains an active Delete button (#1058)
* Dropdown now contains an active Delete button

* Prefer `filter` over `findIndex` => `slice`
2017-03-24 13:24:11 -07:00
Andrew Watkins aa504b3640 Merge pull request #1029 from influxdata/feature/db-manager
Feature/db manager
2017-03-24 10:57:12 -07:00
Andrew Watkins a6f15dde43 Pass delete retention policy down down down 2017-03-24 10:42:59 -07:00