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

Pin open definitions to hash on perspective change #276

Merged
merged 1 commit into from
Nov 23, 2021

Conversation

hojberg
Copy link
Member

@hojberg hojberg commented Nov 23, 2021

Overview

When there's any number of definitions open and a new perspective is
selected, the definitions that were open with references based on names,
will no longer have a resolvable name if they were to be re-queried (on
a page refresh for instance). Fix this by changing all open definitions
to be referenced by hash when the perspective is changed.

Fixes #270

When there's any number of definitions open and a new perspective is
selected, the definitions that were open with references based on names,
will no longer have a resolvable name if they were to be re-queried (on
a page refresh for instance). Fix this by changing all open definitions
to be referenced by hash when the perspective is changed.
@hojberg hojberg force-pushed the permalinks-for-changing-perspective branch from bb76e99 to 0fe8d70 Compare November 23, 2021 18:26
Copy link
Member

@pchiusano pchiusano left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Makes sense!

Base automatically changed from re-org-routing-model to main November 23, 2021 19:02
@hojberg hojberg merged commit a1532a9 into main Nov 23, 2021
@hojberg hojberg deleted the permalinks-for-changing-perspective 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.

URLs fail to work when opening a definition from one namespace and changing perspective to another
2 participants