Table of Contents
⌙> Scope
⌙> Tasks
⌙> Visuals
⌙> Q&A
Scope
Previous related sprint technical document - Manage custom expense types tasks
Parent Product Scope: Finances V2.0
manage custom revenue types - (nice) 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
- making table revenue_type
- updating sale to add revenue_type_id, and total_value columns
- add role permissions for add/delete/get/edit:revenue_types, and their associated permissions
- (nice) update sale name to revenues and update references
- (nice) Add Spotlight booleans
- Crop generated revenues boolean to revenue type
Endpoints/controllers
- endpoints and controllers to retire or add custom revenue types
- endpoints and controllers to get custom revenue types
Sagas
- sagas to retire, add, edit custom revenue types
- editing existing sagas to accommodate task types
State Management
- new slice for revenue_type table
- selectors for default revenue types, custom revenue types, retired custom revenue types
- reducers to handle retiring and addition of custom revenue type state change
- updates to existing sale state to handle new columns for existing sale table
Components
Containers/Frontend Routes
- Update add expense form container
- Create add custom revenue form container
- Crop generated revenues - Add custom revenue type radio
- Add Revenue Type Selection container and Route
- Add custom revenue type creation, edit, readonly
- Update Revenue Type selection to include custom revenue types and manage button
- Crop generated revenues - Custom revenue form container and route
- (nice) Spotlight for custom revenue types
Visuals
*Note: these visuals are not kept up to date see resource links below for more up to date info.
Finances 2.0 UX: - LUX-82Getting issue details... STATUS
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:
-
LUX-77Getting issue details...
STATUS
Add expense flow
Current:
Updated: - LUX-74Getting issue details... STATUS
Add revenue flow
Current:
Updated: - LUX-75Getting issue details... STATUS (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 for Readonly expense update, edit expense update, and dashboard update?
Unique challenges
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?