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

DXCDT-544: Add universal-login customize command #882

Merged
merged 20 commits into from
Nov 2, 2023

Conversation

sergiught
Copy link
Contributor

@sergiught sergiught commented Oct 17, 2023

🔧 Changes

This PR adds the auth0 universal-login customize command that allows users to preview all branding customizations in a browser window.

📚 References

🔬 Testing

📝 Checklist

  • All new/changed/fixed functionality is covered by tests (or N/A)
  • I have added documentation for all new/changed functionality (or N/A)

@codecov-commenter
Copy link

codecov-commenter commented Oct 17, 2023

Codecov Report

Attention: 182 lines in your changes are missing coverage. Please review.

Comparison is base (62a21b2) 73.40% compared to head (991514d) 72.90%.
Report is 5 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #882      +/-   ##
==========================================
- Coverage   73.40%   72.90%   -0.51%     
==========================================
  Files          92       93       +1     
  Lines       11895    12337     +442     
==========================================
+ Hits         8732     8994     +262     
- Misses       2647     2822     +175     
- Partials      516      521       +5     
Files Coverage Δ
internal/auth0/auth0.go 100.00% <100.00%> (ø)
internal/cli/prompts_custom_text.go 68.50% <ø> (+0.67%) ⬆️
internal/cli/universal_login.go 90.06% <100.00%> (+0.06%) ⬆️
internal/cli/universal_login_templates.go 46.47% <100.00%> (+0.37%) ⬆️
internal/cli/universal_login_customize.go 58.63% <58.63%> (ø)

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

sergiught and others added 18 commits November 1, 2023 10:42
Co-authored-by: Rita Zerrizuela <zeta@widcket.com>
Co-authored-by: Rita Zerrizuela <zeta@widcket.com>
Send branding data on websocket message request
* Add make command to generate universal-login preview assets

* Add universal-login preview assets

* Add route to serve universal-login customize assets

* Update assets

* Minor tweaks to web server url path

* Update assets

* Add npm install to make assets

* Remove ws_port query param

* Update assets

* Tiny improvements
Expand test coverage for ul customize
Exclude global client from fetch all apps in ul customize
Update ul customize assets
@sergiught sergiught force-pushed the feature/auth0-universal-login-customize branch from 2c77d49 to ad1ff8c Compare November 1, 2023 09:42
* Adding notification in storybook

* Adding notification in CLI

* Adjust command path in helper text

---------

Co-authored-by: Will Vedder <will.vedder@okta.com>
Co-authored-by: Sergiu Ghitea <28300158+sergiught@users.noreply.github.com>
@sergiught sergiught marked this pull request as ready for review November 2, 2023 07:25
@sergiught sergiught requested a review from a team as a code owner November 2, 2023 07:25
Copy link
Contributor

@willvedd willvedd left a comment

Choose a reason for hiding this comment

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

Great! 🎉

@sergiught sergiught merged commit 046bdd3 into main Nov 2, 2023
8 checks passed
@sergiught sergiught deleted the feature/auth0-universal-login-customize branch November 2, 2023 13:08
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.

3 participants