Repository navigation
docs(website): show promotion and rollback in a live UI hero - #439
Merged
Merged
Conversation
The hero now plays the UI's deployment page: a click on Promote switches the stable views to a staged deployment one at a time, then the previous deployment is opened from the list and rolled back. The terminal, the tagline and the problem cards make way for it, the five walkthrough steps become a stepper on wide screens, and the SQLTide mark sits behind the headline in fine dots.
Deploying sqltide with
|
| Latest commit: |
9dd4892
|
| Status: | ✅ Deploy successful! |
| Preview URL: | https://7a447a96.sqltide.pages.dev |
| Branch Preview URL: | https://docs-homepage-live-ui.sqltide.pages.dev |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Why
The homepage should lead with what SQLTide does best: promoting a change to a streaming pipeline, and rolling it back, without downtime. The hero terminal, tagline and problem cards made the page text-heavy and boxy. This brings it in line with sqlbuild.com.
Changes
ui-hero.js). In a loop, the pointer clicks Promote and the two stable views switch to the staged deployment one at a time, as the UI and docs describe. Then it opens the previous deployment from the list and rolls back. Labels and colours come from the UI. IDs and row counts are illustrative. The loop pauses off screen and stays still with reduced motion. Without JavaScript the hero is text only.hero-mark.js). Dots fade out round the paragraph, install command and buttons, so the text always reads cleanly.Verification
npm run build,npm run check:links(130 pages, 0 broken links) andpython scripts/check_production.py.npx playwright test: 9 passed, including the axe checks in light and dark, desktop and Pixel 7.