Commit Graph
100 Commits
Author SHA1 Message Date
vdv 8e78fbc7ec Moving fils around 2022-11-02 15:29:13 +01:00
vdv 61fc42b251 Handling window resize (and rotate). 2022-11-02 15:14:34 +01:00
vdv 7811f00779 Re-implementing (foreground) geolocation (and npm packages update). 2022-11-01 21:27:36 +01:00
vdv fe9cc6437d Using atomWithHash to enable back/forward actions. 2022-11-01 17:58:57 +01:00
vdv e1583846ed Cleanup and doc. 2022-11-01 14:37:08 +01:00
vdv de69aff4c9 Removing nolonger used code 2022-11-01 14:23:18 +01:00
vdv 19062ac126 Removing a console.log() 2022-11-01 14:17:36 +01:00
vdv 50114598b2 Doc and cache improvement. 2022-11-01 14:16:36 +01:00
vdv 352cb0d870 Cleanup 2022-11-01 11:50:59 +01:00
vdv 04d2aa1ac1 More cleanup for the tiled layer cache. 2022-11-01 11:46:54 +01:00
vdv a6f10b9ee0 Implementing a cache cleanup method. 2022-10-31 22:14:28 +01:00
vdv 9f9576d2f6 Bug fix... 2022-10-31 21:40:10 +01:00
vdv 8deed17b05 Continuing to re-plug the handlers. 2022-10-31 21:01:56 +01:00
vdv eb1618d009 Re-pluging handlers (on LiveMap). 2022-10-31 18:05:58 +01:00
vdv 8341da64a3 Making a property optional 2022-10-31 15:08:50 +01:00
vdv 7b5abaccd3 Refactoring to split logic between <Map> and a brand new <LiveMap> component. 2022-10-31 15:02:46 +01:00
vdv 425ad06e33 Cleanup 2022-10-30 22:13:10 +01:00
vdv 0284cdbab9 Updating test snapshots. 2022-10-30 22:09:42 +01:00
vdv b0c7801cd1 Using <TiledLayer> in <layerStack>. 2022-10-30 22:06:55 +01:00
vdv ef35ffca32 Adding a component to take care of translations and scalings around <TileSet> components (not used yeti but should simplify <LayerStack>). 2022-10-30 21:35:32 +01:00
vdv 7322e5f5c4 Memoising <TileSet> 2022-10-30 20:23:12 +01:00
vdv edca3f0d1b Trying to simplify. 2022-10-30 20:18:21 +01:00
vdv 7f9400b395 Removing the tileFactory from components props (to limit re-renderings). 2022-10-29 21:16:50 +02:00
vdv 4479b1bd99 Typedoc update 2022-10-21 11:04:58 +02:00
vdv 8380d39b44 Removing package-lock.json from git 2022-10-21 10:04:04 +02:00
vdv 70e519c6b5 Doc 2022-10-20 21:37:05 +02:00
vdv eefe94c1e8 Doc 2022-10-20 21:22:37 +02:00
vdv c800235ebb Doc 2022-10-20 16:58:33 +02:00
vdv d970b288e4 Using a global variable to cache <Tile>s for <TiledLayer>s. 2022-10-20 16:21:27 +02:00
vdv 3dee9e90d7 Starting to implement a LayerStack component 2022-10-19 18:35:20 +02:00
vdv 4238ce0938 Using maps instead of objects to store tiles and removing the reinititialization when TiledLayer properties are updated. 2022-10-19 14:53:22 +02:00
vdv b5dd10e920 Adding tests for the <Map> component. 2022-10-19 13:55:44 +02:00
vdv b3a8f60f1e Doc 2022-10-19 13:04:56 +02:00
vdv acbefa983d Using Jotai between <Map> and <Handlers> (TODO: adapt Handlers.test.tsx) 2022-10-19 11:17:24 +02:00
vdv 552a49e0d6 Doc 2022-10-18 20:40:12 +02:00
vdv 4f069ad63f Adding touch handlers. 2022-10-18 18:47:40 +02:00
vdv f1ad35a479 Adding double click and wheel handlers 2022-10-18 17:42:11 +02:00
vdv 4f64d9906c Using useRef instead of useState in <Handler/> (no need to re-render when mouse state is updated). 2022-10-18 17:18:11 +02:00
vdv d758775ab7 Testing mouseMove throttling 2022-10-18 17:11:07 +02:00
vdv 016f99daf6 Idem with <Tile/> 2022-10-18 16:57:18 +02:00
vdv a7f78e0fa9 Avoid uncessessary rerendering (see https://medium.com/swlh/making-stupid-react-smart-in-re-rendering-5f04b5bab327 ). 2022-10-18 16:52:24 +02:00
vdv ab5c8ff6bb Simple implementation of event handler throttling. 2022-10-18 14:24:21 +02:00
vdv 963f6037ca Managing TiledLayer from Map. 2022-10-18 13:57:46 +02:00
vdv 7912d0bfe8 ntegration and bug fix 2022-10-18 13:45:16 +02:00
vdv 90e2c833a2 Adding some tests for <Handlers/> 2022-10-18 11:44:50 +02:00
vdv da50441abc Re-implementing the mouse handlers. 2022-10-18 10:10:23 +02:00
vdv 16097c1e2e Testing negative indices fot TiledLayer components. 2022-10-17 23:04:58 +02:00
vdv 0d927c72cd Tests and doc 2022-10-17 22:37:07 +02:00
vdv 9355d1602a Removing test files from the typedoc. 2022-10-17 21:36:39 +02:00
vdv 460bfbf6e5 Doc 2022-10-17 21:31:21 +02:00
vdv 42e2d7c2c7 Adding the Tile component. 2022-10-17 21:23:57 +02:00
vdv f6a0eb8963 Making sure TiledLaer's are reinitialized if their keyObject change.s 2022-10-17 20:52:10 +02:00
vdv ffa58ee303 Bug fix. 2022-10-17 18:30:26 +02:00
vdv a5dc279e4e Adding the notion of TileFactory 2022-10-17 18:17:13 +02:00
vdv cf50675077 Testing TiledLayer re-rendering. 2022-10-17 17:56:03 +02:00
vdv 36418a3e3c Making TiledLayer more generic. 2022-10-17 17:48:30 +02:00
vdv b3e1e4de73 Adding docuri's and unit tests. 2022-10-17 17:15:24 +02:00
vdv 0b7de58a4e Check spelling 2022-10-17 13:47:35 +02:00
vdv a6edcca740 Doc 2022-10-17 12:09:11 +02:00
vdv a07fb9df67 Removing the generateddoc from git. 2022-10-17 12:06:54 +02:00
vdv fcef58f4df Adding typedoc in the loop 2022-10-17 12:04:25 +02:00
vdv 1010eaaddc Doc 2022-10-17 10:39:15 +02:00
vdv 9c1f4aeb2f Empty Map component. 2022-10-17 10:37:26 +02:00
vdv a4bd11aab0 Restarting from scratch 2022-10-17 10:08:00 +02:00
vdv ed951208e8 Adding a few files which are currently not used before a huge refactoring... 2022-10-17 09:41:27 +02:00
vdv ce074b5d22 Stupib bug sorting notes. 2022-10-11 23:32:37 +02:00
vdv 61d3373c89 Missing file... 2022-10-11 23:21:59 +02:00
vdv dca68e17e4 Refactoring to see if (and how easy) it is to use the same chat component (with its properties) in 2 different contextes. 2022-10-11 23:18:23 +02:00
vdv 9bb2f48d4a Pretty nice (IMHO) version of avatars for locations... 2022-10-11 22:15:21 +02:00
vdv 9ce7f33cb4 Still working on avatars for locations. 2022-10-11 19:25:02 +02:00
vdv d1da0a110d Starting to implement avatars for locations (WIP). 2022-10-11 17:38:23 +02:00
vdv 6954c473ee Also moving the map center to the newest location when recording tracks (must think more carefully of somethin better for #12). 2022-10-11 16:16:06 +02:00
vdv 57d17a1fa6 Requesting a wake lock so that the screen is not dimmedwhileusing the app. 2022-10-11 16:12:45 +02:00
vdv 304c4d38b7 Reinitializing noteIndex when fetching new notes (to avoid out of length indexes). 2022-10-11 14:15:46 +02:00
vdv 5a7402313e Improved version of OSM notes shown as chat messages. 2022-10-10 22:08:50 +02:00
vdv 6c0d3bfb11 Better presentation of OSM notes. 2022-10-10 19:13:14 +02:00
vdv bdc527ae05 Removing the "i" symbol on the reticle. 2022-10-10 11:57:08 +02:00
vdv 3b86f143c7 Fetching OSM notes (more work needed to dosplai them). 2022-10-10 11:54:28 +02:00
vdv 1b0ab84923 Querying nominatim reverse (OSM) to get addresses. 2022-10-09 22:11:03 +02:00
vdv 05c560285a Disabling pointer events on GPX tracks. 2022-10-09 20:59:43 +02:00
vdv f9a6fb1d18 Adding a modal to display inforlation about a location. 2022-10-09 18:55:21 +02:00
vdv 0762a4da7a Reticle (improved) 2022-10-09 11:29:43 +02:00
vdv 27305c4b21 Still playing with the reticle... 2022-10-08 23:59:09 +02:00
vdv 77f5ab3996 Storing window's innerheight and innerwidth in redux' state to make it easier to follow for components. 2022-10-08 20:45:44 +02:00
vdv e206d905b7 Expermienting a reticle. 2022-10-08 20:31:29 +02:00
vdv 5822198f92 Localization (and language chooser)... 2022-10-08 17:33:32 +02:00
vdv 653574025e i18n 2022-10-07 21:24:10 +02:00
vdv bc474cba27 Note to self 2022-10-04 22:37:39 +02:00
vdv 2612d7a3b4 I18n using react-localization (#8) 2022-10-04 19:04:49 +02:00
vdv 16e439db41 Localization, WIP, (#8) 2022-10-04 12:44:41 +02:00
vdv 330b4bb721 Cleanup. 2022-10-04 11:18:22 +02:00
vdv 2376d4daba Cosmetics 2022-10-04 07:54:32 +02:00
vdv c0015a7cfa Creating a mechanism to store settings both in the database and in redux. 2022-10-03 21:08:27 +02:00
vdv 07edc22d31 Trying a different DB config. 2022-10-03 16:04:43 +02:00
vdv 3b23094de5 Restoring JSON sample 2022-10-03 15:37:43 +02:00
vdv 062288ebdc Fixing a bug in the GPX importer library (#19) 2022-10-03 15:37:10 +02:00
vdv e2346141b5 Some thoughts about data formats. 2022-10-03 14:08:06 +02:00
vdv 0d1cdf39de Testing DocURI (#4 and #15) 2022-10-03 11:08:47 +02:00
vdv 0a11ccbdb4 Removing Virtuoso which gave more troubles than benefits and starting to use IonCards in the tracks browser (#16). 2022-10-03 00:18:53 +02:00
vdv cb1c38a9fb Using Virtuoso (for scrolling) and IonCards to start improving the track browser (#16) 2022-10-02 23:26:56 +02:00