Giter Site home page Giter Site logo

Comments (6)

Johnnyk737 avatar Johnnyk737 commented on September 26, 2024 1

I have great intentions to rebuild the site in Svelte which will still allow it to be hosted via Netlify

Yeah I saw your issue for re-making the website in Svelte. I've never used that but I'd like to give it a go. I have no eye for UI design though.

I'd like to do some research to see if this tool already exists in another form or if it would be better to build this from scratch.

I bet we could pull some inspiration from Intellij (https://github.com/JetBrains/intellij-community/search?q=git)

Overall, this is feeling like a separate issue, perhaps even an epic that needs to be broken down. Also need to decide if this should live here (with the dataset) or with the website repo

I definitely agree this is something that is iterative. At least initially, I think it should be part of the main dataset repo. Then build it into the Svelte site. If it's part of the main dataset repo, it's right there and easy to spin up and add to.

I'll open a new issue for this continuing conversation and close this one out.

from openbrewerydb.

Johnnyk737 avatar Johnnyk737 commented on September 26, 2024

May I ask what the action would be doing? To update the Rails API postgres db on merge to master?

from openbrewerydb.

chrisjm avatar chrisjm commented on September 26, 2024

Yup! Though after our recent conversations, I'm getting less convinced this is the proper way. I like using Github's diff and version control features, but it's not incredibly user-friendly for those who just want to update data.

Now I'm considering a reasonably authenticated and authorized data admin interface which will then collect and open a pull request on this repo. Definitely more complicated, but more user-friendly.

Thoughts?

from openbrewerydb.

Johnnyk737 avatar Johnnyk737 commented on September 26, 2024

Yeah I think that would be interesting. We would probably want to have Github authentication. I think that would just be easier since we're wanting to make a PR out of it. My initial thoughts would be that we could just add this to the gatsby page. I think it would be more work to create a brand new webpage, specifically designed for adding/editing when we already have the existing gatsby page (not to mention cost of hosting). Although, we wouldn't need to host it if we wanted to keep this solely as a locally run page.

Thoughts on functionality
These are a few things that I'd think we would want as base functionality for this interface.

  • Add new breweries
    • Auto finds directory by state input field
  • Edit existing breweries
    • Search by name
  • Bulk add (Add to list, then submit list)
  • Import by json/csv
  • Collect and add as PR (new territory for me)

from openbrewerydb.

chrisjm avatar chrisjm commented on September 26, 2024

Awesome! Thanks for writing up your thoughts. Here are mine! ๐Ÿ˜„

  • Website integration - While I agree we should bake this into the official OBDB website, I dislike the current Gatsby site. I have great intentions to rebuild the site in Svelte which will still allow it to be hosted via Netlify (definitely not giving up free hosting :) )
  • No split files - This feature would completely remove the need to break out the breweries into separate files. The main purpose of that was to make it easier to update via Github / Pull Request (did it actually make things easier? ๐Ÿคท ).
  • Change manager - I think the main feature supplementary feature/tool for this will be the change manager. That is, a tool that will allow moderators to view changes and either accept (add to list) or decline (request edits). I'd like to do some research to see if this tool already exists in another form or if it would be better to build this from scratch.

Overall, this is feeling like a separate issue, perhaps even an epic that needs to be broken down. Also need to decide if this should live here (with the dataset) or with the website repo. ๐Ÿค”

from openbrewerydb.

chrisjm avatar chrisjm commented on September 26, 2024

Closing this issue because as mentioned in the above conversation, it doesn't seem like this is the path forward.

from openbrewerydb.

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.