1
0
mirror of https://github.com/osmarks/mycorrhiza.git synced 2025-08-30 09:28:03 +00:00
Commit Graph

754 Commits

Author SHA1 Message Date
Timur Ismagilov
2d585be152 Fix dark theme for upload file thing 2021-06-16 02:06:50 +05:00
Timur Ismagilov
5ecab763fc Fix dark theme for the shortcut dialog 2021-06-16 02:02:13 +05:00
Timur Ismagilov
14cb00a6fc Fix new hyphae not creating 2021-06-16 02:00:29 +05:00
Timur Ismagilov
d27a63d375 Set default text color explicitly
It was requested by a person because it broke how the site looked to them
2021-06-16 01:38:15 +05:00
Timur Ismagilov
2ce25811af Reintroduce favicons
Store it at the static folder, like before.

I created a new config field for that originally, but then I understood that it is to be thrown away anyway when the Structure comes, so decided to keep it the old way.
2021-06-16 01:35:24 +05:00
Timur Ismagilov
d0c3225db5 Clean some stuff, update README.md
Now with pictures
2021-06-15 02:07:31 +05:00
Timur Ismagilov
839b1e2448 Rename WikiDir to WikiGitDir
Rhymes well with the forecoming Structure.
2021-06-15 01:30:17 +05:00
Timur Ismagilov
b4e0ff2e34 Make sure the uploaded hypha filepath is nested in wiki dir
I couldn't make it work differently though
2021-06-15 01:27:25 +05:00
Timur Ismagilov
cbfa89b720 Migrate to mycomarkup v0.5.4
Cool tables, some link fixes
2021-06-15 00:48:40 +05:00
handlerug
bf4a15b61d Improve appearance of edit message field 2021-06-14 14:53:11 +07:00
handlerug
0ffc1a05fe Simplify commit message a bit 2021-06-14 14:37:30 +07:00
handlerug
b39f3e0862 Merge pull request #69 from GuAlSe/master
Add Edit description
2021-06-14 14:36:17 +07:00
handlerug
679588abd5 Merge branch 'master' into master 2021-06-14 14:27:28 +07:00
handlerug
eefa797097 Replace /page/ with /hypha/ everywhere 2021-06-14 14:20:37 +07:00
handlerug
9dde11aa40 Shortcuts for hypha tabs 2021-06-14 14:20:37 +07:00
handlerug
4c471c579d Revert shortcuts for super/subscript back for Macs 2021-06-14 14:03:31 +07:00
handlerug
4dc319116a Aaaaaa more shortcuts refactoring 2021-06-14 14:00:49 +07:00
handlerug
b4910edcca Refactor shortcut help 2021-06-14 13:58:20 +07:00
handlerug
6b074e88ea bindCollection helper, better code 2021-06-14 13:54:36 +07:00
handlerug
6120e3b27f Split shortcuts help into columns if enough space 2021-06-14 13:51:12 +07:00
handlerug
50dfabe279 Make the shortcuts prettifier even prettier 2021-06-14 13:51:12 +07:00
handlerug
2f9ea998bf Fix shortcuts prettifier (vertical arrow keys) 2021-06-14 13:51:12 +07:00
handlerug
c574008564 Change superscript and subscript shortcuts on Mac
Now they won't conflict with the default browser actions, if we're going
to not stop the browser from doing its own thing.
2021-06-14 13:51:12 +07:00
handlerug
f6e32a16eb Revert "Read Handlerug's code"
This reverts commit d069bd536e.

"Because... everything was just fine?"
2021-06-14 13:51:12 +07:00
Timur Ismagilov
94d2221250 Merge pull request #70 from GuAlSe/fix
Override useless browser hotkeys if editor is active
2021-06-14 11:25:58 +05:00
Alex Gu
ad5dd09cc3 Override useless browser hotkeys if editor is active
For example Ctrl+B open Bookmarks, Ctrl+I open page info.
It's useful shortcuts but unless we edit hypha text.
2021-06-14 04:11:15 +03:00
Alex Gu
1c30f82445 Add Edit description 2021-06-14 03:47:11 +03:00
Timur Ismagilov
adcb6d5aaf Merge pull request #68 from GuAlSe/master
Add first child hypha shortcut
2021-06-14 02:41:41 +05:00
Alex Gu
97b488731c Add first child hypha shortcut 2021-06-14 00:31:09 +03:00
Timur Ismagilov
ead923cda6 Merge pull request #67 from GuAlSe/master
Fix Typo
2021-06-14 02:25:59 +05:00
Alex Gu
1be4b0ef64 Fix Typo 2021-06-14 00:18:22 +03:00
Timur Ismagilov
761d9a110f Migrate to mycomarkup v0.5.3
LINK COLORING
2021-06-14 01:52:12 +05:00
Timur Ismagilov
15ca777135 Merge pull request #66 from GuAlSe/master
Add Ctrl+Enter as alias for `e`
2021-06-14 01:45:49 +05:00
Alex Gu
70329f22cf Add Ctrl+Enter as alias for e 2021-06-13 23:36:55 +03:00
Timur Ismagilov
14bdf39107 Limit the shortcut dialog's maximum width 2021-06-14 01:21:46 +05:00
Timur Ismagilov
d069bd536e Read Handlerug's code
I have written some comments in order to understand it by myself.

I created the class Shortcut with some static methods for better grouping.
2021-06-14 01:11:46 +05:00
Timur Ismagilov
3cefc5038d Merge pull request #65 from GuAlSe/master
Shortcuts no longer changes browser behavior.
2021-06-14 01:11:35 +05:00
Alex Gu
f06501d631 Shortcuts no longer changes browser behavior.
Now need to use Ctrl+Alt+Up/Left/Right instead if browser uses Alt+Up/Left/Right. (If browser don't use Alt+Up/Left/Right, it is still used for switch hyphae)
2021-06-13 23:03:45 +03:00
Timur Ismagilov
01af43de04 Add dark theme to the shortcuts pop up 2021-06-13 23:39:27 +05:00
Timur Ismagilov
20a2d26848 Replace span.kbd-key with the kbd tag 2021-06-13 23:37:21 +05:00
handlerug
feea6bf3d7 Make <textarea> auto-focus on the editor page 2021-06-13 23:29:54 +07:00
handlerug
60deff0ecd Editor shortcut for saving changes
It's Ctrl/Cmd + Enter
2021-06-13 23:28:02 +07:00
handlerug
80e3645bb0 Shortcut for editing opened hypha
It's `e`
2021-06-13 23:24:08 +07:00
handlerug
1c8d1e8f7e Shortcuts reference
It's invoked by pressing `?`, or Ctrl/Cmd + `/` in the editor.
Resolves #64.
2021-06-13 23:15:45 +07:00
handlerug
83574105f5 Editor shortcuts 2021-06-13 15:15:28 +07:00
handlerug
0e3222c552 Hypha shortcuts
[1-9]: First 9 links in the hypha contents
2021-06-13 13:59:07 +07:00
handlerug
3a2678df4d Common shortcuts
p, Alt + ←: Previous hypha
n, Alt + →: Next hypha
s, Alt + ↑: Parent hypha

gh: Home hypha
gl: List of hyphae
gr: Recent changes
gu: User's hypha

g[1-9]: First 9 header links

Follow-up to the previous commit message: actually, you can press them
simultaneously too, just tested it. Ilya approves.
2021-06-13 13:59:01 +07:00
handlerug
aeb05336e9 Shortcuts handler
This class registers shortcuts and processes key presses. It can also
register multiple shortcuts and shortcuts with multiple keys pressed
sequentially. Perhaps it should also support shortcuts with multiple
keys pressed simultaneously for folks at https://klava.wiki ...
2021-06-13 12:41:38 +07:00
Timur Ismagilov
71e82b9205 Migrate to Mycomarkup v0.5.1
Red links are back!
2021-06-13 02:15:58 +05:00
handlerug
71b3b42e54 Remove PKGBUILD, add how to install from AUR 2021-06-12 22:51:29 +07:00