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

Simple storage api for micro frontends#1696 #1707

Merged
merged 31 commits into from
Nov 24, 2020
Merged

Conversation

legteodav
Copy link
Contributor

@legteodav legteodav commented Nov 16, 2020

Description

Simple storage api for micro frontends#1696
We added a new storage api to centralise in Luigi Core, key/value local storage. Here the main changes:

  • New Client API sending a new type of message: storage

  • Change in Core to receive. processes and send back the storage message

  • New section in Demo application to test the new Feature

Related issue(s)
Resolves #1696

hardl
hardl previously requested changes Nov 19, 2020
@stanleychh
Copy link
Contributor

@legteodav , I left minor suggestions and please fix conflicting file as well.

legteodav and others added 5 commits November 24, 2020 13:55
Co-authored-by: Stanley Hsu <stanleyhsu1984@gmail.com>
# Conflicts:
#	test/e2e-test-application/src/app/project/project.component.html (use theirs!!!!!!!, didn't touch in my feature)
Copy link
Contributor

@JohannesDoberer JohannesDoberer left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good Job!! 👍

@alexandra-simeonova alexandra-simeonova self-assigned this Nov 24, 2020
legteodav and others added 15 commits November 24, 2020 16:17
Co-authored-by: Aleksandra Simeonova <aleksandra.simeonova@sap.com>
Co-authored-by: Aleksandra Simeonova <aleksandra.simeonova@sap.com>
Co-authored-by: Aleksandra Simeonova <aleksandra.simeonova@sap.com>
Co-authored-by: Aleksandra Simeonova <aleksandra.simeonova@sap.com>
Co-authored-by: Aleksandra Simeonova <aleksandra.simeonova@sap.com>
Co-authored-by: Aleksandra Simeonova <aleksandra.simeonova@sap.com>
Co-authored-by: Aleksandra Simeonova <aleksandra.simeonova@sap.com>
Co-authored-by: Aleksandra Simeonova <aleksandra.simeonova@sap.com>
Co-authored-by: Aleksandra Simeonova <aleksandra.simeonova@sap.com>
Co-authored-by: Aleksandra Simeonova <aleksandra.simeonova@sap.com>
Co-authored-by: Aleksandra Simeonova <aleksandra.simeonova@sap.com>
Co-authored-by: Aleksandra Simeonova <aleksandra.simeonova@sap.com>
Co-authored-by: Aleksandra Simeonova <aleksandra.simeonova@sap.com>
@legteodav legteodav dismissed hardl’s stale review November 24, 2020 17:26

I actually already integrate the chagnes

@legteodav legteodav merged commit 499fffc into SAP:master Nov 24, 2020
@ndricimrr ndricimrr added the enhancement New feature or request label Nov 24, 2020
@ndricimrr ndricimrr mentioned this pull request Nov 25, 2020
JohannesDoberer added a commit that referenced this pull request Nov 25, 2020
* master:
  add blog post (#1731)
  Release v1.6.0 (#1729)
  cm fix (#1727)
  Added state info to replacestate (#1725)
  Simple storage api for micro frontends#1696 (#1707)
  Fix broken angular link (#1717)
  Fix css issue for Iframe (#1716)
JohannesDoberer added a commit to JohannesDoberer/luigi that referenced this pull request Nov 25, 2020
* feature-user-settings:
  add blog post (SAP#1731)
  Release v1.6.0 (SAP#1729)
  cm fix (SAP#1727)
  Profile setting dialog (SAP#1710)
  Added state info to replacestate (SAP#1725)
  Simple storage api for micro frontends#1696 (SAP#1707)
  Fix broken angular link (SAP#1717)
  Fix css issue for Iframe (SAP#1716)

# Conflicts:
#	test/e2e-test-application/src/luigi-config/extended/settings.js
stanleychh added a commit to stanleychh/luigi that referenced this pull request Dec 30, 2021
* Adding new StorageManager

* Adding more jsdocs

* Some refactoring

* Remove Sync version

* Adding Core logic

* removing methods async
Adding first tests

* Cleaning Code
Adding more tests
Adding Documentation

* Refactor code to remove duplicate lines...

* Changing logic how to create local storage keys (we will use micro front host name and not Luigi Core hostname)

* Update core/src/utilities/helpers/storage-helper.js

Co-authored-by: Stanley Hsu <stanleyhsu1984@gmail.com>

* Removing one line function

* Re-adding html in project component that i removed during merge conflicts

* Change size from 580 to 590

* Repply css changes lost after merge with master

* Fixing documentation

* Update client/src/storageManager.js

Co-authored-by: Aleksandra Simeonova <aleksandra.simeonova@sap.com>

* Update client/src/storageManager.js

Co-authored-by: Aleksandra Simeonova <aleksandra.simeonova@sap.com>

* Update client/src/storageManager.js

Co-authored-by: Aleksandra Simeonova <aleksandra.simeonova@sap.com>

* Update client/src/storageManager.js

Co-authored-by: Aleksandra Simeonova <aleksandra.simeonova@sap.com>

* Update client/src/storageManager.js

Co-authored-by: Aleksandra Simeonova <aleksandra.simeonova@sap.com>

* Update client/src/storageManager.js

Co-authored-by: Aleksandra Simeonova <aleksandra.simeonova@sap.com>

* Update client/src/storageManager.js

Co-authored-by: Aleksandra Simeonova <aleksandra.simeonova@sap.com>

* Update client/src/storageManager.js

Co-authored-by: Aleksandra Simeonova <aleksandra.simeonova@sap.com>

* Update client/src/storageManager.js

Co-authored-by: Aleksandra Simeonova <aleksandra.simeonova@sap.com>

* Update client/src/storageManager.js

Co-authored-by: Aleksandra Simeonova <aleksandra.simeonova@sap.com>

* Update client/src/storageManager.js

Co-authored-by: Aleksandra Simeonova <aleksandra.simeonova@sap.com>

* Update client/src/storageManager.js

Co-authored-by: Aleksandra Simeonova <aleksandra.simeonova@sap.com>

* Update client/src/storageManager.js

Co-authored-by: Aleksandra Simeonova <aleksandra.simeonova@sap.com>

* Regenerate Docs for API

* Removing Storage project

Co-authored-by: Stanley Hsu <stanleyhsu1984@gmail.com>
Co-authored-by: Aleksandra Simeonova <aleksandra.simeonova@sap.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Simple storage api for micro frontends
6 participants