Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
40 commits
Select commit Hold shift + click to select a range
7528e5d
Add tide repository access
rphovley Sep 6, 2025
9700dd9
added new completion paradigm
rphovley Sep 6, 2025
d4cc744
tide manager
rphovley Sep 7, 2025
adf8712
add scheduler for interval checking challenges/tides
rphovley Sep 7, 2025
35d47bd
remove uneeded comments
rphovley Sep 7, 2025
323b9b1
scaffold TideManager
rphovley Sep 7, 2025
6669480
add tide_template migrations
rphovley Sep 7, 2025
d5e1202
add functionality to get or create tides from templates
rphovley Sep 9, 2025
a9289a1
move tide anager into src directory
rphovley Sep 9, 2025
0cad32a
adding tides repo functionality
rphovley Sep 10, 2025
1a679dd
implement perform_tide_check orchestration
rphovley Sep 13, 2025
5077d27
add initial linking of tides to the ebb app
rphovley Sep 17, 2025
cb12297
add handling for multiple records per activity state
rphovley Sep 19, 2025
4413d38
tmp
rphovley Sep 21, 2025
501ba02
usage summary changes
rphovley Sep 26, 2025
6434776
move daily/weekly into header
rphovley Sep 26, 2025
37a6d7e
fill in clockwise
rphovley Sep 26, 2025
c0498a5
add recharts pie chart with segmented hours
rphovley Sep 26, 2025
5db2bd1
improved animation/contrast completed goals
rphovley Sep 26, 2025
eb5f07c
emphasize tide overflow time
rphovley Sep 26, 2025
bc5d1f2
skip completion check if already completed
rphovley Sep 27, 2025
dc43109
add tests for get tide prgress cached
rphovley Sep 27, 2025
7bd500e
fix timing problem with counting activity state time
rphovley Sep 27, 2025
7f4506f
show actual tide progress data
rphovley Sep 27, 2025
219b393
get total creating time on day off
rphovley Sep 27, 2025
c487d2d
make interval check every 30 seconds
rphovley Sep 27, 2025
904ec71
refetch goal time automatically
rphovley Sep 27, 2025
09e1f90
only show tides for canary users
rphovley Sep 27, 2025
c869510
add category time to kanband board
rphovley Sep 28, 2025
e1f9d81
Make goals data change with updating the day in focus
rphovley Sep 28, 2025
62d78dc
Add editable goals and fix timezone mismatch
rphovley Oct 1, 2025
73557fb
fix cache skip
rphovley Oct 2, 2025
003b7f6
fix state management for tides edit
rphovley Oct 2, 2025
ad3f0e9
move tide update logic to service
rphovley Oct 2, 2025
228a612
remove unused functions
rphovley Oct 2, 2025
a82716b
fix reload on save and tide timezone error
rphovley Oct 2, 2025
0466164
add days of the week to view relative goals
rphovley Oct 2, 2025
5fa8366
alllow selecting from the list of days to view your time
rphovley Oct 2, 2025
bcbe663
Add the tides completed badge
rphovley Oct 2, 2025
2adce24
Add total time to graph
rphovley Oct 2, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
39 changes: 39 additions & 0 deletions src-tauri/CLAUDE.md
Original file line number Diff line number Diff line change
Expand Up @@ -465,3 +465,42 @@ Essential crates used in this project:
4. **Platform Integration**: Native system APIs for enhanced functionality
5. **Event-Driven**: Tauri events for real-time communication with frontend
6. **Testing**: Comprehensive unit and integration tests

## Development Process

### Incremental Development Pattern

When implementing new functionality, follow this pattern:

1. **One Function at a Time**: Implement a single function completely before moving to the next
2. **Test Each Function**: Write comprehensive tests for each function before proceeding
3. **Validate Functionality**: Run tests to ensure the function works correctly
4. **Iterate**: Only after tests pass, move to the next function

**Example workflow:**
```rust
// Step 1: Implement single function
pub async fn get_or_create_active_tides_for_period(&self, evaluation_time: OffsetDateTime) -> Result<Vec<Tide>> {
// Implementation
}

// Step 2: Write tests for this function
#[tokio::test]
async fn test_get_or_create_active_tides_basic() -> Result<()> {
// Test implementation
}

// Step 3: Run tests and validate
// Step 4: Only then implement next function
```

**Benefits:**
- **Easier Review**: Smaller, focused changes are easier to validate
- **Better Debugging**: Issues are isolated to single functions
- **Incremental Progress**: Each step provides working functionality
- **Reduced Complexity**: Avoid overwhelming changes

**Avoid:**
- Implementing multiple complex functions simultaneously
- Large code changes without intermediate testing
- Adding many functions before validating any work
13 changes: 13 additions & 0 deletions src-tauri/Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions src-tauri/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ tauri-build = { version = "2", features = [] }
chrono = "0.4"
dirs = "6.0.0"
ebb-db = { path = "./src/ebb_db" }
ebb_tide_manager = { path = "./src/ebb_tide_manager" }
log = "0.4.25"
once_cell = "1.19"
os-monitor = { version = "0.4.9" }
Expand Down
Loading