Allow relative URLs in info panel links #2645
Labels
bounty:$10
Bounty applies for fixing this issue (Parse Bounty Program)
state:released
Released as stable version
state:released-alpha
Released as alpha version
type:feature
New feature or improvement of existing feature
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:
When linking a relative URL the base URL is:
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 useshttp://localhost/<MOUNTPATH>/apps/<APPNAME>/
as base URL.Example Use Case
Linking to a specific
_User
in the data browser.The text was updated successfully, but these errors were encountered: