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

Implement „Find in page“ #79

Closed
Popolechien opened this issue Nov 7, 2017 · 16 comments · Fixed by #849 or #872
Closed

Implement „Find in page“ #79

Popolechien opened this issue Nov 7, 2017 · 16 comments · Fixed by #849 or #872
Assignees
Milestone

Comments

@Popolechien
Copy link
Member

"Search in Android not only finds pages, but matching terms within a page as well. Very helpful in longer articles."
(copied from beta tester feedback)

@stale
Copy link

stale bot commented Aug 5, 2019

This issue has been automatically marked as stale because it has not had recent activity. It will be now be reviewed manually. Thank you for your contributions.

@kelson42
Copy link
Contributor

@automactic Please keep one ticket per issue. If you want to gather tickets together you have many systems, like tags, milestones, projects.

@kelson42 kelson42 reopened this Dec 24, 2019
@stale stale bot removed the stale label Dec 24, 2019
@automactic
Copy link
Member

I disagree. If you want to keep issue count down or wish to keep issues from becoming stale, the content of the tickets needs to be small and actionable items. IMO, we need to decide what can and should appear in the issue section of the project.

If you want to keep feature request in the issue section, this is fine by me. But please also don't expect me to be able to quickly resolve issues that needs significant engineering efforts and planning. (i.e. expect issues to go stale)

@stale
Copy link

stale bot commented Mar 26, 2020

This issue has been automatically marked as stale because it has not had recent activity. It will be now be reviewed manually. Thank you for your contributions.

@stale stale bot added the stale label Mar 26, 2020
@kelson42
Copy link
Contributor

kelson42 commented Mar 26, 2020

@automactic I for sure don't want to keep artificially ticket count down and avoid stalled. Tickets should reflect the reality. This is mandatory to understand the status of the project and I do my best to secure a high quality ticket portfolio. Here are the guidelines to report bugs https://github.com/kiwix/overview/blob/master/REPORT_BUG.md, please let me know if something is unclear.

The only solution to keep ticket low and not stalled is to fix issues. Any other way is wrong.

@stale stale bot removed the stale label Mar 26, 2020
@stale
Copy link

stale bot commented May 25, 2020

This issue has been automatically marked as stale because it has not had recent activity. It will be now be reviewed manually. Thank you for your contributions.

@stale stale bot added the stale label May 25, 2020
@automactic automactic changed the title "Find in page" search function Find matching text in currently reading article Aug 15, 2020
@stale stale bot removed the stale label Aug 15, 2020
@stale stale bot removed the stale label Aug 15, 2020
@stale
Copy link

stale bot commented Oct 14, 2020

This issue has been automatically marked as stale because it has not had recent activity. It will be now be reviewed manually. Thank you for your contributions.

@nk9
Copy link

nk9 commented Nov 4, 2023

It looks like this is the single issue being used for both iOS and Mac. Will the UI for this really be the same between the two? For example, one of the duped issues asked for Cmd+F to open this. That affordance makes sense on Mac but not iOS. I appreciate that the code base is the same for both but I'm wondering if it wouldn't be clearer to separate the issues by platform to account for differences like this. I suppose there could be a third bug for common code, but that feels like overkill.

Either way, we need to define how this UI will work on both platforms so that it can be implemented.

I am happy to lend a hand on this issue. I am new to the project, however. Is this a straightforward first issue for someone with a bit of Swift experience?

@kelson42
Copy link
Contributor

kelson42 commented Nov 5, 2023

@nk9 Both versions, macOS and iOS use now the same code base. Obviously, the keyboard shortcuts are not available on iOS. Regarding the implementation, such a feature has to use the HTML render builtin for the core of the feature. Regarding the UI, it's true that the situation is quite open but I woukd try to do like in Web browsers. How this has been solved in Safari/Chrome/Firefox?

@nk9
Copy link

nk9 commented Nov 8, 2023

We're using a WKWebView, so it should be as easy as invoking the web view's find method.

I've downloaded the source, will give it a shot and see if I can make a PR. If someone else wants to do it first, be my guest!

@kelson42 kelson42 changed the title Find matching text in currently reading article Implement ¨Find in page" Nov 25, 2023
@kelson42
Copy link
Contributor

@nk9 Have you been able to make progresses? Meanwhile we have published the xcf and updated the README. It should be very easy to step-in now. This is a very important feature. Getting it done would be a nice milestone!

@VitoVan
Copy link

VitoVan commented Mar 28, 2024

This feature is the one I'm currently craving.

🙏 🙏 🙏

I wish I knew some Swift and macOS programming.

@kelson42 kelson42 modified the milestones: 3.5.0, 3.4.0 Apr 19, 2024
@kelson42 kelson42 changed the title Implement ¨Find in page" Implement „Find in page" May 14, 2024
@kelson42 kelson42 changed the title Implement „Find in page" Implement „Find in page“ May 14, 2024
@kelson42
Copy link
Contributor

@VitoVan This is scheduled for next release :)

@kelson42 kelson42 removed the feature label Jun 2, 2024
@kelson42
Copy link
Contributor

@BPerlakiH How complex would it be to implement this feature?

@kelson42 kelson42 pinned this issue Jun 29, 2024
@BPerlakiH BPerlakiH linked a pull request Jul 7, 2024 that will close this issue
@BPerlakiH
Copy link
Collaborator

BPerlakiH commented Jul 7, 2024

@kelson42 @Popolechien Please see my PR and videos on this here: #849

@kelson42 kelson42 modified the milestones: 3.6.0, 3.5.0 Jul 12, 2024
@kelson42 kelson42 unpinned this issue Jul 12, 2024
@kelson42
Copy link
Contributor

Feature seems unavailable if I open a content from "open new tab", see
image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

6 participants