feat: worklog source field, suggestion logic fix, modal form, activity navigation
- Add source column to worklog_entries (migration 014): manual/suggestion/unknown - GetSuggestions now excludes only events linked in worklog_entry_events, not entire nodes — repeated activity same day now produces suggestions - Manual entry form replaced with '+' button + modal dialog - Source display shows correct origin (manual/suggestion/unknown/no-events) - Include-children checkbox hidden when no node selected - Activity events navigate to specific notes/files instead of just case - Expandable row reactivity fixed (journalRows/worklog reassignment)
This commit is contained in:
@@ -0,0 +1,6 @@
|
||||
package storage
|
||||
|
||||
// migration014 — add source column to worklog_entries.
|
||||
const migration014 = `
|
||||
ALTER TABLE worklog_entries ADD COLUMN source TEXT NOT NULL DEFAULT 'unknown';
|
||||
`
|
||||
@@ -70,6 +70,7 @@ var migrationFiles = map[int]string{
|
||||
11: migration011,
|
||||
12: migration012,
|
||||
13: migration013,
|
||||
14: migration014,
|
||||
}
|
||||
|
||||
func (db *DB) runInitialSchema() error {
|
||||
|
||||
Reference in New Issue
Block a user