Skip to content
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

Merged
merged 7 commits into from
Mar 3, 2023
Merged

Add Studio settings page #3379

merged 7 commits into from
Mar 3, 2023

Conversation

mattseddon
Copy link
Member

@mattseddon mattseddon commented Mar 2, 2023

2/2 main <- #3387 <- this

This 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.

@mattseddon mattseddon added the product PR that affects product label Mar 2, 2023
@mattseddon mattseddon self-assigned this Mar 2, 2023
import { EmptyState } from '../../shared/components/emptyState/EmptyState'
import { Button } from '../../shared/components/button/Button'

export const Studio: React.FC = () => {
const Connect: React.FC = () => {
Copy link

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.

@mattseddon mattseddon force-pushed the add-studio-settings-page branch from 1e4d6ca to 27144c1 Compare March 3, 2023 02:23
@mattseddon mattseddon changed the base branch from main to add-live-share-studio March 3, 2023 02:36
@mattseddon mattseddon changed the base branch from add-live-share-studio to main March 3, 2023 02:55
@mattseddon mattseddon changed the base branch from main to add-live-share-studio March 3, 2023 03:06
@mattseddon mattseddon force-pushed the add-studio-settings-page branch 2 times, most recently from 7aa6377 to b7d81f9 Compare March 3, 2023 05:18
@mattseddon mattseddon force-pushed the add-live-share-studio branch from e92150a to e0a8220 Compare March 3, 2023 05:18
@mattseddon mattseddon marked this pull request as ready for review March 3, 2023 05:19
@mattseddon mattseddon requested a review from shcheklein March 3, 2023 05:19
@mattseddon mattseddon mentioned this pull request Mar 3, 2023
3 tasks
@mattseddon mattseddon changed the base branch from add-live-share-studio to main March 3, 2023 08:09
@mattseddon mattseddon force-pushed the add-studio-settings-page branch from b7d81f9 to 244fbed Compare March 3, 2023 08:09
@mattseddon mattseddon changed the base branch from main to add-live-share-studio March 3, 2023 08:10
Base automatically changed from add-live-share-studio to main March 3, 2023 20:01
@mattseddon mattseddon force-pushed the add-studio-settings-page branch from 244fbed to 0b37d00 Compare March 3, 2023 20:28
@mattseddon mattseddon enabled auto-merge (squash) March 3, 2023 20:29
@codeclimate
Copy link

codeclimate bot commented Mar 3, 2023

Code Climate has analyzed commit 0b37d00 and detected 1 issue on this pull request.

Here's the issue category breakdown:

Category Count
Complexity 1

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.

@mattseddon mattseddon merged commit 598b61b into main Mar 3, 2023
@mattseddon mattseddon deleted the add-studio-settings-page branch March 3, 2023 20:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
product PR that affects product
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants