You are browsing as a guest. Sign up (or log in) to start making projects!

Hackatime Stats (Android App)

  • 3 Devlogs
  • 13 Total hours

An Android app to view your stats on Hackclub's time tracking tool

Open comments for this post

4h 8m 45s logged

  • Added the leaderboard screen
  • Took Pager, PullToRefresh and TextInput components from my other apps
  • Added pull to refresh in all screens (goals, home, projects & leaderboard (for leaderboard u gotta do it specifically on the leaderboard, not outside))
  • Fixed a crash when opening a project git repo
  • Fixed login failing to send the API key to the server because i had put it before actually storing the access token so it would error with “Missing access token”
  • installed a lib to load images form the network (used for the avatars in the leaderboard)
  • Improved the .shimmerable modifier
  • Improved spacing in the settings save buttons between the text and the icon/loading spinner
  • Fixed backend API’s sendApiKey function using wrong tag in logging
0
0
12
Open comments for this post

2h 20m 18s logged

  • Fixed the missing types so now the app builds
  • Updated all HTTP requests that needed an API key so instead of only fetching it, they also cache it
  • Added a HTTP request to revoke the Hackatime OAuth2 access token which is used on logout
  • Added waterfall padding to the Header component (waterfall padding is a larger horizontal padding for phones that have rounded/curved screen edges)
  • Moved LoginScreen, ProjectsScreen, GoalsScreen and SettingsScreen to viewModel
  • Added a scrollbar in all scrollable screens (took the scrollbar code from my other apps)
  • Added the Notification object (this too took from ym other apps)
  • Added base skeleton for the leaderboard tab (just shows “WIP”)

GL to the GOIs, the commits for this devlogs were a mess cuz i made alot of changes at once and then tried to split it in multiple commits to avoid making a huge one 😭 🥀

0
0
54
Open comments for this post

6h 16m 57s logged

  • Switched login to Hackatime OAuth2 (untested)
  • Moved MainActivity to use a viewModel and update the FCM registering
  • Moved HomeScreen to use a viewModel
  • Added a custom Logger class (taken from my other apps)
  • Entirely rewritten the API endpoints using the new API docs
  • Updated the Firebase token registration handling (untested)
  • Made SecureStorage keys constant
  • Updated some function types
  • Renamed “API Key” to “data” in the share to server switch as now it shares the access token
  • Updated libs and raised target SDK from 36 (Android 16) to 37 (Android 17)

Current code can not be currently built as most screens have missing types after the API endpoints rewrite
also idk what to put as pic since it’s all code changes and can’t build the app so i’ll put the OAuth2 handling with the net.openid:appauth library

0
0
7

Delete project?

Are you sure you want to permanently delete this project? This action cannot be undone.

All devlogs, followers, and associated data will be removed.

Followers

Loading…