Skip to content

[✨ FEATURE] Allow navigate function to support other URL schemes like mailto: #2708

@arcanaxion

Description

@arcanaxion

πŸ” Feature Description

From: #2707

Code like the following should open the email client:

import taipy.gui.builder as tgb
from taipy.gui import Gui, navigate

def mail_to(state):
    navigate(state, to="mailto:[email protected]")

with tgb.Page() as page:
    tgb.button("Click me", on_action=mail_to)

Gui(page).run()

πŸ“œ Code of Conduct

  • I have checked the existing issues to avoid duplicates.
  • I am willing to work on this issue (optional)

βœ… Acceptance Criteria

  • A working demo or example code (if applicable) is provided.
  • Integration tests demonstrate the new functionality.
  • Any new code is covered by unit tests.
  • Code coverage remains at least 90%.
  • Related documentation updates and release notes are created.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions