Git Product home page Git Product logo

coffee's Introduction

Hi.

coffee's People

Contributors

robinmetral avatar

Stargazers

 avatar  avatar

Watchers

 avatar

coffee's Issues

Have data comply with the GeoJSON format

Have data comply with the GeoJSON format to allow data export.

This would help people export coffee shops to their own personal maps, for example on uMap or Google Maps.

⚠️ the problem is that I'm fetching coordinates from OSM, they're not in my JSON file to start with... Could I imagine a two-step process where first, the data is fetched from OSM, and subsequently added to a JSON file that complies with GeoJSON?

Improve map events 🌍

Currently, a popup opens when clicking a marker (layer.click).

I want a tooltip to appear when hovering a marker with the café's name, and a click event (react-leaflet events docs) to trigger a state change in App that renders:

  1. If logged in, an edit form for the clicked café
  2. If not logged in, the details of the clicked café

UI

Feedback received: make it more natural

  • text next to icons in ViewCafe
  • faster title popup for PanelIcons

Styles 💅

  • set box-sizing to avoid padding interfering with layouts

Fix firebase console warning 🔥

It looks like you're using the development build of the Firebase JS SDK.
When deploying Firebase apps to production, it is advisable to only import
the individual SDK components you intend to use.

For the module builds, these are available in the following manner
(replace <PACKAGE> with the name of a component - i.e. auth, database, etc):

CommonJS Modules:
const firebase = require('firebase/app');
require('firebase/<PACKAGE>');

ES Modules:
import firebase from 'firebase/app';
import 'firebase/<PACKAGE>';

Typescript:
import * as firebase from 'firebase/app';
import 'firebase/<PACKAGE>';

Style for mobile 📱

For now, simply add a breakpoint where the panel will cover the map entirely instead of a fraction of it.

Fix firebase state clearing warning 🧹

@firebase/database: FIREBASE WARNING: set at /some/path failed: permission_denied

State is correctly cleared on logout, but I think that re-base is attempting to clear the firebase data too (hence the errors).

This should not happen, since I'm removing the firebase binding here.

Make it a React.js app ⚛

... and then work on a web form to add coffee shops (#6)

Think about a system to save each created coffee shop (object) on Github, Staticman style. (Staticman?)

Routing for <ViewResume /> breaks when deploying to GitHub Pages

Routing with react-router params (declared as path:"/:myParam" and accessed as props.match.params.myParam) breaks on the deployed app.

Accessing /:myParam should render the <ViewResume /> component and either fetch a resume or show an error message.

Instead, it lands on a GitHub 404.

City selector 🌆

List a selection of cities (set in Firebase) in a Leaflet control to re-center the map on the chosen city.

Create about page and fetch map stats

Write about the project in an about page.

Also fetch and display total number of coffee shops, and total number of coffee shop additions to OpenStreetMap.

Panel open on app mount with welcome message

The best case scenario would be to use the LocalStorage API to save whether a user has visited before or not.

  • If yes, simply display the map.
  • If not, open up the Panel and display a welcome message.

Another, simpler but not ideal solution would be to show this message to all visitors, new and returning alike, by setting the panel status as open by default in App.js

Panel overflow on mobile

The solution, in this case, is to hide the overflow on a parent element, rather than relying on the hidden overflow on the body.

?

Tag-based café filtering

Add a feature to filter coffee shops by:

  • price
  • laptop-friendliness
  • coffee drink option (filter and latte)

Highlight coffee shops that fit the filtering (maybe set the icon for other coffee shops in grayscale?)

Nice to have (or for later): display results as a list in a sidebar

flow

I'm trying to learn flow and use it in this app.

However I can't stop it from screaming at my styled-components (see StackOverflow).

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.