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

Characters in search results need to be highlighted. #511

Closed
FrederLu opened this issue Dec 29, 2023 · 0 comments · Fixed by Magickbase/ckb-explorer-frontend#263
Closed
Assignees
Labels
bug Something isn't working

Comments

@FrederLu
Copy link

image image

When searching in by name mode, the strings in the Name part of the search results that are the same as the search keyword are highlighted. Cancel the highlighting of search results when mouseover.

  • When entering ck to search, the following figure 1 is displayed. If there are multiple matches for the Name part in the search results, only the first one will be displayed.
  • If the Name length is too large, ellipses are used, and the highlighted part is in the omitted content. In this case, when displaying, you need to display the content one character before and after the highlighted content, and then add the ellipses as shown in Figure 2.
  • Figure 3 highlights the beginning information.
image image image
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Archived in project
Development

Successfully merging a pull request may close this issue.

3 participants