Chore: extract external issue show component for reusing
What does this MR do and why?
Reason
For upcoming Ones integrations: #365123 (closed)
Since Ones integration is basically identical to ZenTao, so I think we should extract the duplicated code out in advance to prevent code duplication.
/cc @prajnamas @orozot @qk44077907
Note
This is only intended for Ones and ZenTao integration.
Describe in detail what your merge request does and why.
Screenshots or screen recordings
The behavior
Screen_Recording_2022-07-15_at_16.19.23
These are strongly recommended to assist reviewers and reduce the time to merge your change.
How to set up and validate locally
Go to any project and click Settings > Integrations
- You will be need a ZenTao test instance endpoint: https://jihudemo.zentao.net (the demo I am using)
- Input the link I left above to the Web URL like screenshot below
- Input the token with value:
wt32dt3alsxuwo2gngdbno39oyy4gxps
and project id3
- Click test settings
- Save changes.
You should be able to see the tab in your issues.
Numbered steps to set up and validate the change are strongly suggested.
MR acceptance checklist
This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.
-
I have evaluated the MR acceptance checklist for this MR.