Skip to content

Allow relative URLs in info panel links #2645

Closed
@mtrezza

Description

@mtrezza

New Feature / Enhancement Checklist

Current Limitation

The info panel item keyValue allows to set a URL to link the value text. Linking absolute URLs works fine, but linking relative URLs is difficult, because it requires Parse Server to know the app name configured in Parse Dashboard.

A URL to a class in the data browser may look like this:

http://localhost/<MOUNTPATH>/apps/<APPNAME>/browser/<CLASSNAME>

When linking a relative URL the base URL is:

http://localhost/<MOUNTPATH>/

This means the parts apps/<APPNAME>/browser need to be added by Parse Server when composing the URL.

Feature / Enhancement Description

Add a new parameter isRelativeUrl that uses http://localhost/<MOUNTPATH>/apps/<APPNAME>/ as base URL.

Example Use Case

Linking to a specific _User in the data browser.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bounty:$10Bounty applies for fixing this issue (Parse Bounty Program)state:releasedReleased as stable versionstate:released-alphaReleased as alpha versiontype:featureNew feature or improvement of existing feature

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions