Coder Social home page Coder Social logo

yacguide's People

Contributors

chrgernoe avatar dependabot[bot] avatar elmogit avatar fabi2607 avatar paetz avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

yacguide's Issues

Re-add back button to views

We just removed the back buttons from all views (#82).
However, a recent research showed that not all phones have a back button.

We need to clarify about re-implementing this functionality.

Comments and opinions welcome.

Add an eye symbol behind the route name in the route activity if there is an ascend of type "watched", "heard" or "pissed" available

Currently, the ascend styles "seen", "visited", "heard" are not shown in the tourbook.
I would suggest to remove them. They don't have anything to do with a climbing guide or tourbook but rather with making public comments like on sandsteinklettern.de.

If such a style was imported from sandsteinklettern.de tourbook, we would simply omit it.

Edit: Conversation concluded. See adapted issue title.

null handling on update

sandsteinklettern.de returns null if there is no element in a region, sector, ... Change the behavior that null is not treated as an update error

Implement database format version

To handle possible database format changes in the future, I propose to implement a format version for the database. With this feature it is possible to find out what database version is currently running and a conversion of the existing database is possible.

Implement map settings view

For #57 to provide a good user experience, the map should have few settings:

  • management of downloaded map material
  • progress for map download

Move codebase to Kotlin

Note: Since we don't have unit test, the app's behavior must not change by applying this PR!

Export/Import possibility for tourbook

  1. Change ascend style to the according styles on sandsteinklettern.de
    Export:
  2. Write data of Ascend table to JSONArray
  3. Write JSONArray to file (store publicly on external device of available)
    Import:
  4. Read file to JSONArray
  5. Replace data in Ascends table with the data in JSONArray

Add custom setting: Route and Rock marking colors

Add a custom setting to define a custom color for lead- and follow-ascends, respectively.
Default should be (as it is now) both green.

The settings might be stored in a SharedPreferences object.

Rename Java package name and application ID

At the moment, both, the Java package and application ID are named com.example.paetz.yacguide. Rename both to the more generic name com.yacgroup.yacguide. For the F-Droid store (see #68) a unique and stable application ID is necessary. Therefore, the renaming should be done as soon as possible.

Add custom setting: rock counting

In the custom settings view, the user may decide how to count rocks regarding ascends, e.g.

  • do not count anything (default)
  • count only summits that contain a route the user led
  • ...

Add the rock counter (e.g. (13 / 25)) behind the sector names.
The settings might be stored in a SharedPreferences object.

Add "Custom settings" view

ToDo:

  • Add an item to the menu
  • create an empty "Custom settings" view on click (we gonna fill it step-by-step in further issues)

Make update error more transparent

Update error "Fehler bei Aktualisierung" is not very helpful. Add the json exceptions message with a hint to contact the yacguide maintainers.

Remove info symbol in country and region view

Since there are no comments for countries available, remove the info symbol from the menu bar for the country and the region view.

You will need to add a new xml layout, similar to the normal table menu layout, just without the info button.

Do not build signed app for normal build test

The problem is that the encrypted variables, which are necessary for signing the app, are only available if the contributor pushes a branch directly to this repository. For PRs from forked repositories, the Travis CI will not decrypt the variables for security reasons. See https://docs.travis-ci.com/user/pull-requests/#pull-requests-and-security-restrictions for a detailed explanation.
We need to split the signing process from the normal CI run and do this only during deployment otherwise the CI will always fail for such PRs.

Date for projects make no sense

If a route is marked as project, the date makes no sense and should not be evaluated. Especially in the tour book, if no date is specified, a 0 is shown what it is somehow confusing.

general cleanup

  • add class/template for ascend style to prevent if-else-branches regarding ascend symbols
  • add "Säcke" list
  • rename "Merkliste" to "Projekte"
  • add list type to TourbookActivity start parameters and decide about content based on this (currently "_isTickList")
  • remove ascend symbol from TourbookActivity
  • store ascended/sacked/watched/projected info in Route db field ascendCount using binary digits and remove iterations over ascends in RouteActivity, RockActivity, TourbookActivity
  • create new version directory and build new .apk

Automatic build and deployment flow

There should be no binary files inside the repository. Especially the .apk file should be removed. The build and deployment of this file should be done by the CI service.
A suggestion for a simple flow would be as follows:

  • Use the CI to automatically build and deploy a development version every day from the master branch, if there was a commit/merge since the last run.
  • For official releases the maintainer must create a release tag which than triggers the CI again.

Official releases should follow the semantic versioning schema.

Please ensure:

  • compatibility down to Android 5.1 (--> build with API level 22)
  • correct app signing (use the key from apk_signing_passwords.txt in the root directory)

Remove unencrypted keystore und password files from repository and change signing paswords

Before the first official release, the files keystore.jks and apk_signing_passwords.txt must be removed and the signing passwords must be changed. Otherwise somebody can create another app which looks like this from Android point of view.
We must change it before the first official release because otherwise users, which already have installed this app, cannot update.

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.