-
Notifications
You must be signed in to change notification settings - Fork 29
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
Add Studio settings page #3379
Add Studio settings page #3379
Conversation
import { EmptyState } from '../../shared/components/emptyState/EmptyState' | ||
import { Button } from '../../shared/components/button/Button' | ||
|
||
export const Studio: React.FC = () => { | ||
const Connect: React.FC = () => { |
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.
Function Connect
has 41 lines of code (exceeds 30 allowed). Consider refactoring.
1e4d6ca
to
27144c1
Compare
7aa6377
to
b7d81f9
Compare
e92150a
to
e0a8220
Compare
b7d81f9
to
244fbed
Compare
244fbed
to
0b37d00
Compare
Code Climate has analyzed commit 0b37d00 and detected 1 issue on this pull request. Here's the issue category breakdown:
The test coverage on the diff in this pull request is 93.0% (85% is the threshold). This pull request will bring the total coverage in the repository to 95.8% (0.0% change). View more on Code Climate. |
2/2
main
<- #3387 <- thisThis PR adds a studio settings page and wires it up with the sidebar once Studio is connected.
Demo
E2E Flow
Screen.Recording.2023-03-03.at.1.26.47.pm.mov
View checkbox updates config
Screen.Recording.2023-03-03.at.1.15.20.pm.mov
Notes:
I played around with adding different buttons on the LHS a lot but there is no room/not enough text to provide all of the required details. Whatever is there seems very vague, this seems like the best option for now.
There really isn't much to add into a settings page at the moment but this moves in that general direction.
I also adjusted the approach based on feedback provided in #3378.