Commit graph

6853 commits

Author SHA1 Message Date
petoncle
6c0d4d7973 Stop buffering keys after 5s in the event clInput is never focused 2023-10-30 16:54:59 +01:00
petoncle
7f6d8603b2 Replace let with const 2023-10-30 14:46:25 +01:00
petoncle
3f252ddf45 Move common keyboardEvent stopping logic into KeyCanceller 2023-10-30 11:48:04 +01:00
petoncle
270aafb5f5 Replace one comment with TODO and add @hidden annotation for clInputValueChanged() 2023-10-30 11:40:28 +01:00
petoncle
fbc16a57f3 Make command optional in messageOwnTab to be in line with messageTab 2023-10-30 11:34:40 +01:00
petoncle
50f4288ffc Extract methods bufferPageKeyForClInput and consumeBufferedPageKeys 2023-10-30 09:58:55 +01:00
petoncle
6b620276b6 Clean up logs and lets 2023-10-29 23:33:46 +01:00
petoncle
3d5576bb73 Clean logs and move code around 2023-10-29 20:41:48 +01:00
petoncle
c3c12df8cb Add missing buffered_page_keys message type 2023-10-29 20:05:24 +01:00
petoncle
880c8a1d86 Use debug log level instead of info 2023-10-29 20:05:24 +01:00
petoncle
580f48446d Fix typo I've introduced in fillcmdline_notrail 2023-10-29 20:05:24 +01:00
petoncle
d7f0435a5a Simplify page key buffer consumption 2023-10-29 20:05:24 +01:00
petoncle
dbe5a8e8a6 Make commandline process request buffered page keys from page process 2023-10-29 20:05:24 +01:00
petoncle
6b61b69455 Send all keys typed in content page instead of just one key
Tab messages are not always received in order
2023-10-29 20:05:24 +01:00
petoncle
5779121d5c Avoid interprocess message for notifying commandline hide, and insert content script keys at the beginning if clInput already received normal keyboard events 2023-10-29 20:05:24 +01:00
petoncle
28242d8a5e Call clInputValueChanged() to update completions 2023-10-29 20:05:24 +01:00
petoncle
af385e0433 Avoid relying on window.document.activeElement and use custom clInputFocused boolean 2023-10-29 20:05:24 +01:00
petoncle
fcc3d76a3e Focus clInput only after its value has been initialized by fillcmdline 2023-10-29 20:05:24 +01:00
petoncle
3f4746760d Add comments 2023-10-29 20:05:24 +01:00
petoncle
ad6eb518ec Change logs to debug and use snake case for cl_input_focused message 2023-10-29 20:05:24 +01:00
petoncle
256da68c70 Remove delaying of clInput focus that was used for reproducing the lost chars bug 2023-10-29 20:05:24 +01:00
petoncle
ac02eae179 Rename variables 2023-10-29 20:05:24 +01:00
petoncle
70e63ccae9 Attempt to buffer keyboard events until command line is opened 2023-10-29 20:05:24 +01:00
petoncle
4a31b3ac20 Attempt to buffer keyboard events until command line is opened 2023-10-29 20:05:24 +01:00
Oliver Blanthorn
f224e6cf44
Merge pull request #4612 from tridactyl/dependabot/npm_and_yarn/jest-webextension-mock-3.8.9
Bump jest-webextension-mock from 3.8.8 to 3.8.9
2023-10-24 14:53:14 +00:00
Oliver Blanthorn
3da6b6264e
Merge pull request #4634 from tridactyl/dependabot/npm_and_yarn/eslint-plugin-sonarjs-0.19.0
Bump eslint-plugin-sonarjs from 0.18.0 to 0.19.0
2023-10-24 14:52:48 +00:00
Oliver Blanthorn
88f83b2a4d
Merge pull request #4648 from tridactyl/dependabot/npm_and_yarn/types/firefox-webext-browser-111.0.1
Bump @types/firefox-webext-browser from 109.0.0 to 111.0.1
2023-10-24 14:52:45 +00:00
Oliver Blanthorn
bd57cc7813
Merge pull request #4637 from tridactyl/dependabot/npm_and_yarn/eslint-config-prettier-8.8.0
Bump eslint-config-prettier from 8.6.0 to 8.8.0
2023-10-24 14:52:43 +00:00
Oliver Blanthorn
185e1e41c3
Merge pull request #4708 from tridactyl/dependabot/npm_and_yarn/typescript-eslint/eslint-plugin-tslint-5.59.7
Bump @typescript-eslint/eslint-plugin-tslint from 5.53.0 to 5.59.7
2023-10-24 14:52:13 +00:00
Oliver Blanthorn
b783ed4fd0
Merge pull request #4656 from tridactyl/dependabot/npm_and_yarn/thenify-3.3.1
Bump thenify from 3.3.0 to 3.3.1
2023-10-24 14:51:44 +00:00
Oliver Blanthorn
2ab9951657
Merge pull request #4688 from tridactyl/dependabot/npm_and_yarn/web-ext-7.6.2
Bump web-ext from 7.5.0 to 7.6.2
2023-10-24 14:51:30 +00:00
Oliver Blanthorn
fbd8753f8d
Merge pull request #4703 from tridactyl/dependabot/npm_and_yarn/esbuild-0.17.19
Bump esbuild from 0.17.10 to 0.17.19
2023-10-24 14:51:15 +00:00
Oliver Blanthorn
47920124a3
Merge pull request #4715 from tridactyl/dependabot/npm_and_yarn/eslint-plugin-jsdoc-44.2.7
Bump eslint-plugin-jsdoc from 40.0.0 to 44.2.7
2023-10-24 14:50:40 +00:00
Oliver Blanthorn
850acdf2ca
Merge pull request #4775 from evadrake89/master
Fix typo's in readme.md [Hacktoberfest]
2023-10-09 07:11:28 +00:00
Oliver Blanthorn
343f0ed623
Revert to British spelling 2023-10-09 09:08:37 +02:00
Oliver Blanthorn
c6eb36a5ce
Merge pull request #4776 from hommels/master
Fixed the hint example for matching on the comment collapsers on Hacker News
2023-10-09 07:06:47 +00:00
Simon
82581699ba
Fixed the example for collapsing comments in Hacker News
Hacker News added an additional class which prevented the hint from matching correctly. By matching on any of the classes this is fixed.
2023-10-07 16:41:15 +02:00
Aditya Prakash Gupta
e0f054940f
Fix typo's in readme.md [Hacktoberfest]
1 - "permisisons" should be "permissions."
2 - "memorising" should be "memorizing."
2023-10-06 13:52:31 +05:30
Richard Mathieson
608744bc36
Fix #4706: end of line with gi on Google 2023-09-22 19:39:49 +02:00
Oliver Blanthorn
2b233aa20a
Merge pull request #4769 from tridactyl/move-lint-ci-to-github
Move circleci CI to github
2023-09-18 14:05:15 +00:00
glacambre
d83bb4c4e6 Move circleci CI to github 2023-09-18 08:02:15 +02:00
Oliver Blanthorn
89a7e613e0
Merge pull request #4764 from Monirzadeh/fix-RTL-reader-mode
fix wrong direction for RTL language in reader mode
2023-09-04 18:34:31 +00:00
monirzadeh
7a30da389f fix wrong direction for RTL language in reader mode 2023-09-04 08:38:50 +03:30
Oliver Blanthorn
5540ebaa15
Merge branch 'reader'
Managed to make a branch on origin, somehow

I still haven't got my head around the differences between the
old `hub` command and the new `gh` one
2023-08-23 22:47:56 +02:00
Oliver Blanthorn
19a29c1d9b
Merge pull request #4748 from natrys/reader
Provide hook for basic CSS override for new Reader mode
2023-08-23 20:47:25 +00:00
Oliver Blanthorn
5bd7d24056
Hide internal reader function 2023-08-23 22:45:48 +02:00
Oliver Blanthorn
b5b971c9de
Merge pull request #4751 from themaherdev/master
Fixing hard coded modeindicator border style
2023-08-23 20:31:57 +00:00
themaherdev
f717630352 Fixing hardcoded indicator border style 2023-08-14 15:59:43 +03:00
Imran Khan
9954b8fd90 Provide hook for basic CSS override for new Reader mode
Top level body now has the fixed DOM id: `tridactyl-reader`. Article
content is wrapped in a `main` tag.

Also introduces a new config setting `readerurlintitle` that could
be set to append article link to document.title. Disabled by default.
2023-08-02 19:33:40 +06:00
Oliver Blanthorn
5cbfb728bd
Merge pull request #4749 from DhruvaSambrani/patch-1
Update website.yml to not run on PRs
2023-07-31 17:50:03 +00:00