epam / epam/UUI

[Docs] Store properties in URL on a component's Property Explorer page

Open
#2,787 2 comments 0 reactions 0 assignees View on GitHub
Documentation improvement
Dominant language
TypeScript
Stars
247
Forks
78
Avg merge
14h 27m
Merged PRs (30d)
15

Description

## Now

Sometimes it is necessary to share a customized version of a component with a team so that they can understand the idea of how it will look and work in our case. For example, I would like to show how `NumericInput` without arrows and up 2 fractional digits would look and work. Currently, I would need to share the link to the component's Property Explorer page and a screenshot of how the properties should look like with the highlighted differences (or describe what needs to be changed in text), which is inconvenient.

## To Do

1. Store all or only changed properties in URL on a component's Property Explorer page. It can be a simple key-value pair or a hash string like in TypeScript Playground (for example, https://www.typescriptlang.org/play/?#code/MYewdgziA2CmB00QHMAUAiAEraSA0ABAKpECS6AlANwBQQA)
2. (Optional) Add a button on UI to copy URL and a notification that the URL has been copied to clipboard, like in TypeScript Playground ("Share" button)

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.