feat: Learning Hub - Milestone 2#2416
Conversation
🎩 PreviewA preview build has been created at: |
f9ccfa0 to
c1361f2
Compare
37e7483 to
1caa750
Compare
1caa750 to
dcf45e8
Compare
dcf45e8 to
36890cb
Compare
f11f8c5 to
e3505bc
Compare
36890cb to
33bcd9e
Compare
1674b0f to
bc08155
Compare
ec17201 to
99fc45b
Compare
9465f4f to
e099377
Compare
99fc45b to
39fdb4d
Compare
e099377 to
e8777f3
Compare
9e504c5 to
13a695f
Compare
83a38f1 to
e46e42f
Compare
dfb2fe4 to
6644e89
Compare
e46e42f to
01015dc
Compare
6644e89 to
a72ba22
Compare
0f926fe to
9d81435
Compare
6059aca to
00bd0c8
Compare
00bd0c8 to
65047a8
Compare
9d81435 to
2291b55
Compare
2291b55 to
c43b025
Compare
f6fe1e5 to
ab71553
Compare
7618521 to
aeba38f
Compare
c1e70ec to
f8a3078
Compare
2b646c2 to
49b4606
Compare
49b4606 to
78e5321
Compare
f8a3078 to
01cfb6d
Compare
|
|
||
| export function TourCompletedBadge() { | ||
| return ( | ||
| <Badge size="sm" variant="outline" className="text-green-600"> |
There was a problem hiding this comment.
🤖 This is an AI-generated code review comment.
The extracted completed-state badge centralizes the repeated markup, which is good, but the new component still passes a Tailwind color class directly into the Badge primitive. The Tangle UI primitive rule says not to style primitives through className; color intent should be represented by a semantic prop/variant or a Layer-3 pattern so visual language stays centralized.
Suggestion: Add/use a semantic completed/success badge variant or a small Layer-3 CompletedBadge pattern that owns the success styling without callers passing className to the primitive.
Rule: tangle-ui-review checklist §6 / project UI primitives rule: never pass className to a Tangle UI primitive; use semantic props or Layer-3 patterns.

Description
Removes the unnecessary fat from the guided tours mockup and turns it into a user-ready experience.
Removes:
Plus update tour durations
Related Issue and Pull requests
Closes https://github.com/Shopify/oasis-frontend/issues/584
Closes https://github.com/Shopify/oasis-frontend/issues/621
Closes https://github.com/Shopify/oasis-frontend/issues/583
Type of Change
Checklist
Screenshots (if applicable)
Test Instructions
Additional Comments