* Scroll to top when last visit was more than 24 hours ago
Signed-off-by: Fanit Kolchina <kolchfa@amazon.com>
* Changed localStorage to sessionStorage
Signed-off-by: Fanit Kolchina <kolchfa@amazon.com>
Signed-off-by: Fanit Kolchina <kolchfa@amazon.com>
* Adds back to top button
Signed-off-by: Fanit Kolchina <kolchfa@amazon.com>
* Makes sidebar sticky
Signed-off-by: Fanit Kolchina <kolchfa@amazon.com>
* Gives more real estate to the main pane
Signed-off-by: Fanit Kolchina <kolchfa@amazon.com>
* Adds copy button
Signed-off-by: Fanit Kolchina <kolchfa@amazon.com>
* Adds copy button to code snippets
Signed-off-by: Fanit Kolchina <kolchfa@amazon.com>
* Adds copy as curl
Signed-off-by: Fanit Kolchina <kolchfa@amazon.com>
* Moved copy buttons to the bottom right of snippets
Signed-off-by: Fanit Kolchina <kolchfa@amazon.com>
* Moved edit page footer to the bottom of the page
Signed-off-by: Fanit Kolchina <kolchfa@amazon.com>
* Implemented scrolling to the active link in navbar on reload
Signed-off-by: Fanit Kolchina <kolchfa@amazon.com>
* Adds feedback buttons
Signed-off-by: Fanit Kolchina <kolchfa@amazon.com>
Signed-off-by: Fanit Kolchina <kolchfa@amazon.com>
Some browser+OS combinations trigger `blur` on the version-selector before a click within the component. To mitigate this, an extra `pointerup` listener was attached but that didn't solve the problem for Safari 15.x. However, `delegatesFocus: true` makes the shadow host focusable and that helps work around this problem.
Fixes: #307
Signed-off-by: Miki <mehranb@amazon.com>