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 v0 of quotation engine #9

Merged
merged 17 commits into from
Jan 6, 2024
Merged

Add v0 of quotation engine #9

merged 17 commits into from
Jan 6, 2024

Conversation

rtshkmr
Copy link
Member

@rtshkmr rtshkmr commented Dec 5, 2023

fixes #8

ref to issue for goals

@rtshkmr rtshkmr self-assigned this Dec 5, 2023
QQ: seems like I can only use buttons to do click events, how might I go
about emitting click events from icons?

let Hooks = {};

Hooks.ShareQuoteButton = {
Copy link
Contributor

Choose a reason for hiding this comment

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

could break into nested hooks folder with export index.js file for better organization

Copy link
Member Author

Choose a reason for hiding this comment

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

solid stuff, made things cleaner as per this commit -- 3ea3a4f

Added a /hooks subdir to throw in js-hooks and an indexer file for that.
Just playing around with things...
This gets validated by just observing the html source code.

The next step would be to add in the image generation. For a first pass,
the image generation shall be done just-in-time, will add in some
cacheing thereafter as a v1.
Things added:
1. chapter, verse number
2. both text and transliteration
3. url dump
@rtshkmr rtshkmr marked this pull request as ready for review December 29, 2023 02:52
@rtshkmr rtshkmr changed the title [WIP] Add v0 of quotation engine Add v0 of quotation engine Dec 29, 2023
@rtshkmr rtshkmr merged commit 6b22a5c into master Jan 6, 2024
4 checks passed
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.

[Operation]: Add quoting engine
2 participants