Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
10 changes: 0 additions & 10 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -83,16 +83,6 @@ jobs:

**Usage:** Run `req` in your terminal

**Breaking Changes:**
Database schema has been updated. Please remove your existing database:
```bash
# Linux/macOS
rm ~/.cache/req/app.db

# Windows
del %LOCALAPPDATA%\req\app.db
```

**Note:** This is early development software. Core HTTP execution features are still in progress.

Full changelog: https://github.com/maniac-en/req/commits/${{ env.VERSION }}
Expand Down
3 changes: 3 additions & 0 deletions internal/tui/app/context.go
Original file line number Diff line number Diff line change
Expand Up @@ -13,20 +13,23 @@ type Context struct {
HTTP *http.HTTPManager
History *history.HistoryManager
DummyDataCreated bool
Version string
}

func NewContext(
collections *collections.CollectionsManager,
endpoints *endpoints.EndpointsManager,
httpManager *http.HTTPManager,
history *history.HistoryManager,
version string,
) *Context {
return &Context{
Collections: collections,
Endpoints: endpoints,
HTTP: httpManager,
History: history,
DummyDataCreated: false,
Version: version,
}
}

Expand Down
2 changes: 1 addition & 1 deletion internal/tui/app/model.go
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,7 @@ func (a AppModel) Header() string {
func (a AppModel) Footer() string {
name := styles.ApplyGradientToFooter("REQ")
footerText := styles.FooterSegmentStyle.Render(a.Views[a.focusedView].GetFooterSegment())
version := styles.FooterVersionStyle.Width(a.width - lipgloss.Width(name) - lipgloss.Width(footerText)).Render("v0.1.0-alpha.2")
version := styles.FooterVersionStyle.Width(a.width - lipgloss.Width(name) - lipgloss.Width(footerText)).Render(a.ctx.Version)
return lipgloss.JoinHorizontal(lipgloss.Left, name, footerText, version)
}

Expand Down
1 change: 1 addition & 0 deletions main.go
Original file line number Diff line number Diff line change
Expand Up @@ -141,6 +141,7 @@ func main() {
endpointsManager,
httpManager,
historyManager,
Version,
)

// populate dummy data for demo
Expand Down
Loading