feat(office): mail preview, infinite scroll, pane resize, and scrollbars
Release Please / Release Please (push) Skipped
Tests / Test (Go 1.22) (push) Skipped
Tests / Test (Go stable) (push) Skipped
Release / GoReleaser (push) Failing after 38s
Release Please / Release Please (push) Skipped
Tests / Test (Go 1.22) (push) Skipped
Tests / Test (Go stable) (push) Skipped
Release / GoReleaser (push) Failing after 38s
Polish the office TUI with proportional pane layout, drag resize, live filtering, HTML mail preview, paginated mail lists, overflow scrollbars, flattened navigation, and project save/status fixes; add UpdateProjectStatus. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
+12
@@ -204,3 +204,15 @@ func (c *Client) UpdateProject(req ProjectUpdateRequest) (*Project, error) {
|
||||
Response *Project `json:"response"`
|
||||
}{p})
|
||||
}
|
||||
|
||||
// UpdateProjectStatus sets project lifecycle status (open, paused, closed).
|
||||
func (c *Client) UpdateProjectStatus(id int, status string) (*Project, error) {
|
||||
p := &Project{}
|
||||
return p, c.Query(Request{
|
||||
Uri: fmt.Sprintf("/api/2.0/project/%d/status", id),
|
||||
Method: "PUT",
|
||||
Body: map[string]string{"status": status},
|
||||
}, &struct {
|
||||
Response *Project `json:"response"`
|
||||
}{p})
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user