lifeline
Visualise and track key life events with an interactive timeline.
https://lifeline.rocks
Developer Guide
Command | Description |
---|
npm run lint | Lint the code with eslint/prettier |
npm run lint:fix | Fix the code with eslint/prettier |
Firebase
Use the Firebase Local Emulator Suite to help when working with Firebase.
Setup looks like this:
curl -sL firebase.tools | bash
firebase login
firebase emulators:start
open http://localhost:4000
Deploy indexes and rules with:
firebase deploy --only firestore:rules firestore:indexes
Releasing
This project uses Release Please to manage releases. As long as you use Conventional Commit messages, release please will open up a 'release' pull request on the main
branch when changes are merged. Merging the release pull request will trigger a full release to NPM.
VERSION="0.1.0" git commit --allow-empty -m "chore: release ${VERSION}" -m "Release-As: ${VERSION}"
Note that currently firestore configuration (security rules and indexes) is not deployed as part of this process, to avoid unexpected downtime while indexes rebuild. Manually deploy these changes as needed.
Goals
- Build multiple timelines of key life events
- Events might be: where I lived, work, travel, holidays, climbing, medical, etc
- Events can be major or minor, to allow a high level view or detailed view
- Filter that lets you choose which lifelines to show
Building the line
Could be text based:
2021-01-01: home - *moved to UK*
2021-02-03: home - lived in US for a week
TODO
Quick and dirty task list:
Demoable
v0.3
Link domain
“Search” category for events that need research
“Don’t know” emoji for impact / severity
add starting therapy in uk
add cheltenham
Epic - Blur Categories
Option to 'blur' categories so when sharing the screen the details are kept private.
Epic - Demo lifelines
On new user sign up show a demo lifeline and add a user setting 'demo', when this setting is on offer an alert on startup showing it is a demo with the option to remove all values.
Epic - Manage Categories
Epic Import Preview
Events to add
- adopted
- remarry / ruth
- remarry / guy
- meet / patrick
Feedback
Ideas from Michelle:
Adverse child experiences scoring. For life events, can you categorise the event as e.g. 'moving', 'depression', 'psychiatric event', 'relationship'. These could be thought of as life-transitions. You could then see that for example prior to a depressive episode there were a series of life transitions that were stressful.
In terms of your own attitude about things that happened; was this event for you happy or dreadful? Could you also add how you feel about it.
Also look at 'impact' as major/minor. The size of the icon could be the majority of the event. Things could be color coded or icons could be sized to see how impactful the event is but also then what the impact is.
When you click and collapse into chronological order. Consider an emoji for how you feel about it.