GithubHelp home page GithubHelp logo

michaeltoohig / bilolok Goto Github PK

View Code? Open in Web Editor NEW
2.0 2.0 1.0 4.92 MB

A full-stack (FastAPI/Vue.js) Foursquare-like app for kava bars in Port Vila, Vanuatu

Home Page: https://bilolok.com

Python 34.87% Mako 0.09% Shell 0.21% Dockerfile 0.59% Jinja 2.58% JavaScript 19.78% HTML 0.84% Vue 40.62% Makefile 0.42%
fastapi kava pwa python vanuatu vue

bilolok's People

Contributors

michaeltoohig avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar

Forkers

blackhacked

bilolok's Issues

New images appear at end of list instead of beginning

A nakamal's image list is sorted by created_at date in reverse order so newest images are at the top of the page and older images are at the bottom of the page. The problem is when a user uploads an image their image appears at the bottom of the list instead of the becoming the first image in the list as it is the newest image. When the page is reloaded the full list of images are fetched from the API and the images are in the correct order so the issue is just in how we push newly uploaded images to an existing list of images.

Since other users won't see this problem and it fixes itself after a page refresh I will not assign a high priority to this; but, it would be a great first issue for someone interested to join this project. It should be an easy fix.

Frontend Caching Has Bugs

Latest sprint of work included less nested resources in API responses which is good overall. But on the front end it requires a great deal of more work and means the vuex store becomes a new caching layer and brings all the difficulty of cache invalidation.

I need to add more liberal usage of cache clearing and always allow user to clear their vuex cache by refreshing the page. When the user reloads the page I should be respecting their decision to reload the page and ensure every app restart clears all vuex stores. If I want performance or offline support use the service worker as it is intended.

Map not loading after editing a nakamal

Console log Error: Invalid LatLng object: (NaN, NaN) after editing a nakamal and returning to the map. Refreshing the page corrects the issue so must be something to do with the nakamal object returned after the edit being placed into the store.

Back button on mobile does not close photo gallery

Need to look into PhotoSwipe options and configuration to see how to close the gallery when user hits back button. Currently back button navigates user through their history but gallery remains open.

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.