Commit Graph

986 Commits

Author SHA1 Message Date
Abdullah Atta
a47c98509d editor: allow converting double spaced lines to single spaced 2022-10-13 19:23:05 +05:00
Abdullah Atta
9701a3d660 web: make table row toolbar vertical for compactness 2022-10-13 19:18:33 +05:00
Abdullah Atta
d2d269e4ca editor: toggle only the clicked item if it's not selected 2022-10-12 15:16:29 +05:00
Abdullah Atta
b5843c24d4 editor: do not use shebang to execute build script 2022-10-06 13:19:44 +05:00
Abdullah Atta
ce889cf1c3 web: bump version to v2.2.1 2022-09-29 19:05:25 +05:00
Abdullah Atta
f69afd2d9a editor: defer update propagation by 100ms
by default our editor sends an update "signal" on every single transaction.
This is oftentimes unnecessary. We can
improve the responsiveness by deferring this so multiple transactions cause
1 rerender.
2022-09-29 15:56:24 +05:00
Abdullah Atta
02459d759f web: speed up word counting
Previously we moved to getting the `innerText` directly from the browser.
This was okay but it strained the browser quite a bit. Now we are moving
back to using `textBetween` since after some benchmarking the difference
in speed is minimal. It is possible
that there is a better alternative
specifically designed for prosemirror.
2022-09-29 15:56:24 +05:00
Abdullah Atta
69d48ce5c1 editor: menus not opening on web/desktop 2022-09-29 15:56:05 +05:00
Abdullah Atta
b3ea6523ae global: set license prop of all package.json files to GPL-3.0-or-later 2022-09-26 15:30:16 +05:00
Abdullah Atta
47ac190a66 editor: use full date/time format instead of ISO8601 2022-09-19 20:40:20 +05:00
ammarahm-ed
275d2be5ac Merge branch 'master' into feat-launcher-shortcut-actions 2022-09-19 12:33:26 +05:00
Abdullah Atta
0f99391205 editor: add p tag above the 1st node list on ArrowUp (fixes #970) 2022-09-16 15:01:49 +05:00
Abdullah Atta
9ed291102b editor: lift empty first list item on backspace
This provides a way to create a paragraph before a list so it works like this:
1. Place cursor at the start of the first list item
2. Press enter to create a new item
3. Press backspace to turn it into a paragraph

This is actually how Google Docs works as well. Emtpy list item
becomes a paragraph on backspace.
2022-09-16 14:57:31 +05:00
Abdullah Atta
72b21139ce editor: only count direct task list child for stats 2022-09-16 12:35:15 +05:00
Abdullah Atta
2a5005135c editor: show list collapse toggle on hover in task list (fixes #842) 2022-09-16 12:32:05 +05:00
Abdullah Atta
8be748f62e editor: update @tiptap/* packages 2022-09-16 12:15:39 +05:00
Ammar Ahmed
686b38ca87 editor: expose link opening logic to clients (#969) 2022-09-16 12:10:06 +05:00
Abdullah Atta
99b9dda47d editor: make hr bigger & easily selectable (fixes #847) 2022-09-16 12:08:29 +05:00
Abdullah Atta
09130394de editor: don't insert empty p tag before hr (fixes #867) 2022-09-16 12:07:29 +05:00
ammarahm-ed
f87d66f47a mobile: add quick note actions 2022-09-14 13:28:07 +05:00
ammarahm-ed
df50ece50d editor: don't open already opened popup again 2022-09-13 11:54:33 +05:00
ammarahm-ed
881771a14f editor: fix clicking on link resets editor on mobile 2022-09-13 09:11:36 +05:00
ammarahm-ed
797670f2ef editor: fix popups not opening 2022-09-13 09:10:35 +05:00
Abdullah Atta
4c1070af56 web: content overlaps on switching notes very fast 2022-09-08 23:57:13 +05:00
Abdullah Atta
ab38d89314 setup: use zx for cross-platform scripting 2022-09-07 23:04:40 +05:00
ammarahm-ed
0a3ef4bc0a editor: fix date is off by one month 2022-09-06 17:17:48 +05:00
ammarahm-ed
396757abe9 editor: fix pro permission handler always return false 2022-09-06 17:12:33 +05:00
ammarahm-ed
d25be38928 config: add test builds to targetDefaults nx 2022-09-01 15:23:21 +05:00
Abdullah Atta
39ff1aebb1 misc: lock file updates 2022-08-31 20:06:49 +05:00
Abdullah Atta
ded65ff470 editor: fix recursive updates causing hang 2022-08-31 15:48:51 +05:00
Abdullah Atta
d81f5dba65 refactor: migrate to theme-ui from rebass 2022-08-31 07:26:27 +05:00
Abdullah Atta
14fe6d071a mobile: move dependent packages to root package.json 2022-08-30 16:27:48 +05:00
Abdullah Atta
c317774c8a docs: add license header 2022-08-30 16:17:04 +05:00
Abdullah Atta
f6b6a0af06 refactor: rename core, theme, and logger 2022-08-29 23:30:48 +05:00
Abdullah Atta
a1834b15c1 theme: migrate to custom fork of rebass for latest changes 2022-08-29 20:03:10 +05:00
thecodrr
12b011278e refactor: use single typescript version & config 2022-08-27 17:27:46 +05:00
thecodrr
15f5fcd521 refactor: run eslint on the whole project 2022-08-27 15:23:11 +05:00
thecodrr
e898ef5d86 refactor: run prettier on the whole codebase 2022-08-26 16:19:39 +05:00
thecodrr
054c973c99 chore: setup lerna, nx & prettier 2022-08-26 16:12:58 +05:00
thecodrr
06fedae400 chore: bump version to 1.3.1 2022-08-17 09:27:42 +05:00
thecodrr
a14ce484ef fix: use ISO8601 date format 2022-08-17 09:26:18 +05:00
thecodrr
866b743c30 chore: bump version to 1.3.0 2022-08-16 09:33:34 +05:00
thecodrr
07d674b8f7 feat: add datetime plugin 2022-08-16 09:19:24 +05:00
thecodrr
598b234287 fix: all images are resized to 100% in readonly mode
(fixes streetwriters/notesnook#778)
2022-08-15 14:07:58 +05:00
thecodrr
09219a88a9 fix: outline list doesn't expand/collapse predictably
(fixes streetwriters/notesnook#801)
2022-08-15 13:35:35 +05:00
thecodrr
5afc112101 fix: link is not editable
(fixes streetwriters/notesnook#802)
2022-08-15 13:24:16 +05:00
thecodrr
b8cf9dfb7d fix: chars missing when pasting copied content
(fixes streetwriters/notesnook#782)
2022-08-15 11:55:37 +05:00
thecodrr
927ecf18c4 chore: clean up repo for open sourcing 2022-08-10 23:03:00 +05:00
thecodrr
3511cf1bab chore: bump version to 1.2.3 2022-08-06 19:04:06 +05:00
thecodrr
50b8e089e1 fix: images crashing 2022-08-06 19:01:05 +05:00