Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

zcli theme:preview is not a zcli command #28

Closed
ohitsdylan opened this issue Jan 15, 2021 · 15 comments
Closed

zcli theme:preview is not a zcli command #28

ohitsdylan opened this issue Jan 15, 2021 · 15 comments
Labels
enhancement New feature or request

Comments

@ohitsdylan
Copy link

Expectations

Preview a local Zendesk theme, similar to zat theme preview

Reality

This does not seem to be a command at all (anymore?).

Steps to Reproduce

  1. zcli theme:preview [FILE]

Issue details

  • Command: zcli theme:preview [FILE]
  • Version: @zendesk/zcli/1.0.0-beta.4 linux-x64 node-v14.15.4
  • OS: Linux Mint 20.1

I notice that the packages/zcli-themes directory is gone, but the documentation for this command still exists. Is this something that was removed? Will it return? I don't really build apps, but the local theme preview was a boon for us frontend people.

Additionally, for zcli theme:preview [FILE] what should [FILE] be? The manifest? Or the whole theme folder?

Thank you!

@nikomax
Copy link

nikomax commented Feb 1, 2021

+1

@nathanpurcell
Copy link

+1

We're running in to issues on Big Sur. The advice being given on the article relating to installing ZAT is to migrate to ZCLI. I understand this is in beta but it would be really helpful if the theme preview command could be reinstated - not least for beta testing purposes.
Right now I can't develop a theme locally using either ZAT or ZCLI.

@sarmadsangi
Copy link
Contributor

@ohitsdylan Hi Dylan, apologies for the confusion, theme command was just a left over from POC, it was not intended to be released as part of the ZCLI beta.

I ll forward this request to our team to look into bringing themes commands to ZCLI.

@ohitsdylan
Copy link
Author

@ohitsdylan Hi Dylan, apologies for the confusion, theme command was just a left over from POC, it was not intended to be released as part of the ZCLI beta.

I ll forward this request to our team to look into bringing themes commands to ZCLI.

Please do! If support for ZAT is going to be dropped we will have no other way of developing Guide themes.

@nathanpurcell
Copy link

Seconded - some of the replies from the Zendesk team reference ZCLI as the way to tackle theme development so I'd mark this as urgent.

@sarmadsangi
Copy link
Contributor

sarmadsangi commented Feb 16, 2021 via email

@pelargir
Copy link

+1

How are we expected to develop and preview themes locally if ZAT is no longer being worked on and ZCLI doesn't have support for theme previews?

@nathanpurcell
Copy link

@pelargir I don't know what's going on with ZCLI development as it's quiet on all fronts. But for now, ZAT still seems to work OK for me.

@ohitsdylan
Copy link
Author

I notice that Zendesk added a "maintenance mode" message to the ZAT repo README and is pointing people to ZCLI, which is not helpful if ZCLI doesn't have a theme preview option. ZAT does still work well enough.

@zach-anthony zach-anthony added the enhancement New feature or request label Mar 7, 2022
@alexk-lb
Copy link

It looks like this has been essentially abandoned for a year? I wanted to reiterate how important the theme preview is for anyone using Zendesk and looking to build custom templates and styles. Since it's not maintained and has become non-functional in ZAT this should be a priority in ZCLI.

@boonier
Copy link

boonier commented Aug 18, 2022

I had the same issue and just couldn't figure out what was going on (as a newbie to Zendesk), but ended up installing ZAT correctly on my M1 mac just to be able to edit the themes locally. The docs allude to ZCLI being a replacement, but it just isn't, and I ended up wasting a load of time.

see here zendesk/zendesk_apps_tools#351 (comment)

@jakebellacera
Copy link

jakebellacera commented Jan 30, 2023

Just bumping this thread. While zat is workable, it's using an old version of ruby and really difficult to get working properly, especially on macOS Ventura. Would love to understand what the long term plan here is from the Zendesk team.

@Empreintes
Copy link

Also a little bump, any news ?

@sarmadsangi
Copy link
Contributor

This command was added recently here in this PR #176, it should be released soon.

cc @luis-almeida @zendesk/vegemite

@luis-almeida
Copy link
Contributor

The latest beta version has been released on npm so you should be able to use the new zcli themes:preview command after upgrading the @zendesk/zcli package.
Please do let us know if you find any issues or bugs with it. Any feedback would be very much appreciated!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests