Move app owner (#2280)

* feat: app owner change (#2271)

* feat(app): changeOwner api

* feat: changeOwner api

* feat: ChangeOwnerModal

* feat: update change owner api

* chore: move change owner api into pro version
feat(fe): change owner modal

* feat: add change owner button and modal to InfoModal

* change owner ux

* feat: doc

* perf: remove info change owner btn

---------

Co-authored-by: Finley Ge <32237950+FinleyGe@users.noreply.github.com>
This commit is contained in:
Archer
2024-08-06 22:13:16 +08:00
committed by GitHub
parent 91bc573571
commit a109c59cc6
14 changed files with 258 additions and 24 deletions

View File

@@ -0,0 +1,4 @@
<svg viewBox="0 0 18 14" fill="none" xmlns="http://www.w3.org/2000/svg">
<path d="M12.6688 0.977385C12.9942 0.651948 13.5219 0.651948 13.8473 0.977385L17.1446 4.27471C17.1531 4.28305 17.1613 4.29157 17.1693 4.30026C17.2353 4.37136 17.2865 4.45116 17.3231 4.53579C17.3669 4.63717 17.3912 4.74898 17.3912 4.86647C17.3912 4.98306 17.3673 5.09406 17.3241 5.19481C17.2868 5.28189 17.234 5.3639 17.1656 5.43664C17.1537 5.44941 17.1413 5.46179 17.1285 5.47378C17.0538 5.54406 16.9693 5.59796 16.8796 5.63546C16.7843 5.67534 16.6801 5.69805 16.5708 5.69971L16.5565 5.6998L4.39124 5.6998C3.931 5.6998 3.55791 5.32671 3.55791 4.86647C3.55791 4.40623 3.931 4.03314 4.39124 4.03314L14.5461 4.03314L12.6688 2.1559C12.3434 1.83046 12.3434 1.30282 12.6688 0.977385Z"/>
<path d="M0.968656 8.54428C1.04865 8.46429 1.14086 8.40396 1.23928 8.36329C1.33521 8.32357 1.44016 8.30124 1.55022 8.30024L1.55791 8.30021H13.7246C14.1848 8.30021 14.5579 8.6733 14.5579 9.13354C14.5579 9.59378 14.1848 9.96687 13.7246 9.96687H3.56976L5.447 11.8441C5.77244 12.1696 5.77244 12.6972 5.447 13.0226C5.12156 13.3481 4.59392 13.3481 4.26849 13.0226L0.969527 9.72367L0.961458 9.71551C0.88513 9.63732 0.827247 9.54784 0.787811 9.45253C0.747067 9.35427 0.724579 9.24653 0.724579 9.13354C0.724579 9.02068 0.747013 8.91307 0.787665 8.81491C0.828333 8.71649 0.888664 8.62428 0.968656 8.54428Z"/>
</svg>

After

Width:  |  Height:  |  Size: 1.3 KiB

View File

@@ -0,0 +1,4 @@
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20" fill="none">
<path d="M13.6688 3.97738C13.9942 3.65195 14.5219 3.65195 14.8473 3.97738L18.1446 7.27471C18.1531 7.28305 18.1613 7.29157 18.1693 7.30026C18.2353 7.37136 18.2865 7.45116 18.3231 7.53579C18.3669 7.63717 18.3912 7.74898 18.3912 7.86647C18.3912 7.98306 18.3673 8.09406 18.3241 8.19481C18.2868 8.28189 18.234 8.3639 18.1656 8.43664C18.1537 8.44941 18.1413 8.46179 18.1285 8.47378C18.0538 8.54406 17.9693 8.59796 17.8796 8.63546C17.7843 8.67534 17.6801 8.69805 17.5708 8.69971L17.5565 8.6998L5.39124 8.6998C4.931 8.6998 4.55791 8.32671 4.55791 7.86647C4.55791 7.40623 4.931 7.03314 5.39124 7.03314L15.5461 7.03314L13.6688 5.1559C13.3434 4.83046 13.3434 4.30282 13.6688 3.97738Z" fill="#3370FF"/>
<path d="M1.96866 11.5443C2.04865 11.4643 2.14086 11.404 2.23928 11.3633C2.33521 11.3236 2.44016 11.3012 2.55022 11.3002L2.55791 11.3002H14.7246C15.1848 11.3002 15.5579 11.6733 15.5579 12.1335C15.5579 12.5938 15.1848 12.9669 14.7246 12.9669H4.56976L6.447 14.8441C6.77244 15.1696 6.77244 15.6972 6.447 16.0226C6.12156 16.3481 5.59392 16.3481 5.26849 16.0226L1.96953 12.7237L1.96146 12.7155C1.88513 12.6373 1.82725 12.5478 1.78781 12.4525C1.74707 12.3543 1.72458 12.2465 1.72458 12.1335C1.72458 12.0207 1.74701 11.9131 1.78767 11.8149C1.82833 11.7165 1.88866 11.6243 1.96866 11.5443Z" fill="#3370FF"/>
</svg>

After

Width:  |  Height:  |  Size: 1.3 KiB