Giter Site home page Giter Site logo

jrmgx / trailodysseyopen Goto Github PK

View Code? Open in Web Editor NEW
4.0 2.0 0.0 11.98 MB

Trail Odyssey is a website that allows you to plan hikes from A to Z. Including: creation of the path ; planning the hike ; preparing your bag ; live use during the hike ; and finally share with your friends.

Home Page: https://jerome.gangneux.net/2024/04/15/trail-odyssey/

License: Apache License 2.0

PHP 53.59% JavaScript 18.31% CSS 4.21% Twig 23.89%

trailodysseyopen's Issues

Performance problem on loading tiles

When panning the map, zooming etc. at some point sooner than later, the tile would stop loading, the whole thing will be stuck for something like 10/20 seconds and then everything get back to normal.

On the server side there is no performance problem, nginx seems to be configured ok to handle many requests.

It almost looks like it is a browser issue. The problem seems to be worst on Firefox than Chrome.

Investigation is welcome

When a tile returns an error show an error tile

Sometimes the request to get a tile can fail, either because of an error (401, 403, 50x) or because the zoom level is too much (404)

We should display a special tile like the "offline" one to show that error back (a tile for each code would be nice)

Move the compass info from button to GPS point

For now the compass info is shown on a button on the map, it would be better to have the info on the GPS point itself

It would be perfect if no action would be needed to have it started too (not sure if it is possible due to OS restriction)

Allow to post diary from live screen even in offline

The goal would be to allow to post a diary entry from the live screen (it is already possible now) but even if in offline mode.

So it would need to save the data in a local database and when back online post the data to the server

Rework z index ordering on map elements

Some important elements can be hidden by less important ones

  • the GPS position point (the blue dot) should always be on top of anything
  • the stage marker should be on top of the diary marker
  • the diary marker should be on top of the interest marker

Offline does not really work

When saving the bookmarklet to iOS home screen and trying to load the page in plane mode, safari will ask to connect to internet.
It has worked before when the bookmarklet did not point to the trip but to the whole site

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.