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

Feat: Unsaved Changes Modal #2488

Draft
wants to merge 19 commits into
base: next
Choose a base branch
from
Draft

Feat: Unsaved Changes Modal #2488

wants to merge 19 commits into from

Conversation

josenriagu
Copy link
Member

Description

  • create and connect unsaved changes modal to
  • 1: edit profile page
  • 2: beam editor page
  • 3: edit profile interests page

Issues that will be closed

Testing

Checklist

  • I have read the README document
  • I have read the CONTRIBUTING document
  • I have added tests to cover my changes
  • All new and existing tests passed
  • My commit message follows Conventional Commit Guideline

Copy link

cloudflare-workers-and-pages bot commented Nov 14, 2024

Deploying akasha-core-framework with  Cloudflare Pages  Cloudflare Pages

Latest commit: 2997184
Status: ✅  Deploy successful!
Preview URL: https://e3bdfcb4.akasha-world-framework.pages.dev
Branch Preview URL: https://dev-425.akasha-world-framework.pages.dev

View logs

Signed-off-by: Josemaria Nriagu <[email protected]>
@github-actions github-actions bot added the tests label Nov 22, 2024
* get the appName and navigationUrl from the newUrl state
*/
const splitPathNames = new URL(newUrl).pathname.split('/');
const appName = splitPathNames.slice(1, 3).join('/');
Copy link
Member

Choose a reason for hiding this comment

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

appName here is not correct, you are assuming that names are always in the form of <namespace>/<appname> which is not the case.
For this specific case you'll need to use singleSpa.navigateToUrl. you have access to singleSpa from the useRootComponentProps

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants