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

Modular Editor v2 #2504

Merged
merged 21 commits into from
Mar 6, 2020
Merged

Modular Editor v2 #2504

merged 21 commits into from
Mar 6, 2020

Conversation

gettinToasty
Copy link
Contributor

  • Adds ability to create multiple tabs with different layouts
  • Adds two more layouts
  • Adds Stream Preview and Recording Preview elements

To do:

  • Prime Flow

render() {
return (
<div class={cx(styles.columns, styles.sidePadded)}>
<div
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Similar blocks of code found in 2 locations. Consider refactoring.

import { WindowsService } from 'services/windows';

@Component({})
export default class StreamPreview extends BaseElement {
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Similar blocks of code found in 2 locations. Consider refactoring.

import { WindowsService } from 'services/windows';

@Component({})
export default class RecordingPreview extends BaseElement {
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Similar blocks of code found in 2 locations. Consider refactoring.

Copy link
Member

@avacreeth avacreeth left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice this is looking great. Just a couple questions about how you're managing state.

app/components/SideNav.tsx Outdated Show resolved Hide resolved
app/components/pages/LayoutEditor.tsx Outdated Show resolved Hide resolved
};
}

class LayoutViews extends ViewHandler<ILayoutServiceState> {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Props for using the new views system.

@codeclimate
Copy link

codeclimate bot commented Mar 5, 2020

Code Climate has analyzed commit fed1d9b and detected 4 issues on this pull request.

Here's the issue category breakdown:

Category Count
Duplication 4

View more on Code Climate.

@gettinToasty gettinToasty merged commit 7d941c4 into staging Mar 6, 2020
@gettinToasty gettinToasty deleted the sb_modular_2 branch March 6, 2020 00:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants