Skip to content

Commit

Permalink
Add navigation controls example
Browse files Browse the repository at this point in the history
  • Loading branch information
johnman committed Jan 30, 2024
1 parent f982603 commit 204274f
Show file tree
Hide file tree
Showing 4 changed files with 23 additions and 5 deletions.
1 change: 1 addition & 0 deletions how-to/workspace-platform-starter/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@

- Added support for dock submenus
- Added support for customizing the taskbar icon for the splash screen window
- Added an example of navigating content using navigation controls. Enabled through default window options in the main [manifest.fin.json](./public/manifest.fin.json) and in our developer docs snapshot [developer.snapshot.fin.json](./public/common/snapshots/developer.snapshot.fin.json)

## v16.1.0

Expand Down
4 changes: 2 additions & 2 deletions how-to/workspace-platform-starter/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@ This how to provides an example of a configurable workspace platform. Please use

Launch pre-configured examples to get an idea of what a customized workspace platform can look like. You can launch both of them if you would like to see OpenFin Workspace's multi platform support.

| Example | Description |
| --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
| Example | Description |
| -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
| [Workspace Platform Starter Example](https://start.openfin.co/?manifest=https%3A%2F%2Fbuilt-on-openfin.github.io%2Fworkspace-starter%2Fworkspace%2Fv17.0.0%2Fworkspace-platform-starter%2Fmanifest.fin.json) | This is an example of a customized workspace with a light/dark theme, no authentication and some configured options. |
| [Second Workspace Platform Starter Example](https://start.openfin.co/?manifest=https%3A%2F%2Fbuilt-on-openfin.github.io%2Fworkspace-starter%2Fworkspace%2Fv17.0.0%2Fworkspace-platform-starter%2Fsecond.manifest.fin.json) | This second instance includes the use of a demo authentication flow and has additional browser buttons configured. It also takes advantage of the built-in light/dark theme support. |
| [Third Workspace Platform Starter Example](https://start.openfin.co/?manifest=https%3A%2F%2Fbuilt-on-openfin.github.io%2Fworkspace-starter%2Fworkspace%2Fv17.0.0%2Fworkspace-platform-starter%2Fthird.manifest.fin.json) | This third instance has a light theme and is configured to use an fdc3 1.2 app directory that includes a few FDC3 helper tools to help get you up and running. |
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,14 @@
"componentState": {
"url": "https://developers.openfin.co/of-docs/docs/workspace-overview",
"componentName": "view",
"interop": {}
"interop": {},
"workspacePlatform": {
"browserNavigationButtons": {
"back": true,
"forward": true,
"reload": true
}
}
},
"title": "Workspace Docs"
}
Expand All @@ -55,7 +62,14 @@
"componentState": {
"url": "https://developer.openfin.co/docs/javascript/stable/index.html",
"componentName": "view",
"interop": {}
"interop": {},
"workspacePlatform": {
"browserNavigationButtons": {
"back": true,
"forward": true,
"reload": true
}
}
},
"title": "OpenFin API Docs"
}
Expand Down
5 changes: 4 additions & 1 deletion how-to/workspace-platform-starter/public/manifest.fin.json
Original file line number Diff line number Diff line change
Expand Up @@ -355,7 +355,10 @@
"title": "Browser Starter",
"favicon": "http://localhost:8080/favicon.ico",
"newTabUrl": "http://localhost:8080/common/views/platform/new-tab/new-tab.html",
"newPageUrl": "http://localhost:8080/common/views/platform/new-tab/new-tab.html"
"newPageUrl": "http://localhost:8080/common/views/platform/new-tab/new-tab.html",
"navigationButtons": {
"enabled": true
}
}
},
"defaultViewOptions": {
Expand Down

0 comments on commit 204274f

Please sign in to comment.