# Release-20230428

- Merge pull request [#1951](https://github.com/tidbcloud/dbaas-ui/pull/1951) from tidbcloud/feat/replace-cluster-error-msg [8a3b7874](https://github.com/tidbcloud/dbaas-ui/commit/8a3b7874c643af5ace9b9558cd0c374b41cc1989)

- Merge pull request [#1895](https://github.com/tidbcloud/dbaas-ui/pull/1895) from tidbcloud/feat/enterprise-sso [20806e76](https://github.com/tidbcloud/dbaas-ui/commit/20806e76cf1bbf35ba988f8939e9b33c4cedd292)

  - fix(account): error style [9811fa97](https://github.com/tidbcloud/dbaas-ui/commit/9811fa97f795b9394dbc627d89f3352a92a2491f)

  - feat(sso): using issuer_url check [60ac9e69](https://github.com/tidbcloud/dbaas-ui/commit/60ac9e69e602d76a0620ee11dd293633fae2bc12)

  - fix(sso): callback_url missing [96008423](https://github.com/tidbcloud/dbaas-ui/commit/9600842371399eb0f7594d72c08b4576817fdea7)

  - feat(uikit/form): seperate form to FormActions FormErrorMesage [e65243eb](https://github.com/tidbcloud/dbaas-ui/commit/e65243eb7954ccd47814dca80a1142950bb1ff24)

  - feat(sso): move authenticaiton shared codes to features [91f321c8](https://github.com/tidbcloud/dbaas-ui/commit/91f321c8bf0e764b71b99ae31b9ee76a9654be56)

  - feat(sso): update method color [174cbfd1](https://github.com/tidbcloud/dbaas-ui/commit/174cbfd1181c9dcb8fdf59369c00c4617a0ea851)

  - feat(sso): add callback_url [6c829c4d](https://github.com/tidbcloud/dbaas-ui/commit/6c829c4dcc2e7181783302bfac76f92b777a5639)

  - fix(sso): Name color [c7c7d1fd](https://github.com/tidbcloud/dbaas-ui/commit/c7c7d1fd569bb4c8b18d0e44199d13226b6abd18)

  - feat(sso): migrate to typography v2 [4e7a069e](https://github.com/tidbcloud/dbaas-ui/commit/4e7a069ef2fc3b26a28b3ae8afd123306f6863ed)

  - feat(sso): hide enterprise orgs when link [13332a40](https://github.com/tidbcloud/dbaas-ui/commit/13332a40399196fffcebaadadd58e6068e57e829)

  - feat(sso): show oidc callbacl url [be1bdbaa](https://github.com/tidbcloud/dbaas-ui/commit/be1bdbaaadc5b993fc95b5baa41bb05b2bee1b54)

  - feat(sso): add hints to allow_email_domain [f953ec9f](https://github.com/tidbcloud/dbaas-ui/commit/f953ec9f94f54e9b0a015f53ea2e1d56791baf15)

  - feat(sso): trim email space [0a718fe4](https://github.com/tidbcloud/dbaas-ui/commit/0a718fe4000c8dd53519949f0cd593139bd01856)

  - feat(sso): add event tracking [c4f5f76c](https://github.com/tidbcloud/dbaas-ui/commit/c4f5f76cb8b4bd424a2797e06f9666335da37c61)

  - feat: Replace hard-coded front-end word with back-end word [30b05f93](https://github.com/tidbcloud/dbaas-ui/commit/30b05f936979890af43527e397b2f474b0d8c9b7)

  - feat(sso): extract getEnterpriseURL [225f7fbe](https://github.com/tidbcloud/dbaas-ui/commit/225f7fbeccb1e880e78724920925e18f8da11628)

  - feat(sso): hide long oidc name [ef7b02d5](https://github.com/tidbcloud/dbaas-ui/commit/ef7b02d53eddc4af835a1503a0bde7dc1ba6aad5)

  - feat(sso): update sso wording [5e4b1ead](https://github.com/tidbcloud/dbaas-ui/commit/5e4b1ead455d41122725976751f154452f410235)

  - feat(sso): remove useless code [d7af53e7](https://github.com/tidbcloud/dbaas-ui/commit/d7af53e7cb0a2cd1ce3229568dded8203b9a9413)

  - fix(sso): table border radius [a25c92e1](https://github.com/tidbcloud/dbaas-ui/commit/a25c92e116ae845d13ae5ea7671cf8f7e0518b0e)

  - feat(sso): auto enable oidc [af786d04](https://github.com/tidbcloud/dbaas-ui/commit/af786d043f8ab2070baa9a47d84367629a1db6eb)

  - feat(sso): add border to divider form [36b1bd1f](https://github.com/tidbcloud/dbaas-ui/commit/36b1bd1f096944dd934cd7975bf1d0946f05513f)

  - feat(sso): replace TextInput with PasswordInput [1be59402](https://github.com/tidbcloud/dbaas-ui/commit/1be59402bfcf74e619b4b3ccdbaae5a72e75e35c)

  - fix(sso): safari table-layout incompatible [e10e0db6](https://github.com/tidbcloud/dbaas-ui/commit/e10e0db627fc33843569a79bd033308622a176dc)

  - feat: add retry login to error page [026c1a3f](https://github.com/tidbcloud/dbaas-ui/commit/026c1a3f3c390a311c17a46e297dfcffce5d7224)

  - feat(sso): check enterprise after logout [3e3a7474](https://github.com/tidbcloud/dbaas-ui/commit/3e3a7474792d47a853fbfe3f07d8fe84f524268c)

  - feat(sso): add error support link [de5ba716](https://github.com/tidbcloud/dbaas-ui/commit/de5ba716ed22568e6ef3d6aa60946ba9770df11d)

  - feat(sso): add using local personal org id [1d1c1493](https://github.com/tidbcloud/dbaas-ui/commit/1d1c1493a4206cee5c3e8c0b769f0f231c0f10a4)

  - feat(sso): add learn more link [84c48dcf](https://github.com/tidbcloud/dbaas-ui/commit/84c48dcfc8d8a162cafc433bead476c29d8f2f1f)

  - feat(sso): add divider to modal [55bab13a](https://github.com/tidbcloud/dbaas-ui/commit/55bab13aee7e9d730a606bff6aef5445a752aa90)

  - feat(SSO): Confirm button -> Save [056c3692](https://github.com/tidbcloud/dbaas-ui/commit/056c36928b9ad84a9b98f8a02c38dd16408ec158)

  - feat(sso): show denied request [d6ffe963](https://github.com/tidbcloud/dbaas-ui/commit/d6ffe9634f90f0293f6c521f253d654ee6cbec72)

  - feat: remove useless wording [d9feb1d7](https://github.com/tidbcloud/dbaas-ui/commit/d9feb1d7ea6166d6fbaf8b8fe936bf62741b17cd)

  - feat(sso): remember sigin type [3cd9bef9](https://github.com/tidbcloud/dbaas-ui/commit/3cd9bef9a8791d7f2164f9709076969e137842ac)

  - feat(sso): update sso wording [f1beb9e1](https://github.com/tidbcloud/dbaas-ui/commit/f1beb9e10cd08bf7998ca0e5a76218f7aa8b0eec)

  - feat(sso): logout to enterpise signin [5e548022](https://github.com/tidbcloud/dbaas-ui/commit/5e548022eca4a55d2dfff861e3be3dd0825ca562)

  - feat(sso): update switcher disabled & checked style [79054f76](https://github.com/tidbcloud/dbaas-ui/commit/79054f76fc31979c861ca50b58ecfcf5136728cd)

  - feat(sso): add switch to right menu [4ec30c9b](https://github.com/tidbcloud/dbaas-ui/commit/4ec30c9b623fde739f6c7a3e68e6302c79e1fc6b)

  - feat: using token org id [c6b072b9](https://github.com/tidbcloud/dbaas-ui/commit/c6b072b9f0dca422f36bd023195ff0a0eec97c7c)

  - feat: add ga switch to cloud org sso [246c9f5a](https://github.com/tidbcloud/dbaas-ui/commit/246c9f5ad1d37ed62dad7c4c47866a7bc370b839)

  - fix: typo company_name -> company-name [e3c537c1](https://github.com/tidbcloud/dbaas-ui/commit/e3c537c1a656f4d54f49e1853c95745cdb2b05c2)

  - feat(sso): show oidc name [6a443e0b](https://github.com/tidbcloud/dbaas-ui/commit/6a443e0bb7ecd1de3feb23fdc2ba7272dc490aac)

  - feat(sso): useListAuthMethods -> useShowAuthMethods [cd7908bf](https://github.com/tidbcloud/dbaas-ui/commit/cd7908bfff5a49ce005dde7938ea825ed6cf0e9d)

  - feat: remove useless code [d459c6f5](https://github.com/tidbcloud/dbaas-ui/commit/d459c6f56184d7f76ecf9a2b469178a16d9960ae)

  - fix(sso): incorrect auth api [d4194655](https://github.com/tidbcloud/dbaas-ui/commit/d4194655ea4c5788261a0fd8f4db1bc7bad35593)

  - feat(sso): add domain check [ff7cbdd3](https://github.com/tidbcloud/dbaas-ui/commit/ff7cbdd387db70c6c6f24da7bd26727f0fbf4df9)

  - feat(sso callback): replace form with hook-form [a3a72943](https://github.com/tidbcloud/dbaas-ui/commit/a3a72943d6c56e3816ba3de1414b795420937e26)

  - fix(sso): sso typo [6496477f](https://github.com/tidbcloud/dbaas-ui/commit/6496477fd9335a8a03031a734cf894d636b99e16)

  - feat(form): update action props [e2141b73](https://github.com/tidbcloud/dbaas-ui/commit/e2141b734fd4addb95375a2d63f0a93034899390)

  - feat(sso): using display name for method [3821ca85](https://github.com/tidbcloud/dbaas-ui/commit/3821ca8564dae631123b0335ed6bc94cf9ec7e29)

  - feat(sso): allow_email_domain string -> array string [dbcbb0d7](https://github.com/tidbcloud/dbaas-ui/commit/dbcbb0d7504143a0be088cee2e93009a751263d6)

  - fix(invite): case-insentive email check [53c90535](https://github.com/tidbcloud/dbaas-ui/commit/53c905352dd44f4229f438cea6b54b32cddc7904)

  - feat(sso): add required to client_id and client_secret [bd3a9476](https://github.com/tidbcloud/dbaas-ui/commit/bd3a94763d0a009ab76d3766e250103751d64fd3)

  - feat: only owner can view authentication [73fafa33](https://github.com/tidbcloud/dbaas-ui/commit/73fafa3341107d658349b601dd377965e809ad29)

  - feat: listOrgActiveOrgMethods support org id [239d3e50](https://github.com/tidbcloud/dbaas-ui/commit/239d3e50f35ccd20b4df007b9c0b7629445dc29e)

  - feat: add error tips for sso signin [42ae6ed5](https://github.com/tidbcloud/dbaas-ui/commit/42ae6ed5264c1fac56c36354f65faf5d797624a2)

  - feat: add is404Error [ec0cc730](https://github.com/tidbcloud/dbaas-ui/commit/ec0cc730705b871de282dc11acca6fd234f63216)

  - feat: integrate sso api [3a3f8694](https://github.com/tidbcloud/dbaas-ui/commit/3a3f8694116c5bb299abab119a6fd6a6eaf898f8)

  - feat: add company switch [58795083](https://github.com/tidbcloud/dbaas-ui/commit/587950839dafe9433274780bcbd4ab45533bc46b)

  - feat: add enterprise switch [8a96262e](https://github.com/tidbcloud/dbaas-ui/commit/8a96262e1d8a84f82c5fe73669c5c3fa51fc54f5)

  - feat: re-login when switch enterpise org [94bf99c4](https://github.com/tidbcloud/dbaas-ui/commit/94bf99c4168b00ccbaec58363338389b87373a17)

  - feat: add sso constant [3a439025](https://github.com/tidbcloud/dbaas-ui/commit/3a439025200b3e9eb36a2c7bc0e0ce14afa72d48)

  - feat: integrate sso api [54bd197c](https://github.com/tidbcloud/dbaas-ui/commit/54bd197c4b17e6f9ac9c7927aac46b16948d661c)

  - feat: add auth methods api [e9c9d95b](https://github.com/tidbcloud/dbaas-ui/commit/e9c9d95b8ab52aa64644de8099143c1777216af4)

  - feat: add enterprise sigin [8927f00d](https://github.com/tidbcloud/dbaas-ui/commit/8927f00d3040ba0957484097338f3edef4614357)

  - feat: add sso api [e44d98cb](https://github.com/tidbcloud/dbaas-ui/commit/e44d98cbe43f1b11046ee379b2bb53a3740fc541)

  - feat: update settings wording [be5a3ab9](https://github.com/tidbcloud/dbaas-ui/commit/be5a3ab9bb9533fcef6bb2ca00032dd60570ed6a)

  - feat: add oidc login [f267175f](https://github.com/tidbcloud/dbaas-ui/commit/f267175fd0916f2a967b8ae1afd48526b8eb8844)

  - feat: add OIDC to auth [0a8f5df9](https://github.com/tidbcloud/dbaas-ui/commit/0a8f5df97b38bb58b3252e29ece743808fce037d)

  - feat: add errorMessageProps to form [e88d4cbb](https://github.com/tidbcloud/dbaas-ui/commit/e88d4cbbb60215a172f427aebf32e7c06ec231db)

  - feat: using hook form [3285dd73](https://github.com/tidbcloud/dbaas-ui/commit/3285dd7306f6766e7cfe6ef4a7a84db6d480e8ce)

  - feat: update form action [adc468a6](https://github.com/tidbcloud/dbaas-ui/commit/adc468a693a2c8af80072ce6d21ae4166ef4fd04)

  - feat: add hook-form/context [579e4f33](https://github.com/tidbcloud/dbaas-ui/commit/579e4f33988a3570b880805cedb1ccdb1f940b1a)

  - feat: add sso enable modal [8c551094](https://github.com/tidbcloud/dbaas-ui/commit/8c551094dc814e1fed5b01bdbf3d19ff14823dc0)

  - feat: add settings [630779f5](https://github.com/tidbcloud/dbaas-ui/commit/630779f58e7cba61be1d6131f004fd8610f9ff79)

  - feat: add hook-form/form [b656398f](https://github.com/tidbcloud/dbaas-ui/commit/b656398f434b4cde85973aa052a4b34c84d85851)

  - feat: update input color [5992e385](https://github.com/tidbcloud/dbaas-ui/commit/5992e3858acbd3b9770386f48c3b35c554d422b7)

  - feat: add style to stickytable [4f5b4539](https://github.com/tidbcloud/dbaas-ui/commit/4f5b453933fd0224d47977dc0f830c5245d2b9af)

  - feat: add authentication switch [9b937621](https://github.com/tidbcloud/dbaas-ui/commit/9b937621ca6f84795b0d2d4a4512c6e9ec2f45a5)

  - feat: update basic table style [5b297b57](https://github.com/tidbcloud/dbaas-ui/commit/5b297b57ee29a6ba575b51aa5b8f9f1b9aa16582)

  - feat: add authentication [1a60c27f](https://github.com/tidbcloud/dbaas-ui/commit/1a60c27fae6d7dff938f50d08a07416e60e54c1e)

  - feat: add title to typography [1ca784fd](https://github.com/tidbcloud/dbaas-ui/commit/1ca784fd1aa65a37a06b7feb89e58db953c8191a)

  - feat: update background mask [100e2425](https://github.com/tidbcloud/dbaas-ui/commit/100e242558194583f4e2b894f29ff93e300f9359)

  - feat: add logo [74aec8f3](https://github.com/tidbcloud/dbaas-ui/commit/74aec8f380e28e3fd79ba989aece86f37506b2e0)

  - feat: add DotBadge [9f94de3d](https://github.com/tidbcloud/dbaas-ui/commit/9f94de3db446ed6bc2080e9d266742bfbb67a6ae)

  - feat: add enterpise sigin [772a9333](https://github.com/tidbcloud/dbaas-ui/commit/772a933347b41450d0c75d88ecf8a5e533496ce0)

- Merge pull request [#1946](https://github.com/tidbcloud/dbaas-ui/pull/1946) from tidbcloud/fix-promql-comaptibility [835c95c4](https://github.com/tidbcloud/dbaas-ui/commit/835c95c4a99d0e19fe068bcf66d37b91c8c45857)

- Merge pull request [#1949](https://github.com/tidbcloud/dbaas-ui/pull/1949) from tidbcloud/refine/serverless_cluster_connection_password_confirm [fb20c120](https://github.com/tidbcloud/dbaas-ui/commit/fb20c120b0a543ef78b6df06d38d8ea8547f4f3d)

  - refine(Cluster/Connections/serverless): add confirming popover arrow [854fd8a0](https://github.com/tidbcloud/dbaas-ui/commit/854fd8a0e738d5e31e9675cd3abcc3d408ad7091)

  - refine(Cluster/Connections/serverless): improve confirming description of resetting password [6b007471](https://github.com/tidbcloud/dbaas-ui/commit/6b00747133feb02bb7bfe8fa550f4e20cad726ed)

  - refine(Cluster/Connection/serverless): add reset confirm [c7fc1286](https://github.com/tidbcloud/dbaas-ui/commit/c7fc1286acdaf484ebc298e03373f6f67cb77777)

- Merge pull request [#1948](https://github.com/tidbcloud/dbaas-ui/pull/1948) from tidbcloud/hotfix/20230426 [88f65bfb](https://github.com/tidbcloud/dbaas-ui/commit/88f65bfbcea2accb40535daeddffd6049634792f)

  - fix(monitoring): compatibility & slowquery default sort [0132c771](https://github.com/tidbcloud/dbaas-ui/commit/0132c771b139d0a5e221a31c27a8df02084b78ed)

- Merge pull request [#1944](https://github.com/tidbcloud/dbaas-ui/pull/1944) from tidbcloud/release-20230425 [5ecea05b](https://github.com/tidbcloud/dbaas-ui/commit/5ecea05b2b40a68c20c876146c3f1eaf5af2619b)
