-
Notifications
You must be signed in to change notification settings - Fork 179
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
Dashboard: Settings UI #2920
Dashboard: Settings UI #2920
Conversation
Codecov Report
@@ Coverage Diff @@
## master #2920 +/- ##
==========================================
- Coverage 81.49% 81.15% -0.34%
==========================================
Files 704 714 +10
Lines 11953 12016 +63
==========================================
+ Hits 9741 9752 +11
- Misses 2212 2264 +52
|
Size Change: +1 kB (0%) Total Size: 1 MB
ℹ️ View Unchanged
|
handleSortChange={useCallback( | ||
(newSort) => { | ||
sort.set(newSort); | ||
scrollToTop(); | ||
}, | ||
[scrollToTop, sort] | ||
)} | ||
handleSortChange={onSortChange} |
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 is just a nit that pascal asked for yesterday in the rush for beta, making good on the update :D
7907198
to
7e9c097
Compare
assets/src/dashboard/app/views/editorSettings/googleAnalytics/index.js
Outdated
Show resolved
Hide resolved
b433126
to
e239f98
Compare
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.
noice!
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.
Only small nits for your to consider, but it looks good!
<div> | ||
<FileUploadHelperText>{TEXT.context}</FileUploadHelperText> | ||
<UploadContainer> | ||
<p>{'Upload Placeholder'}</p> |
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.
How come "Upload Placeholder" isn't part of the TEXT
const?
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.
because it will go away when this section gets fleshed out to be a file uploader. It's literally just a placeholder visually right now.
…a described by for GA input
…s so adjusting accordingly
7a12e6a
to
fae8cc6
Compare
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 looks good with one minor caution about spreading props on an input.
Summary
Lays groundwork for rest of settings page within the dashboard - file structure and the base UI brought in from Figma.
Relevant Technical Choices
To-do
(These will all be separate)
User-facing changes
Testing Instructions
Addresses #2747