Giter VIP home page Giter VIP logo

melton-foundation / melton-app-client-flutter Goto Github PK

View Code? Open in Web Editor NEW
6.0 2.0 1.0 16.63 MB

Production quality Flutter code. Simple online store, blogs written in markdown, custom Google map, search with filters

Home Page: https://meltonapp.com

License: MIT License

Kotlin 0.03% Swift 0.20% Objective-C 0.01% Dart 98.85% Python 0.53% Ruby 0.37%
flutter ecommerce-store directory-search google-maps-api rest-api restful-client oauth-client hacktoberfest

melton-app-client-flutter's People

Contributors

akash933 avatar pranavsb avatar suhas-g avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

osama-ali2

melton-app-client-flutter's Issues

Integrate chat SDK/API

Would need to use third-party service, preferably something that's free for self hosting.
Probably would not need any change in the backend Django code

Paste appToken dialog

A way for a user to paste in an appToken which gets stored.

This is useful when troubleshooting or google oauth is causing issues (eg for Chinese Fellows)

If implementing this, consider the appToken while letting in users and make Gauth sign-in non-mandatory.
(Currently both are needed for successful auth. to app's features)

Suggested spot: put it under the vertical ellipsis on the app bar top right, along with things like about/privacy policy

Test and improve responsive design

Directory already changes number of preview cards per row based on orientation.

Test other parts of app and improve responsive design.

Especially on tablet size devices.

Avoid avoidable API calls

Currently, avoidable API calls are:

  1. /profile to check token validity on login and again /profile called to load first screen of app if token is valid

  2. posts full page preview calls /posts endpoint even though home screen preview of top 3 most recent posts calls /posts

Create simple custom webview for Android to open /posts links

Links specified in the markdown of "posts" articles should ideally open an in-app webview.
While this works very nicely on iOS with forceSafariVC set to true, on Android the default webview is not really nice.
We tried to improve it by enabling JS and allowing HTTP links in #34, but there's no progress indicator for the page load and no way to copy link (to open in browser).

So until we implement a simple Webview for Android (reusable even in iOS, if decent enough), let's just force Android Markdown links to open in the default browser.

Add states for US cities

The options in world_cities.dart are taken from simplemaps (free, smaller version of the database).
Only the cities with more than 100,000 population have been chosen. For cities with a common name (in ASCII) and a common country, the city with higher population is chosen.

This can lead to some confusion, esp. in the US, which has multiple states with the same city name.

The workaround is to choose your city in the dropdown (say Gainesville, United States) and check the map to see if we're putting you in Gainesville, FL or Gainesville, GA (spoiler alert: it's Georgia).

Then you'd have to fall back to searching for the nearest city which is included in the list, which is made hard by the fact that many US cities have been included, with no state, so you can't search by your state.

Set API timeout

Currently it's quite long before it declares invalid token or no internet

Support very very long names in Fellow Infobox in Maps

image

Currently we are switching between a font size of 20 and 14 based on a name length >15 check.
Adding 2-3 checks with 2-3 different font sizes would make intermediately long names look better, and support extremely long names like Vlad.

This is a bug because the arrow to go to the user details page is not accessible

Cache network images on restart

Images are lost when app is restarted.

We should cache profile photos from directory and post preview images (which tend to be large size)

Extra '+' before Phone Number when I dial it from the app.

Whenever I click on a phone number to dial them, from the app.... the number in my caller app is shown as ++91.. instead of +91.
It might be a local glitch.
Screenshot_2020-09-29-19-41-44-809_com melton_app
![Uploading Screenshot_2020-09-29-19-42-50-914_com.android.contacts.jpg…]

Screenshot_2020-09-29-19-41-49-764_com android contacts

Directory: Search through "bio" and "work"

Searching will be done on client side.

If we reuse the same search bar in directory, we have to decide if we're calling /users?search= API or doing everything locally

Pre-fill social media links

Improve support for supported social media profile links.

Allow ID for instagram instead of full URL?
(Not possible for LinkedIn)

Pre-fill "https://instagram.com/" on press of text field, if previous data is empty?

Don't show error for "https://www.instagram.com/..."

Don't wait till "://" to remove error for https/http links. Might confuse users while adding https links.

This is basically to separate the error message/UI validation layer from the API validation layer in a better way so it's less confusing to users.

Create WhatsApp link if phone number exists

Launching a wa.me//[country_code+phone number] with a whatsapp icon button in the "social media line item" might be useful.

Note: this assumes that the user enters a Whatsapp phone number. We could also add a notice in the profile edit phone number field that this would also reflect as a whatsapp number.

Saving a number as WhatsApp or not and then deciding whether to show only the phone number or show both the phone number and a WhatsApp icon button would need backend changes

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.