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

Initial PR for removing top Explain This button for feedback #3256

Merged
merged 14 commits into from
Jun 23, 2023

Conversation

justyeethan
Copy link
Collaborator

Resolves #3250

PR for removing the top bar "Explain This" issue.

Before:
image

After:
image

@justyeethan justyeethan requested a review from misaugstad June 13, 2023 01:41
@misaugstad
Copy link
Member

Some notes:

  1. This was meant to remove the entire bar, not just the 'Explain this' button!
  2. When deleting the JavaScript, make sure to check if any HTML, CSS, or translation text is no longer being used anywhere else and delete that as well.
  3. You've included a couple other random changes that shouldn't be a part of this PR

@justyeethan
Copy link
Collaborator Author

@misaugstad The new commit reverted the random changes and also removed the entire bar, without changing anything from the mobile view!

@misaugstad
Copy link
Member

Great! Did we need to keep all of the text for the Validate page, or is there anything from there that we can remove?

@justyeethan
Copy link
Collaborator Author

Is there specific text that you are looking at to remove? It looks good to me, and it seems there's no redundant code from the changes I've made and the functions I've deleted.

Copy link
Member

@misaugstad misaugstad left a comment

Choose a reason for hiding this comment

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

Okay I didn't exhaustively go through everything, but I noted at least a few examples where translations/code still need to be removed, and one spot where some CSS was removed that shouldn't have been!

Can you go through everything again with a fine-toothed comb?

app/views/explore.scala.html Show resolved Hide resolved
public/javascripts/SVLabel/css/svl-modal.css Outdated Show resolved Hide resolved
Copy link
Member

@misaugstad misaugstad left a comment

Choose a reason for hiding this comment

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

Okay I cleaned up a few remaining things so that we could move on to something else!

@misaugstad misaugstad merged commit 4fa0cd5 into develop Jun 23, 2023
@misaugstad misaugstad deleted the 3250-remove-top-explain-this branch June 23, 2023 19:48
@misaugstad misaugstad mentioned this pull request Jul 6, 2023
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.

Remove top bar 'Explain This'
2 participants