Git Product home page Git Product logo

habitrpg-mobile's Introduction

Habitica Build Status

Habitica is an open-source habit-building program that treats your life like a role-playing game. Level up as you succeed, lose HP as you fail, and earn Gold to buy weapons and armor!

Want to contribute code to Habitica? We're always looking for assistance on any issues in our repo with the "Help Wanted" label. The wiki pages below and the additional linked pages will tell you how to start contributing code and where you can seek further help or ask questions:

Interested in contributing to Habitica’s mobile apps? Visit the links below for our mobile repositories.

Habitica's code is licensed as described at https://github.com/HabitRPG/habitica/blob/develop/LICENSE

Found a bug? Please report it to admin email rather than create an issue (an admin will advise you if a new issue is necessary; usually it is not).

Creating a third-party tool? Please review our API Usage Guidelines to ensure that your tool is compliant and maintains the best experience for Habitica players.

Have any questions about Habitica or contributing? See the links in the Habitica website's Help menu. There’s FAQ’s, guides, and the option to reach out to us with any further questions!

habitrpg-mobile's People

Contributors

3onyc avatar crokinolemaster avatar crookedneighbor avatar gabrielpoca avatar gkatsev avatar lefnire avatar litenull avatar meepthetendie avatar metasean avatar negue avatar paglias avatar phillipthelen avatar pjay-io avatar sabrecat avatar shaners avatar switz avatar tjwds avatar yangit avatar

Stargazers

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

Watchers

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

habitrpg-mobile's Issues

Can't build with phonegap build.

I can't build the app with phonegap build.

The error says:
"Error - Invalid filename: lib/angular-1.1.5/docs/partials/api/ng.directive:a.html You can fix this here"

"here" is a link. The link says:
"Invalid File/Directory name

Mobile filesystems are very picky about certain filenames - in particular, they don't allow files with non-ASCII characters, such as Chinese or Arabic letters. Please rename any files with non-ASCII characters, and your app should build successfully."

Web client.| interface | Rewards?

The web client is not showing the same information as it does in app. I am signed in.

Perhaps instead of saving the stats on your own server you could make use of the new Drive API for Google and store files on there and load the information from there. It's a lot less taxing on your own servers and it means you can sync between client and app, as well as multiple devices a lot easier by using the users Google account. Also registering with Google in app is not available?

The interface feels slightly underwhelming when it comes to editing things? Just a personal opinion. If it's written in HTML & CSS perhaps put out too the community too come up with some design templates.

The reward system feels like it tried to go in one direction but stopped half way? Surely with users being able too set the tasks they could also set the reward? Since the app is mostly self managed by the user, giving them the choice to give one task higher value over the other to increase the priority of them would increase the idea that the harder the task the better the reward, true RPG fashion?

iOS - Requires Website Refresh

In the demo video for the app, it showed that the changes immediately happened on the website. However, when I check off a task, it doesn't give me any kind of website notification. I have to reload the website manually, at which point the changes have been applied, but they have no notifications associated with them.

`type` or `title` of undefined

API bug:

ReferenceError: type is not defined
    at api.scoreTask (/var/www/vhosts/habitrpg.com/releases/5017be09848a5e473103c012967c68133103b7a6/src/server/api.coffee:162:11)
    at Object.callbacks [as done] (/var/www/vhosts/habitrpg.com/releases/5017be09848a5e473103c012967c68133103b7a6/node_modules/express/lib/router/index.js:164:37)
    at Object.module.exports.batchTxn.batchTxn (/var/www/vhosts/habitrpg.com/releases/5017be09848a5e473103c012967c68133103b7a6/src/app/misc.coffee:50:15)
    at api.cron (/var/www/vhosts/habitrpg.com/releases/5017be09848a5e473103c012967c68133103b7a6/src/server/api.coffee:559:17)
    at callbacks (/var/www/vhosts/habitrpg.com/releases/5017be09848a5e473103c012967c68133103b7a6/node_modules/express/lib/router/index.js:164:37)
    at api.auth (/var/www/vhosts/habitrpg.com/releases/5017be09848a5e473103c012967c68133103b7a6/src/server/api.coffee:67:14)
    at module.exports.proto.fetch (/var/www/vhosts/habitrpg.com/releases/5017be09848a5e473103c012967c68133103b7a6/node_modules/racer/lib/descriptor/descriptor.Model.js:67:14)
    at Object.module.exports.server._upstreamData._clientIdPromise.on.res.send (/var/www/vhosts/habitrpg.com/releases/5017be09848a5e473103c012967c68133103b7a6/node_modules/racer/lib/descriptor/descriptor.Model.js:231:13)
    at Object.module.exports.events.middleware.middleware.fetch.add._res.send (/var/www/vhosts/habitrpg.com/releases/5017be09848a5e473103c012967c68133103b7a6/node_modules/racer/lib/descriptor/descriptor.Store.js:107:27)
    at module.exports.events.middleware.middleware.fetchQuery.add.store._fetchAndCompileQueryData.done (/var/www/vhosts/habitrpg.com/releases/5017be09848a5e473103c012967c68133103b7a6/node_modules/racer/lib/descriptor/query/query.Store.js:73:17)

Strange iOS menu selection behavior

  1. menu > habits > the "add new habit" gets focus and keyboard shows up
  2. menu > dailys > if the first daily is unchecked, it suddenly gets checked (gain exp/gp)
  3. same for todos
  4. note that the focus of step 1 doesn't happen for anything else (inconsistent... and also, don't want focus)

cordova emulate ios

Check boxes lag behind

When scrolling through a long list of todos the check boxes are not synchronized with the list. This is not a big problem as it returns to normal, but it looks really weird during scrolling.

API does not trigger new day rollover, or does it in wrong timezone

When the midnight (or custom day start) rolls over on the Web App, all Habits and Dailies reset for the new day. This does not happen on mobile.

I had yet to login to habit this morning, got logged into the Mobile App, and found that all my dailies were still checked. Once I got home, logged into the Web App (beta.habitrpg.com) and dailies and habits rolled over to the new day, and took HP hit for what I didn't complete. Per usual.

I believe there was talk that the API does not yet support the new day rollover actions yet? Or is this an issue with the Mobile App itself.

Tech: Android App, Nexus 4, Android 4.3

Keep refresh button in view when accessing navigation menu

Android tablet (Transformer Prime TF201).

When you tap the "..." button to access the navigation menu, the sidebar basically just scoots the main app workspace over to the right, pushing the activity title off-center and obscuring the refresh button. Since you can continue working with the items in your task list with the sidebar open, it'd be nice to recenter and justify the task type and refresh button for the new width of the task workspace. In fact, for those of us with nice big screens, I wouldn't at all mind an option to "pin" or "fix" the sidebar so it stays open rather than collapsing after use!

Action bar is pretty iOS-ish

The Android action bar is pretty much an iOS affair and doesn't quite mesh with the awesome Android design guidelines.

There's a few minor changes (and a nice library for navigation drawers, to boot!) easily implemented, just have a look at the Navigation Drawer and Action Bar docs!

Small icon on galaxy nexus

First of all thanks for the mobile app!

I noticed that it has a little small icon on my Galaxy Nexus (android 4.3)
16 agosto 2013 235918 cest

Letters instead of icons (J & M)

I see a capital J on the left to open the menu and a captial M on the right. The M spins when pressed and thus I think it is the refresh button?

Armor rewards are labeled as providing "gain"

On the Rewards tab, the strengths of the available equipment items are all expressed as "% gain", even armor. Weapons should say they increase XP gain, and armor/helm/shield say they reduce HP loss.

You can assign me to this one if desired :P

Tapping Login without any text gives unhelpful error

Android Transformer Prime TF-201.

If you tap the "Login" button without entering anything on the main screen, you get this useful message:

screenshot_2013-08-13-19-43-20

Silly thing, but I wasn't even bug-hunting at this point. The entry fields are so subtle I thought I needed to choose "Login" before I could enter anything!

Too narrow alignment of objects

In the edit menu of tasks, there is no spacing between the top and left borders of a view and objects such as buttons or text fields.

The same is true for the profile and the settings menu. This should be a small problem, but it makes it look rather unclean.

Generalized error handler

@lefnire,

How are we supposed to handle ajaxError ? Shall we make a generalized ajaxError handler that redirects to /noConnection, which is a screen with a refresh icon and a text ?

Helmet Displayed under hair outline

I realized that my helmet looked weird - upon zooming in, I realized that (for the female avatar at least) the helmet layer is UNDERNEATH the hair outline/flower level.
photo

Definitely something to investigate, because if this is uniformly true, it's going to cause some very weird-looking art.

Login screen input fields are very faint

Android Transformer Prime TF-201.

The username and password fields used on the login screen are very faint and hard to read:
screenshot_2013-08-13-20-11-16

I'd suggest using black or at least heavier brown borders, black text, and labels for "Username" and "Password" (dynamically changing if you use UUID/token for login).

Underwhelming message on levelup

Running Android 4.1.1 on a Transformer Prime TF201.

I just leveled up using the app, and found to my amusement that the only message displayed was the amount of health I'd just regained in the process. The banner should show the GP, XP, and HP gained, and a celebratory "Level up!", if we can get it all in there!

Broken screen size

The app seems to render at a fixed height in the latest update. As seen in Nexus 7

Windows Phone app not loading properly

I found a xap complied on the forums, and deployed it to my phone. Unfortunately the app appears to be broken, and is left stuck at this screen. The text reads {{taskContext.name}} and pressing either of the buttons does nothing.
wp_ss_20130818_0002

Can use the Back key to go all the way to the login screen

Android Transformer Prime TF201.

If you log in, navigate around a bit, then repeatedly hit the "back" soft key, you can back all the way out to the login screen. It shows up tidily hosted within the app's workspace with "Habits", the ... menu, and the refresh button at the top!

Suggestion: "Back" should only go as far as the initial Habits screen you see after login.

Tasks cut off in portrait mode

Android Transformer Prime TF-201.

Sometimes, changing to portrait mode doesn't make use of the full vertical space available:

screenshot_2013-08-13-19-42-37

I'm not sure yet of the conditions for reproducing the issue. The first time I logged in, every list was like this, and what was worse, I couldn't even scroll the list any further--the bottom half of each list was inaccessible. Since then, it's sporadically shown this kind of white space, but at least I can always scroll the list its full length.

Design Updates & Small Requests

Hey guys,

I've pushed some stuff up, here's the important changes that might affect you:

  • I moved the profile from the nav to its own view, /profile. Still unstyled, but it'll be better than in the nav, and we can show more clearly what's going on.
  • I changed some IDs. Nothing broke, but just keep an eye out

I have a few requests:

  • When I browse to the site on my phone (connected through wifi) I can't connect to the server. This means I can't test stuff like overflow scrolling on the touch screen, and how things actually look on the device. Any ideas?
  • Can you add a data-attribute to the list items that describes their urgency/color? You know, from red to green, like on the site
  • what is that element with a class of .lines, that shows up on Rewards and Todos? I don't know what it does, I commented it out for now. What's it do?

Thanks guys! I'll keep on truckin

Registration page immediately attempts form submit

It didn't affect the ability to register as a user, but it seems to have registered two taps because I get a popup basically saying I need to fill in the required information before I can continue.
Also, when I hit the back button on my phone, after closing the message box, it completely bypasses the registration page and brought me right into the app without having to register.
screenshot_2013-08-17-13-15-27

Black screen at start.

The release looks very nice. What I noticed though, also in the test version, is that there is a black screen for quite a long time. This is a little thing, but it makes the app feel unresponsive. This shouldn't be there first impression. I think it would suffice just to make a splash screen with the chest and some loading text. This way you at least know the app is there and it's not going to crash in the next second.

Information banner contains nothing when buying rewards

Android 4.1.1 on a Transformer Prime TF201 tablet.

When I purchase one of my rewards, the orangish overlay that's usually a banner display of numeric change info appears, but doesn't have anything in it. I'd expect a "-2 GP" or similar.

Small Angular Request

Hi guys! I'm working on making the "refresh" button on the app really nice. I can't figure out how to add a class to the element when it's syncing (currently when it shows "refreshing..."). Can someone tell me how to do that? I tried some stuff but I don't know how it really works, so I'm coming up blank.

Thanks y'all!

NaN Exp

Litenull (e33dc0f3-bdd2-4e6d-b3c0-b39372d256c7)

  • stuff on mobile
  • got NaN for exp
  • now everything he does on mobile is 0 exp

TODO

  • if value = NaN, set to 0
  • if key = undefined, delete

Readout of HP lost has way too many decimal places

Android Transformer Prime TF201.

I just took a hit on a negative Habit, and the damage was something like -1.20000007. I didn't manage to screencap it, but you can see the same basic thing in action at 2:32 in the YouTube preview: http://youtu.be/LL-THfIDZZQ?t=2m32s

I'd suggest a double fix here: Make both the backend algorithm and the display function floor results at 1 or 2 decimal places.

App feedback

Gakaxy S III T-Mobile

  1. The username/password fields are obvious, but not labeled on the first screen.
  2. No QR code support yet :( copy from other app
  3. Scrolling is a little weird when I do it fast. Takes a second for the text to catch up to the background.
  4. Can't fully view long task names unless I tap on them. I guess that makes sense.
  5. Dailies that don't apply today aren't greyed out. But editing a couple dailies worked great, woo!
  6. Sometimes scrolling stops responding. Switching landscape/portrait seems to make it work again.
  7. Un-checking a completed todo seemed to do the right thing also.
  8. Mad props to @litenull @lefnire and everyone. This is worth the wait!

"Start your adventure" text poorly aspected in landscape mode

Android Transformer Prime TF-201.

When in landscape orientation, the "Start Your Adventure" text on the login screen gets an ugly stretch to it:

screenshot_2013-08-13-19-46-44

It'd be ideal to resize the text more intelligently there, and maybe extend the wood grain background such that it'll hit the edges of a screen in landscape mode.

Screens with bottoms tabs don't scroll far enough.

The screens with tabs on the bottom, like the Todos or Profile (customize), don't scroll far enough to give access to give access to the bottom option. The tabs cover the last item on the list so it isn't clickable.

swiping right to left?

Every time I use the app, my instinct is to swipe right to left to see the 4 main screens(habits, dailies, todos, rewards). I kind of didn't want to mention it, being so close to release. It just feels like right to left should do something.

Greyed out tasks are not respected by the app

I have a daily which is actually not active right now, but it is shown as active on my phone. I hope it will not penalize me tonight :x I will let you know when I figure this out.

Unable to login. Alert: 401. (Initial login screen only)

That's seriously all it says. Assume it's an HTTP error for 'unauthorized'. Using UUID and API token straight from the unofficial by MagicMickey. That app works, and beta is online.

Since they aren't labeled, I put UUID on top field, API on bottom. Even switched it in case it was backwards. Am I missing something? :/

iOS - Stuck offline, won't sync :(

Hey! I just downloaded the new 0.0.5 build for iPhone and it won't sync with my website page at all. Editing things on my phonehas no effect on my screen, and vice versa. It keeps giving me the "we're offline" message. Any tips?

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.