micuintus / harbour-berlin-vegan Goto Github PK
View Code? Open in Web Editor NEWBerlin-Vegan Guide
License: Other
Berlin-Vegan Guide
License: Other
(for keys coming from the JSON database), such as what is called a directory in perl, a map etc.
We need to fix this Cutehacks/gel#9 issue to do so
Code wise we should use QFlags
for that which we can set as filter conditions to our VenueSortFilterProxyModel
(once the #42 is merged).
as it is a shorter and nicer naming scheme ;)
The shown distances to each venue are correctly updated when changing your current position, but the sorting by distance isn't.
Sometimes parts of the GastroLocationDescription are missing.
Maybe this bug is related to #28?
Implement list ordered by distance
--> Find a solution for the case a position is not available
(async stuff needed probably)
---> Use https://github.com/Cutehacks/gel?
---> Look at componentgallery/qml/pages/SearchPage.qml:251
This ticket is not about a map overview like in #7, which ranges on the VenueList level,
but about a map for specific venue location:
on the same page of the VenueDescription
on another page
OSM or HERE?
Blurry header?
Make the details (opening hours, etc.) in GastroLocationDetails.qml be collapsible!
Inspiration sources:
* Jolla Store: Detail desciption / collapsible -> /usr/share/store-client/pages/AppPageDetails.qml (only as an inspiration, do not copy the code --> NO FOSS so far)
* Harbour-Warehouse: /usr/share/harbour-warehouse/qml/components/TextCollapsible.qml
* TAO translator: /usr/share/harbour-taot/qml/ExpandableLabel.qml / https://github.com/leppa/taot/blob/master/qml/sailfish/ExpandableLabel.qml
(down below the item)
but instead show the "Call request" dialog, which comes when you do 'xdg-open "tel://number"'
qsTr -> qsTrId
Flickable images in the header
These issues could be easily fixed with
fitViewportToMapItems()
, respectively.But these two features are not available or do not work properly with the currently available version of Qt. As a newer version of Qt is promised to arrive to Sailfish OS soon, it makes sense to wait instead of solving these issues via cumbersome workarounds.
as the favourites functionality isn't implemented ATM.
Normally a day is tagged as "closed" if the original "hours" field of the opening hours was empty. But the last entry isn't.
...when the application is pushed to the background or (re-)enabled.
Before we actually implement an automatic DB download, at least we want to have an up-to-date off-line database
Opening hours should be condensed
Mon-Tue: 8am - 10pm
Fri: 8am - 12pm
Do not always show the whole list
Mon:
Tue:
Wed:
...
Inspiration sources:
Android BVApp:
https://github.com/Berlin-Vegan/berlin-vegan-guide/blob/master/app/src/main/java/org/berlin_vegan/bvapp/data/Location.java#L255
This is just an idea ATM! Maybe a first approach should be started after 1.0 4 Sailfish is out?
Maybe with the help of
https://github.com/M4rtinK/universal-components or
https://v-play.net/ (or even both: add v play as a backend for UC)?
https://conf.qtcon.org/en/qtcon/public/events/409
http://www.codingsubmarine.com/qt-on-ios-and-android-looking-native-today-or-maybe-tomorrow/
https://www.youtube.com/watch?v=8A7DPUwIcDg
https://github.com/V-Play/QtWorldSummit2016-V-Play
http://doc-snapshots.qt.io/qt5-5.8/qtlabsplatform-index.html
http://www.codingsubmarine.com/qt-on-ios-and-android-looking-native-today-or-maybe-tomorrow/
https://github.com/amarchen/CuteContacts-iOS
http://www.codingsubmarine.com/cutecontacts-ios7-cloning-ios7-contacts-application-ui-in-qtqml/
and do not add the whole icons, licenses directly.
See http://doc.qt.io/qt-5/resources.html and how other example Sailfish apps do it.
Look at the Sailfish components gallery example for a reference.
Turn the whole model / database infrastructure into real C++.
Thus, provide a version application specific 'VenueModel' and an application specific sorting model.
Why — although it makes things less generic?
With #45 in place, sometimes the cover gets messed up on a resorting event (no header is shown and a way too long list).
-> QtLocation map?
-> Maep?
-> harbour-mapp? --> https://github.com/unsanded/harbour-mapp
-> poor maps? https://github.com/otsaloma/poor-maps
-> https://together.jolla.com/question/51587/a-map-component-for-sailfish-apps/
Merge in sources from vebu, HappyCow, etc.
Probably the best place to put it is the main list's pulley menu. Make sure to correctly check for missing position source.
It should be possible to see the full part of the opening hours part and a little bit more (and only then see the lights fade out ;))
Maybe show the first 3 entries of the list in the cover?
Two possible entries:
-> in the list
-> in the description
Some ideas can be cribbed from the class OpeningHours of the original BVApp and how its being used in the app.
if the language is set to English or have an option to configure it yourself (or even have an option to show the language independently from the language the OS runs in).
With a fix for #45 in place, we need an option to let the user decide whether they want to have this
automatic sorting in place or not. In the case the automatic sorting is disabled, they need the "Update sorting" menu entry back.
instead of directly compiling it in.
See:
https://wiki.merproject.org/wiki/Contribution
https://wiki.merproject.org/wiki/Platform_SDK
https://sailfishos.org/wiki/Platform_Development
https://sailfishos.org/wiki/Deploying_packages
https://sailfishos.org/wiki/Platform_SDK_Installation
https://sailfishos.org/wiki/Core_Areas_and_APIs
Package dependencies etc. must be correct!
Automatically check for new JSON file on app startup and download new version
(details are left out in the calculation)
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.