Git Product home page Git Product logo

Comments (5)

tristen avatar tristen commented on September 26, 2024

I need some context. What's this project about? Is it the frontend to a future osm-comments-backend project? From the README I see:

Frontend application to query osm-comments-api

If this just a search interface? If that's the case I'm not sure you need React and would go more simpler here.

from deprecated-osm-comments.

batpad avatar batpad commented on September 26, 2024

@tristen sorry, that did need more context:

This is the API repository that the front-end will talk to: https://github.com/mapbox/osm-comments-api

In short, it's just a way to track OSM Notes and comments on changesets, initially as more of an internal team for our data team to track their notes and comments, but ideally grow into something useful for the larger community.

I imagine there to be a simple search interface to input usernames that people are interested in, mark out a bounding box on the map to search within, and select date ranges. Results would be shown as a list. The app is read-only, I don't imagine any write operations being facilitated through it. It would, however, need permalinks for search queries.

I am quite comfortable implementing this either just gluing together some jquery or using Backbone, which I have some experience with, or using this opportunity to teach myself React if that does seem a good fit. Am super happy to go simple if you feel that's okay. Thanks for the inputs, @tristen .

from deprecated-osm-comments.

tristen avatar tristen commented on September 26, 2024

Got it. Well you should use this opportunity to use React! I wouldn't look to to-fix as a boilerplate though. It's needlessly complex for what you need and I'd implement it differently these days :p

I'd look at building this with just React and react-router and manage the state of the app in the component (i.e. no need for Flux etc.). The react-router project is chalk full of different examples for guidance. See https://github.com/rackt/react-router/tree/master/examples

from deprecated-osm-comments.

batpad avatar batpad commented on September 26, 2024

Thank you, @tristen, this is exactly what I was looking for. Expect some pings in the coming days, if that's okay :)

from deprecated-osm-comments.

tristen avatar tristen commented on September 26, 2024

👍

from deprecated-osm-comments.

Related Issues (20)

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.