Skip to content

Allow relative URLs in info panel links #2645

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
3 tasks done
mtrezza opened this issue Jan 31, 2025 · 3 comments · Fixed by #2646
Closed
3 tasks done

Allow relative URLs in info panel links #2645

mtrezza opened this issue Jan 31, 2025 · 3 comments · Fixed by #2646
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

Comments

@mtrezza
Copy link
Member

mtrezza commented Jan 31, 2025

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.

Copy link

parse-github-assistant bot commented Jan 31, 2025

Thanks for opening this issue!

  • 🎉 We are excited about your ideas for improvement!

@mtrezza mtrezza added type:feature New feature or improvement of existing feature bounty:$10 Bounty applies for fixing this issue (Parse Bounty Program) labels Jan 31, 2025
@parseplatformorg
Copy link
Contributor

🎉 This change has been released in version 6.0.0-alpha.26

@parseplatformorg parseplatformorg added the state:released-alpha Released as alpha version label Jan 31, 2025
@parseplatformorg
Copy link
Contributor

🎉 This change has been released in version 6.1.0

@parseplatformorg parseplatformorg added the state:released Released as stable version label Mar 4, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
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
Projects
None yet
2 participants