Skip to content
This repository has been archived by the owner on Aug 31, 2023. It is now read-only.

Commit

Permalink
fix(cmd/cli): fix old version code
Browse files Browse the repository at this point in the history
  • Loading branch information
yeqown committed Feb 28, 2022
1 parent 901bf6f commit ea49772
Show file tree
Hide file tree
Showing 2 changed files with 93 additions and 6 deletions.
87 changes: 87 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,87 @@
# [](https://github.com/yeqown/apollo-synchronizer/compare/v1.3.0...v) (2022-02-28)


### Bug Fixes

* **cmd/gui:** setting save has no response ([fc17496](https://github.com/yeqown/apollo-synchronizer/commit/fc17496b24ead552b05dcf1e0b6034ae83c7d107))
* open broser URL ([f0f3aa8](https://github.com/yeqown/apollo-synchronizer/commit/f0f3aa839b4cd30331a3bd078b05dfb362711e46))
* upload file size count ([ed76dfc](https://github.com/yeqown/apollo-synchronizer/commit/ed76dfc3ad21f0d653fee0cc3aaed13aba7820d6))
* **cmd/gui:** handle number edge cases ([62d6b6f](https://github.com/yeqown/apollo-synchronizer/commit/62d6b6fd07cfde3cb1b29a528effa7ea42d1e408))
* **cmd/gui:** support copy and paste ([305f15d](https://github.com/yeqown/apollo-synchronizer/commit/305f15d2a2374fe138bd49cd69983da04a831778))


### Features

* **cmd/gui:** finish synchronize section functioins ([b328f05](https://github.com/yeqown/apollo-synchronizer/commit/b328f05223f128594ee157fa45590ec89bd21104))
* **cmd/gui:** support edit setting and style adjust ([1acca12](https://github.com/yeqown/apollo-synchronizer/commit/1acca123489450c6a95c983a3fd9cdc854661f8c))
* re-sign Renderer's API ([ad8d9cc](https://github.com/yeqown/apollo-synchronizer/commit/ad8d9ccb17d54d554a08dcef7bdac0a7be62dc09))
* re-sign Synchronizer's API ([8e586f2](https://github.com/yeqown/apollo-synchronizer/commit/8e586f287d318de39083b734c03b250c552abc70))
* **cmd/gui:** construct synchronize skeleton ([bde29f1](https://github.com/yeqown/apollo-synchronizer/commit/bde29f17292e324bf45a234c5908bf26b1fdd507))
* **cmd/gui:** dashboard page ([6c90757](https://github.com/yeqown/apollo-synchronizer/commit/6c90757d16b7cec9fcbbdfd334f0b9a04744d2e0))
* **cmd/gui:** dashborad and setting data flow debug ([8faa207](https://github.com/yeqown/apollo-synchronizer/commit/8faa20783b5f733712298e1642a9105281e87adf))
* **cmd/gui:** fill synchronize events and details ([7808957](https://github.com/yeqown/apollo-synchronizer/commit/7808957864758707617863f8f5682077a760dca9))
* **gui:** import antd component library ([d79e48b](https://github.com/yeqown/apollo-synchronizer/commit/d79e48bfe5aacef6e5567d8c4a0c3a178e62c7ce))
* **gui:** import vue and re-initial ([2253fb8](https://github.com/yeqown/apollo-synchronizer/commit/2253fb8eeba4365bce407d8370ee2b74adbce3a2))
* **gui:** import vue-router ([a486d7c](https://github.com/yeqown/apollo-synchronizer/commit/a486d7ce39d3b0f67383bb6bea134156c3333b07))
* **gui:** initial with wails ([e92b411](https://github.com/yeqown/apollo-synchronizer/commit/e92b4118bc74e32fe46a8e8a858c327e89928e46))



## [1.2.2](https://github.com/yeqown/apollo-synchronizer/compare/v1.2.1...v1.2.2) (2022-02-08)


### Features

* modify bool format ([48ff02d](https://github.com/yeqown/apollo-synchronizer/commit/48ff02d47093b2d5e7938322664846ce67e90fdf))
* singleton of default path ([d11d0b6](https://github.com/yeqown/apollo-synchronizer/commit/d11d0b62851e26b4e7472b6c9d3ea40ce3dee771))



## [1.2.1](https://github.com/yeqown/apollo-synchronizer/compare/v1.2.0...v1.2.1) (2021-10-22)


### Features

* **renderer/termui:** add arrow between local and remote list ([c60d41c](https://github.com/yeqown/apollo-synchronizer/commit/c60d41c0c1bc15d56a23231237e47bb7a49b37e5))



# [1.2.0](https://github.com/yeqown/apollo-synchronizer/compare/v1.1.0...v1.2.0) (2021-10-21)


### Features

* **apollo:** always update namespace item instead create it. ([5b75a83](https://github.com/yeqown/apollo-synchronizer/commit/5b75a8332cfe04beb80ee18eced8d18ac2209170))
* **apollo:** auto publish flag support [#1](https://github.com/yeqown/apollo-synchronizer/issues/1) ([b8a7712](https://github.com/yeqown/apollo-synchronizer/commit/b8a7712aa92854f71d894704e6aab3ce1455ba09))
* **cmd:** overwrite has default true value ([fa3fa0b](https://github.com/yeqown/apollo-synchronizer/commit/fa3fa0b1d443bbd5ea819c0983f131e7ac151a0b))
* **render:** terminal output ([501970b](https://github.com/yeqown/apollo-synchronizer/commit/501970b032b2a8ccec405684f298f67fea1c4935))
* **render:** terminal ui basic support ([86f8519](https://github.com/yeqown/apollo-synchronizer/commit/86f8519f94a8d892ec1b96dcbac910910e7b03fb))
* filter support filetype [#3](https://github.com/yeqown/apollo-synchronizer/issues/3) ([45ba7a5](https://github.com/yeqown/apollo-synchronizer/commit/45ba7a5d7b685a9ce6ff124bcce0022cdc9dede4))



# [1.1.0](https://github.com/yeqown/apollo-synchronizer/compare/v1.0.0...v1.1.0) (2021-10-20)


### Features

* **diff:** optimize diff algorithm; apply force and override ([42582ad](https://github.com/yeqown/apollo-synchronizer/commit/42582ad9817e20a3b09083d19c1409421cd45e25))



# [1.0.0](https://github.com/yeqown/apollo-synchronizer/compare/1d5e4f71075752f9e5d506ca725772d804bd9916...v1.0.0) (2021-10-20)


### Features

* **apollo:** almost finish openapi client ([ba25fa1](https://github.com/yeqown/apollo-synchronizer/commit/ba25fa11b8c0f8af71d294043e2de2485c498846))
* **cmd:** pre-handle environment on local machine ([bac8d9f](https://github.com/yeqown/apollo-synchronizer/commit/bac8d9fe1215f1b20a98b3f5387651645cbbb8fc))
* **cmd:** scope initial and cmd prepare. ([904beeb](https://github.com/yeqown/apollo-synchronizer/commit/904beeb3c2da35535db21cd342007bda047a2a06))
* **cmd:** set default path ([fcd5847](https://github.com/yeqown/apollo-synchronizer/commit/fcd584787c1030d9a40b83de28123da37d105af7))
* **synchronize:** download process ([457b24c](https://github.com/yeqown/apollo-synchronizer/commit/457b24ce734d7151b3636c284ded27e11c7c5297))
* **synchronize:** synchronize process ([d4673ab](https://github.com/yeqown/apollo-synchronizer/commit/d4673ab68d61c308029a3b1e799106fd5dc7af24))
* **synchronize:** upload process ([03fc7c8](https://github.com/yeqown/apollo-synchronizer/commit/03fc7c8ece449abeb7d1670d35b09543d8354878))
* components supplement ([1d5e4f7](https://github.com/yeqown/apollo-synchronizer/commit/1d5e4f71075752f9e5d506ca725772d804bd9916))



12 changes: 6 additions & 6 deletions cmd/asy/render_termui.go
Original file line number Diff line number Diff line change
Expand Up @@ -184,7 +184,7 @@ func (t termuiRenderer) RenderingResult(results []*asy.SynchronizeResult) {
_ = t.wait()
}

func (t termuiRenderer) renderResultSingle(r *synchronizeResult) []string {
func (t termuiRenderer) renderResultSingle(r *asy.SynchronizeResult) []string {
formatBool := func(b bool) string {
if b {
return "O"
Expand All @@ -193,10 +193,10 @@ func (t termuiRenderer) renderResultSingle(r *synchronizeResult) []string {
}

return []string{
string(r.mode),
r.key,
formatBool(r.succeeded),
formatBool(r.published),
r.error,
string(r.Mode),
r.Key,
formatBool(r.Succeeded),
formatBool(r.Published),
r.Error,
}
}

0 comments on commit ea49772

Please sign in to comment.