Skip to content

Commit

Permalink
Add project status updates
Browse files Browse the repository at this point in the history
  • Loading branch information
Dan Nadler committed Mar 28, 2024
1 parent 678d0f4 commit b74dbe0
Show file tree
Hide file tree
Showing 5 changed files with 332 additions and 57 deletions.
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,11 +1,12 @@
# Project Journal
## Development Tasks / TODO
### v0.2.0
- [ ] Allow the user to modify the System Prompt
- [x] Allow the user to modify the System Prompt
- [ ] Allow the user to select the OpenAI language model
- [ ] Allow the user to provide examples of output style
- [ ] Generate all project summaries and compile into a top-level summary
- [ ] Constrain summary to a specific date range
- [x] Integrate a Gantt chart overview
### Future
- [ ] Ingest and sync with notes on the file system (eg. Obsidian vault)
- [ ] Show summary streaming results from LLM
Expand Down
33 changes: 32 additions & 1 deletion src-tauri/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,38 @@ fn migrations() -> Vec<Migration> {
kind: MigrationKind::Up,
};

return vec![migration, m2, m3, m4, m5];
let m6 = Migration {
version: 6,
description: "update_status_table",
sql: "create table status_dg_tmp
(
id integer not null
constraint status_pk
primary key autoincrement,
project_id integer
constraint status_projects_id_fk
references projects
on delete cascade,
progress integer,
start_date text not null,
end_date text not null,
date_created text not null
);
insert into status_dg_tmp(id, project_id, progress, start_date, end_date)
select id, project, progress, start_date, end_date
from status;
drop table status;
alter table status_dg_tmp
rename to status;
",
kind: MigrationKind::Up,
};

return vec![migration, m2, m3, m4, m5, m6];
}

#[cfg_attr(mobile, tauri::mobile_entry_point)]
Expand Down
2 changes: 1 addition & 1 deletion src-tauri/tauri.conf.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"productName": "Project Journal",
"version": "0.1.2",
"version": "0.1.3",
"identifier": "io.tortoise.project-journal",
"build": {
"beforeDevCommand": "npm run dev",
Expand Down
Loading

0 comments on commit b74dbe0

Please sign in to comment.