Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adm-938-fix [frontend]: fix e2e test #114

Closed
wants to merge 77 commits into from

Conversation

Leiqiuhong
Copy link
Contributor

Summary

Adm-938-fix [frontend]: fix e2e test

Before

Description

Screenshots
If applicable, add screenshots to help explain behavior of your code.

After

Description

Screenshots
If applicable, add screenshots to help explain behavior of your code.

Note

Null

yulongcai and others added 30 commits April 12, 2024 11:39
… exclusive with 'flag as block' (#1350)

* ADM-898:[backend] feat: should not export cycle time flag on table header when not consider flag as block

* ADM-898:[frontend]feat: not show flagCard when board mapping table has ‘block’ column

* ADM-898:[frontend]feat: warning pop-up when conflict

* ADM-898:[frontend]refactor: refactor codes

* ADM-898:[frontend]refactor: remove fromFlag

* ADM-898:[frontend]feat: not show flagCard when board mapping table has ‘block’ column

* ADM-873-bug:[backend] feat: add test for as flag is block is false

* ADM-898:[frontend]feat: add status logic

* ADM-898:[frontend]refactor: refactor code

* ADM-898:[backend] fix: fix bug for not calculate flag block to cycle when consider flag as block

* ADM-886:[docs]docs: refactor chart API docs sequence diagram (#1339)

* ADM-886:[docs]docs: update chart API image size

* ADM-886:[docs]docs: update chart API docs content

* ADM-886:[docs]docs: refactor chart API docs

* ADM-886:[docs]docs: refactor chart API docs sequence diagram

* ADM 834 add frontend validation to board Id (#1338)

* ADM-834:[frontend]feat: fix rebase

* ADM-834:[backend]feat: added api for domain url check

* ADM-834:[backend]feat: add dashboard api for site check

* ADM-834:[backend]feat: added api for domain url check

* ADM-834:[frontend]fix: fix rebase

* ADM-834:[frontend]fix: add regex validation to board id

* ADM-834:[frontend]fix: fix lint

* ADM 751 [docs]docs: fix readme in board mappings part (#1334)

* ADM-751:[frontend]feat: add by status e2e test flow into import test

* ADM-751:[frontend]feat: add more flow in create test

* ADM-751:[frontend]feat: fix lint and refactor fixture file

* ADM-751:[frontend]feat: fix by state flow and add new test

* ADM-751:[frontend]feat: refactored file strcture and implemented new e2e test for cycle time status testing, just need to fix the data then

* ADM-751:[frontend]feat: rework the by status flow e2e test, remove unnecessary steps

* ADM-751:[frontend]feat: fix test flow again

* ADM-751:[frontend]feat: fix type check

* ADM-751:[frontend]feat: add status flow e2e test in import test

* ADM-751:[frontend]fix: fix lint

* ADM-882:[backend]feat: add import json file

* ADM-751:[frontend]fix: refactor code

* ADM-751:[frontend]fix: refactor code fix type

* ADM-751:[docs]docs: fix readme in board mappings

* ADM-751:[docs]docs: remove conflicted rework part

* ADM-751 refactor

---------

Co-authored-by: guzhongren <guzhongren@live.cn>

* chore(sbom): generate sbom when releasing (#1340)

* ADM-833:[frontend]feat:add e2e unhappy path scenarios  (#1328)

* ADM-833:[frontend]feat:add e2e unhappy path scenarios

ADM-833: [frontend] add e2e test scenarios

ADM-833: [frontend] fix: fix code style error

ADM-833: [frontend] feat: add unhappy path scenoria

ADM-833: [frontend] feat: optimize add and remove new pipeline,add unhappy path template

ADM-833: [frontend] feat: optimize remove new pipeline,unhappy path template

ADM-833: [frontend] feat: optimize remove new pipeline,unhappy path template

ADM-833:[frontend]feat:merge unhappy path scenario

ADM-833: [frontend] update: update  e2e test scenarios

ADM-833: [frontend] fix: fix code style error

ADM-833: [frontend] update: update  e2e test scenarios

ADM-833: [frontend] update: update  e2e test scenarios

ADM-833: [frontend] fix: fix e2e test error

ADM-833:[frontend]feat:distinguish major and unhappy path test in local environment

ADM-833: [frontend] feat: sperate major and all

ADM-833[frontend]feat:change branch invalid error message

ADM-833: [frontend] fix: fix index.ts error

ADM-833: [frontend] fix: remove the log file

ADM-833: [frontend] fix: fix conflict with main branch

ADM-833: [frontend] fix: revert readme

ADM-833: [frontend] fix: remove log file

ADM-833: [frontend] fix: modify .gitignore, add omit logs

* ADM-833 fix path

* ADM-833: [frontend] fix: update the spec location

* ADM-833: [frontend] fix: fix daterange error

* ADM-833: [frontend] fix: fix review error

* ADM-833: [frontend] fix: fix review error

---------

Co-authored-by: YaoZhang-Daniel <zyao1987@163.com>
Co-authored-by: guzhongren <guzhongren@live.cn>

* ADM-833: [frontend] fix: fix env error (#1341)

* ADM-833:[frontend]feat:add e2e unhappy path scenarios

ADM-833: [frontend] add e2e test scenarios

ADM-833: [frontend] fix: fix code style error

ADM-833: [frontend] feat: add unhappy path scenoria

ADM-833: [frontend] feat: optimize add and remove new pipeline,add unhappy path template

ADM-833: [frontend] feat: optimize remove new pipeline,unhappy path template

ADM-833: [frontend] feat: optimize remove new pipeline,unhappy path template

ADM-833:[frontend]feat:merge unhappy path scenario

ADM-833: [frontend] update: update  e2e test scenarios

ADM-833: [frontend] fix: fix code style error

ADM-833: [frontend] update: update  e2e test scenarios

ADM-833: [frontend] update: update  e2e test scenarios

ADM-833: [frontend] fix: fix e2e test error

ADM-833:[frontend]feat:distinguish major and unhappy path test in local environment

ADM-833: [frontend] feat: sperate major and all

ADM-833[frontend]feat:change branch invalid error message

ADM-833: [frontend] fix: fix index.ts error

ADM-833: [frontend] fix: remove the log file

ADM-833: [frontend] fix: fix conflict with main branch

ADM-833: [frontend] fix: revert readme

ADM-833: [frontend] fix: remove log file

ADM-833: [frontend] fix: modify .gitignore, add omit logs

* ADM-833 fix path

* ADM-833: [frontend] fix: update the spec location

* ADM-833: [frontend] fix: fix daterange error

* ADM-833: [frontend] fix: fix review error

* ADM-833: [frontend] fix: fix review error

* ADM-833: [frontend] fix: fix env error

---------

Co-authored-by: YaoZhang-Daniel <zyao1987@163.com>
Co-authored-by: guzhongren <guzhongren@live.cn>

* Revert "ADM-833: [frontend] fix: fix env error (#1341)" (#1344)

This reverts commit eed90dc.

* [ADM-833][frontend]: chore: fix the e2e env injection error. (#1345)

* refactor(e2e): name conversion[frontend]

* fix(e2e): fix type check[frontend]

* ADM-898:[frontend]fix: fix test

* ADM-898:[frontend]feat: add test for CycleTime

* ADM-898:[frontend]fix: fix UpperCase error

* ADM-898:[frontend]fix: fix default value

* ADM-898:[frontend]fix: fix import treatFlagCardAsBlock value

* ADM-898:[backend] fix: repair e2e test

* ADM-898:[backend] fix: repair e2e test to delete check consider flag as block

* ADM-898:[backend] fix: sonar issue

* [ADM-877][frontend]: feat: remove the limit of start-date & end-date selection. (#1342)

* [ADM-877][frontend]: feat: remove the limit of start-date & end-date selection.

* [ADM-877][frontend]: chore: refine code.

* ADM-873:[frontend][backend] fix: fix success notification (#1327)

* ADM-873-bug:[docx] docx: fix docx

* ADM-873:[frontend]fix: fix error notification

* ADM-873:[frontend]refactor: refactor code

* ADM-873-bug:[backend] feat: return flag for whether it has file create by this invoke

* Revert "ADM-873:[frontend]refactor: refactor code"

This reverts commit e2fe52f.

* Revert "ADM-873:[frontend]fix: fix error notification"

This reverts commit b659c63.

* ADM-873:[frontend]fix: use hasCsvFileCreateSuccessful to handle success notification

* ADM-873-bug:[backend] feat: return has csv create successful when get completed

* ADM-873-bug:[backend] fix: rename

* ADM-873:[frontend]fix: fix test

* ADM-873:[frontend]refactor: rename hasCsvFileCreateSuccessful to isSuccessfulCreateCsvFile

* ADM-873:[backend]refactor: modify test info

* ADM-873:[backend]refactor: format code

---------

Co-authored-by: yulongcai <yulong.cai@thoughtworks.com>
Co-authored-by: Rui7ing <129819182+Rui7ing@users.noreply.github.com>

* [frontend] feat/adm 811: Do not clear the configuration settings when returning from the metric page to the configuration page. (#1343)

* [feat][adm-811]: remove GoCD option

* [frontend][adm-811]: feat: remove clear config data trigger when back to config page

* [frontend][adm-811]: refact: refact unit test

* [frontend][adm-811]: replace fireEvent use userEvent

* [frontend][adm-811]: fix failed case

* Adm 910[docs] feat: add Github graghQL rate limit issue (#1348)

* ADM-910[docs] feat: add Node and Rate limits and calculate

* ADM-910[docs] feat: add flew chart for get data by github api

* Adm 912[frontend]: ui refine date picker in metrics page (#1349)

* ADM-912 feat: display date ranges

* ADM-912 test: add unit test

* ADM-912 fix: fix css

* ADM-912 fix: fix color

* ADM-912 fix: fix hex color

* ADM-912 fix: use color from theme

* ADM-898:[frontend]feat: add block case

* ADM-898:[frontend]fix: fix test for treatFlagCardAsBlock

* ADM-898:[frontend]fix: fix bug

* ADM-898 fix: fix treat flag card as block when import

* ADM-898 fix: fix treat flag card as block when create

* ADM-898 refactor: rename

* ADM-898:[frontend]fix: remove unnecessary cycleTimeSettings

* ADM-898 fix: fix test

* ADM-898:[backend] refactor: refactor code

* ADM-898 test: add unit test

* ADM-898 test: add e2e test for no block column board when create project

* ADM-898 test: add e2e test for no block column board when import project

* ADM-898:[frontend]refactor: iterate over test data and run tests using forEach

* ADM-898:[frontend]refactor: export BLOCK_COLUMN_NAME

* ADM-898:[frontend]refactor: fix prettier error

* ADM-898:[frontend]fix: fix the error from merge

---------

Co-authored-by: Tingyu Dong <tingyu.dong@thoughtworks.com>
Co-authored-by: Steveay <907221539@qq.com>
Co-authored-by: PengxiWPix <113176309+PengxiWPix@users.noreply.github.com>
Co-authored-by: guzhongren <guzhongren@live.cn>
Co-authored-by: YaoZhang87 <162096287+YaoZhang87@users.noreply.github.com>
Co-authored-by: YaoZhang-Daniel <zyao1987@163.com>
Co-authored-by: Chao <89126516+mrcuriosity-tw@users.noreply.github.com>
Co-authored-by: TingyuDong <113588395+TingyuDong@users.noreply.github.com>
Co-authored-by: Rui7ing <129819182+Rui7ing@users.noreply.github.com>
Co-authored-by: K Chow <kai.zhou@thoughtworks.com>
Co-authored-by: junbo dai <junbo.dai@thoughtworks.com>
Co-authored-by: Leiqiuhong <141199516+Leiqiuhong@users.noreply.github.com>
Co-authored-by: Leiqiuhong <qiuhong.lei@thoughtworks.com>
… page and add foru column in csv (#1361)

* ADM-919:[backend] feat: Speed up the generating of pipeline data in report page

* ADM-919:[backend] feat: fix e2e test

* fix(e2e): fix env

* Adm 920[backend] feat: Support to retrieve multiple pages of pipelines in metrics page (#1359)

* ADM-920:[backend] feat: can get all pipeline info

* ADM-920:[backend] fix: change Cache type

* ADM-873:[frontend]fix: fix notification logic (#1356)

Co-authored-by: yulongcai <141199398+yulongcai@users.noreply.github.com>

* ADM-898[backend][frontend]: feat: block' in board mapping is mutually exclusive with 'flag as block' (#1350)

* ADM-898:[backend] feat: should not export cycle time flag on table header when not consider flag as block

* ADM-898:[frontend]feat: not show flagCard when board mapping table has ‘block’ column

* ADM-898:[frontend]feat: warning pop-up when conflict

* ADM-898:[frontend]refactor: refactor codes

* ADM-898:[frontend]refactor: remove fromFlag

* ADM-898:[frontend]feat: not show flagCard when board mapping table has ‘block’ column

* ADM-873-bug:[backend] feat: add test for as flag is block is false

* ADM-898:[frontend]feat: add status logic

* ADM-898:[frontend]refactor: refactor code

* ADM-898:[backend] fix: fix bug for not calculate flag block to cycle when consider flag as block

* ADM-886:[docs]docs: refactor chart API docs sequence diagram (#1339)

* ADM-886:[docs]docs: update chart API image size

* ADM-886:[docs]docs: update chart API docs content

* ADM-886:[docs]docs: refactor chart API docs

* ADM-886:[docs]docs: refactor chart API docs sequence diagram

* ADM 834 add frontend validation to board Id (#1338)

* ADM-834:[frontend]feat: fix rebase

* ADM-834:[backend]feat: added api for domain url check

* ADM-834:[backend]feat: add dashboard api for site check

* ADM-834:[backend]feat: added api for domain url check

* ADM-834:[frontend]fix: fix rebase

* ADM-834:[frontend]fix: add regex validation to board id

* ADM-834:[frontend]fix: fix lint

* ADM 751 [docs]docs: fix readme in board mappings part (#1334)

* ADM-751:[frontend]feat: add by status e2e test flow into import test

* ADM-751:[frontend]feat: add more flow in create test

* ADM-751:[frontend]feat: fix lint and refactor fixture file

* ADM-751:[frontend]feat: fix by state flow and add new test

* ADM-751:[frontend]feat: refactored file strcture and implemented new e2e test for cycle time status testing, just need to fix the data then

* ADM-751:[frontend]feat: rework the by status flow e2e test, remove unnecessary steps

* ADM-751:[frontend]feat: fix test flow again

* ADM-751:[frontend]feat: fix type check

* ADM-751:[frontend]feat: add status flow e2e test in import test

* ADM-751:[frontend]fix: fix lint

* ADM-882:[backend]feat: add import json file

* ADM-751:[frontend]fix: refactor code

* ADM-751:[frontend]fix: refactor code fix type

* ADM-751:[docs]docs: fix readme in board mappings

* ADM-751:[docs]docs: remove conflicted rework part

* ADM-751 refactor

---------

Co-authored-by: guzhongren <guzhongren@live.cn>

* chore(sbom): generate sbom when releasing (#1340)

* ADM-833:[frontend]feat:add e2e unhappy path scenarios  (#1328)

* ADM-833:[frontend]feat:add e2e unhappy path scenarios

ADM-833: [frontend] add e2e test scenarios

ADM-833: [frontend] fix: fix code style error

ADM-833: [frontend] feat: add unhappy path scenoria

ADM-833: [frontend] feat: optimize add and remove new pipeline,add unhappy path template

ADM-833: [frontend] feat: optimize remove new pipeline,unhappy path template

ADM-833: [frontend] feat: optimize remove new pipeline,unhappy path template

ADM-833:[frontend]feat:merge unhappy path scenario

ADM-833: [frontend] update: update  e2e test scenarios

ADM-833: [frontend] fix: fix code style error

ADM-833: [frontend] update: update  e2e test scenarios

ADM-833: [frontend] update: update  e2e test scenarios

ADM-833: [frontend] fix: fix e2e test error

ADM-833:[frontend]feat:distinguish major and unhappy path test in local environment

ADM-833: [frontend] feat: sperate major and all

ADM-833[frontend]feat:change branch invalid error message

ADM-833: [frontend] fix: fix index.ts error

ADM-833: [frontend] fix: remove the log file

ADM-833: [frontend] fix: fix conflict with main branch

ADM-833: [frontend] fix: revert readme

ADM-833: [frontend] fix: remove log file

ADM-833: [frontend] fix: modify .gitignore, add omit logs

* ADM-833 fix path

* ADM-833: [frontend] fix: update the spec location

* ADM-833: [frontend] fix: fix daterange error

* ADM-833: [frontend] fix: fix review error

* ADM-833: [frontend] fix: fix review error

---------

Co-authored-by: YaoZhang-Daniel <zyao1987@163.com>
Co-authored-by: guzhongren <guzhongren@live.cn>

* ADM-833: [frontend] fix: fix env error (#1341)

* ADM-833:[frontend]feat:add e2e unhappy path scenarios

ADM-833: [frontend] add e2e test scenarios

ADM-833: [frontend] fix: fix code style error

ADM-833: [frontend] feat: add unhappy path scenoria

ADM-833: [frontend] feat: optimize add and remove new pipeline,add unhappy path template

ADM-833: [frontend] feat: optimize remove new pipeline,unhappy path template

ADM-833: [frontend] feat: optimize remove new pipeline,unhappy path template

ADM-833:[frontend]feat:merge unhappy path scenario

ADM-833: [frontend] update: update  e2e test scenarios

ADM-833: [frontend] fix: fix code style error

ADM-833: [frontend] update: update  e2e test scenarios

ADM-833: [frontend] update: update  e2e test scenarios

ADM-833: [frontend] fix: fix e2e test error

ADM-833:[frontend]feat:distinguish major and unhappy path test in local environment

ADM-833: [frontend] feat: sperate major and all

ADM-833[frontend]feat:change branch invalid error message

ADM-833: [frontend] fix: fix index.ts error

ADM-833: [frontend] fix: remove the log file

ADM-833: [frontend] fix: fix conflict with main branch

ADM-833: [frontend] fix: revert readme

ADM-833: [frontend] fix: remove log file

ADM-833: [frontend] fix: modify .gitignore, add omit logs

* ADM-833 fix path

* ADM-833: [frontend] fix: update the spec location

* ADM-833: [frontend] fix: fix daterange error

* ADM-833: [frontend] fix: fix review error

* ADM-833: [frontend] fix: fix review error

* ADM-833: [frontend] fix: fix env error

---------

Co-authored-by: YaoZhang-Daniel <zyao1987@163.com>
Co-authored-by: guzhongren <guzhongren@live.cn>

* Revert "ADM-833: [frontend] fix: fix env error (#1341)" (#1344)

This reverts commit eed90dc.

* [ADM-833][frontend]: chore: fix the e2e env injection error. (#1345)

* refactor(e2e): name conversion[frontend]

* fix(e2e): fix type check[frontend]

* ADM-898:[frontend]fix: fix test

* ADM-898:[frontend]feat: add test for CycleTime

* ADM-898:[frontend]fix: fix UpperCase error

* ADM-898:[frontend]fix: fix default value

* ADM-898:[frontend]fix: fix import treatFlagCardAsBlock value

* ADM-898:[backend] fix: repair e2e test

* ADM-898:[backend] fix: repair e2e test to delete check consider flag as block

* ADM-898:[backend] fix: sonar issue

* [ADM-877][frontend]: feat: remove the limit of start-date & end-date selection. (#1342)

* [ADM-877][frontend]: feat: remove the limit of start-date & end-date selection.

* [ADM-877][frontend]: chore: refine code.

* ADM-873:[frontend][backend] fix: fix success notification (#1327)

* ADM-873-bug:[docx] docx: fix docx

* ADM-873:[frontend]fix: fix error notification

* ADM-873:[frontend]refactor: refactor code

* ADM-873-bug:[backend] feat: return flag for whether it has file create by this invoke

* Revert "ADM-873:[frontend]refactor: refactor code"

This reverts commit e2fe52f.

* Revert "ADM-873:[frontend]fix: fix error notification"

This reverts commit b659c63.

* ADM-873:[frontend]fix: use hasCsvFileCreateSuccessful to handle success notification

* ADM-873-bug:[backend] feat: return has csv create successful when get completed

* ADM-873-bug:[backend] fix: rename

* ADM-873:[frontend]fix: fix test

* ADM-873:[frontend]refactor: rename hasCsvFileCreateSuccessful to isSuccessfulCreateCsvFile

* ADM-873:[backend]refactor: modify test info

* ADM-873:[backend]refactor: format code

---------

Co-authored-by: yulongcai <yulong.cai@thoughtworks.com>
Co-authored-by: Rui7ing <129819182+Rui7ing@users.noreply.github.com>

* [frontend] feat/adm 811: Do not clear the configuration settings when returning from the metric page to the configuration page. (#1343)

* [feat][adm-811]: remove GoCD option

* [frontend][adm-811]: feat: remove clear config data trigger when back to config page

* [frontend][adm-811]: refact: refact unit test

* [frontend][adm-811]: replace fireEvent use userEvent

* [frontend][adm-811]: fix failed case

* Adm 910[docs] feat: add Github graghQL rate limit issue (#1348)

* ADM-910[docs] feat: add Node and Rate limits and calculate

* ADM-910[docs] feat: add flew chart for get data by github api

* Adm 912[frontend]: ui refine date picker in metrics page (#1349)

* ADM-912 feat: display date ranges

* ADM-912 test: add unit test

* ADM-912 fix: fix css

* ADM-912 fix: fix color

* ADM-912 fix: fix hex color

* ADM-912 fix: use color from theme

* ADM-898:[frontend]feat: add block case

* ADM-898:[frontend]fix: fix test for treatFlagCardAsBlock

* ADM-898:[frontend]fix: fix bug

* ADM-898 fix: fix treat flag card as block when import

* ADM-898 fix: fix treat flag card as block when create

* ADM-898 refactor: rename

* ADM-898:[frontend]fix: remove unnecessary cycleTimeSettings

* ADM-898 fix: fix test

* ADM-898:[backend] refactor: refactor code

* ADM-898 test: add unit test

* ADM-898 test: add e2e test for no block column board when create project

* ADM-898 test: add e2e test for no block column board when import project

* ADM-898:[frontend]refactor: iterate over test data and run tests using forEach

* ADM-898:[frontend]refactor: export BLOCK_COLUMN_NAME

* ADM-898:[frontend]refactor: fix prettier error

* ADM-898:[frontend]fix: fix the error from merge

---------

Co-authored-by: Tingyu Dong <tingyu.dong@thoughtworks.com>
Co-authored-by: Steveay <907221539@qq.com>
Co-authored-by: PengxiWPix <113176309+PengxiWPix@users.noreply.github.com>
Co-authored-by: guzhongren <guzhongren@live.cn>
Co-authored-by: YaoZhang87 <162096287+YaoZhang87@users.noreply.github.com>
Co-authored-by: YaoZhang-Daniel <zyao1987@163.com>
Co-authored-by: Chao <89126516+mrcuriosity-tw@users.noreply.github.com>
Co-authored-by: TingyuDong <113588395+TingyuDong@users.noreply.github.com>
Co-authored-by: Rui7ing <129819182+Rui7ing@users.noreply.github.com>
Co-authored-by: K Chow <kai.zhou@thoughtworks.com>
Co-authored-by: junbo dai <junbo.dai@thoughtworks.com>
Co-authored-by: Leiqiuhong <141199516+Leiqiuhong@users.noreply.github.com>
Co-authored-by: Leiqiuhong <qiuhong.lei@thoughtworks.com>

* ADM-919:[backend] feat: add revert column in csv

* ADM-919:[backend] feat: add job start time and pipeline start time and no pr commit time in csv

* ADM-919:[backend] feat: fix e2e expect csv

* ADM-919:[backend] feat: fix sonar error

* ADM-919:[backend] fix: delete no use code

* ADM-919:[backend] fix: add test for when build kite data info have author

* ADM-919:[backend] fix: fix sonar error for eq

* ADM-919:[backend] fix: update check error

* ADM-919:[backend] fix: repair sonar issue

* ADM-919:[backend] fix: format code

* ADM-919:[backend] fix: add Nullable for field

---------

Co-authored-by: guzhongren <guzhongren@live.cn>
Co-authored-by: junbo dai <junbo.dai@thoughtworks.com>
Co-authored-by: TingyuDong <113588395+TingyuDong@users.noreply.github.com>
Co-authored-by: Tingyu Dong <tingyu.dong@thoughtworks.com>
Co-authored-by: Steveay <907221539@qq.com>
Co-authored-by: PengxiWPix <113176309+PengxiWPix@users.noreply.github.com>
Co-authored-by: YaoZhang87 <162096287+YaoZhang87@users.noreply.github.com>
Co-authored-by: YaoZhang-Daniel <zyao1987@163.com>
Co-authored-by: Chao <89126516+mrcuriosity-tw@users.noreply.github.com>
Co-authored-by: Rui7ing <129819182+Rui7ing@users.noreply.github.com>
Co-authored-by: K Chow <kai.zhou@thoughtworks.com>
Co-authored-by: Leiqiuhong <141199516+Leiqiuhong@users.noreply.github.com>
Co-authored-by: Leiqiuhong <qiuhong.lei@thoughtworks.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
#1365)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
* ADM-898-fix fix: fix flag card logic

* ADM-898-fix fix: init flag as block state when boarding mapping changed

* ADM-898-fix fix: remove useless code

* ADM-898-fix fix: fix flag logic

* ADM-898-fix fix: fix eslint

* ADM-898-fix fix: fix eslint

* ADM-898:[frontend]fix: fix flagCardAsBlock in toggle case

* ADM-898-fix test: add test

* ADM-898-fix fix: fix logic

---------

Co-authored-by: Leiqiuhong <qiuhong.lei@thoughtworks.com>
…nfiguration (#1362)

* ADM-878:[frontend]feat: fix error message when board info gets error code

* ADM-878:[frontend]feat: add metrics board info multiple fetch and combine

* ADM-878:[frontend]feat: update board info combine logic

* ADM-878:[frontend]fix: code style fix

* ADM-878:[frontend]feat: handle board mappings logic

* ADM-878:[frontend]refactor: extract combine logic

* ADM-878:[frontend]refactor: move combine and dispatch logic for use-callback

* ADM-878:[frontend]refactor: order the board info list

* ADM-878:[frontend]feat: refactored ordering into hook

* ADM-878:[frontend]feat: refactor data structure and fix UT

* ADM-878:[frontend]fix: fix UT and lint

* ADM-878:[frontend]refactor: remove a code annotation

* ADM-878:[frontend]refactor: refactor loading state timing after board info request

* ADM-878:[frontend]fix: fix code style

* ADM-878:[frontend]fix: fix prettier

* ADM-878:[frontend]fix: fix test coverage

* ADM-878:[frontend]refactor: extract combine board info to utils

* ADM-878:[frontend]refactor: update some code style

---------

Co-authored-by: PengxiWPix <pengxi.wang@thoughtworks.com>
* ADM-919:[backend] feat: delete fetch author from GitHub

* ADM-919:[backend] fix: delete some no use test
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
…#1370)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
* ADM-889:[frontend] fix: remove name column

* ADM-889:[frontend] fix: rename column title as 'subtitle'

* ADM-889:[frontend] fix: add transformEmoji fun

* ADM-889:[frontend] fix: fix test

* ADM-889:[frontend] fix: fix e2e test

* ADM-889:[frontend] fix: add test to fix coverage

* ADM-889:[frontend] fix: fix title unit and test
* chore(deps): bump gradle/wrapper-validation-action from 2 to 3

Bumps [gradle/wrapper-validation-action](https://github.com/gradle/wrapper-validation-action) from 2 to 3.
- [Release notes](https://github.com/gradle/wrapper-validation-action/releases)
- [Commits](gradle/wrapper-validation-action@v2...v3)

---
updated-dependencies:
- dependency-name: gradle/wrapper-validation-action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>

* fix(voluner): ignore voluneriability

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: guzhongren <guzhongren@live.cn>
…g-cloud-starter-openfeign to v4.1.1 (#1390)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
…o v2.7 (#1388)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
…webmvc-ui to v2.5.0 (#1389)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
…ud:sprin…" (#1392)

This reverts commit aebbd87.

Co-authored-by: neomgb <123063936+neomgb@users.noreply.github.com>
* ADM-909:[frontend]add sort button

* ADM-909:[frontend]should not show sort button in three situation

* [kai.zhou]: refact date range event handle part

* [kai.zhou]: demo about sortby type

* ADM-909:[frontend]sort time range

* ADM-909:[frontend]compatible with import & save

* [front][feat]: set sort button shown about date range valid

* [front][feat]: fix issue about data range can not to success status

* [frontend][kai.zhou]: replace event name onError to onChange

* [frontend][kai.zhou]: refactor error check function to parent container

* ADM-909:[frontend]add test for configSlice

* ADM-909:[frontend]debug handle error

* [frontend]: reactor onchange event

* [frontend]: fix error status

* [frontend]: fix unhandle error

* [forntend]: replace redux data to state

* ADM-909:[frontend]fix change end date according to test

* ADM-909:[frontend]fix change end date when input year the date plus one

* ADM-909:[frontend]add test

* [frontend]: fix issue about unit test

* ADM-909:[frontend]add test for dateRangePickerSection

* ADM-909:[frontend]fix type

* ADM-909:[frontend]fix test

* ADM-909:[frontend]fix comments

* ADM-909:[frontend]change with comments

* ADM-909:[frontend]change SortType to ISortType

* ADM-909:[frontend]fix test

* ADM-909:[frontend]changes according to comments

* ADM-909:[frontend]rename SortDateRange to SortingDateRange

* ADM-909:[frontend]fix lint

* ADM-909:[frontend]change ISortedDateRangeType to SortedDateRangeType

* ADM-909:[frontend]change to SORTING_DATE_RANGE_TEXT

---------

Co-authored-by: kai zhou <kai.zhou@thoughtworks.com>
* ADM-909:[frontend]add sort button

* ADM-909:[frontend]should not show sort button in three situation

* [kai.zhou]: refact date range event handle part

* [kai.zhou]: demo about sortby type

* ADM-909:[frontend]sort time range

* ADM-909:[frontend]compatible with import & save

* [front][feat]: set sort button shown about date range valid

* [front][feat]: fix issue about data range can not to success status

* [frontend][kai.zhou]: replace event name onError to onChange

* [frontend][kai.zhou]: refactor error check function to parent container

* ADM-909:[frontend]add test for configSlice

* ADM-909:[frontend]debug handle error

* [frontend]: reactor onchange event

* [frontend]: fix error status

* [frontend]: fix unhandle error

* [forntend]: replace redux data to state

* ADM-909:[frontend]fix change end date according to test

* ADM-909:[frontend]fix change end date when input year the date plus one

* ADM-909:[frontend]add test

* [frontend]: fix issue about unit test

* ADM-909:[frontend]add test for dateRangePickerSection

* ADM-909:[frontend]fix type

* ADM-909:[frontend]fix test

* ADM-909:[frontend]fix comments

* ADM-909:[frontend]change with comments

* ADM-909:[frontend]change SortType to ISortType

* ADM-909:[frontend]fix test

* ADM-909:[frontend]changes according to comments

* ADM-909:[frontend]rename SortDateRange to SortingDateRange

* ADM-909:[frontend]fix lint

* ADM-909:[frontend]change ISortedDateRangeType to SortedDateRangeType

* ADM-909:[frontend]change to SORTING_DATE_RANGE_TEXT

* ADM-909:[frontend]fix e2e test

---------

Co-authored-by: kai zhou <kai.zhou@thoughtworks.com>
…line (#1393)

* ADM-913 fix: remove time for pipeline info

* ADM-913 refactor: extract value

* ADM-913 feat: send several steps request by time ranges

* ADM-913 feat: use allSettled to request api

* ADM-913 test: fix unit test

* ADM-913 test: add unit test

* ADM-913 test: fix test

* ADM-913 fix: fix eslint

* ADM-913 test: add happy path test for steps res

* ADM-913 test: fix test
…generate file (#1386)

* ADM-914:[backend][frontend] feat: set file name with time range when generate file

* ADM-914:[backend][frontend]fix: fix code issue and update export url

* ADM-914:[backend]fix: update export path

* ADM-914:[frontend]fix: fix download url

* ADM-914:[backend]fix: check filename

* ADM-914:[backend]fix: check invalid time range time stamp

* ADM-914:[backend]fix: fix sonar issue

* ADM-914:[backend]feat: add start time and end time param in api

* ADM-914:[backend]fix: fix sonar issue

* ADM-914:[backend]fix: format code

* ADM-914:[backend]fix: fix sonar issue

* ADM-914:[backend]fix: fix un Security code

* ADM-914:[frontend]fix: fix mock url

* ADM-914:[backend]fix: fix sonar and call back url

* ADM-914:[backend]fix: fix sonar issue

* ADM-914:[backend]fix: add pattern for time

* ADM-914:[backend]fix: fix sonar issue

* ADM-914:[backend]fix: format issue code

* ADM-914:[backend]fix: fix sonar error

---------

Co-authored-by: Tingyu Dong <tingyu.dong@thoughtworks.com>
Bumps [gradle/gradle-build-action](https://github.com/gradle/gradle-build-action) from 3.2.1 to 3.3.0.
- [Release notes](https://github.com/gradle/gradle-build-action/releases)
- [Commits](gradle/gradle-build-action@v3.2.1...v3.3.0)

---
updated-dependencies:
- dependency-name: gradle/gradle-build-action
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: guzhongren <guzhongren@live.cn>
PengxiWPix and others added 27 commits April 28, 2024 15:25
* ADM-927:[frontend]feat: add retry button

* ADM-927:[frontend]feat: http client handle 5xx error with special route

* ADM-927:[frontend]feat: add failed status for retry

* ADM-927:[frontend]feat: add notification pop up when partial failed

* ADM-927:[frontend]feat: implemented all no cards and all 4xx error cases

* ADM-927:[frontend]feat: map correct api result to board

* ADM-927:[frontend]refactor: restore the http client handle 500 logic

* ADM-927:[frontend]fix: refactor from cr comments

* ADM-927:[frontend]refactor: adapt code style

* ADM-927:[frontend]refactor: remove retry for board info

* ADM-927:[frontend]feat: add board info failed status ability

* ADM-927:[frontend]refactor: adapt all no cards

* ADM-927:[frontend]refactor: move board info response filter and map to hook

* ADM-927:[frontend]test: fix test

* ADM-927:[frontend]refactor: rename status and remove unnecessary variable

* ADM-927:[frontend]feat: fixed test coverage

* ADM-927:[frontend]fix: fix coverage to 100 by delete useless code

* ADM-927:[frontend]feat: add partial error popup for metrics step

* ADM-927:[frontend]fix: combined two tests using mockImplementation

* ADM-927:[frontend]fix: use and logic for error code mapping

* ADM-927:[frontend]fix: fix code space

* ADM-927:[frontend]refactor: refactor pipeline info request error title

* ADM-927:[frontend]test: add pipeline failed status test

* ADM-927:[frontend]test: rename test

* ADM-927:[frontend]test: rename test

* ADM-927:[frontend]fix: fix code smell

* ADM-927:[frontend]fix: fix pipeline error message color

* ADM-927:[frontend]fix: fix type-check after merge

* ADM-927:[frontend]fix: fix object check

---------

Co-authored-by: weiraneve <907221539@qq.com>
Co-authored-by: guzhongren <guzhongren@live.cn>
* ADM-926-fix:[frontend] fix: add two time range to test

* ADM-926-fix:[frontend] fix: fix review issue
…pendentbot pipeline (#1423)

* ADM-937: Change the crew list from buildkite creator to buildkite author

* ADM-937: Change filter logic when generating report from creator to author

* ADM-937 [frontend]: fix e2e test

* ADM-937 [frontend]: fix e2e test

* ADM-937 [frontend]: update readme

* ADM-937: format code

* ADM-937[backend]: fix sonar issue

* ADM-937 [frontend]: fix comment

---------

Co-authored-by: Enternity <83950478+Enternity-Yu@users.noreply.github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
…tend]

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
…#1415)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
)

* ADM-879: [frontend] feat: set date range when select related date range

* ADM-924:[frontend]feat: add disabled logic for DateRangeViewer

* ADM-879-new feat: send multi fetch in report page

* ADM-879-new refactor: rename

* ADM-879-new refactor: rename and move function

* ADM-879-new refactor: extract function

* ADM-879-new feat: should change data when select other date range

* ADM-879-new fix: fix update logic

* ADM-879-new refactor: rename

* ADM-879-new refactor: rename

* ADM-924:[frontend]fix: pass disabled prop to SingleDateRange and DateRangeContainer

* ADM-879-new feat: add status for alert

* ADM-879: [frontend] feat: modify style

* ADM-879-new feat: modify the notification opportunity

* ADM-879-new feat: remove the notifications when change dateRange in report page

* ADM-879-new fix: fix notification

* ADM-879-new fix: fix test

* ADM-879-new test: fix test

* ADM-879-new test: add unit tests

* ADM-879-new refactor: extract method

* ADM-879-new refactor: remove useless code

* ADM-879-new test: add unit test

* ADM-879-new fix: fix sonarcloud

* ADM-879-new refactor: fix rename

* ADM-879-new refactor: rename

* ADM-879-new fix: fix sonarcloud

* ADM-879-new fix: fix sonarcloud

* ADM-879-new fix: fix pr issues

* ADM-879-new fix: fix sonarcloud

* ADM-879-new fix: rename

* ADM-879-new fix: fix test field name

---------

Co-authored-by: GuangbinMa <guangbin.ma@thoughtworks.com>
Co-authored-by: Tingyu Dong <tingyu.dong@thoughtworks.com>
* ADM-879-fix fix: use the dispatch to update redux

* ADM-879-fix fix: fix test
* chore(deps): update dependency msw to v2

* fix(e2e): setup and fix 1 test

* fix(e2e): fix csvClient test

* fix(e2e): fix HearderClient test

* fix(e2e): fix MetricsClient.test test

* fix(e2e): fix PipelineToolClient.test test

* fix(e2e): fix ReportClient.test test

* fix(e2e): fix SourceControlClient.test test

* fix(e2e): fix all est

* fix(e2e): fix security and format

* fix(e2e): fix security and format

* fix(e2e): fix e2e case

* fix(e2e): upgrade

* fix(e2e): upgrade

* fix(e2e): ignore test cov

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: guzhongren <guzhongren@live.cn>
* chore(deps): upgrade deps

* chore(deps): upgrade deps 2

* chore(deps): downgrade deps
* ADM-931:[frontend]fix imported config file & make sorting button disabled in three conditions

* ADM-931:[frontend]config file with wrong sortType should show alert

* ADM-931:[frontend]add test

* ADM-931:[frontend]refactor sort time range

* ADM-931:[frontend]add test

* [ADM-931] chore: remove unnecessary code.

* [ADM-931] feat: remove unnecessary code.

* [ADM-931] feat: reduce unnecesssary state.

* [ADM-931] feat: reset `sortIndex` to a constant integer when removing

* [ADM-931] feat: optimize code.

* [ADM-931] chore: update dependencies accordinglly.

* [ADM-931] test: give more accurate test fixtures.

* [ADM-931] test: remove unnecessary spy and case.

* [ADM-931] chore: update trivignore

---------

Co-authored-by: Pengfei Qian <pengfei.qian@thoughtworks.com>
* ADM-879-hide-retry feat: hide retry button

* ADM-879-hide-retry feat: add image into trivyignore
)

* ADM-928:[frontend]feat: add failed time range list

* ADM-928:[frontend]feat: add metrics board and pipeline failed time range

* ADM-928:[frontend]feat: use priority high icon replace

* ADM-928:[frontend]feat: add failed date range icon container style

* ADM-928:[frontend]feat: move metrics failed time range logic

* ADM-928:[frontend]feat: combine metrics time range logic

* ADM-928:[frontend]feat: add update load metrics for update config

* ADM-928:[frontend]test: add metrics failed date range viewer icon test

* ADM-928:[frontend]feat: update px style

* ADM-928:[frontend]refactor: update code conflict

* ADM-928:[frontend]test: fix test

* ADM-928:[frontend]test: fix jsdom test
* ADM-928:[frontend]refactor: update code style

* ADM-928:[frontend]refactor: update rejected and fulfilled constants

* fix(e2e): rename

* fix(e2e): refactor

* fix(e2e): format

---------

Co-authored-by: guzhongren <guzhongren@live.cn>
… crash when adding the pipeline (#1434)

* ADM-936 fix: remove the crash logic of pipeline

* ADM-936 test: add e2e test

* ADM-936 fix: fix eslint

* ADM-936 test: add test

* ADM-936 test: add unit test

* ADM-936 fix: fix e2e test
* ADM-940 [frontend][backend]: fix the bug about deleting expired file

* ADM-940 [frontend][backend]: fix the bug about deleting expired file

* ADM-940 [frontend][backend]: modify test
… page (#1436)

* ADM-924:[frontend]feat: add download dialog

* ADM-924:[backend]feat: display time period

* ADM-924:[frontend]feat: add button display logic

* ADM-924:[frontend]feat: only show dialog when date range length > 1

* ADM-924:[frontend]feat: display dateRange

* ADM-924:[frontend]feat: determine whether a single report can be downloaded by downloadReportList

* ADM-924:[frontend]feat: map three sets of list results

* ADM-924:[frontend]feat: optimize button disable logic in ReportButtonGroup

* ADM-924:[frontend]feat: could select checkbox

* ADM-924:[frontend]feat: download csv file in DownloadDialog

* ADM-924:[frontend]feat: disable error items

* ADM-924:[frontend]feat: add styles to DownloadDialog

* ADM-924:[frontend]feat: add toolTip message

* ADM-924:[frontend]feat: adjust the tooltip style

* ADM-924:[frontend]feat: add background color for checked label

* ADM-924:[frontend]feat: remove redundant params in ReportButtonGroup

* ADM-924:[frontend]refactor: rename dateRangeItems to dateRangeList

* ADM-924:[frontend]refactor: remove unnecessary reportData

* ADM-924:[frontend]refactor: export DISABLED_DATE_RANGE_MESSAGE

* ADM-924:[frontend]refactor: refactor code

* ADM-924:[frontend]refactor: refactor ReportButtonGroup

* ADM-924:[frontend]feat: add test

* ADM-924:[frontend]feat: the confirm button is un-clickable if user didn’t select any time range

* ADM-924:[frontend]feat: enable button only after all the reports completed

* ADM-924:[frontend]feat: fetch dataRange data form request result

* ADM-924:[frontend]feat: add some css style for DownloadDialog

* ADM-924:[frontend]refactor: refactor some code

* ADM-924:[frontend]feat: add test for DownloadDialog

* ADM-924:[frontend]feat: add test for ReportButtonGroup

* ADM-924:[frontend]feat: refactored and supplemented partial tests for ReportButtonGroup

* ADM-924:[frontend]feat: added null value checks and refactored code

* ADM-924:[frontend]refactor: refactor code & export colors

* ADM-924:[frontend]refactor: refactor test for ReportButtonGroup

* ADM-924:[frontend]refactor: refactor test & convert color to hex format

* ADM-924:[frontend]refactor: align the type of overallMetricsCompleted with boardMetricsCompleted and doraMetricsCompleted in DateRangeRequestResult

* ADM-924:[frontend]refactor: refactor exportCSV
* ADM-940 [frontend][backend]: fix the bug about deleting expired file

* ADM-940 [frontend][backend]: fix the bug about deleting expired file

* ADM-940:[backend]refactor: add async order logic for update overall metrics completed

* ADM-940 [frontend][backend]: modify test

* ADM-940 [backend]: fix the bug2 by add lock

* ADM-940 [backend]: fix format

* ADM-940 [backend]: fix format

* ADM-940 [backend]: fix format

* ADM-940 [backend]: fix format and comment

* ADM-940 [backend]: fix format

* ADM-940 [backend]: fix format

* ADM-940 [backend]: fix format

* ADM-940 [backend]: add comment

---------

Co-authored-by: weiraneve <907221539@qq.com>
Bumps [ejs](https://github.com/mde/ejs) from 3.1.9 to 3.1.10.
- [Release notes](https://github.com/mde/ejs/releases)
- [Commits](mde/ejs@v3.1.9...v3.1.10)

---
updated-dependencies:
- dependency-name: ejs
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: guzhongren <guzhongren@live.cn>
…1441)

* ADM-928:[frontend]feat: add dark and white switch for metrics and report page

* ADM-928 fix: increase drop-down area

* ADM-928 fix: fix date range viewer style

* ADM-928 feat: optimize style

* ADM-928 feat: add retry logic

* ADM-928 test: add unit test

* ADM-928 test: add test

* ADM-928 fix: replace the test id with aria-label

---------

Co-authored-by: weiraneve <907221539@qq.com>
#1442)

* ADM-938 refactor: rename

* ADM-938 feat: add report error infos to redux

* ADM-938 feat: rename and add logic for report errors

* ADM-938 test: add test for date viewer

* ADM-938 test: fix test

* ADM-938 fix: fix eslint

* ADM-938 style: optimize style

* ADM-938 rename: rename test

* ADM-938 rename: rename test

* ADM-938 refactor: refactor

* ADM-938 refactor: rename
@Leiqiuhong Leiqiuhong closed this May 15, 2024
Copy link

Hi @Leiqiuhong! 👋
Thank you for submitting a pull request! We appreciate your contribution and will review your changes as soon as possible.

@Leiqiuhong Leiqiuhong deleted the ADM-938-fix branch May 15, 2024 03:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.