influxdata / influxdata/influxdb
Add the ability to deep link from outside the application
- Dominant language
- Rust
- Stars
- 31.7k
- Forks
- 3.7k
- Avg merge
- 13h 37m
- Merged PRs (30d)
- 8
Description
__Proposal:__
AS a user viewing an InfluxDB URL (in an email, shared link, in the documentation)
WHEN I click the URL
THEN I should be able to directly access the page specified in the URL
__Current behavior:__
We are currently unable to deep-link to pages in the application because the org id is part of the URL.
__Desired behavior:__
We need a way to deep-link to pages in the application without specifying the org id in the URL such as an alias. This will allow us to link directly to parts of the application from emails, shared links, and documentation.
eg. clicking `https://cloud2.influxdata.com/users`
would lead to `https://cloud2.influxdata.com/organizations/REPLACE_ORG_ID/users`
__Alternatives considered:__
- Dynamically injecting the org id in emails
- Identifying the organization with local storage instead of the URL
__Use case:__
As we move towards a multi-org state and try to make the application more accessible we need a way to direct users directly to where they should be. In our documentation site, we'd be able to take a user directly to a page and open the in-app tutorial. When a new feature is added, we can send bulletin emails with links directly to that new feature.
Contributor guide
Research direction
No files or tests are named. Review the application's routing and organization-aware URL handling first, then determine how an external path such as `/users` should resolve for the current organization. Done means external links can open the requested application page without an organization ID in the URL.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- react
- Domain
- frontend, web-dev
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100