Started with styles borrowed from thread-settings-modal.css and made some tweaks so it looks decent.
Before:
After:
Differential D3707
[web] First pass at styling `InvalidUploadModal` atul on Apr 11 2022, 3:26 PM. Authored by Tags None Referenced Files
Subscribers
Details Started with styles borrowed from thread-settings-modal.css and made some tweaks so it looks decent. Before: After:
Diff Detail
Event TimelineComment Actions It looks like it might be beneficial to create a new component (e.g. Prompt?) that is a modal with title, text, and button(s). It could be used in a couple of places. Edit: looking at the next diffs it seems like a really good idea to have something like that. By doing that we will greatly reduce duplication. Comment Actions
Yeah I agree, that would reduce a lot of the duplication here... and reduce the amount of work the next time we want to create one of these prompts/alerts. Created a Linear issue to track that work: https://linear.app/comm/issue/ENG-1003/[web]-introduce-prompt-component |