13529 Commits

Author SHA1 Message Date
Elian Doran
dbd38ecedf
fix(geo_map): markers no longer rendering after clicking on a link 2025-01-22 18:57:09 +02:00
renovate[bot]
cd22102dab
chore(deps): update vitest monorepo to v3.0.3 2025-01-22 00:25:19 +00:00
Adorian Doran
455bb38865 client: switch widget: refactor 2025-01-22 01:30:10 +02:00
Adorian Doran
d4ef84e0b7 client: switch widget: handle the disabled state 2025-01-22 01:24:09 +02:00
Adorian Doran
356c0570f3 client: switch widget: improve appearance 2025-01-22 00:48:25 +02:00
Adorian Doran
7f78504223 style(next): improve the matching of check boxes and radio buttons that have to be restyled 2025-01-21 23:46:27 +02:00
Elian Doran
ac262228f0
feat(geomap): note preview on tooltip 2025-01-21 22:10:20 +02:00
Adorian Doran
ec0d7c0835 client: switch widget: redo the switch style 2025-01-21 21:59:08 +02:00
Elian Doran
65553250b5
fix(geomap): dismissing add with any key 2025-01-21 21:50:32 +02:00
Elian Doran
31491b957b
feat(geomap): use persistent notification 2025-01-21 21:29:02 +02:00
Elian Doran
b813b107a8
chore(geomap): change attribute to geolocation 2025-01-21 21:18:41 +02:00
Elian Doran
dc7dd51913
refactor(geomap): simplify changing state 2025-01-21 21:06:36 +02:00
Elian Doran
be4ee4c173
feat(geomap): dismiss adding with escape 2025-01-21 21:03:27 +02:00
Elian Doran
c2cb07ed08
feat(geomap): dismiss creation if dialog is dismissed 2025-01-21 20:40:19 +02:00
Elian Doran
d1aa0e5f50
feat(geomap): invert note creation workflow 2025-01-21 20:38:31 +02:00
Elian Doran
259dcdb568
feat(geomap): set custom icon for notes created from within the map 2025-01-21 19:53:23 +02:00
Elian Doran
6b906a91d7
feat(geomap): add labels to markers 2025-01-21 19:33:12 +02:00
Elian Doran
08722d5935
feat(geomap): add shadow to marker 2025-01-21 19:10:35 +02:00
Elian Doran
1be3492f67
style(geomap): improve alignment for marker icon 2025-01-21 19:02:36 +02:00
Elian Doran
016a9e4a99
fix(geomap): pixel perfect marker positioning 2025-01-21 19:01:22 +02:00
Elian Doran
087d4790f4
feat(geomap): setup marker based on note icon 2025-01-21 18:53:36 +02:00
Elian Doran
b2a5f06646
feat(geomap): enable autopan for dragging markers 2025-01-21 15:39:20 +02:00
Elian Doran
04367de112
fix(geomap): duplicate markers 2025-01-21 14:23:59 +02:00
Elian Doran
3281bb8e9f
feat(geomap): allow dragging 2025-01-21 14:17:04 +02:00
Elian Doran
fed0598b47
feat(geomap): adjust cursor when adding new note 2025-01-21 13:46:18 +02:00
Adorian Doran
8bdc5c9fea client: switch widget: prevent the check box to become out of sync with the switch toggle status 2025-01-21 05:11:34 +02:00
Adorian Doran
039112f106 client: switch widget: refactor 2025-01-21 04:49:07 +02:00
Adorian Doran
76b99a00f4 client: switch widget: use a simpler HTML structure and refactor its internals 2025-01-21 04:21:01 +02:00
Panagiotis Papadopoulos
05b433d44e test(import/utils): remove leftover unused type 2025-01-21 00:33:45 +01:00
Panagiotis Papadopoulos
2296d1a6ba refactor(import/utils.handleH1): simplify handleH1 2025-01-21 00:25:46 +01:00
Panagiotis Papadopoulos
1de9bc7c6f fix(import/utils.handleH1): fix stripping of all <h1> tags that match title
now it will only strip the very first tag that if it matches the title,
otherwise it gets turned into a h2 tag

fixes #1016
2025-01-21 00:04:05 +01:00
Panagiotis Papadopoulos
e1c949aa10 test(import/utils): add test for #handleH1/rework previous tests 2025-01-20 23:57:51 +01:00
Panagiotis Papadopoulos
ba91082115 test(import/utils): add test for extractHtmlTitle 2025-01-20 23:04:16 +01:00
Elian Doran
ef5b2d60f3
fix(geomap): multiple clicks creating multiple markers 2025-01-20 23:54:22 +02:00
Panagiotis Papadopoulos
1d03818337 chore(generate_documents): add note about script being broken currently 2025-01-20 22:54:12 +01:00
Elian Doran
986a1c25be
feat(geomap): reload markers after adding a new note 2025-01-20 23:53:52 +02:00
Elian Doran
f76b454d5a
feat(geomap): load markers at startup 2025-01-20 23:27:32 +02:00
Elian Doran
a3f257f3c5
feat(geomap): set location after creating a note 2025-01-20 23:14:31 +02:00
Elian Doran
2582924046
feat(geomap): add prompt for creating child note 2025-01-20 22:50:36 +02:00
Panagiotis Papadopoulos
3206a7fe73 chore: move generate_documents to bin folder
this file is never called in production code and wouldn't even run, even if it was:
the `lorem-ipsum` dependency is in devDependencies, so never gets installed in
any dist builds

move the file to a place where it makes more sense and avoid it getting packaged
without any reason.
2025-01-20 21:46:25 +01:00
Elian Doran
f803b9f822
feat(geomap): add floating button section 2025-01-20 22:39:48 +02:00
Elian Doran
4d5e04fc5a
feat(geomap): save & restore zoom 2025-01-20 22:21:59 +02:00
Elian Doran
f66f437c8e
feat(geomap): restore view coordinates 2025-01-20 22:19:07 +02:00
Elian Doran
5cefd4f50a
feat(mindmap): save view center coordinates 2025-01-20 21:28:04 +02:00
Panagiotis Papadopoulos
8f09b6a192 fix: fix server build not running due to missing file
as discussed in #1010 – quick & dirty fix by copying over the file into the server side of things
Comment added to both files, about deduplication in the future

fixes #1010
2025-01-20 20:15:39 +01:00
Elian Doran
278870e06a
Merge pull request #1014 from TriliumNext/refactor_import-mime
refactor: refactor and add tests for `services/import/mime`
2025-01-20 20:53:39 +02:00
Elian Doran
d2c2d945aa
Merge pull request #1015 from TriliumNext/test_fix-flaky-getPlatformAppDataDir
test(data_dir): fix flaky getPlatformAppDataDir test on Windows
2025-01-20 20:50:26 +02:00
Elian Doran
2b8ee31be3
refactor(geomap): skip module loader for JS 2025-01-20 20:36:58 +02:00
Panagiotis Papadopoulos
ca8146413a test(data_dir): fix flaky getPlatformAppDataDir test on Windows
Delete the provided process.env.APPDATA on Windows, so that we can use our own values (one of which is "undefined", which was causing the getPlatformAppDataDir to fallback to the "real" process.env.APPDATA
-> causing failing test, when run on Windows
2025-01-20 18:57:43 +01:00
Elian Doran
eca3955dc2
feat(geomap): add basic layer 2025-01-20 19:20:59 +02:00