mirror of
https://github.com/Azure/cosmos-explorer.git
synced 2026-01-06 03:00:23 +00:00
Compare commits
21 Commits
fix_a11y_D
...
users/artr
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
423481e90a | ||
|
|
8645ed3898 | ||
|
|
b947ed6161 | ||
|
|
dc543b5ae3 | ||
|
|
54cd7a32d8 | ||
|
|
16bb03c47c | ||
|
|
e9b168be6d | ||
|
|
4b01648168 | ||
|
|
b67078a310 | ||
|
|
3672da1e1d | ||
|
|
899d7459c1 | ||
|
|
1b1371381e | ||
|
|
3e7c5f4b14 | ||
|
|
0fc5f070cc | ||
|
|
0ffebc14ca | ||
|
|
1203427537 | ||
|
|
6c9176f4ba | ||
|
|
3ef992c1af | ||
|
|
4af14bc310 | ||
|
|
ed3fb9e09a | ||
|
|
167c55a24a |
@@ -730,6 +730,9 @@ export class D3ForceGraph implements GraphRenderer {
|
||||
.append("g")
|
||||
.attr("class", "iconContainer")
|
||||
.attr("tabindex", 0)
|
||||
.attr("aria-label", (d: D3Node) => {
|
||||
return this.retrieveNodeCaption(d);
|
||||
})
|
||||
.on("dblclick", function (this: Element, _: MouseEvent, d: D3Node) {
|
||||
// https://stackoverflow.com/a/41945742 ('this' implicitly has type 'any' because it does not have a type annotation)
|
||||
// this is the <g> element
|
||||
|
||||
@@ -31,7 +31,7 @@ function validateEndpointInternal(
|
||||
|
||||
if (!valid) {
|
||||
throw new Error(
|
||||
`${endpointToValidate} is not an allowed endpoint. Allowed endpoints are ${allowedEndpoints.toString()}`
|
||||
`${endpointToValidate} is not an allowed endpoint. Allowed endpoints are ${allowedArmEndpoints.toString()}`
|
||||
);
|
||||
}
|
||||
|
||||
@@ -48,16 +48,12 @@ export const allowedAadEndpoints: ReadonlyArray<string> = ["https://login.micros
|
||||
|
||||
export const allowedBackendEndpoints: ReadonlyArray<string> = [
|
||||
"https://main.documentdb.ext.azure.com",
|
||||
"https://main.documentdb.ext.azure.cn",
|
||||
"https://main.documentdb.ext.azure.us",
|
||||
"https://localhost:12901",
|
||||
"https://localhost:1234",
|
||||
];
|
||||
|
||||
export const allowedMongoProxyEndpoints: ReadonlyArray<string> = [
|
||||
"https://main.documentdb.ext.azure.com",
|
||||
"https://main.documentdb.ext.azure.cn",
|
||||
"https://main.documentdb.ext.azure.us",
|
||||
"https://localhost:12901",
|
||||
];
|
||||
|
||||
|
||||
Reference in New Issue
Block a user