Skip to content
This repository was archived by the owner on Jul 19, 2022. It is now read-only.

Organize the routing model to favor "latest"#275

Merged
hojberg merged 1 commit into
mainfrom
re-org-routing-model
Nov 23, 2021
Merged

Organize the routing model to favor "latest"#275
hojberg merged 1 commit into
mainfrom
re-org-routing-model

Conversation

@hojberg

@hojberg hojberg commented Nov 23, 2021

Copy link
Copy Markdown
Member

Overview

Ensure that we use Relative everywhere and disable Absolute URLs until we are ready to support them.

Closes #242

Implementation notes

Add comments to communicate why this is done (Share doesn't support history) and change PreApp to fetch the perspective information from Api.codebaseHash instead of Api.list (so we can limit Api to only use Perspective instead of PerspectiveParams).

Loose ends

Down the line (when Share again supports historic codebases), we should design a "permalink" like feature for absolute urls similar to what we see on GitHub.

Ensure that we use Relative everywhere and disable Absolute URLs until
we are ready to support them. Add comments to communicate why this is
done (Share doesn't support history) and change PreApp to fetch the
perspective information from Api.codebaseHash instead of Api.list (so we
can limit Api to only use Perspective instead of PerspectiveParams).
@hojberg hojberg requested a review from pchiusano November 23, 2021 16:11
@hojberg hojberg merged commit 52a2723 into main Nov 23, 2021
@hojberg hojberg deleted the re-org-routing-model branch November 23, 2021 19:02
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Flip the route order of relative and absolute

1 participant