Giter Site home page Giter Site logo

plan-your-trip's People

Contributors

mjamry avatar mjamryfp avatar

Watchers

 avatar

plan-your-trip's Issues

Extend share options

For now it is only possible to download GPX file.
It should be extended to also provide:

  • printeble (PDF?) file
  • and sharable link

Search for duplicates

When uses adds a new item app should look through the list of existing items for duplicates and informs (with a modal) that a similar item already exists.

Modify "add new location"

Modify the way of adding new item to the list.

Now there are two steps, first one is to chose between search and manual add. Second step shows popup with all fields required to add new item.

First step is redundant and have to be removed.
When user press button to add new item will see a popup with empty fields.
Search will be connected to the Name field. When user starts entering name, drop down will apear with possible items to select.

Cleanup styles

At the moment there are two ways of styling components. Css-in-js and CSS files. It should be more consistent.
So there is a need to move all styles from CSS files directly to components.
All CSS files are imported in app.tsx file.

Last updated date not refreshed

When playlist has been edited last update time should be updated also
When new item has been added/removed from playlist it should also be updated

Refactor http requests types

For now all the requests on the backend controllers are using HttpPost.

It should be refactored to use more relevant opitons as HttpPut/HttpDelete

Refactor the way of connecting to the API (backend)

There is a multiple endpoint that are making requests to the backend API.
It should be refactored.

List and Location services should use gateways to connect to API.
Gateway should use some kind of http client to unify requests mechanism.

Add location type

Each location should be described by its type (POI):

  • food

  • sleep

  • tourist attraction

  • general (not defined)

  • etc

  • Types should be stored in database, and displayed as an icon.

  • Each POI should have a different icon on the map.

  • It should be editable and added to the form of the location creator.

Map component is too small

Map component's height should be 100% from top to the bottom of the page

Its height should change along with window size

Share plans between users

As a user
I want to be able to share my plan with other users
To easily allow others to view and/or collaborate in plans

Introduce plan creator

New feature that gives a possibility to create a plan of the trip.

  • - It should base on the locations defined in the lists.
  • - It should give a possibility to move locations (drag&drop)
  • - It should render a route on the map.
  • - It should allow to select transport type for each node and corresponds this choice on the map.
  • - It should show a distance and time required to move from one point to another.

Expand/colapse map

New UI element to expand map to full screen (window). It could be a part of map OSD if possible.
New UI element to hide/show map.

Filter/search and sort

Add these new functionalities to the list view.

It should be possible to sort a list (by name/by attractiveness).

it should be possible to search items on the list.

Add notifications log

There will be a new feature that will log user notifications - when user added/modified/removed locations/lists

Wrap react app with net core project

It is one of method to be able to get access to azure environment configuration.
Introducing that change, would be the best moment to also make react app configurable.
It will get configuration values regarding api and identity server addresses, and possibly some other configs.

Use react query

One of examples to use this library is to update data. At the moment frontend sends data to backend and refreshes UI after reviewing answer. It could be annoying for a user to wait so long for UI update.

It can be used for all API calls

Refactor state management

use one context for whole app - one state object with partials inside
use one global reducer (inside can be more of them)
use global actions lists
use selectors to get required parts of state

Update material UI

A while ago, material ui has changed its name to mui and probably done some useful upgrades.
It can be updated in the app.

Clean up package.json file

Now all dependencies are added as it is, need to separate it for development and production dependencies

Store data in the browser

Store data loaded from backend in the browser cache, so the next run will be instant and will only take updates from the remote.

It probably will allow to make app offline.

Add language change support for wiki search

It should be possible detect user's language settings and setup correct language for wiki search.

Additional: Another option should be to add UI setting to set up it manually by user.

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.