-
-
Notifications
You must be signed in to change notification settings - Fork 217
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
Sticky case tile in web apps #33819
Sticky case tile in web apps #33819
Conversation
…t-container This is a semantic change: content belongs in the content container, not after it.
Now that #webforms is inside .content-container, which is also a .container, it's getting double padding. Fix that.
There are enough outer containers.
Unnecessary and causes inconsistency with other screens
This may be why #webforms was outside of .form-container: on app preview, there's no .form-container. Deal with this with a style in an app preview file.
This is another side effect of removing the double .container Also nest some related styles together.
@@ -97,6 +97,7 @@ | |||
@checkbox-default-color: @call-to-action-mid; | |||
|
|||
@breadcrumb-separator: '>'; | |||
@breadcrumb-height-cloudcare: 46px; |
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.
@biyeun I don't need to do anything in B5, right, since the Web Apps migration hasn't started?
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.
yes, correct. you can add that in when you are migrating web apps
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.
This will affect all persistent case tiles, whether they're in a case list or a form
Does this interact at all with the sticky map (any screen size) or map+header (on small screens)?
@@ -134,6 +134,18 @@ | |||
|
|||
} | |||
|
|||
.case-tile-container { | |||
position: sticky; | |||
position: -webkit-sticky; |
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.
Is this still necessary? It looks like Safari supports regular position: sticky
since late 2019.
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.
thanks - a457a02
Otherwise, a border & shadow appear even when there's no tile.
…-hq into jt/anchored-submit-bar-visual-fix+jls/web-apps-sticky-tile
This is just mimicking web apps HTML.
There isn't a .container on the page anymore, and the table doesn't need a custom line height.
I suspect this was added to remove the border added by .ui-widget-content
This was an override for a .ui-widget-content rule that set link text to dark grey.
Requesting review of recent commits. Fixed https://dimagi-dev.atlassian.net/browse/QA-5983 with e9d5bc9, which removed a 10+-year-old line that automatically adds FYI @biyeun |
@orangejenny noting that we chatted about this offline and that my recommendation is to put this change on staging and see if it causes any issues. if not it's g2g from my perspective |
@biyeun yep, it's been on staging for a few days without issue and I've done some light smoke testing on pages using jQuery UI |
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 for the detailed commit messages
Product Description
https://dimagi-dev.atlassian.net/browse/USH-3980
Make persistent case tiles stick to the top of the screen. This will affect all persistent case tiles, whether they're in a case list or a form.
Also makes a few minor styling adjustments. Review by commit.
Feature Flag
Case tiles
Safety Assurance
Safety story
This is all styling changes, but I'm requesting QA to make sure none of the "cleanup" has unwanted side effects.
Automated test coverage
doubt it
QA Plan
https://dimagi-dev.atlassian.net/browse/QA-5877
Rollback instructions
Labels & Review