-
-
Notifications
You must be signed in to change notification settings - Fork 67
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
DEV - Update styling of the Service Request details modal #1870
Comments
@traycn I am modifying this ticket slightly:
edit: mixup fixed |
@Joy-Truex @allisonjeon I've put together the list of Action Items the dev will need to make to implement the design. I'm needing help confirming the exact specs for a couple of points: Q1
I found Q2
I note that "Closed` will not appear on every SR, only SRs that have been closed. Is my suggestion good? Or is there a better way to handle SRs that don't have a Closed Date? Q3
Similar question as Q1. I am deducing 82px by inspecting Y position and doing math. Let me know if there is a more precise way to do this. Thanks! |
@traycn if the Action Items look OK to you, and once we get a follow up from UIUX leads, I think we are good to move this ticket into PrioBacklog |
Hey @ryanfchase!
An easy way to find this is to highlight object and hover over the second object while holding down the option key (mac).
Yes thats perfectly fine.
Same here!!
I'm gonna go ahead and remove the "ready for design lead" label, please tag me again if any other questions come up :) |
Availability: Weekday Evenings |
Blockers:
|
Hey @Joy-Truex ! Could you provide some insight into Dorian's questions from the previous comment. Summarized below:
|
This comment has been minimized.
This comment has been minimized.
@DorianDeptuch I've addressed point 2 by providing a screenshot and instructions on finding pixel distances. You can find this in Resources of main ticket. I've also updated 2 of the Action Items:
Feel free to mark this as resolved if this clarifies your question. |
@traycn some replies for ya!
can you please specify what the modal is for? i'm not sure that we do.
addressed by Ryan, ty!!
Design prefers this as it's more concise and therefore more scannable in this instance |
Hey @Joy-Truex !
The current look of the Loading spinner in the modal is below:
Can design provide a mockup of the modal with a Loading spinner for dev to implement? |
Following up on the SR date title's text @DorianDeptuch ! We'll be using the "Reported" text for the SR date value. |
Per conversation with dev and design lead, the design of the SR detail's loading modal should remain unchanged. Only use a border radius of 30px for the SR details modal, as demonstrated in the mockup. Screenshot of SR detail's loading modal
Turning this back over to @DorianDeptuch and moving to In Progress. If there are further questions, leave them in a comment. Don't forget to include the |
Updated ETA: 1/24 End of Day |
Blockers:[Resolved]
One idea is to add dynamic styling within the |
@DorianDeptuch You were on the right trail! I was able to utilize popup's addClassName method to add a class to the popup. However, I found that the class is inserted into the modal's container (see references). I then targeted LMK if you need me to provide more instructions on how to incorporate my fix into your branch. I didn't use your branch because I wanted to ensure there were no bugs introduced by any of your code that I was unfamiliar with. cc @traycn ! ResourcesDemo Branch
"testing" class gets added to the modal's container
Code (see note about "separate" modal)<div ref={(el) => (this.requestDetailSpinner = el)}>
<RequestDetailLoader requestId={selectedRequestId} loadingCallback={() => {
if (this.popup) {
this.popup.setDOMContent(this.requestDetail);
this.popup.addClassName(classes.testing);
}
}}/> Highlighting the modal container in dev tools, see divs with classes
|
Thanks for the help @traycn & @ryanfchase PR created #1906 |
Provided feedback and addressed how your changes interact with a pretty moderate bug: @DorianDeptuch please have a look at the feedback, decide if you're ok to address it -- if so leave an ETA for completion. I also want to bring this up at product planning because I think we can also address the problem through design. I want to float the idea of "only bringing up SR details on-click", which would drastically reduce the number of accidental db requests. |
Availability: 2/1 - 2/2: Evenings, 2/11 and Onward: Evenings. |
Overview
We need to update the Service Request detail modal to more clearly indicate the Neighborhood Council pertaining to the Service Request
Action Items
30px
#000000
Roboto, bold, 40px
Roboto, regular, 24px
Roboto, thin, 16px
,#FFFFFF
(looks grey but its not),18px padding-left
Roboto, SemiBold, 16px
,underline
# 1-458940111
Roboto, Light, 14px
,#FFB104
Roboto, Thin, 10px
,#FFFFFF
(also looks grey but its not)64px
from the bottom. (see resources)Resources/Instructions
Screenshot before proposed changes
Screenshot after proposed changes
This is achieved in Figma by doing the following:
[NEW] added per request from comment
Pixel length of Source/Agency to bottom of component
The text was updated successfully, but these errors were encountered: