Skip to content

Add stable instance identity to NavigationManager #109

Description

@marioserrano09

Part of #107.

Problem

There is no stable, framework-agnostic identifier correlating a NavigationManager instance to "which tab/iframe/desktop" it belongs to. This is needed to:

Change

  • Add an id (e.g. String getId()) to the NavigationManager interface, generated on creation, independent of any ZK type (Desktop, etc.) — core navigation module must stay UI-framework-agnostic.
  • Implement in BaseNavigationManager (generate a random/opaque id at construction).
  • ZKNavigationManager may optionally expose the ZK Desktop id as a convenience, but the core contract must not depend on it.

Affected files

  • platform/core/navigation/src/main/java/tools/dynamia/navigation/NavigationManager.java
  • platform/core/navigation/src/main/java/tools/dynamia/navigation/BaseNavigationManager.java
  • platform/ui/zk/src/main/java/tools/dynamia/zk/navigation/ZKNavigationManager.java

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions