Commit graph

13209 commits

Author SHA1 Message Date
Shaunak Kashyap
de1ea90a84
Replace 2 assertions with 1 2016-07-01 17:07:45 -07:00
Shaunak Kashyap
42cc301366
Adding hidden, disabled and tooltip properties to UiNavLink class 2016-07-01 16:09:25 -07:00
Shaunak Kashyap
2601fcfea7
Adding unit tests for default paths involving various properties 2016-07-01 11:54:01 -07:00
Shaunak Kashyap
8dac9c3a0a
Using class instead of element selector 2016-07-01 11:45:42 -07:00
Shaunak Kashyap
30032c52b4
Using native Array.prototype.filter() instead of _.filter() 2016-07-01 11:35:06 -07:00
Shaunak Kashyap
f4390baae2
Using ES6 template literal instead of old school string concatenation 2016-07-01 11:32:48 -07:00
Shaunak Kashyap
a376c03115
Use ES6 find instead of _.find 2016-07-01 11:31:14 -07:00
Shaunak Kashyap
a8995e3f53
Outdenting closing bracket per styleguide 2016-07-01 11:27:21 -07:00
Shaunak Kashyap
7e931bd3a3
Adding unit test for constructor 2016-07-01 07:03:39 -07:00
Shaunak Kashyap
921533a054
Fixing minor typo 2016-07-01 07:03:18 -07:00
Shaunak Kashyap
bb45a390f8
Adding unit test for toJSON() 2016-07-01 06:58:53 -07:00
Shaunak Kashyap
9161c0c170
Throw error if nav link with given ID is not found 2016-07-01 06:07:28 -07:00
Shaunak Kashyap
0b1acad99c
Fixing test so it passes 2016-07-01 05:34:33 -07:00
Shaunak Kashyap
b25456a3c9
Giving nav links an ID
For plugins, by default the plugin ID is used as the nav link ID. This can be overridden by explicitly specifying an ID on the nav link (useful for plugins that register multiple nav links).
2016-07-01 05:11:39 -07:00
Shaunak Kashyap
96588bd12f
Refactoring: extracting functions 2016-07-01 04:03:08 -07:00
Shaunak Kashyap
27122034c9 Add tooltip to nav link 2016-07-01 03:48:05 -07:00
Shaunak Kashyap
8df249beec Method to get nav link by its title + control nav link display state 2016-07-01 03:48:05 -07:00
Spencer
931d5a0c9d Merge pull request #7596 from spalger/implement/versionedCiScript
[ci] move ci setup tasks into source control
2016-06-30 16:01:07 -07:00
spalger
995c408410 [ci] add script for snapshot build job 2016-06-30 15:41:47 -07:00
spalger
cb0659f98d [ci] move ci setup tasks into source control
Until now, the ci setup tasks were stored in the Jenkins job configuration. This moves the setup into source control so that jenkins can be told to execute `./test/scripts/jenkins_{JOB_TYPE}.sh` no matter what branch of kibana it is dealing with.
2016-06-30 12:50:56 -07:00
Court Ewing
55bd8c02e5 Merge pull request #7589 from palecur/master
Alpha4 documentation updates
2016-06-30 10:21:23 -04:00
Shaunak Kashyap
ce9efff511 Merge pull request #7586 from ycombinator/management/add-deregister-method
Adding method to deregister a (child) section
2016-06-29 16:16:50 -07:00
Shaunak Kashyap
01cf4c5158
Allow deregistering a section more than once 2016-06-29 15:49:47 -07:00
Tyler Smalley
a97184d0ed Merge pull request #7588 from tylersmalley/7563-default-index
Handle indexes with no default
2016-06-29 14:56:57 -07:00
Paul Echeverri
d8953f620d Updates release notes 2016-06-29 14:28:08 -07:00
Paul Echeverri
7711fcd776 Alpha 4 documentation update:
- Updates settings
- Documentation for Upload CSV/Add Data wizard added to Getting Started
- Screenshots updated for new UI
2016-06-29 14:27:53 -07:00
Paul Echeverri
c9554811da Updates Kibana with X-Pack Security section 2016-06-29 14:27:47 -07:00
Paul Echeverri
80772679c2 Removes description of checkbox which was, itself, removed earlier. 2016-06-29 14:27:47 -07:00
Shaunak Kashyap
61dd6e1fbf Merge pull request #7573 from ycombinator/management/disable-links
Disable links if path is not set
2016-06-29 13:50:22 -07:00
Shaunak Kashyap
333f2ac333 Merge pull request #7583 from ycombinator/management/explicitly-use-url
Explicity set `url` instead of the `path` convenience property
2016-06-29 13:50:03 -07:00
Tyler Smalley
5f5a7bebc9 Handle indexes with no default set
It's possible to add indexes to Kibana without specifying one as the default.

Previously we were re-using the edit index route, allowing for the id to be optional. If it was not specified, we used the defaultIndex. To handle redirecting to the create index route, we would need to throw an exception to prevent the route from rendering.

Instead, this creates a new route for the landing page, which redirects to the defaultIndex or the edit index page respectively.

Signed-off-by: Tyler Smalley <tyler.smalley@elastic.co>
2016-06-29 12:59:33 -07:00
Shaunak Kashyap
a9013a5b88 Adding method to deregister a (child) section 2016-06-29 12:04:42 -07:00
Shaunak Kashyap
efe0676d62
Separating multiple tooltip attributes on to their own lines 2016-06-29 10:33:25 -07:00
Shaunak Kashyap
19ad7d2111 Moving tooltip to anchor element 2016-06-29 10:31:40 -07:00
Shaunak Kashyap
44ce775ec8 Disable links if path is not set
Also show tooltip message. This tooltip can be used to explain why the link is disabled or used under normal circumstances when the link is enabled as well.
2016-06-29 10:28:19 -07:00
Shaunak Kashyap
cc04c580e3 Updating unit tests 2016-06-29 10:26:28 -07:00
Shaunak Kashyap
5bd0598e6a Remove path convenience property 2016-06-29 10:26:28 -07:00
Shaunak Kashyap
ec4f5e405a Explicity set url instead of the path convenience property 2016-06-29 10:26:28 -07:00
Shaunak Kashyap
ff5f1ec728 Breaking up long line into multiple lines (missed a spot!) 2016-06-29 10:26:28 -07:00
Shaunak Kashyap
9b89b8e7bd Break up long line into multiple lines 2016-06-29 10:26:28 -07:00
Shaunak Kashyap
34568f59f5 Outdenting closing brackets per style guide 2016-06-29 10:26:28 -07:00
Shaunak Kashyap
007f54f433 Improving code to better reflect intent 2016-06-29 10:26:28 -07:00
Shaunak Kashyap
9a21e542cb Moving ending bracket to own line per updated styleguide 2016-06-29 10:26:28 -07:00
Shaunak Kashyap
261a50a7a1 Disable links if path is not set
Also show tooltip message. This tooltip can be used to explain why the link is disabled or used under normal circumstances when the link is enabled as well.
2016-06-29 10:26:28 -07:00
Court Ewing
323a3a951e Merge pull request #7578 from bevacqua/hotfix/config-xss
Fixed scripting issues due to improperly encoded kibana payload
2016-06-29 13:14:04 -04:00
Shaunak Kashyap
e8a776e30a
Updating unit tests 2016-06-29 09:29:23 -07:00
Shaunak Kashyap
4425bfdca0
Remove path convenience property 2016-06-29 09:20:18 -07:00
Shaunak Kashyap
8b49815ef2
Explicity set url instead of the path convenience property 2016-06-29 09:19:56 -07:00
Court Ewing
791fe38100 Merge pull request #7577 from epixa/node447
Bump node to 4.4.7 and npm to 2.15.8
2016-06-29 12:00:03 -04:00
Nicolás Bevacqua
4854f2d967 Revert "Revert "Merge pull request #7568 from bevacqua/hotfix/config-xss""
This reverts commit dda84e9920.
2016-06-29 12:02:17 -03:00