Commit graph

207 commits

Author SHA1 Message Date
glacambre
8514209cf9
Allow embedded settings to wrap
The previous code used <ul> and <li> in order to generate the list of
aliases/bindings related to an ex command. This was semantically correct
but required ugly CSS hacks in order to display them on a single line.
On top of that, this line didn't wrap when the list of bindings/commands
was longer that the page and thus required scrolling horizontally.

This commit replaces <ul> with <p> and <li> with span. It inserts a
space between each span and simplifies the css a bit, this results in
lines of bindings/aliases wrapping neatly.
2018-10-09 15:40:06 +02:00
glacambre
11272ce958
Mention tridactyl overriding default keybinding in readme/tutor
Closes https://github.com/tridactyl/tridactyl/issues/939.
2018-10-05 09:25:21 +02:00
Oliver Blanthorn
6bfa641b32
Fix #1028 and maybe some other errors: persuade buildbot to rebuild help 2018-09-27 13:01:33 +01:00
Oliver Blanthorn
da50403a35
Add warning to new tab 2018-09-04 12:29:14 +01:00
Saul Reynolds-Haertle
e0fa3d0b52 Update tutor so it says each tab is in a mode instead of the browser 2018-09-02 16:25:34 -07:00
Oliver Blanthorn
b109e8d0a8
Make truncation clearer 2018-09-01 22:55:56 +01:00
glacambre
a7f85f2f73
completions/Settings.ts: Add type and documentation to completion opts 2018-09-01 22:03:19 +02:00
Oliver Blanthorn
3b6cddf971
Improve setting completion styling 2018-08-21 21:28:36 +01:00
Oliver Blanthorn
ed0f1ed20e
Remove excmd arguments on completion 2018-08-20 19:17:03 +01:00
glacambre
495c9302a7
Fix #909: allow commandline to be pushed to side by scrollbar 2018-08-17 18:51:24 +01:00
Oliver Blanthorn
0cee731d4b
Merge pull request #914 from glacambre/generate_theme_list
Generate theme list
2018-08-16 21:09:43 +01:00
Oliver Blanthorn
32a1fd25d4
Merge pull request #900 from henrebotha/patch-1
Prevent cutting off a few pixels at the top
2018-08-16 21:08:46 +01:00
glacambre
b6e32e975e
Normalize theme directory structure 2018-08-16 20:56:11 +02:00
Oliver Blanthorn
8575a588b4
Pad ex cmd display a bit 2018-08-16 14:53:23 +01:00
Henré Botha
983bf41378
Prevent cutting off a few pixels at the top
The minimal userChrome file causes 8 pixels to be cut off from the top of the "content" part of the page, but only when the navbar is hidden. This change, as written, will reverse the situation: it will add 8 pixels of extraneous padding when the navbar is not hidden. Given that we spend most of our browsing time with the navbar hidden, this optimises for the common case instead of the uncommon case.
2018-08-07 19:28:23 +02:00
glacambre
35466971b7
Implement basic excmd completion
This implements excmd completion. We're using the typescript compiler
API in order to get the documentation and the type of every function of
Tridactyl and generate a file named "src/metadata.ts" which contains
this information. Since this file is dependency-less it can be imported
from every source file.

We then write a regular completion source which just uses the data
contained in metadata.ts in order to generate its completions.
2018-08-05 17:12:49 +02:00
Oliver Blanthorn
74117e29ee
Merge branch 'master' of github.com:cmcaine/tridactyl into hint 2018-08-01 14:03:36 +01:00
Lucian Poston
9263b3f213 hintuppercase to toggle CSS overriding hint case 2018-08-01 02:50:36 -07:00
Oliver Blanthorn
ab94d9dd4e
Merge branch 'master' of github.com:cmcaine/tridactyl into container-aucmds 2018-07-30 14:56:53 +01:00
Anton Vilhelm Ásgeirsson
1de3f76d21 Autocontainers only contain the domains specified.
Added comments and documentation notifying people that autocontainers
are experimental. Removed autocontainer section from the containers
tutor page. Autocontainers will now correctly open external links in the
default container. Removed a couple of config checks that were
unnecessary.
2018-07-23 12:38:35 +00:00
Oliver Blanthorn
def998a5a5
Fix help again 2018-07-21 18:29:19 +01:00
Oliver Blanthorn
2e6e2b0167
Merge branch 'sane-hints' of github.com:cmcaine/tridactyl
Also add a bind for rapid hint mode: `gF`.
2018-07-21 16:53:42 +01:00
Anton Vilhelm Ásgeirsson
6278346c39 Add a container page to :tutor.
Renamed containerremove to containerdelete to be more in line with the
current naming scheme and added some preliminary documentation on
containers and autocontainers.
2018-07-20 11:12:03 +00:00
glacambre
2ced3ae54d
Fix Tridacyl not working on about:blank newtab page.
Apparently, Firefox can't give you key events for the window if <body>
is `display: none`. This is fixed by turning the page transparent
instead of not displaying it. Since the scrollbar is still visible when
the page is transparent, we also set the page's height to 0px.

All of these modifications are reversed when the page needs to be
displayed.
2018-07-18 06:20:33 +02:00
Oliver Blanthorn
deef62cfbd
Merge branch 'fix_shydactyl' of https://github.com/glacambre/tridactyl into glacambre-fix_shydactyl 2018-07-12 16:31:16 +01:00
Bodo Graumann
f017f74973
Make guiset hoverlink compatible with firefox 61
In firefox 61 there has been a medium change to how the status panel
(that shows the link the user hovers over) is created. Compare firefox
changeset 18bbbdc02213:
https://hg.mozilla.org/releases/mozilla-release/rev/18bbbdc02213

In particular there is no more statuspanel tag. Instead there is an hbox
with id="statuspanel".
2018-07-05 17:51:46 +02:00
glacambre
b3e5aa6238
Fix shydactyl
As mentionned in https://github.com/cmcaine/tridactyl/issues/748,
https://github.com/cmcaine/tridactyl/pull/736 and
https://github.com/cmcaine/tridactyl/pull/728 broke shydactyl by
changing the number of cells in the completion buffer, which resulted in
the wrong cells being displayed and hidden.

This is fixed by using classes.
2018-07-04 08:14:38 +02:00
glacambre
6dd9c412dc
Add private window indicator to bufferall 2018-06-26 22:37:33 +02:00
glacambre
29427d94a6
Display container icon in Buffer/BufferAll completions 2018-06-22 21:55:44 +02:00
Bzly
f77c52b98d
Remove \ 2018-06-20 21:21:35 +01:00
Bzly
6d390a19c3
Fix borked help link 2018-06-20 20:47:34 +01:00
Oliver Blanthorn
be5c4e2d75
Merge branch 'master' of github.com:cmcaine/tridactyl into glacambre-impl_bufferall 2018-06-20 12:34:50 +01:00
Oliver Blanthorn
86c0888bcd
Fix italicised file: on newtab 2018-06-20 12:00:31 +01:00
glacambre
0d1cefc8bc
Tutorial: Add links to go back to the previous page 2018-06-20 08:17:41 +02:00
Oliver Blanthorn
9818f8d0cb
Change changelog notification to small nag bar 2018-06-17 18:35:48 +01:00
glacambre
575693a65e
Implement :bufferall 2018-06-17 06:21:10 +02:00
glacambre
125759b483
Keep newtab's changelog button grey once changelog has been read 2018-06-16 15:55:33 +02:00
Oliver Blanthorn
5777ba6c00
Make the pun in credits worse 2018-06-08 15:14:47 +01:00
Oliver Blanthorn
d474197451
Merge branch 'master' of github.com:cmcaine/tridactyl into glacambre-improve_documentation 2018-06-08 12:27:09 +01:00
Oliver Blanthorn
c63ff4b41a
Make nmaps harder to read on bad displays 2018-06-08 12:25:23 +01:00
glacambre
31805b7c7f
Update documentation, mention ':help key' everywhere 2018-06-07 12:52:11 +02:00
glacambre
37785508e1
typedoc: Make .TridactylSetting class stand out a bit 2018-06-07 11:56:09 +02:00
glacambre
a465bf9428
help.ts,main.css: Add user bindings to help page 2018-06-03 17:21:11 +02:00
glacambre
54e980499c
Add alias information to the :help page. 2018-06-03 15:04:50 +02:00
glacambre
dcb6620240
content.{ts,css}: Make modeindicator disappear on hover
This fixes https://github.com/cmcaine/tridactyl/issues/565
I chose to append a TridactylInvisible class instead of setting the
modeindicator setting to false or manually removing the element from the
DOM because this seemed more robust (e.g. when "modeindicator" is set to
true, you expect it to stay set to true and for the element to exist
within the DOM).
2018-05-31 21:47:06 +02:00
Oliver Blanthorn
a8995d5f62
Merge branch 'master' of github.com:cmcaine/tridactyl into sumnerevans-css-prettier-compliance 2018-05-25 09:34:18 +01:00
Oliver Blanthorn
98f29d875a
Document <C-A-`> bind for ignore mode 2018-05-25 09:24:02 +01:00
Sumner Evans
de9d1f237e
Ran prettier on all CSS files 2018-05-24 08:53:51 -06:00
Sumner Evans
1efeb70c5e
Reformat readme, contributing, changelog and src/static using prettier 2018-05-24 08:10:56 -06:00
Oliver Blanthorn
b8dea34d0d
Merge pull request #603 from sumnerevans/hint-documentation
Adding notes about typing hint characters in lowercase (fix #588).
2018-05-23 21:49:35 +01:00