Monorepo for Tangled tangled.org

appview/{oauth,pages}: cleanup unused codes #1022

open opened by boltless.me targeting master from sl/uvpzuszrulvq
  • AccountRegistry.OtherAccounts() is not used anywhere
  • Removed several legacy session value names from oauth/consts.go
  • We can just embed the oauth.GetUser() now

Signed-off-by: Seongmin Lee git@boltless.me

Labels

None yet.

assignee

None yet.

Participants 1
AT URI
at://did:plc:xasnlahkri4ewmbuzly2rlc5/sh.tangled.repo.pull/3mdcq5ouz5l22
+2 -2
Interdiff #2 #3
appview/oauth/accounts.go

This patch was likely rebased, as context lines do not match.

appview/oauth/accounts_test.go

This file has not been changed.

appview/oauth/consts.go

This file has not been changed.

appview/oauth/oauth.go

This patch was likely rebased, as context lines do not match.

+2 -2
appview/pages/templates/user/login.html
··· 13 13 14 14 {{ if and .LoggedInUser .LoggedInUser.Accounts }} 15 15 {{ $accounts := .LoggedInUser.Accounts }} 16 - {{ if $accounts }} 17 16 <div class="my-4 border border-gray-200 dark:border-gray-700 rounded overflow-hidden"> 18 17 <div class="px-3 py-2 bg-gray-50 dark:bg-gray-800 border-b border-gray-200 dark:border-gray-700"> 19 18 <span class="text-xs text-gray-500 dark:text-gray-400 uppercase tracking-wide font-medium">Saved accounts</span> ··· 33 32 34 33 {{ if and .LoggedInUser .LoggedInUser.Accounts }} 35 34 {{ $accounts := .LoggedInUser.Accounts }} 35 + {{ if $accounts }} 36 36 <div class="my-4 border border-gray-200 dark:border-gray-700 rounded overflow-hidden"> 37 37 <div class="px-3 py-2 bg-gray-50 dark:bg-gray-800 border-b border-gray-200 dark:border-gray-700"> 38 38 <span class="text-xs text-gray-500 dark:text-gray-400 uppercase tracking-wide font-medium">Saved accounts</span> ··· 47 47 </div> 48 48 </div> 49 49 {{ end }} 50 - {{ end }} 51 50 52 51 <form 53 52 class="mt-4 group" ··· 67 66 </div> 68 67 </div> 69 68 {{ end }} 69 + {{ end }} 70 70 71 71 <form 72 72 class="mt-4"
appview/state/profile.go

This patch was likely rebased, as context lines do not match.

History

9 rounds 0 comments
sign up or login to add to the discussion
1 commit
expand
appview/{oauth,pages}: cleanup unused codes
2/3 failed, 1/3 success
expand
no conflicts, ready to merge
expand 0 comments
1 commit
expand
appview/{oauth,pages}: cleanup unused codes
2/3 timeout, 1/3 success
expand
expand 0 comments
1 commit
expand
appview/{oauth,pages}: cleanup unused codes
2/3 timeout, 1/3 success
expand
expand 0 comments
1 commit
expand
appview/{oauth,pages}: cleanup unused codes
2/3 failed, 1/3 success
expand
expand 0 comments
1 commit
expand
appview/{oauth,pages}: cleanup unused codes
2/3 failed, 1/3 success
expand
expand 0 comments
1 commit
expand
appview/{oauth,pages}: cleanup unused codes
3/3 success
expand
expand 0 comments
1 commit
expand
appview/{oauth,pages}: cleanup unused codes
3/3 success
expand
expand 0 comments
1 commit
expand
appview/{oauth,pages}: cleanup unused codes
2/3 failed, 1/3 success
expand
expand 0 comments
1 commit
expand
appview/{oauth,pages}: cleanup unused codes
2/3 failed, 1/3 success
expand
expand 0 comments