Why is Angular routerLink (without leading slash) broken when you navigate back to the empty path?

Let's take this basic navigation tree:

Check out my stack flash project.

My routes are

const routes: Routes = (
  {
    path: "",
    component: PageParentComponent,
    children: (
      {
        path: "",
        component: PageChildPrimaryComponent
      },
      {
        path: "secondary",
        component: PageChildSecondaryComponent
      },
      {
        path: "secondary/deep",
        component: PageDeepComponent
      }
    )
  }
);

Use of I can successfully navigate up one level
and with
two levels.
However, if I use double dots to return from a deeper side to the "primary" side,
any routerLink that doesn't start with a slash is messed up;
the root part of the URL (https://angular-ukxb4a.stackblitz.io/ or localhost:4200/if executed locally) is replaced by %28, When i use
(Slash instead of colons), everything is fine.

Why does that happen?

2013 – Navigate to the list from the calendar event in the calendar

I have a list form and a calendar that adds the list event details. However, the process is that every time someone clicks on the calendar event, it goes into it and shows some details. However, I want someone who clicks the calendar event to forward it to the list item and not to the event details in a calendar. I am using SharePoint Designer 2013.

Thank you very much.

Navigate deep links

I am working on a mobile data flow that allows a user to unlink separate jobs within the same app via toast messages and / or notifications from a notification center.

I am having trouble returning to the original starting point.

Example (see graphic):

  1. The user drills down to job 1 and lands on the homepage at Stuff 1.1
  2. Gets a toast notification of events in Stuff 2.1 in Job 2.
  3. Tap Toast and go to Stuff 2.1
  4. Note: The user leaves job 1 and now changes to job 2
  5. The user is now in Flow Job 2> Stuff 2
  6. How does the user get back to the origin of Stuff 1.1?

IA

Thoughts:

When transitioning from 1.1 to 2.1. If I press the back arrow on stuff 2.1, I should be directed to job 2. From an IA flow point of view, this seems to be correct since I have now put my user in one side of the process.

I am at a loss as to how to restore the original screen from another part of the app after choosing to display this data.

The 2 options I've been thinking about are:

  • Hijack the Stuff 2.1 back button and leave that back to Stuff 1.1 and not the Job 2 page.
  • Design a floating back button to return to the original location so that the user can view job 2 pages and does not interfere with normal page flow

Sitemap – Site Maps: Show animations in a site map that the user has to navigate

I need to create a sitemap for a microsite.

To provide background information, the website focuses on the treatment of chronic obstructive pulmonary disease (COPD). I'm still fairly new to writing site maps.

The idea is to keep the page "simple". The user lands on the construction site and is transported to begin a patient journey. They then receive animations for 3 patients in different stages of their COPD condition. The three patient stories are presented one after the other. They are then sent to a page that contains information and links to other pages, etc. The client wants the user to be able to replay each story if the user so desires.

My question is, are there certain ways to show this or what would be the best way to present it?

At first I thought I would make a branch from the landing page, list the three profiles, and then list the information page in a second branch from the landing page. Although I think this covers the entire content, I don't think it makes it clear that the user will see the animations firstEnter image description here

Then I considered why I shouldn't start the landing page and then branch off each patient profile as shown in the image below. I think that's a little clearer in the site structure. However, it looks like you have to crawl a lot of pages to get to the content, and I wonder if this is more like a user flow than a sitemap. I could summarize the patient profiles in a box and write down the content.

Are there certain ways to show this or a good way to show it?

Enter image description here

Menu Bar – Use AppleScript to navigate to a specific input source in OS X in Catalina

Unfortunately that has changed macOS Catalina and you need to activate this menu in a different way.

The following example AppleScript codeShown below works for me in macOS CatalinaHowever, since I have tested in a virtual machine, I do not know if the time delay in executing the code, between clicking the destination menu and the subsequent code, is inherent in a problem in the virtual machine, or it is the same on a physical machine.

I did not German LaTeX2 So I used German Instead, although I replaced it in the sake of simplicity code after testing.

For this the usual reservations in: system settings > safety > privacy > accessibility

example AppleScript code:

tell application "System Events" to ¬
    tell application process "TextInputMenuAgent" to ¬
        tell menu bar item 1 of menu bar 2
            click
            click menu item "German LaTeX2" of menu 1
        end tell

This does the same thing in a different way, and one of these ways can be faster.

tell application "System Events" to ¬
    tell application process "TextInputMenuAgent" to ¬
        click menu bar item 1 of menu bar 2

tell application "System Events"
    keystroke "g"
    key code 36
end tell

To use that example AppleScript code in one handler:

changeKeyboardLayout("German LaTeX2")

on changeKeyboardLayout(layoutName)
    tell application "System Events" to ¬
        tell application process "TextInputMenuAgent" to ¬
            tell menu bar item 1 of menu bar 2
                click
                click menu item layoutName of menu 1
            end tell
end changeKeyboardLayout

Or the second version of the code:

changeKeyboardLayout("German LaTeX2")

on changeKeyboardLayout(layoutName)
    tell application "System Events" to ¬
        tell application process "TextInputMenuAgent" to ¬
            click menu bar item 1 of menu bar 2
    tell application "System Events"
        keystroke (first text item of layoutName)
        key code 36
    end tell
end changeKeyboardLayout

Note that example AppleScript code is exactly that and contains none error proper handling. It is the responsibility of the user to add one error handling as needed, need or desire. Look at that To attempt statement and error statement in that AppleScript phrasebook, See also, Work with errors,

7 – Navigate to a page with the error "Page not found"

I have a URL (/ url1) that I navigate to and that displays content based on the context module. The context module has the condition that when navigating the user to / url1 some view blocks are rendered on the page. However, the "page not found" error will also be displayed at the bottom of the page. I can not figure out how to remove this message for it to work properly. It even has the title "page not found" on the tab with the page. The blocks render as well as I would like.

php – Permalink does not navigate to the post (changes only the URL)

I do not know why, but I can not navigate to the post with a mouse click. I've tried get_permalink () and the_permalink (), but change only the URL. And all I have to do is look at the post, which was pushed (alone) after the click. Does anybody know what I'm doing wrong?

 'post'
);
$the_query = new WP_Query( $args );

// The Loop
if ( $the_query->have_posts() ) {
    while ( $the_query->have_posts() ) {
        $the_query->the_post(); ?>
        

Navigate to Android App Settings> Unit Permission

I'm trying to route permissions to the Android app settings from my Unity application. So far, I've managed to get to app settings. But I want to go one step further to get permission. I mean app settings> permissions.

Code:

try
        {
#if UNITY_ANDROID
            using (var unityClass = new AndroidJavaClass("com.unity3d.player.UnityPlayer"))
            using (AndroidJavaObject currentActivityObject = unityClass.GetStatic("currentActivity"))
            {
                string packageName = currentActivityObject.Call("getPackageName");

                using (var uriClass = new AndroidJavaClass("android.net.Uri"))
                using (AndroidJavaObject uriObject = uriClass.CallStatic("fromParts", "package", packageName, null))
                using (var intentObject = new AndroidJavaObject("android.content.Intent", "android.settings.APPLICATION_DETAILS_SETTINGS", uriObject))
                {
                    intentObject.Call("addCategory", "android.intent.category.DEFAULT");
                    intentObject.Call("setFlags", 0x10000000);
                    currentActivityObject.Call("startActivity", intentObject);
                }
            }
#endif
        }
        catch (System.Exception ex)
        {
            Debug.LogException(ex);
        }

Help, if it is possible … any help will be appropriated. Thank you in advance.