Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Reload same node fails if no iframe exists #392

Merged
merged 108 commits into from
Feb 5, 2019

Conversation

maxmarkus
Copy link
Contributor

Added check if a a iframe was found, to not trying to reload a non-existing iframe.

pekura and others added 30 commits August 6, 2018 13:56
This reverts commit ec5f47c.
…nsaved-changes-modal

# Conflicts:
#	core/src/services/routing.js
@y-kkamil y-kkamil self-assigned this Feb 4, 2019
@y-kkamil y-kkamil removed their assignment Feb 4, 2019
@y-kkamil y-kkamil merged commit 012c974 into SAP:master Feb 5, 2019
@maxmarkus maxmarkus deleted the reload-same-node branch April 15, 2019 13:43
stanleychh pushed a commit to stanleychh/luigi that referenced this pull request Dec 30, 2021
* tets

* Revert "tets"

This reverts commit ec5f47c.

* Modal interaction works

* tets

* Implement the prompt

* Improve code & add comments

* Add support for custom title and text

* Fix obsolete import

* Luigi client creates extra entry in browser navigation history - fix.

* Handle potential errors

* Add unit test

* Add demo to Angular example & add e2e tests

* Update comment in e2e

* Undo temporary change

* Remove unnecessary css imports

* Add missing dependency

* Remove unnecessary changes

* Refactor state structure in app.html

* extract checking if component is able to handle modal

* shorten promise handling

* Remove obsolete changes

* Improve dirty page example in Angular app

* Improve solution

* Improve history handling

* Fix typo

* Add missing dependency

* Improve e2e & use dedicated `data-cy` attribute

* Remove unnecessary e2e comment

* hash navigation in FF fix

* context switcher on blur FF fix

* do not show three dot menu on narrow screens if there is no displayable top nav node

* top nav links from the three dots menu did not work properly - fix

* - fix content rendering in edge browser
- title vertical alignment fix

* Remove obsolete comment

* rename 'changeDirtyStatus' method & generate proper docu

* Rename e2e tests

* Polish the language

* Remove unnecessary comment

* Center the modal when side nav is collapsed

* center the modal in the iframe

* Improve modal responsiveness with side Nav

* Remove unwanted history entry when user declines redirecting

* Avoid unwanted history entry when redirecting

* Remove unnecessary example from docu

* Focus "Yes" button on modal

* Improve modal positioning

* typo in doc

* Improve responsiveness

* Update unsaved changes modal trigger to support external links on top and left nav

* Support unsaved changes modal trigger on logout

* Refactorings to minimize code duplication

* Add error handler for showUnsavedChangesModal on handleRouteClick mehtod

* For navigation from luigi client, apply unsaved changes logic without browser history manipulation

* Avoid needing to click twice in the modal when clicking history back and then No in the modal

* Fix unit tests

* triggering iframe reload when the same route is accessed again

* window path needs to be trimmed for path routing

* be gracefully, sometimes, there is no spoon.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

7 participants