Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' into fill-toggle-feedback
* master: (53 commits) Inline text formatting (#1323) Bump terser-webpack-plugin from 2.3.6 to 3.0.1 (#1597) Allow disabling warning on exit in development (#1176) fixing indent that was missed by automation Deploy plugin bundle to wiki repo for easier QA (#1590) Fix initial height of preset panel (#1591) Fixes editor resizing after fullbleed (#1553) More error handling Fix file drag & drop crash for unsupported media types (#1431) Improve test Bump polished from 3.6.1 to 3.6.2 (#1577) Bump react-transition-group from 4.3.0 to 4.4.0 (#1565) Remove Delete Page shortcut tooltip (#1574) renaming filteredStories to just stories. they are not filtered. updating typeahead input and options for new designs. New colors, tighter space, different expanded view. Removing option to filter internally through typeahead since we do all of that outside of the component. some styled component cleanup Remove wp element. Bump @testing-library/dom from 7.2.2 to 7.3.0 (#1563) Remove wp element Lints in tests Add more tests ...
- Loading branch information
Showing
130 changed files
with
11,149 additions
and
1,106 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
# This workflow removes any assets created for manual QA testing | ||
# from the GitHub Wiki repository once a pull request is closed. | ||
# | ||
# See https://github.com/google/web-stories-wp/issues/1398 | ||
|
||
name: Clean up PR assets for closed PRs | ||
|
||
on: | ||
pull_request: | ||
types: [closed] | ||
|
||
jobs: | ||
remove-pr: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v2 | ||
with: | ||
repository: ${{ github.repository }}.wiki | ||
token: ${{ secrets.GITHUB_TOKEN }} | ||
|
||
- name: Prune PR files | ||
run: | | ||
rm -rf "refs/pull/${{ github.event.pull_request.number }}" | ||
git add . | ||
git status | ||
git diff --staged --quiet && echo 'No changes to commit; exiting!' && exit 0 | ||
git commit -m "Prune refs/pull/${{ github.event.pull_request.number }}" | ||
git push origin master | ||
env: | ||
GIT_AUTHOR_EMAIL: ${{ github.actor }}@users.noreply.github.com | ||
GIT_AUTHOR_NAME: ${{ github.actor }} | ||
GIT_COMMITTER_EMAIL: ${{ github.actor }}@users.noreply.github.com | ||
GIT_COMMITTER_NAME: ${{ github.actor }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
52 changes: 52 additions & 0 deletions
52
assets/src/dashboard/app/views/shared/stories/pageHeading.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,52 @@ | ||
/* | ||
* Copyright 2020 Google LLC | ||
* | ||
* Licensed under the Apache License, Version 2.0 (the "License"); | ||
* you may not use this file except in compliance with the License. | ||
* You may obtain a copy of the License at | ||
* | ||
* https://www.apache.org/licenses/LICENSE-2.0 | ||
* | ||
* Unless required by applicable law or agreed to in writing, software | ||
* distributed under the License is distributed on an "AS IS" BASIS, | ||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
* See the License for the specific language governing permissions and | ||
* limitations under the License. | ||
*/ | ||
|
||
/** | ||
* External dependencies | ||
*/ | ||
import { boolean, text } from '@storybook/addon-knobs'; | ||
import { action } from '@storybook/addon-actions'; | ||
import styled from 'styled-components'; | ||
|
||
/** | ||
* Internal dependencies | ||
*/ | ||
import { PageHeading } from '../'; | ||
|
||
export default { | ||
title: 'Dashboard/Components/PageHeading', | ||
component: PageHeading, | ||
}; | ||
|
||
const InnerContent = styled.div` | ||
background-color: red; | ||
width: 100%; | ||
height: 50%; | ||
`; | ||
|
||
export const _default = () => { | ||
return ( | ||
<PageHeading | ||
centerContent={boolean('Center Inner Content', false)} | ||
stories={[]} | ||
handleTypeaheadChange={(value) => action('Search with value: ', value)} | ||
defaultTitle={text('Page Heading', 'My Stories')} | ||
searchPlaceholder={text('Search Placeholder', 'Find Stories')} | ||
> | ||
<InnerContent /> | ||
</PageHeading> | ||
); | ||
}; |
Oops, something went wrong.