We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
I have external system to execute graphs of tasks (like Nirvana in Yandex). I add links to external system to the operation description likes this:
But right now it is only possible to specify that description key is a link (via special attribute):
ytsaurus-ui/packages/ui/src/ui/pages/operations/OperationDetail/tabs/details/Description.js
Line 27 in ca86bb8
Like this for example:
https://github.com/ytsaurus/ytsaurus/blob/a8a049235559916b09cba7d5e65610db16d1289a/yt/python/yt/wrapper/common.py#L407
However these links sometimes are very long, so I want to specify only task id, but add href attribute to it with full link, for example:
< "_type_tag"="url"; "_href"="my.super.executor.com/ui/tasks/9a6e3f4c-7336-4971-ae18-7e4124cf9a02"; >"9a6e3f4c-7336-4971-ae18-7e4124cf9a02"
The text was updated successfully, but these errors were encountered:
Hello @chegoryu!
It's looks like you can specify both things - href and text for the link.
ytsaurus-ui covert yson to unipica at this line
And according to this unit test in unipica library you can specify both things like this:
{ $value: { href: "https://example.com", text: "Example", title: "Example title", }, $attributes: { _type_tag: "url" }, }
Please, let us know if it worked for you.
Sorry, something went wrong.
Wow, it works
Thank you so much
No branches or pull requests
I have external system to execute graphs of tasks (like Nirvana in Yandex).
I add links to external system to the operation description likes this:
But right now it is only possible to specify that description key is a link (via special attribute):
ytsaurus-ui/packages/ui/src/ui/pages/operations/OperationDetail/tabs/details/Description.js
Line 27 in ca86bb8
Like this for example:
https://github.com/ytsaurus/ytsaurus/blob/a8a049235559916b09cba7d5e65610db16d1289a/yt/python/yt/wrapper/common.py#L407
However these links sometimes are very long, so I want to specify only task id, but add href attribute to it with full link, for example:
The text was updated successfully, but these errors were encountered: