Skip to content

Commit

Permalink
Merge branch 'master' into checkmarx-fix
Browse files Browse the repository at this point in the history
* master: (39 commits)
  fixes zero innerwidth check which causes wrong semicollapsible mode (SAP#1291)
  update fundamental library in luigi core (SAP#1267)
  docu fix (SAP#1286)
  Added new fiddle test (SAP#1253)
  update fiddle to use luigi 1.0.1
  Update luigi-client-api.md
  updated code for auto routing experet scenario (SAP#1268)
  Fix leftnav nav-sync issue (SAP#1271)
  Fiddle demo page mobile view (SAP#1263)
  hide shellbar title for docu page
  docu page title fix (SAP#1279)
  Fix no-framework and react setup scripts (SAP#1250)
  run npm step only on tag starting with v (SAP#1255)
  Move npm and other dependencies to devDependencies in core (SAP#1252)
  release 1.0.1 (SAP#1254)
  remove outdated code (SAP#1251)
  Fix GitHub security alerts (SAP#1248)
  Release CLI (SAP#1242)
  add faq question (SAP#1238)
  upgrade version of fundametal library styles, include sap fonts and icons, adjust html structure for fd-menu (SAP#1237)
  ...
  • Loading branch information
JohannesDoberer committed Apr 24, 2020
2 parents 02c6d8f + f3778a3 commit f407c91
Show file tree
Hide file tree
Showing 150 changed files with 15,321 additions and 11,287 deletions.
6 changes: 4 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -93,11 +93,13 @@ jobs:
- name: 'Whitesource check'
if: repo = SAP/luigi AND branch = master
# if: repo = SAP/luigi AND (branch = master OR branch = release-v1)
# Whitesource can't deal with symlinking, therefore we can't use lerna
script:
- 'if [ ! -z "${WHITESOURCE_APIKEY}" ]; then
npm --prefix ./client ci ./client;
npm --prefix ./core ci ./core;
npm --prefix ./website/landingpage/dev install ./website/landingpage/dev;
npm --prefix ./website/fiddle install ./website/fiddle;
lerna bootstrap --ci;
npm i -g whitesource;
bash ./scripts/whiteSource.sh;
fi'
Expand All @@ -117,7 +119,7 @@ jobs:
name: 'Publish to NPM'
# run only when merging from release-v branch to master
# if: repo = SAP/luigi AND (branch = master OR branch ~= ^release-v)
if: repo = SAP/luigi AND branch = master
if: repo = SAP/luigi AND tag ~= ^v
script:
- bash ./scripts/npmPublish.sh
before_cache:
Expand Down
18 changes: 17 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,21 @@ The lerna-changelog tool detects changes based on PR labels and maps them to sec
...
}
-->


## [v1.0.1] (2020-04-09)

#### :rocket: Added
* [#1226](https://github.com/SAP/luigi/pull/1226) Add fromVirtualTreeRoot to linkManager ([@maxmarkus](https://github.com/maxmarkus))
* [#1222](https://github.com/SAP/luigi/pull/1222) Add fromParent to linkManager ([@ndricimrr](https://github.com/ndricimrr))
* [#1159](https://github.com/SAP/luigi/pull/1159) Getting notified of unresponsive Luigi clients ([@zarkosimic](https://github.com/zarkosimic))

#### :bug: Fixed
* [#1251](https://github.com/SAP/luigi/pull/1251) Flyout should close after click ([@marynaKhromova](https://github.com/marynaKhromova))
* [#1213](https://github.com/SAP/luigi/pull/1213) Fix OIDC storage: none ([@maxmarkus](https://github.com/maxmarkus))
* [#1220](https://github.com/SAP/luigi/pull/1220) Fix duplicate login logout buttons ([@maxmarkus](https://github.com/maxmarkus))


## [v1.0.0] (2020-03-26)

#### :rocket: Added
Expand Down Expand Up @@ -705,4 +720,5 @@ The lerna-changelog tool detects changes based on PR labels and maps them to sec
[v0.7.5]: https://github.com/SAP/luigi/compare/v0.7.4...v0.7.5
[v0.7.6]: https://github.com/SAP/luigi/compare/v0.7.5...v0.7.6
[v0.7.7]: https://github.com/SAP/luigi/compare/v0.7.6...v0.7.7
[v1.0.0]: https://github.com/SAP/luigi/compare/v0.7.7...v1.0.0
[v1.0.0]: https://github.com/SAP/luigi/compare/v0.7.7...v1.0.0
[v1.0.1]: https://github.com/SAP/luigi/compare/v1.0.0...v1.0.1
4 changes: 1 addition & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# Luigi
<p align="center">
<img src="https://raw.githubusercontent.com/sap/luigi/master/logo.png" width="235">
</p>
</p>

## Overview

Expand Down Expand Up @@ -57,7 +57,6 @@ import {
} from '@luigi-project/client-ie11';
```

<!-- add-attribute:class:warning -->
> **NOTE**: The example applications are not fully compatible with IE11.
## Development
Expand All @@ -72,7 +71,6 @@ For security reasons, follow these guidelines when developing a micro frontend:
- Maintain a whitelist with trusted domains and compare it with the origin of the Luigi Core application. The origin will be passed when you call the init listener in your micro frontend. Stop further processing if the origin does not match.


<!-- add-attribute:class:success -->
> **NOTE**: Luigi follows these [sandbox rules for iframes](https://github.com/SAP/luigi/blob/af1deebb392dcec6490f72576e32eb5853a894bc/core/src/utilities/helpers/iframe-helpers.js#L140).

Expand Down
20 changes: 20 additions & 0 deletions client/luigi-client.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -220,6 +220,26 @@ export declare interface LinkManager {
*/
fromContext: (navigationContext: string) => this;

/**
* Enables navigating to sibling nodes without knowing the absolute path
* @memberof linkManager
* @returns {linkManager} link manager instance
* @since 1.0.1
* @example
* LuigiClient.linkManager().fromParent().navigate('/sibling')
*/
fromParent: () => this;

/**
* Sets the current navigation base to the parent node that is defined as virtualTree. This method works only when the currently active micro frontend is inside a virtualTree.
* @memberof linkManager
* @returns {linkManager} link manager instance
* @since 1.0.1
* @example
* LuigiClient.linkManager().fromVirtualTreeRoot().navigate('/users/groups/stakeholders')
*/
fromVirtualTreeRoot: () => this;

/**
* Discards the active view and navigates back to the last visited view. Works with preserved views, and also acts as the substitute of the browser **back** button. **goBackContext** is only available when using preserved views.
* @memberof linkManager
Expand Down
Loading

0 comments on commit f407c91

Please sign in to comment.