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

[Site] Create an index.html under crum/ so You Can Look Up Words more Conveniently #108

Closed
pishoyg opened this issue Aug 3, 2024 · 12 comments
Assignees
Labels
user Why: User convenience
Milestone

Comments

@pishoyg
Copy link
Owner

pishoyg commented Aug 3, 2024

This index.html should have a giant list of hyperlinks pointing to the individual pages, with the title of the word containing a comma-separated list of the words you find on the front, along with their meanings. Maybe include the Coptic in the hyperlink, and keep the meaning out.

Then you can share a link to https://pishoyg.github.io/crum/ to add visibility to your project.
We have a homepage, at metremnqymi.com. And it won't be just the digital Crum dictionary, it will list a lot of stuff.

@pishoyg pishoyg added user Why: User convenience P1 documentation How: Writing documentation and removed documentation How: Writing documentation labels Aug 3, 2024
@pishoyg pishoyg self-assigned this Aug 3, 2024
@pishoyg pishoyg removed the P1 label Aug 8, 2024
@pishoyg
Copy link
Owner Author

pishoyg commented Aug 14, 2024

TODO: Use JavaScript for a basic text-based search interface.

@pishoyg
Copy link
Owner Author

pishoyg commented Aug 15, 2024

TODO: Also include a link to the dictionary index link in the headers of individual words, so people know where to go to search or other words.

@pishoyg pishoyg changed the title [Site] Create a Cmd+F-able index.html under crum/ so You Can Look Up Flashcards more Conveniently [Site] Create an index.html under crum/ so You Can Look Up Words more Conveniently Aug 15, 2024
@pishoyg
Copy link
Owner Author

pishoyg commented Aug 22, 2024

IDEA: Crum Pipeline should export a keywords column, or some other column that we can use for search.

@pishoyg
Copy link
Owner Author

pishoyg commented Sep 3, 2024

#225 might help attract search engine traffic, thus getting Google to index your site quickly, which will make the engine better.

pishoyg added a commit that referenced this issue Sep 3, 2024
Side changes:
- Class obfuscator has a predefined set of whitelisted classes. Add
  "gcse-search" to those classes.
pishoyg added a commit that referenced this issue Sep 3, 2024
Rumor has it that this can attract search engine traffic.
pishoyg added a commit that referenced this issue Sep 3, 2024
It can also attract search engine traffic.
@pishoyg
Copy link
Owner Author

pishoyg commented Sep 3, 2024

Right now, we have settled on using a Programmable Search Engine from Google, and improving the page quality to attract some search engine traffic or get Google to index the site more quickly.

The traffic attraction (UI, gaining popularity, better metadata, ...) belongs in other issues. This is pending sitting and waiting.
I would love to mark this as done, but I can't simply do it until it actually starts working.
Fortunately, the text content of the pages doesn't get updated often (styling does, images do, ...) So we don't need frequent indexing, we just need it to get indexed once.

@pishoyg
Copy link
Owner Author

pishoyg commented Sep 3, 2024

TODO: Include a link to the search page in the header.

@pishoyg
Copy link
Owner Author

pishoyg commented Sep 3, 2024

Here is our (still not working) search page: https://metremnqymi.com/crum/.

@pishoyg
Copy link
Owner Author

pishoyg commented Sep 3, 2024

Consider implementing static client-side search.
Here is a good candidate https://www.fusejs.io/.

@pishoyg
Copy link
Owner Author

pishoyg commented Sep 3, 2024

Status: This is implemented and live at https://metremnqymi.com/crum/.
Summary TODO:

  1. Polish the commits and push them.
  2. Add a link to the search page in the note headers.
  3. Add an option to search for a whole word only.
  4. Simplify the Xoogle data representation.

@pishoyg
Copy link
Owner Author

pishoyg commented Sep 4, 2024

BUG: Search query highlighting doesn't work with partial words.

@pishoyg
Copy link
Owner Author

pishoyg commented Sep 4, 2024

This is done. Suggested improvements will be tracked in #229.

@pishoyg pishoyg closed this as completed Sep 4, 2024
pishoyg added a commit that referenced this issue Sep 4, 2024
- Unset `noreturnawait` for `jshint`.
  I don't fully understand the utility of this flag at this point, but
  it's causing some trouble. I don't know whether it's worth appeasing
  this flag, so I will simply unset it.
- Add `Response` as a known global.

P.S. `jshint` is so far useless, and hard to appease.
pishoyg added a commit that referenced this issue Sep 6, 2024
Also add some TODO's about our future plans.
@pishoyg pishoyg added this to coptic Sep 11, 2024
pishoyg added a commit that referenced this issue Sep 18, 2024
It's not currently working. We will restore it when it becomes
functional.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
user Why: User convenience
Projects
Archived in project
Development

No branches or pull requests

1 participant