Open abbyhu2000 opened 1 year ago
Hi, I would like to work on this issue. May I know where to start?
@abbyhu2000 Can you explain a little more about why this is desirable? There are a11y benefits to using links with href
s rather than a js action, because you get all the built-in browser functionality (such as open in a new tab). Elsewhere we've updated the visualization listing to have that behavior: https://github.com/opensearch-project/OpenSearch-Dashboards/pull/2395
Currently dashboard listing page uses href to view dashboards instead of utilizing
onclick
. Before the dashboard observability integration, the code utilized agetViewUrl
prop to pass in a function; but this is dropped in favor of usingviewUrl
which is mapped from theviewUrlPathFn
from the dashboard list provider.https://github.com/opensearch-project/OpenSearch-Dashboards/pull/4502/files#r1258627999