Finances V2.0 - Sprint 2 - Technical Document
Table of Contents
⌙> Scope
⌙> Tasks
⌙> Visuals
⌙> Q&A
Scope
Previous related sprint technical document - Manage custom expense types tasks
Parent Product Scope: Finances V1.5
manage custom revenue types - Also crop generated revenues
updated create expense flow (select expense type(last sprint), updated expense form)
updated create revenue flow (select revenue type, add custom revenue form )
(nice) Custom revenue spotlight
Strategy - edges inward
Deal with migrations and components first to clarify missing features.
Write state editors for frontend backend as soon as possible (ASAP).
Add container views last as the “middle” piece connecting frontend state to backend state.
Nice-to-haves - on the fly if easy or last.
Tasks
Migrations
Endpoints/controllers
Sagas
State Management
Components
Containers/Frontend Routes
# | Priority | M: must have N: nice to have | tasks | blockers |
---|---|---|---|---|
0 | 0 | Previous Sprint | Reusable Components |
|
1 | 1 | M: Update add revenue flow M: Manage custom revenue types Combined migrations for all sprint features. Update db schema to allow for revenue types |
| |
2 | 2 | M: Update add revenue flow Get revenue types endpoint | 1 | |
3 | 3 | M: Manage custom revenue types Create APIs for custom revenue type endpoint to get, create, edit, retire revenue type. | 2 | |
4 | 2 | M: Update add revenue flow State + sagas |
| |
5 | 4 | M: Update add expense flow Re-style add expense form | 0 | |
6 | 4 | M: Update add revenue flow Revenue type selection view (default) | 0 | |
7 | 5 | M: Manage custom revenue types Custom tile view (and adding to revenue type selection tiles and manage button?) | 3,4 | |
8 | 5 | M: Manage custom revenue types Implement custom revenue types using reusable components (from custom expense) for Add, Read-only, Retire, Edit and Customisable Icon (And State + sagas required to implement?) | https://lite-farm.atlassian.net/browse/LF-3588 | 3,4 |
9 | 6 | M: Update add revenue flow Add custom revenue form | 7,8 | |
10 | 6 | M: Add option on create custom revenues to select if it is a crop generated revenue | 8 | |
11 | 6 | M: Dashboard implications for new types |
| |
12 | 7 | N: Spotlight for managing revenue types on updated multi-select expense type view. (Is this needed?) | 9 | |
13 | - | N: Update table names Moving to concept of revenues vs sales |
|
Visuals
*Note: these visuals are not kept up to date see resource links below for more up to date info.
Finances 2.0 UX: https://lite-farm.atlassian.net/browse/LUX-82
Figma (Finances Sketch): https://www.figma.com/file/96NZ02oYe3jpet1roUp0s0/Mockups?type=design&node-id=1712-37203&mode=design
Custom revenue type
Current - None (new feature)
Updated: https://lite-farm.atlassian.net/browse/LUX-77
Add expense flow
Current:
Updated: https://lite-farm.atlassian.net/browse/LUX-74
Add revenue flow
Current:
Updated: https://lite-farm.atlassian.net/browse/LUX-75 (Screen 1 existing, screen 2 new, screen 3 crop generated revenue custom type)
Spotlight custom revenues: MISSING see expense for inspiration
Questions & Answers
Are there any placeholders tickets for Readonly expense detail view(from dashboard) update, edit expense update, and dashboard update?
Unique challenges
adding value to “sale” table https://lite-farm.atlassian.net/browse/LF-3581
, and “notes”? - https://lite-farm.atlassian.net/browse/LF-3581
Reusing add expense form may not be practical because of customer name
Is a spotlight need for both custom revenues types and custom expenses types?
Yes, as per David - the more spotlights the better. It was proposed to end both revenues and expenses spotlight if either was “seen” but the decision is to have many spotlights.
For revenue types specifically - duplicate old patterns or implement new pattern?
try new pattern first?