Add confirmation for delete auth methods#303
Merged
Conversation
Contributor
Author
|
В последнем (третьем коммите) поменял между собой цвета кнопок: "отвязать" написано обычным черным цветом, "не отвязывать" - как отмена операции выделено красным цветом. |
Contributor
Author
|
Перенести variant="flat" size="large" class="oauth-button" в IrdomAuthButton для login стиля, для аuth-edit тоже что-нибудь придумать |
Contributor
Author
|
ДОБИЛ ЗАДАЧУ! Стили у кнопочек при первой аутентификации теперь как были изначально и добавилась менюшка подтверждения отвязки метода. |
added 4 commits
February 18, 2025 18:10
…rdomAuthButton.vue в AuthView. Не помогло поменять стили кнопок при отвязке, надо думать дальше.
…dit в данном случае
…ровано системой если обращаться без props
BatuevIO
approved these changes
Feb 20, 2025
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Изменения
Добавил подтверждение отвязки метода авторизации.
Детали реализации
После нажатия на один из методов, который необходимо отвязать, всплывает окно с двумя кнопками "отвязать" и "не отвязывать". После нажатия на первую кнопку, происходит отвязка метода предыдущим способом с проверкой на единственность (я ее оставил как было), после нажатия на вторую - просто закрытие модального окна.
Check-List
blackиisortдля Back-End илиPrettierдля Front-End?