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

feat(unify): add growth prompts #18626

Merged
merged 61 commits into from
Oct 25, 2021
Merged

Conversation

marktnoonan
Copy link
Contributor

Additional details

This PR:

  • adds some icons and logos
  • extends our Button component to render an <a> instead of a <button> if a href prop is passed. This is pretty much the API that Veutify provides as well. The setup for this is kind of verbose but means the one set of styles we have created to represent the buttons from Figma can be used regardless of whether the right element is a link or true button.
  • pulls the docs menu content into its own component as TopNav was getting a bit crowed with the new sections
  • adds the growth prompts. For keyboard a11y reasons they are actually a state of the docs menu itself, as the docs menu focus/open state needs to be maintained. There's also a little bit of a workaround here to reset the prompt when menu closes. I'd really like if Headless UI emitted a 'change' event when the state of the component changed so we didn't need the workaround.
  • reworks TopNav to make room for the new prompts

How has the user experience changed?

growth.prompts.mov

How to test

Open the launchpad, and in the docs menu click on "Setup CI" or "Smart Orchestration and the related prompt should appear.

PR Tasks

  • Have tests been added/updated?

@cypress-bot
Copy link
Contributor

cypress-bot bot commented Oct 25, 2021

Thanks for taking the time to open a PR!

@cypress
Copy link

cypress bot commented Oct 25, 2021



Test summary

18554 3 216 7Flakiness 3


Run details

Project cypress
Status Failed
Commit a86e69b
Started Oct 25, 2021 7:27 PM
Ended Oct 25, 2021 7:44 PM
Duration 17:12 💡
OS Linux Debian - 10.9
Browser Multiple

View run in Cypress Dashboard ➡️


Failures

navigation_spec.js Failed
1 ... > throws when headers is not an object
assertions_spec.js Failed
1 ... > rejects any element not in the document
window_spec.js Failed
1 ... > throws when passed the invalid: '[object Object]' as width

Flakiness

commands/net_stubbing_spec.ts Flakiness
1 network stubbing > waiting and aliasing > can timeout waiting on a single request using "alias.request"
e2e/redirects_spec.js Flakiness
1 redirection > meta > binds to the new page after a timeout
cypress/proxy-logging-spec.ts Flakiness
1 Proxy Logging > request logging > xhr log has response body/status code

This comment has been generated by cypress-bot as a result of this project's GitHub integration settings. You can manage this integration in this project's settings in the Cypress Dashboard

Copy link
Contributor

@JessicaSachs JessicaSachs left a comment

Choose a reason for hiding this comment

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

LGTM, fixed some imports and swapped animation to be driven by TW.

@marktnoonan marktnoonan merged commit 0d098ae into unified-desktop-gui Oct 25, 2021
@marktnoonan marktnoonan deleted the UNIFY-406-growth-modal branch October 25, 2021 20:51
tgriesser added a commit that referenced this pull request Oct 27, 2021
* unified-desktop-gui:
  feat: Adding a cache layer for remote queries, e2e test helpers (#18652)
  fix: overflow clip to prevent selector header from dissapearing (#18649)
  feat(unify): command log color update (#18596)
  build: run frontend-shared tests in CI (#18628)
  Update README.md
  feat: Deprecate run-ct / open-ct, and update all examples to use --ct instead (#18422)
  feat(unify): add growth prompts (#18626)
tgriesser added a commit that referenced this pull request Oct 27, 2021
* unified-desktop-gui:
  feat: Adding a cache layer for remote queries, e2e test helpers (#18652)
  fix: overflow clip to prevent selector header from dissapearing (#18649)
  feat(unify): command log color update (#18596)
  build: run frontend-shared tests in CI (#18628)
  Update README.md
  feat: Deprecate run-ct / open-ct, and update all examples to use --ct instead (#18422)
  feat(unify): add growth prompts (#18626)
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.

2 participants