-
Notifications
You must be signed in to change notification settings - Fork 2.9k
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
[HelpDot] Add styling for home page and hub page #27988
Conversation
… help-dot-styling
@0xmiroslav Please copy/paste the Reviewer Checklist from here into a new comment on this PR and complete it. If you have the K2 extension, you can simply click: [this button] |
Is this final PR for HelpDot project? |
@0xmiroslav you could say that. |
@rushatgabhane lint is failing |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
One suggestion, this is looking good!
@include breakpoint($breakpoint-desktop) { | ||
grid-template-columns: 50% 50%; | ||
} | ||
} | ||
|
||
.platform-cards-group { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Would it be worth extending .cards-group with this one, and just override the breakpoint?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
it's just a code style preference, so let's do nothing?
let me know if there is an unwritten rule to prefer extend and override
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
i think we shouldn't override styles because then the order of styles will change the behavior
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I kind of agree that what @dangrous suggests could be a bit cleaner, but I don't think we should treat it as a blocker because it's not a big material difference.
@dangrous if you feel strongly, I'm sure @rushatgabhane would be happy to open a follow-up PR. 🙂
I'm going to resolve this for now to make sure that our team can start writing all the support articles and iterating on the helpsite in production 🚀
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
thank you @dangrous @roryabraham 😊
on second look, i agree.
will fix it after this PR
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yep this is fine to wait!
Please pull main. Lint error is now gone on main |
@roryabraham @dangrous merged main to fix lint, ready for a re-review! |
Just to confirm if this requires C+ review and checklist? |
hi @0xmiroslav, if you're able to complete the checklist today please go for it! |
on it now |
Reviewer Checklist
Screenshots/Videos |
@0xmiroslav I don't think we need C+ review here. I'll handle the checklist |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks pretty good. Thanks for cleaning up the styles. Would love to animate the hamburger menu on mobile. It's kind of abrupt
i like. coming up in future PRs! |
Like we said above, I think this is a pretty good suggestion but should be NAB since it's a minor code style preference. I'm sure Rushat will be happy to address this in a follow-up if you feel strongly :)
deployExpensifyHelp workflow was triggered successfully: https://github.com/Expensify/App/actions/runs/6300964523 |
✋ This PR was not deployed to staging yet because QA is ongoing. It will be automatically deployed to staging after the next production release. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Works for me! Fine to have those follow ups as, er, follow ups
🚀 Deployed to staging by https://github.com/roryabraham in version: 1.3.75-0 🚀
|
🚀 Deployed to production by https://github.com/mountiny in version: 1.3.75-12 🚀
|
🚀 Deployed to staging by https://github.com/roryabraham in version: 1.3.76-0 🚀
|
🚀 Deployed to production by https://github.com/mountiny in version: 1.3.76-6 🚀
|
cc: @roryabraham @dangrous @arosiclair
Details
Add styling for platform and hubs page, and fixed a typo in "Coming soon" for all articles.
Design doc link
Fixed Issues
$ #27150
PROPOSAL: N.A.
Tests
Home page
Hubs page
Offline tests
QA Steps
<
PR Author Checklist
### Fixed Issues
section aboveTests
sectionOffline steps
sectionQA steps
sectiontoggleReport
and notonIconClick
)myBool && <MyComponent />
.src/languages/*
files and using the translation methodWaiting for Copy
label for a copy review on the original GH to get the correct copy.STYLE.md
) were followedAvatar
, I verified the components usingAvatar
are working as expected)/** comment above it */
this
properly so there are no scoping issues (i.e. foronClick={this.submit}
the methodthis.submit
should be bound tothis
in the constructor)this
are necessary to be bound (i.e. avoidthis.submit = this.submit.bind(this);
ifthis.submit
is never passed to a component event handler likeonClick
)StyleUtils.getBackgroundAndBorderStyle(themeColors.componentBG)
)Avatar
is modified, I verified thatAvatar
is working as expected in all cases)ScrollView
component to make it scrollable when more elements are added to the page.main
branch was merged into this PR after a review, I tested again and verified the outcome was still expected according to theTest
steps.Screenshots/Videos
Web
Home page
Hubs page
Mobile Web
Home page
Hubs page