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

feat: Add new slide layouts: section, statement, big fact, quote. #1209

Merged
merged 16 commits into from Aug 22, 2022

Conversation

ZimChristine
Copy link
Contributor

Description

The changes in the PR add four new types of Slide Layouts: Section, Statement, Big fact, and Quote. These layouts were modeled after Keynote slide templates with the goal of making slide creation quicker and easier for common use cases.

Type of Change
[ x ] New feature (non-breaking change which adds functionality)
How Has This Been Tested?
Please describe the tests that you ran to verify your changes. Provide instructions so we can reproduce. Please also list any relevant details for your test configuration.
The changes include adding new tests in packages/spectacle/src/components/slide-layout.test.tsx
While developing the feature, I manually consumed the layout components in the Presentation deck in index.tsx

Checklist: (Feel free to delete this section upon completion)
[ n/a ] I have included a changeset if this change will require a version change to one of the packages.
[ x ] I have performed a self-review of my own code
[ x ] I have commented my code, particularly in hard-to-understand areas
[ x ] I have made corresponding changes to the documentation
[ x ] I have run pnpm run check:ci and all checks pass
[ x ] I have added tests that prove my fix is effective or that my feature works
[ x ] My changes generate no new warnings
[ n/a ] Any dependent changes have been merged and published in downstream modules

@github-actions github-actions bot temporarily deployed to staging-1209 August 18, 2022 23:22 Inactive
@ZimChristine ZimChristine mentioned this pull request Aug 18, 2022
1 task
Copy link
Contributor

@gksander gksander left a comment

Choose a reason for hiding this comment

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

This looks great! A couple itty bitty suggestions, but I'm looking forward to launching this!

Also, I think I forgot to mention this earlier, but can you follow this section and add a changeset file to this PR so we can get this batched in with our next release?

packages/spectacle/src/components/slide-layout.tsx Outdated Show resolved Hide resolved
packages/spectacle/src/components/slide-layout.tsx Outdated Show resolved Hide resolved
packages/spectacle/src/components/slide-layout.tsx Outdated Show resolved Hide resolved
packages/spectacle/src/components/slide-layout.tsx Outdated Show resolved Hide resolved
@github-actions github-actions bot temporarily deployed to staging-1209 August 19, 2022 20:24 Inactive
@github-actions github-actions bot had a problem deploying to staging-1209 August 19, 2022 20:24 Failure
@github-actions github-actions bot temporarily deployed to staging-1209 August 19, 2022 20:29 Inactive
Copy link
Contributor

@gksander gksander left a comment

Choose a reason for hiding this comment

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

Looks good! I just found a few more spots to replace string with string | ReactNode, left those as code suggestions here!

packages/spectacle/src/components/slide-layout.tsx Outdated Show resolved Hide resolved
packages/spectacle/src/components/slide-layout.tsx Outdated Show resolved Hide resolved
docs/api-reference.md Outdated Show resolved Hide resolved
docs/api-reference.md Outdated Show resolved Hide resolved
docs/api-reference.md Outdated Show resolved Hide resolved
docs/api-reference.md Outdated Show resolved Hide resolved
@github-actions github-actions bot temporarily deployed to staging-1209 August 22, 2022 20:25 Inactive
@github-actions github-actions bot temporarily deployed to staging-1209 August 22, 2022 20:26 Inactive
ZimChristine and others added 4 commits August 22, 2022 13:29
Co-authored-by: Grant Sander <gksander93@gmail.com>
Co-authored-by: Grant Sander <gksander93@gmail.com>
Co-authored-by: Grant Sander <gksander93@gmail.com>
Co-authored-by: Grant Sander <gksander93@gmail.com>
@github-actions github-actions bot temporarily deployed to staging-1209 August 22, 2022 20:31 Inactive
Copy link
Contributor

@gksander gksander left a comment

Choose a reason for hiding this comment

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

Let's get this thing :merged: so you can start working on code blocks!

@ZimChristine ZimChristine merged commit ee95207 into main Aug 22, 2022
@ZimChristine ZimChristine deleted the slide-layouts branch August 22, 2022 21:29
@github-actions github-actions bot mentioned this pull request Aug 22, 2022
@gksander gksander mentioned this pull request Aug 23, 2022
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.

None yet

2 participants