Skip to content

Instantly share code, notes, and snippets.

@geastwood
Created February 18, 2026 11:04
Show Gist options
  • Select an option

  • Save geastwood/cdb8e79a73b7db2a99ba7e3fbb49da5f to your computer and use it in GitHub Desktop.

Select an option

Save geastwood/cdb8e79a73b7db2a99ba7e3fbb49da5f to your computer and use it in GitHub Desktop.
Expense new features and test plans.
**Claude finished @geastwood's task in 1m 5s** β€”β€” [View job](https://github.com/geastwood/workfold/actions/runs/22131991389)
---
### What's New in Expenses β€” Feb 18, 2026
- [x] Understand request (rewrite with more visuals and user focus)
- [x] Produce updated summary and test plan
---
Here's a friendly walkthrough of everything that landed in the Expenses module this week, written for testers who want to explore the new features hands-on.
---
### πŸ†• What's New at a Glance
| | Feature | What it means for you |
|---|---|---|
| βœ… | **Two-step approval** | Expenses now need a "Reviewed" checkpoint before they can be approved |
| πŸ‘οΈ | **Off-Books visibility control** | Admins can decide who sees sensitive "off-books" expenses |
| πŸ“₯ | **Smarter Inbox β†’ Expense** | Creating an expense from an uploaded document now behaves differently based on your role |
| πŸ“‹ | **Activity timeline** | Every expense now shows a full history of who did what and when |
---
### πŸ” How the Approval Flow Works Now
Expenses move through a clear journey. Here's what it looks like:
```
You create it Someone reviews it A manager approves it πŸ’° Done!
──────────── ────────────────── ───────────────────── ────────
DRAFT β†’ SUBMITTED β†’ REVIEWED β†’ APPROVED
↓
REIMBURSED (your own card)
DONE (company card)
```
> πŸ’‘ **What's new here:** There's now a **"Reviewed" step in the middle**. An expense can't be approved unless someone has reviewed it first. This prevents accidental approvals.
If an expense is **rejected**, it goes back to you so you can fix and resubmit:
```
SUBMITTED β†’ REJECTED β†’ (you fix it) β†’ SUBMITTED again βœ…
```
---
### πŸ‘€ What You Can Do (Based on Your Role)
**If you're a regular team member:**
- βž• Create your own expenses
- πŸ“€ Submit them for review
- πŸ”„ Resubmit if rejected
- πŸ‘€ See only your own expenses
**If you're an Owner or Admin:**
- βœ… Everything above, plus...
- πŸ” Review expenses ("GeprΓΌft")
- βœ… Approve expenses
- ❌ Reject expenses
- πŸ’³ Mark as Reimbursed or Done
- πŸ‘οΈ See everyone's expenses (depending on visibility settings)
---
### πŸ‘οΈ New: Off-Books Visibility Setting
Some expenses are sensitive and marked as "Off-Books." Admins can now control who sees them:
**Settings β†’ Expenses β†’ Off-Books Visibility**
| Setting | Who can see Off-Books expenses |
|---|---|
| πŸ”’ **Creator Only** *(default)* | Only the person who created it β€” nobody else |
| πŸ‘‘ **Owners Only** | Owners see all; everyone else sees only their own |
| 🌍 **All Members** | Everyone in the workspace can see them |
---
### πŸ“₯ New: Creating Expenses from Uploaded Documents
When you open a document in **Files β†’ Inbox** and turn it into an expense, the system now automatically sets the right status:
| Who are you? | Payment type | What happens |
|---|---|---|
| πŸ‘€ Member | Any | Creates a **Draft** β€” needs to go through approval |
| πŸ‘‘ Owner | Company card | **Auto-approved** immediately β€” skips the queue |
| πŸ‘‘ Owner | Your own card | Creates a **Draft** β€” still needs approval |
> πŸ’‘ Members only see "Create Draft Expense." Owners get an extra "Approve & Create" button for company-paid expenses.
---
### πŸ“‹ New: Activity Timeline on Every Expense
Open any expense and scroll down β€” you'll see a new **Activity Log** that shows the full story:
```
βœ… Created by Maria Chen Feb 15 at 9:02 AM
πŸ“€ Submitted by Maria Chen Feb 15 at 9:05 AM
πŸ” Reviewed by James Park Feb 16 at 2:30 PM
βœ… Approved by James Park Feb 16 at 2:31 PM
πŸ’° Reimbursed by James Park Feb 17 at 10:00 AM
```
---
### πŸ§ͺ Test Plan β€” Try It Yourself
> **Before you start:**
> - You'll need **two accounts**: one regular Member and one Owner/Admin
> - Make sure Expenses is enabled under **Settings β†’ Modules**
---
#### Test 1 β€” Create & Submit an Expense (Member)
1. Log in as a **Member**
2. Go to **Expenses** β†’ click **New Expense**
3. Fill in: date, amount, description (e.g. *"Team lunch"*), category
4. Hit **Save**
> You should see the expense appear with a **DRAFT** badge
5. Open the expense β†’ click **Submit**
> Badge changes to **SUBMITTED** βœ…
---
#### Test 2 β€” Review & Approve (Owner)
1. Log in as an **Owner**
2. Find the submitted expense from Test 1
3. Click **Mark as Reviewed**
> Badge changes to **REVIEWED** βœ…
4. Now click **Approve**
> Badge changes to **APPROVED** βœ…
5. Click **Reimburse**
> Badge changes to **REIMBURSED** βœ… β€” expense is complete!
---
#### Test 3 β€” Try to Skip the Review Step (should fail)
1. As a **Member**, create and submit a new expense
2. As an **Owner**, open it β€” try to click **Approve** *without* clicking Reviewed first
> β›” The Approve button should be greyed out or unavailable until you click Reviewed
---
#### Test 4 β€” Reject & Resubmit
1. As a **Member**, create and submit an expense
2. As an **Owner**, click **Reject**
> Badge becomes **REJECTED**
3. Log back in as the **Member** β€” open the rejected expense
4. Make a small edit, then click **Submit** again
> Badge goes back to **SUBMITTED** βœ… β€” it's back in the queue
---
#### Test 5 β€” Company Card Auto-Approve (Owner)
1. As an **Owner**, create a new expense
2. Set payment type to **Company Card**
3. Save the expense
> βœ… It should immediately show as **APPROVED** β€” no review needed!
---
#### Test 6 β€” Off-Books Visibility
1. As an **Owner**, go to **Settings β†’ Expenses β†’ Off-Books Visibility**
2. Note it's set to **Creator Only**
3. Create an expense and set its type to **Off-Books**
4. Log in as a **Member**
> πŸ”’ The off-books expense should NOT appear in their list
5. Back as Owner, change setting to **All Members**
6. Refresh as the Member
> 🌍 The expense should now be visible
---
#### Test 7 β€” Inbox to Expense
1. Go to **Files β†’ Inbox**
2. Open a document (upload a PDF receipt if needed)
3. As a **Member**: look for the "Create Draft Expense" button β€” use it
> Created expense should be a **DRAFT**
4. As an **Owner** (different document): select **Company Card**, use "Approve & Create"
> Created expense should be **APPROVED** immediately
---
#### Test 8 β€” Activity Log
1. Take any expense that has gone through multiple steps (from the tests above)
2. Open the expense detail
3. Scroll down and expand **Activity Log**
> βœ… You should see each step listed with the name of the person who did it and the time
---
### 🚫 Not in This Release (Don't Test Yet)
These are coming in future updates:
- Recurring expenses
- Multi-level approval chains (e.g. manager β†’ finance)
- Receipt scanning / AI extraction
---
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment