* Allow limiting the versions shown by default in the `version-selector`
Signed-off-by: Miki <miki@amazon.com>
* Add archived versions
* Update versions.json
* Add archived versions for version selector.tpl
* Switch back to old versions
---------
Signed-off-by: Miki <miki@amazon.com>
Signed-off-by: Naarcha-AWS <97990722+Naarcha-AWS@users.noreply.github.com>
Co-authored-by: Naarcha-AWS <97990722+Naarcha-AWS@users.noreply.github.com>
* 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>