Skip to content

Commit

Permalink
Rename to Habitica Tracker
Browse files Browse the repository at this point in the history
  • Loading branch information
ddycai committed Sep 16, 2020
1 parent cc1412f commit b08e6e2
Show file tree
Hide file tree
Showing 6 changed files with 9 additions and 9 deletions.
5 changes: 3 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
# Habitica History Tool
# Habitica Tracker

Displays a history of your Habits, Dailies and Todos in Habitica.
Displays a history of your Habits, Dailies and Todos in Habitica like a habit
tracker.

Try it out locally:

Expand Down
2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
{
"name": "habitica-history",
"name": "habitica-tracker",
"version": "0.1.0",
"private": true,
"homepage": "http://ddycai.github.io/habitica-history",
"homepage": "http://ddycai.github.io/habitica-tracker",
"dependencies": {
"@primer/octicons-react": "^10.1.0",
"@testing-library/jest-dom": "^4.2.4",
Expand Down
2 changes: 1 addition & 1 deletion public/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
work correctly both with client-side routing and a non-root public URL.
Learn how to configure a non-root public URL by running `npm run build`.
-->
<title>Habitica History Tool</title>
<title>Habitica Tracker</title>
</head>
<body>
<noscript>You need to enable JavaScript to run this app.</noscript>
Expand Down
2 changes: 1 addition & 1 deletion src/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ function App() {
) {
return (
<div className="App">
<h1>Habitica History Tool</h1>
<h1>Habitica Tracker</h1>
{error && <div className="error">Error: {error.message}</div>}
<p>
This tool displays a history of your Habits, Dailies and Todos in
Expand Down
3 changes: 1 addition & 2 deletions src/UserHistory.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,7 @@ import TodoHistory from "./TodoHistory";
export const DATE_KEY_FORMAT = "YYYYMMDD";

const HABITICA_API_URL = "https://habitica.com/api/v3";
const CLIENT_KEY =
"0d9428fd-d6fa-45f3-a4db-f130e3ef10ea-HabiticaHistoryTool";
const CLIENT_KEY = "0d9428fd-d6fa-45f3-a4db-f130e3ef10ea-HabiticaTracker";
const USER_PATH = "/user";
const TASKS_PATH = "/tasks/user";
const TODOS_COMPLETED_PATH = "/tasks/user?type=completedTodos";
Expand Down

0 comments on commit b08e6e2

Please sign in to comment.