Skip to content

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

  1. You will be need a ZenTao test instance endpoint: https://jihudemo.zentao.net (the demo I am using)
  2. Input the link I left above to the Web URL like screenshot below
  3. Input the token with value: wt32dt3alsxuwo2gngdbno39oyy4gxps and project id 3
  4. Click test settings
  5. Save changes.

You should be able to see the tab in your issues.

image

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.

Edited by Wu Jeremy

Merge request reports