Commit Graph

4234 Commits

Author SHA1 Message Date
Abdullah Atta
3c9ee4e2be web: fix note counts not updating in notebooks list 2025-04-09 12:03:15 +05:00
01zulfi
8aea836622 web: fix search result note item not updating (#7878)
Signed-off-by: 01zulfi <85733202+01zulfi@users.noreply.github.com>
2025-04-09 12:03:15 +05:00
Abdullah Atta
1b818e4df0 web: fix item counts not updating in sidebar 2025-04-09 12:03:15 +05:00
Abdullah Atta
a82720422e web: fix filter input removed when no notebooks in list 2025-04-09 12:03:15 +05:00
Abdullah Atta
6a9c4e087d web: bump version to 3.1.0-beta.5 2025-04-09 12:03:15 +05:00
Abdullah Atta
8b8b80a257 web: remove SharedWorker requirement for multi tab sqlite driver 2025-04-09 12:03:15 +05:00
Abdullah Atta
43e6b48695 web: use service worker for cross-tab communication only as a fallback
This commit basically reverts 1b63b2dccf.
Using service worker for this by default is a bad idea because:

1. It takes some time for the service worker to be installed and ready
which slows down first launch significantly
2. Service worker is not as reliable when updating from version to
version

We can, however, use it as a fallback i.e for devices that don't yet
support shared worker.
2025-04-09 12:03:15 +05:00
Ammar Ahmed
e4f4d4d533 mobile: cleanup 2025-04-09 12:03:15 +05:00
Abdullah Atta
492413673b web: fix tests 2025-04-09 12:03:12 +05:00
Abdullah Atta
0e82a8755b web: bump version to 3.1.0-beta.4 2025-04-09 12:03:12 +05:00
Abdullah Atta
c598a6c779 web: close expanded nav pane on navigation 2025-04-09 12:03:12 +05:00
Abdullah Atta
846e28553d web: force list pane to be visible when reveal item in list is called 2025-04-09 12:03:12 +05:00
Abdullah Atta
694b564172 web: improve item flash animation when revealing item in list
this also fixes a potential memory leak due to event listener not unsubscribing
2025-04-09 12:03:12 +05:00
Abdullah Atta
42ea9f7280 Revert "web: fix list pane not expanding (#7758)"
This reverts commit fd9db3605d.
2025-04-09 12:03:12 +05:00
Abdullah Atta
7555df5b50 web: fix active tab background 2025-04-09 12:03:12 +05:00
Abdullah Atta
f8b73bace6 web: fix Service worker did not respond. error 2025-04-09 12:03:12 +05:00
Abdullah Atta
31d164aa97 web: fix app not starting up on firefox 2025-04-09 12:03:12 +05:00
01zulfi
86d229aa5f web: don't remove properties pane when editor is refocused (#7780)
Signed-off-by: 01zulfi <85733202+01zulfi@users.noreply.github.com>
2025-04-09 12:03:12 +05:00
Abdullah Atta
cffc12fde5 web: replace shared worker with service worker for sqlite 2025-04-09 12:03:12 +05:00
01zulfi
1639178ca9 web: collapse hovered navbar when item is clicked (#7771)
Signed-off-by: 01zulfi <85733202+01zulfi@users.noreply.github.com>
2025-04-09 12:03:12 +05:00
Abdullah Atta
d81950352b web: release v3.1.0-beta.3 2025-04-09 12:03:12 +05:00
Ammar Ahmed
748d0e2fe3 web: cleanup 2025-04-09 12:03:12 +05:00
01zulfi
5a50b7f576 web: fix list pane not expanding (#7758)
* web: fix list pane not expanding
* when a nav item was clicked, list pane was removed entirely which made it difficult to re-open it, now when nav item is clicked we manually collapse, expand, or reset the list pane
* open list pane if 'reveal in list' is called
* open list pane if navigated to a different nav item

Signed-off-by: 01zulfi <85733202+01zulfi@users.noreply.github.com>

* web: clicking on nav item should not collapse list pane
Signed-off-by: 01zulfi <85733202+01zulfi@users.noreply.github.com>

* web: collapse hovered nav pane when notebook/tag item clicked
Signed-off-by: 01zulfi <85733202+01zulfi@users.noreply.github.com>

---------

Signed-off-by: 01zulfi <85733202+01zulfi@users.noreply.github.com>
2025-04-09 12:03:12 +05:00
01zulfi
b9dba85a57 web: restore notebook crumbs (#7765)
Signed-off-by: 01zulfi <85733202+01zulfi@users.noreply.github.com>
2025-04-09 12:03:12 +05:00
Ammar Ahmed
49054256c7 web: bump version to 3.1.0-beta.2 for desktop and web 2025-04-09 12:03:12 +05:00
Abdullah Atta
38f173c52c web: make editor note properties work like toc 2025-04-09 12:03:12 +05:00
Abdullah Atta
c682844563 web: slightly improve add note button ui 2025-04-09 12:03:12 +05:00
Abdullah Atta
3e475bb4bf web: bump version to 3.1.0-beta.1 2025-04-09 12:03:12 +05:00
Abdullah Atta
117a505bd2 web: minor ui fixes 2025-04-09 12:03:12 +05:00
Abdullah Atta
b49f81d9aa theme: fix button hover colors 2025-04-09 12:03:12 +05:00
Abdullah Atta
7b47c31d88 web: make notesnook branding a bit smaller 2025-04-09 12:03:12 +05:00
Abdullah Atta
b59377f9bd web: minor ui changes and fixes 2025-04-09 12:03:12 +05:00
Abdullah Atta
d0e8337438 web: fix theme not persisting 2025-04-09 12:03:12 +05:00
Abdullah Atta
ca14fd5b8a web: collapse sidebar on navigate if sidebar is temporarily expanded 2025-04-09 12:03:12 +05:00
Abdullah Atta
3e22aa2d10 web: fix scrollbar styling in sidebar 2025-04-09 12:03:12 +05:00
Abdullah Atta
47e901d910 web: reset search on navigate 2025-04-09 12:03:12 +05:00
Abdullah Atta
3fb9624be6 web: fix expand sidebar button not working 2025-04-09 12:03:12 +05:00
Abdullah Atta
82666d0c18 web: always show "X" button if there is query in search input 2025-04-09 12:03:12 +05:00
Abdullah Atta
09a5a58027 web: bump version to 3.1.0-beta.0 2025-04-09 12:03:12 +05:00
Abdullah Atta
1acf8cc655 web: use virtualized tree for rendering toc 2025-04-09 12:03:12 +05:00
Abdullah Atta
8e31533ddb web: add support for pre-expanding tree nodes on creation 2025-04-09 12:03:12 +05:00
Abdullah Atta
89f06c4531 web: do not collapse child nodes when collapsing parent 2025-04-09 12:03:12 +05:00
Abdullah Atta
bd8be1665d web: fix all tests 2025-04-09 12:03:12 +05:00
Abdullah Atta
ea0e54c2f0 global: update ui 2025-04-09 12:03:12 +05:00
01zulfi
6719a845c9 web: fix faulty useEffect
Signed-off-by: 01zulfi <85733202+01zulfi@users.noreply.github.com>
2025-04-09 12:02:03 +05:00
01zulfi
e42c858319 web: refactor props for Tags component
Signed-off-by: 01zulfi <85733202+01zulfi@users.noreply.github.com>
2025-04-09 12:02:03 +05:00
01zulfi
56046f5695 web: separate component for tab items in sidebar
Signed-off-by: 01zulfi <85733202+01zulfi@users.noreply.github.com>
2025-04-09 12:02:02 +05:00
01zulfi
a723c3c9c6 web: new sidebar ui
Signed-off-by: 01zulfi <85733202+01zulfi@users.noreply.github.com>
2025-04-09 12:02:02 +05:00
01zulfi
8a431fb79b web: add publish:update item in note menu options (#7664)
Signed-off-by: 01zulfi <85733202+01zulfi@users.noreply.github.com>
2025-04-07 11:21:12 +05:00
01zulfi
12cfc0dafd web: clear query when search is closed (#7700)
Signed-off-by: 01zulfi <85733202+01zulfi@users.noreply.github.com>
2025-04-07 11:19:49 +05:00