Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Search de-base64ed #74

Merged
merged 5 commits into from
Nov 30, 2024

Conversation

SaphireLattice
Copy link
Contributor

Mmm base64-less chicken. Er, query.

Please test it for not breaking anything

Copy link
Owner

@Simyon264 Simyon264 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

:3

@@ -14,6 +14,8 @@ namespace ReplayBrowser.Helpers;

public class ReplayHelper
{
static readonly string REDACTION_MESSAGE = "The account you are trying to search for is private or deleted. This might happen for various reasons as chosen by the account owner or the site administrative decision";
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This should be made a const.

return;

// Is there any redaction to worry about?
if (!found.Settings.RedactInformation && !found.Protected)
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Protected accounts can still change their redaction settings and the only thing .Protected does is display a message on the home page. This should not be checked for redaction status.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

BTW does that keep showing up even when redaction is on?

Also need to eventually clarify in UI and code as to which combo deletes stuff and which just hides it from public view.

Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah. It will keep showing up, even if your settings are changed. Only way to remove it is to edit the DB.

@@ -245,6 +236,7 @@
NavigationManager.NavigateTo("/");
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

(UNRELATED, but also should probably remove this line as well, idk why its there)


<div class="search-bar">
@{
RenderLine(null);
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could probably leave a comment here for future devs that this is meant to draw the prefab. Was a bit confused at first :p

@Simyon264
Copy link
Owner

From my testing, it all works still.

@Simyon264 Simyon264 merged commit fb62642 into Simyon264:master Nov 30, 2024
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants