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

Release v2022.07.21.1 #1353

Merged
merged 15 commits into from
Jul 21, 2022
Merged

Release v2022.07.21.1 #1353

merged 15 commits into from
Jul 21, 2022

Conversation

shhdgit
Copy link
Member

@shhdgit shhdgit commented Jul 20, 2022

No description provided.

zhongzc and others added 12 commits July 21, 2022 01:28
* init eslint/prettier/husky configs

* fix huksy and add typescript

* add tidb-dasbhoard-client package

* add axios for tidb-dashboard-client

* use single request parameter for tidb-dashboard-client

* copy tidb-dashboard-lib from clinic-ui

* rename tidb-dashboard-lib output

* fix build tidb-dashboard-client fail

* revert css variables

* tidy dependencies

* init tidb-dashboard-for-op

* revert tidb-dashboard-for-op

* update prettier config

* add dev mode for tidb-dashboard-lib

* copy files from ui

* copy ui/lib to tidb-dashboard-lib

* copy apps from ui to tidb-dashboard-lib

* fix compile error

* refine compile

* fix dev for tidb-dashboard-lib

* copy dashboardApp to tidb-dashboard-for-op

* make tidb-dashboard-for-op pass compile

* refine

* export statement

* export all apps

* fix runtime crash

* refine build

* refactor slow query

* extract interface for slow query

* wip

* fix context

* make slow query work in the new arch

* bring ::selection default value back

* extract interface for statement app

* adjust statement app

* make statement interface implement slow query interface

* refine tsc-alias

* refine type definition

* rename config field to cfg field

* cancel export client from tidb-dashboard-lib

* finish overview migration

* migrate cluster info app

* fix

* migrate for top sql app

* migrate keyviz app

* migrate system report app

* migrate search logs app

* migrate instance profiling app

* migrate conprof app

* migrate debug api app

* migrate query editor app

* migrate configuration app

* mirgrate user profile app

* migrate diagnose app

* migrate optimizer trace app

* remove client in the component

* refine

* fix

* move auth out of tidb-dashboard-lib

* add event interface for UserProfile app

* generate seperated models for tidb-dashboard-client and tidb-dashboard-lib

* move app options and registry out of tidb-dashboard-lib

* support update i18n distro when running

* handle distro (part 1)

* handle distro (part 2)

* move publicPathPrefix out of tidb-dashboard-lib

* rename basePath to apiPathBase

* slight refine

* remove sentry

* refine client

* refine build for tidb-dashboard-for-op

* refine swagger build scripts

* ignore prettier auto generated api files

* ignore prettier generated distro string res

* support skip watch api

* refine load env

* remove compat.js

* migrate diagnose report app

* TiDB Dashboard For Cloud variant (pingcap#1286)

* tidb-dashboard-for-cloud

* refine

* listen hash change to switch apps

* fix listen hash change

* fix undefined ctx!.cfg.apiPathBase

* disable export for tidb-dashbaord-for-cloud

* update output file name

* update package version

* rename tidb-dashboard-for-cloud to tidb-dashboard-for-dbaas

* update version

* add html to test cdn

* add README and update version

* update README and version

* update index.html

* add iframe case for tidb-dashboard-for-dbaas

* refine iframe test

* refine

* track route change for tidb-dashboard-for-dbaas

* update startDashboard parameters and update version

* fix can't modify statement/keyviz settings

* refine watch

* tidb-dashboard-for-dbaas-0.0.7

* update backend api url for test

* refine update html files

* move ngm from apps to components

* listen routes change for all apps

* expose topsql for tidb-dashboard-for-dbaas

* add topsql entry

* update dashboardApp entry file

* revert listen tidb-dashboard-lib changes

* output to dist instead of build for tidb-dashboard-for-op

* fix distro in dev mode

* refine wording

* fix envFile and bump tidb-dashboard-for-dbaas 0.0.9

* migrate cypress (pingcap#1329)

* copy cypress folder

* fix start_tiup wait_tiup scripts path

* refine build

* update README for cypress

* update Makefile and CI/CD

* fix ci

* fix style

* fix cypress cache

* test fix cypress cache for ci

* test

* revert cypress install

* test

* revert test

* revert comments

* move workflows back

* fix: make main content area responsed for sider collapsing

reason: not matched use-spring version

* refine build

* fix font-size

* fix distro

* fix broken css, make `margin-left: -48px` work again

reason: css order

* update README and docs

* feat(ui): support metrics plan (pingcap#1331)

* add metrics on overview page

* add remaining metrics on overview page

* update crosshair

* adjust metrics panel layouts

* update layout

* update layout

* add more tidb metrics panel on overview page

* 0.0.10-beta for tidb-dashboard-for-dbaas

* export overview for tidb-dashboard-for-dbaas

* 0.0.11-beta for tidb-dashboard-for-dbaas

* add overview link

Co-authored-by: baurine <[email protected]>

Co-authored-by: Yini Xu <[email protected]>
* remove original ui folder

* rename ui-new to ui
* merge all models into a file

* fix problem trigger tidb-dashboard-lib rebuild too many times
* fix broken css for tidb-dashboard-for-dbaas

* fix react-hooks/exhaustive-deps warning

* remove un-used comments

* fix tidb-dashboard-for-dbaas root font-size
* fix(metrics): orphan data points caused by `null` value

* feat(metrics-chart): add nullValue config
* chore: extract metrics from overview app

* update metrics app on dbaas

* update side menu and metrics panel ui

* resolve comments

* chore: update metrics query

* chore: add new metrics

* chore: update promql rate_interval

* remove useless file

* remove un-used apis

* align the chart and toolbar

Co-authored-by: Suhaha <[email protected]>
Co-authored-by: baurine <[email protected]>
* fix: Unnecessary render

* chore: use debounce
* Dashboard: support parse visual plan (pingcap#1227)

* init

* fix

* add test

* fix

* use binary_plan (pingcap#1284)

* Visual Plan  (pingcap#1285)

* feat: add visual plan for slowquery and statement

* make visual plan as a independent module

* update without minimap

* update minimap

* update

* update

* update minimap on brush and zoom

* fix: restriction of minimap brush

* refine minimap

* update variable declaration

* update minimap and mainchart

* move minimap translate to minimap

* combine some interface

* add node detail drawer

* move brush svg into minimap

* chore: rename

* chore: rename

* fix: memorize node margin

* chore: update node detail drawer

* add thumbnail for tree digram

* chore: update node detail

* fix ci

Co-authored-by: Suhaha <[email protected]>

* fix: empty binary_plan

* Analyze visual plan (pingcap#1320)

* use protojson

* fix

* format json

* set concurrency

* init Duration

* add diagnosticOperator

* fix

* fix

* fix

* Update provider.go

* fix

* fix

* update ui

* fix

* fix go-lint

* fix git diff --exit-code

* fix git diff --exit-code

* fix

* add TestUseComparisonOperator

* to circumvent golint v1.45.0

* fix stirngs.Cut

* fix stirngs.Cut

* fix: vp pseudo  (pingcap#1321)

* fix

* fix

* Support multi tree (pingcap#1324)

* chore: support multi trees

* fix: udpate multi tree

* fix: add single tree

* update multi trees

* update multi trees

* update multi trees

* update multi trees

* refactor: default node & link

* refine: better fps

* api: test

* api: test

* update node details

* refine: minimap

* style: update

* refine: use memo to cache the component

* chore: wrong usage

* update thumbnail

* update thumbnail

* resolve comments

* update variable get

* chore: update thumbnail bound

* update structure

* fix ci

* refine ts

Co-authored-by: Suhaha <[email protected]>

* add a new interface and fix some field parsing issues (pingcap#1325)

* fix some field parsing issues

* fix

* fix

* fix

* fix go-lint

* fix node detail label

* add vp to statement detail page (pingcap#1326)

* fix: compatibility on safari (pingcap#1327)

* style: refine ui (pingcap#1332)

* style: refine ui

* update adjust position

* update modal height

* ci: fix lint

* add unit tests (pingcap#1328)

* add unit tests

* fix

* upgrade go.mod

* refine visual plan (pingcap#1339)

* refine visual plan

* update translations

* ci: fix lint

* update i18n

* ci: fix lint

* use role tag (pingcap#1341)

* use role tag

* fix

* fix

* adjust execution plan UI position (pingcap#1342)

* adjust execution plan UI position

* chore: fix Execution plan tab

* ci: fix lint

* delete debug msg (pingcap#1345)

* Add telemetry for vp (pingcap#1340)

* refine visual plan

* update translations

* ci: fix lint

* add telemetry for visual plan

* update telemetry

* ci: fix lint

* ci: fix lint

* delete: yarn.lock

* fix unit test (pingcap#1351)

Co-authored-by: Qiμ$hiЯuí <[email protected]>
Co-authored-by: Suhaha <[email protected]>
* chore: add color for specific sql type

* update labels

* refactor: customize series color

* fix: database time series color

* fix: database time series color

* update query

* refine: colors

* update: colors

Co-authored-by: Suhaha <[email protected]>
@ti-chi-bot
Copy link
Member

[REVIEW NOTIFICATION]

This pull request has not been approved.

To complete the pull request process, please ask the reviewers in the list to review by filling /cc @reviewer in the comment.
After your PR has acquired the required number of LGTMs, you can assign this pull request to the committer in the list by filling /assign @committer in the comment to help you merge this pull request.

The full list of commands accepted by this bot can be found here.

Reviewer can indicate their review by submitting an approval review.
Reviewer can cancel approval by submitting a request changes review.

@shhdgit shhdgit marked this pull request as ready for review July 21, 2022 01:18
@codecov-commenter
Copy link

codecov-commenter commented Jul 21, 2022

Codecov Report

❗ No coverage uploaded for pull request base (release@1b89200). Click here to learn what that means.
The diff coverage is n/a.

@@            Coverage Diff             @@
##             release    #1353   +/-   ##
==========================================
  Coverage           ?   27.59%           
==========================================
  Files              ?       93           
  Lines              ?     9973           
  Branches           ?        0           
==========================================
  Hits               ?     2752           
  Misses             ?     7041           
  Partials           ?      180           
Flag Coverage Δ
be_unit_test 27.59% <0.00%> (?)

Flags with carried forward coverage won't be shown. Click here to find out more.


Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 1b89200...b4eee44. Read the comment docs.

shhdgit and others added 2 commits July 21, 2022 09:25
* fix null value

* remove useless file
@shhdgit shhdgit merged commit cf16a71 into pingcap:release Jul 21, 2022
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.

6 participants