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

Support for zcli theme preview #176

Merged
merged 16 commits into from
May 10, 2023
Merged

Support for zcli theme preview #176

merged 16 commits into from
May 10, 2023

Conversation

luis-almeida
Copy link
Contributor

@luis-almeida luis-almeida commented Apr 14, 2023

Description

918bff3 feat: adding support for zcli:theme preview

b392bca doc: documenting zcli:theme preview

f73a3ad Addressing PR feedback

2a22bf8 Address 'Unable to compile TypeScript' error

338bba8 Address 'type:check' failure

7b01916 Do not start preview if validation fails

2c73f21 Covering theme:preview with functional tests

8a2cd40 Replace fs.watch with chokidar to fix Ubunto build

e4b3d9c Monitoring changes in the assets and settings folders as well

23401eb Rename zcli:theme command to zcli:themes

9f3c5f9 Implements basic livereload

8e46ece Fix typos

8499859 Use zcli login instead of custom logic

2f1b78d Improve logging

ec0afa4 Add X-Zendesk-Request-Originator header

cd6e974 Adding a CODEOWNERS file

Detail

This PR adds support for zcli theme:preview and hopefully provides an easy migration from ZAT.
This ZAT being in maintenance mode, this migration is long overdue.

We plan to add other commands, e.g. validate or publish in the near future but we're starting with preview to ease the review of an already quite long PR.

Checklist

  • 💂‍♂️ includes new unit and functional tests

@luis-almeida luis-almeida requested review from sarmadsangi and a team April 14, 2023 08:59
@luis-almeida
Copy link
Contributor Author

I've had to work around a few issues with the typescript setup while developing and it seems like I'm seeing the same ones in this failed build. I wasn't sure if this should be something I should address in this PR as it's related to apps. Any guidance there would be very much appreciated 🙏🏼

Copy link
Contributor

@anpa anpa left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you for this PR! This is AMAZIIIING! 🎉 🎉 🎉

I left some minor comments / questions, but nothing major so feel free to ignore them in order to push this forward. I've tested on my machine and it works just great 👏 💖

.github/CONTRIBUTING.md Outdated Show resolved Hide resolved
docs/theme.md Outdated Show resolved Hide resolved
packages/zcli-theme/src/commands/theme/preview.ts Outdated Show resolved Hide resolved
@luis-almeida luis-almeida force-pushed the luis.theme_preview branch 9 times, most recently from aad7f59 to e51a3cc Compare April 28, 2023 08:46
@sostopher
Copy link
Contributor

I can't review this, but wanted to just put a comment in to say, AMAZING! Thank you all 🎉

@luis-almeida luis-almeida force-pushed the luis.theme_preview branch 2 times, most recently from fe31076 to acd8940 Compare May 8, 2023 09:26
Copy link
Contributor

@sarmadsangi sarmadsangi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great work team! LGTM 🚀

Can we please add CODEOWNERS file with this change, where packages/zcli-themes is owned by your team and rest is by team vegemite? :)

Copy link

@anialesniak anialesniak left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚀

@luis-almeida luis-almeida merged commit cc655ed into master May 10, 2023
@luis-almeida luis-almeida deleted the luis.theme_preview branch May 10, 2023 11:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants