Skip to content

Commit

Permalink
Don't display checkboxes for Auto-Sign safe ...
Browse files Browse the repository at this point in the history
  • Loading branch information
edeykholt committed Jan 9, 2025
1 parent 1417f50 commit 4f6fdbc
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 4 deletions.
3 changes: 2 additions & 1 deletion KeriAuth.BrowserExtension/UI/Pages/RequestSignPage.razor
Original file line number Diff line number Diff line change
Expand Up @@ -513,7 +513,8 @@
</table>
</MudPaper>
}
<MudCheckBox Label="Auto-sign Http Request Headers that have no side effects" style="height: 28px;" Value="IsAutoSignSafeHeaders" ValueChanged="async (bool b) => await updateIsAutoSignSafeHeaders(b)" />
<!-- The following is display:none; -->
<MudCheckBox Label="Auto-sign Http Request Headers that have no side effects" style="display:none; height: 28px;" Value="IsAutoSignSafeHeaders" ValueChanged="async (bool b) => await updateIsAutoSignSafeHeaders(b)" />
}
</div>
</MudStack>
Expand Down
2 changes: 1 addition & 1 deletion KeriAuth.BrowserExtension/UI/Pages/WebsitePage.razor
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@
<MudStack Class="bt-main">
<div class="bt-main-inside-scroll">
<MudText Typo="Typo.h6">Website</MudText>
<WebsiteConfigDisplay OriginStr="@OriginStr" IsOriginShown="true" IsCredentialShown="true" IsAutoSignShown="true" />
<WebsiteConfigDisplay OriginStr="@OriginStr" IsOriginShown="true" IsCredentialShown="true" IsAutoSignShown="false" />
</div>
</MudStack>
<MudStack Row="true" class="bt-button-tray">
Expand Down
8 changes: 6 additions & 2 deletions KeriAuth.BrowserExtension/UI/Pages/WebsitesPage.razor
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,8 @@
<HeaderContent>
<MudTh Style="width: 65%; white-space: normal; font-weight:600;">Website</MudTh>
<MudTh Style="width: 10%; white-space: normal; font-weight:600;">Identifier</MudTh>
<MudTh Style="width: 15%; white-space: normal; font-weight:600;">Auto-sign Http Request Headers that have no side effects?</MudTh>
<!-- <MudTh Style="width: 15%; white-space: normal; font-weight:600;">Auto-sign Http Request Headers that have no side effects?</MudTh>
-->
<MudTh Style="width: 10%; white-space: normal; font-weight:600;">Edit</MudTh>
</HeaderContent>
<RowTemplate>
Expand All @@ -118,14 +119,17 @@
<MudIcon ViewBox="0 0 100 100" Icon="@(Helper.Identicon.MakeIdenticon(context.RememberedPrefixOrNothing))" Style="border-style:solid; border-color:black; border-width:2px; border-radius:50%; width:35px; height:35px; overflow:hidden;" />
}
</MudTd>
<!--
<MudTd DataLabel="AutoSign">@(context.IsAutoSignSafeHeaders ? "Yes" : "No")</MudTd>
-->
<MudTd DataLabel="Edit">
<MudIconButton Icon="@Icons.Material.Filled.Edit" OnClick="@(() => navigateToWebsitePage(@context.Origin.OriginalString))"></MudIconButton>
</MudTd>
</RowTemplate>
</MudTable>
</MudPaper>
} else
}
else
{
<MudText>After navigating to a website supporting KERI browser extensions and then interacting with this extension, the website will be listed here.</MudText>
}
Expand Down

0 comments on commit 4f6fdbc

Please sign in to comment.