callyourpeople's People
callyourpeople's Issues
Ensure local notifications can launch phone caller
When a notification is tapped on, it should launch that person's phone number in the phone, so you can call. There's an Android-specific low-level way using something called Intents, but, I challenge you to find an easier way. There's a method in the react-native-notifications package that you can use for this.
Sort table
When you tap on a a column title, sort by that column. Tapping again sorts in the opposite direction. Tapping a third time resets to the original sort, which should be by last-date-called.
Add persistence
Need the app to remember what you've typed in. There's a simple API in React Native for this kind of thing: https://facebook.github.io/react-native/docs/asyncstorage.html.
Local notifications instead of React Native alerts
Notifications have a title, and body. The title should read "Call >person name< now!" (hint: use TypeScript string interpolation), and the body should read "They want to hear from you!". Use the 'react-native-notifications' package.
Change 'Edit' text to 'Delete' buttons
Also remove 'edit' column header. Stretch goal: there'd be a little trash icon instead of the word 'Delete', but, you'd have to include and use the 'react-native-vector-icons' package.
Rename app
The best I could come up with is 'Call your People!' or 'Call your Humans!' If you can think of something more inclusive than 'Call your Mom!' and you like it better than my alternatives, go for it!
Remove deprecation warning
Add background task scheduler
The app should launch automatically every 8 hours to check the call log, in addition to when the app is launched. You can use the already-included 'react-native-background-task' package for this.
Simplify code in checkCallLog
There is some extraneous code from previous iterations that can be removed. Walk through the code to see which lines are needed, and which can be removed.
Ensure call log is checked against the current time
It's not doing so now, which I think is just a leftover from testing.
Move test code to test infrastructure
fakeCallLog and defaultData should be moved to tests/AppLogic.ts, and you can write tests
for daysLeft, checkPeople, & checkCallLog. https://jestjs.io/docs/en/getting-started has all the info, and I'm sure there are ton of Jest tutorials around. I recommend doing this first before any other changes.
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.