airbnb / airbnb/DeepLinkDispatch

Add support for trailing slashes

Open
#205 0 comments 8 reactions 0 assignees View on GitHub
Dominant language
Kotlin
Stars
4.4k
Forks
414
PR merge metrics
No merged PRs in 30d

Description

Our site can expose the same page with or without a trailing slash. e.g.:
`https://site.com/content`
and
`https://site.com/content/`

The `prefixes` parameter in `@DeepLinkSpec` has been immensely helpful for reducing duplicated paths, but we still have to duplicate each one with a trailing slash. It would be nice if they could be handled by DeepLinkDispatch.

Contributor guide

Open the contributing guide

Research direction

Start by tracing how the @DeepLinkSpec prefixes parameter is processed. The change is complete when DeepLinkDispatch handles both a path with and without a trailing slash, so users do not need to duplicate each path.

Written by the indexing model from the issue text.

Assessment

Tech stack
kotlin
Domain
mobile
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
52/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.