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

Add search by Unicode to the the "Filter by name or id" input box. #87

Closed
MariannaPaszkowska opened this issue Nov 15, 2023 · 2 comments

Comments

@MariannaPaszkowska
Copy link

Summary
This feature request proposes the addition of a Unicode code point glyph search functionality in Samsa. This feature would improve the efficiency of testing for glyphs from complex scripts and rare characters not easily accessible through standard keyboards.

Background
In current usage, Samsa allows users to search for glyphs by typing the character itself into the string box, or searching by glyph name or id.

Suggested Implementation

UI Enhancement:
• Add this functionality to the "Filter by name or id" input box.
Other options:
• Add an input field specifically for Unicode points in the Samsa UI.
• Add to the current string box for character entry.

Syntax Proposal: The input could be in the standard Unicode notation (e.g., U+1F60A for the smiling face emoji “😊”).
Alternatively: u1F60A.

@Lorp
Copy link
Owner

Lorp commented Nov 20, 2023

Thanks for this. Good idea, fixed in 6198ed4. You can now use any of the following formats in the "filter by string" field in order to filter by Unicode value: U+nnnn, unnnn, &#xnnnn;, &#nnnn;.

For example, to enter the Euro sign €, type any of these:

  • U+20ac
  • u20ac
  • €
  • €

Unfortunately, Unicode IDs higher than 65535 such as U+1F60A ("😊") are not yet supported, awaiting integration of samsa-core v2.

@Lorp Lorp closed this as completed Nov 20, 2023
@Lorp
Copy link
Owner

Lorp commented Nov 20, 2023

See issue #88

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

No branches or pull requests

2 participants