summaryrefslogtreecommitdiffstats
path: root/modules/git/commit.go
diff options
context:
space:
mode:
authorAndré Jaenisch <Ryuno-Ki@users.noreply.github.com>2022-06-07 18:25:40 +0200
committerGitHub <noreply@github.com>2022-06-07 12:25:40 -0400
commit81cf006863cb854609b09fd9f43189e2cab26b81 (patch)
tree3c999d3dc2d1c4d4aef33e33cbb1a3834fd552f2 /modules/git/commit.go
parent5ab2dcb61362987df890666422b90ddcacfa38cb (diff)
downloadgitea-81cf006863cb854609b09fd9f43189e2cab26b81.tar.gz
gitea-81cf006863cb854609b09fd9f43189e2cab26b81.zip
Improve UX on modal for deleting an access token (#19894)
* Improve UX on modal for deleting an access token Before, both action buttons where coloured on hover. Otherwise they appeared as ghost buttons. UX tells us, that call to action must not be displayed as ghost button. Using red is perceived as warning colour in Western cultures. It was used for the non-destructive action before. This PR swaps the colour and turns the cancel button into a filled one, so it is saver to do nothing then to accidentally delete an access button. We want the person to do this consciously. In another iteration the wording here could be improved. See the associated issue for further details. Signed-off-by: André Jaenisch <andre.jaenisch@posteo.de> * Use tabs instead of spaces. Linter does not complain anymore. I was expecting the formatter to pick this up but it didn't. Signed-off-by: André Jaenisch <andre.jaenisch@posteo.de> Co-authored-by: wxiaoguang <wxiaoguang@gmail.com> Co-authored-by: techknowlogick <techknowlogick@gitea.io>
Diffstat (limited to 'modules/git/commit.go')
0 files changed, 0 insertions, 0 deletions