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

Fixed incorrect copy button behavior on global search page. #6682

Merged
merged 2 commits into from
Dec 19, 2024

Conversation

HanlinMiao
Copy link
Contributor

Closes #6678

What's Changed

Fixed incorrect copy button behavior on global search page.

Screenshots

N/A
Feel free to pull the change down and try it out.

TODO

  • Explanation of Change(s)
  • Added change log fragment(s) (for more information see the documentation)
    - [ ] Attached Screenshots, Payload Example
    - [ ] Unit, Integration Tests
    - [ ] Documentation Updates (when adding/changing features)
    - [ ] Example App Updates (when adding/changing features)
    - [ ] Outline Remaining Work, Constraints from Design

@HanlinMiao HanlinMiao self-assigned this Dec 19, 2024
@HanlinMiao HanlinMiao mentioned this pull request Dec 19, 2024
7 tasks
{% block javascript %}
{{ block.super }}
<script>
var clipboard = new ClipboardJS('.btn');
Copy link
Contributor

Choose a reason for hiding this comment

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

Remind me, does this mean it applies to all btn classes on the page? If so, does it interfere with the operation of the Search or See All Results/Refine Search buttons on this page?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

It does not based on my manual testing. Also this block exists in object_list.html and it does not seem to interfere with any other buttons (Edit, Delete, etc) on that page either.

@HanlinMiao HanlinMiao merged commit 38c4084 into develop Dec 19, 2024
17 checks passed
@HanlinMiao HanlinMiao deleted the u/hanlin-#6678 branch December 19, 2024 20:47
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.

Copy on Hover Button in Search Results Does Not Update Clipboard
2 participants