Skip to content

Commit

Permalink
Merge branch 'main' into fix/state-error
Browse files Browse the repository at this point in the history
  • Loading branch information
Alex Johnson authored Jan 8, 2023
2 parents 3e74f43 + 79aeb30 commit 86082e3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 11 deletions.
1 change: 1 addition & 0 deletions changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,7 @@
- [#3320](https://github.com/ignite/cli/pull/3320) Allow `id` and `creator` as names when scaffolding a type.
- [#3327](https://github.com/ignite/cli/issues/3327) Scaffolding messages with same name leads to aliasing.
- [#3383](https://github.com/ignite/cli/pull/3383) State error and info are now displayed when using serve UI.
- [#3379](https://github.com/ignite/cli/issues/3379) Fix `ignite docs` issue by disabling mouse support.

## [`v0.25.2`](https://github.com/ignite/cli/releases/tag/v0.25.1)

Expand Down
12 changes: 1 addition & 11 deletions ignite/pkg/markdownviewer/markdownviewer.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,19 +14,9 @@ func View(path string) error {
return err
}

// TODO: Enable bubbletea WithAltScreen and WithMouseCellMotion options when glow supports them
p := ui.NewProgram(conf)

// TODO: refactor to remove deprecated function calls
//nolint:staticcheck,nolintlint
p.EnterAltScreen()
//nolint:staticcheck,nolintlint
defer p.ExitAltScreen()

//nolint:staticcheck,nolintlint
p.EnableMouseCellMotion()
//nolint:staticcheck,nolintlint
defer p.DisableMouseCellMotion()

_, err = p.Run()
return err
}
Expand Down

0 comments on commit 86082e3

Please sign in to comment.