You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/developer/contributing/development-github.asciidoc
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -25,7 +25,7 @@ Pull requests are made into the `master` branch and then backported when it is s
25
25
* Breaking changes do not get backported and only go into `master`.
26
26
* All non-breaking changes can be backported to the `<major>.x` branch.
27
27
* Features should not be backported to a `<major>.<minor>` branch.
28
-
* Bugs can be backported to a `<major>.<minor>` branch if the changes are safe and appropriate. Safety is a judgment call you make based on factors like the bug's severity, test coverage, confidence in the changes, etc. Your reasoning should be included in the pull request description.
28
+
* Bug fixes can be backported to a `<major>.<minor>` branch if the changes are safe and appropriate. Safety is a judgment call you make based on factors like the bug's severity, test coverage, confidence in the changes, etc. Your reasoning should be included in the pull request description.
29
29
* Documentation changes can be backported to any branch at any time.
Copy file name to clipboardExpand all lines: docs/development/core/public/kibana-plugin-core-public.applicationstart.geturlforapp.md
+4-2Lines changed: 4 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -4,9 +4,11 @@
4
4
5
5
## ApplicationStart.getUrlForApp() method
6
6
7
-
Returns an URL to a given app, including the global base path. By default, the URL is relative (/basePath/app/my-app). Use the `absolute` option to generate an absolute url (http://host:port/basePath/app/my-app)
7
+
Returns the absolute path (or URL) to a given app, including the global base path.
8
8
9
-
Note that when generating absolute urls, the origin (protocol, host and port) are determined from the browser's location.
9
+
By default, it returns the absolute path of the application (e.g `/basePath/app/my-app`<!---->). Use the `absolute` option to generate an absolute url instead (e.g `http://host:port/basePath/app/my-app`<!---->)
10
+
11
+
Note that when generating absolute urls, the origin (protocol, host and port) are determined from the browser's current location.
| [getUrlForApp(appId, options)](./kibana-plugin-core-public.applicationstart.geturlforapp.md) | ReturnsanURLtoagivenapp, includingtheglobalbasepath.Bydefault, theURLisrelative (/basePath/app/my-app). Usethe <code>absolute</code> optiontogenerateanabsoluteurl(http://host:port/basePath/app/my-app)<!-- -->Note that when generating absolute urls, the origin (protocol, host and port) are determined from the browser's location. |
26
+
| [getUrlForApp(appId, options)](./kibana-plugin-core-public.applicationstart.geturlforapp.md) | Returnstheabsolutepath (orURL)toagivenapp, includingtheglobalbasepath.<!-- -->Bydefault, itreturnstheabsolutepathoftheapplication (e.g <code>/basePath/app/my-app</code>). Usethe <code>absolute</code> optiontogenerateanabsoluteurlinstead (e.g <code>http://host:port/basePath/app/my-app</code>)<!-- -->Note that when generating absolute urls, the origin (protocol, host and port) are determined from the browser's current location. |
| [navigateToUrl(url)](./kibana-plugin-core-public.applicationstart.navigatetourl.md) | Navigate to given URL in a SPA friendly way when possible (when the URL will redirect to a valid application within the current basePath).<!-- -->The method resolves pathnames the same way browsers do when resolving a <code><a href></code> value. The provided <code>url</code> can be: - an absolute URL - an absolute path - a path relative to the current URL (window.location.href)<!-- -->If all these criteria are true for the given URL: - (only for absolute URLs) The origin of the URL matches the origin of the browser's current location - The resolved pathname of the provided URL/path starts with the current basePath (eg. /mybasepath/s/my-space) - The pathname segment after the basePath matches any known application route (eg. /app/<id>/ or any application's <code>appRoute</code> configuration)<!-- -->Then a SPA navigation will be performed using <code>navigateToApp</code> using the corresponding application and path. Otherwise, fallback to a full page reload to navigate to the url using <code>window.location.assign</code> |
Copy file name to clipboardExpand all lines: docs/development/core/public/kibana-plugin-core-public.applicationstart.navigatetourl.md
+8-3Lines changed: 8 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -4,9 +4,11 @@
4
4
5
5
## ApplicationStart.navigateToUrl() method
6
6
7
-
Navigate to given url, which can either be an absolute url or a relative path, in a SPA friendly way when possible.
7
+
Navigate to given URL in a SPA friendly way when possible (when the URL will redirect to a valid application within the current basePath).
8
8
9
-
If all these criteria are true for the given url: - (only for absolute URLs) The origin of the URL matches the origin of the browser's current location - The pathname of the URL starts with the current basePath (eg. /mybasepath/s/my-space) - The pathname segment after the basePath matches any known application route (eg. /app/<id>/ or any application's `appRoute` configuration)
9
+
The method resolves pathnames the same way browsers do when resolving a `<a href>` value. The provided `url` can be: - an absolute URL - an absolute path - a path relative to the current URL (window.location.href)
10
+
11
+
If all these criteria are true for the given URL: - (only for absolute URLs) The origin of the URL matches the origin of the browser's current location - The resolved pathname of the provided URL/path starts with the current basePath (eg. /mybasepath/s/my-space) - The pathname segment after the basePath matches any known application route (eg. /app/<id>/ or any application's `appRoute` configuration)
10
12
11
13
Then a SPA navigation will be performed using `navigateToApp` using the corresponding application and path. Otherwise, fallback to a full page reload to navigate to the url using `window.location.assign`
Copy file name to clipboardExpand all lines: docs/development/plugins/expressions/public/kibana-plugin-plugins-expressions-public.expressionrenderdefinition.displayname.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -9,5 +9,5 @@ A user friendly name of the renderer as will be displayed to user in UI.
Copy file name to clipboardExpand all lines: docs/development/plugins/expressions/server/kibana-plugin-plugins-expressions-server.expressionrenderdefinition.displayname.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -9,5 +9,5 @@ A user friendly name of the renderer as will be displayed to user in UI.
0 commit comments