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 resize support to box when changing font-face on display/edit mode #1275

Merged
merged 27 commits into from
May 19, 2020

Commits on Apr 20, 2020

  1. Configuration menu
    Copy the full SHA
    731d2d3 View commit details
    Browse the repository at this point in the history
  2. Merge branch 'master' into fix/text-box-not-resizing

    * master: (30 commits)
      Update list of Google Fonts (#1272)
      Exclude template assets from plugin bundle for now (#1267)
      Alignment panel fix for single element (#1193)
      Bump polished from 3.5.1 to 3.5.2 (#1262)
      Bump eslint-plugin-testing-library from 3.0.3 to 3.0.4 (#1264)
      Bump lint-staged from 10.1.4 to 10.1.6 (#1263)
      Bump babel-jest from 25.3.0 to 25.4.0 (#1265)
      Bump jest from 25.3.0 to 25.4.0 (#1266)
      Removed unneeded init code
      Update MultiPartPill to use css power
      Updated SVGs to use currentColor
      Fixed typos
      Template Detail: Updated header and added left/right controls
      use thumbnail size from theme
      Dashboard: Remove circular imports from dashboard app (#1256)
      Bump lint-staged from 10.1.3 to 10.1.4 (#1257)
      fix popover layout
      fix dropdown alignment
      removes new line for buttons
      no boolean in proptypes
      ...
    obetomuniz committed Apr 20, 2020
    Configuration menu
    Copy the full SHA
    4e4a74b View commit details
    Browse the repository at this point in the history

Commits on Apr 22, 2020

  1. Configuration menu
    Copy the full SHA
    ddbfa6f View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    5ab0266 View commit details
    Browse the repository at this point in the history
  3. Improve docs.

    obetomuniz committed Apr 22, 2020
    Configuration menu
    Copy the full SHA
    1d4c346 View commit details
    Browse the repository at this point in the history

Commits on Apr 23, 2020

  1. Configuration menu
    Copy the full SHA
    f15ec78 View commit details
    Browse the repository at this point in the history

Commits on Apr 24, 2020

  1. Add fontSize support. Remove content support. Add a better support fo…

    …r MULTIPLE. Improve useLoadFontFiles.js
    obetomuniz committed Apr 24, 2020
    Configuration menu
    Copy the full SHA
    ef07e8f View commit details
    Browse the repository at this point in the history

Commits on Apr 27, 2020

  1. Update textStyle tests

    obetomuniz committed Apr 27, 2020
    Configuration menu
    Copy the full SHA
    a0c6cad View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    468738b View commit details
    Browse the repository at this point in the history
  3. Fix typo

    obetomuniz committed Apr 27, 2020
    Configuration menu
    Copy the full SHA
    117100f View commit details
    Browse the repository at this point in the history

Commits on Apr 28, 2020

  1. Merge branch 'master' into fix/text-box-not-resizing

    * master: (85 commits)
      Bump puppeteer from 3.0.1 to 3.0.2 (#1359)
      Bump @svgr/webpack from 5.3.1 to 5.4.0 (#1352)
      Bump jest-matcher-deep-close-to from 1.3.0 to 2.0.0 (#1351)
      Use relative paths for lint-staged (#1357)
      Allow php nightly tests to fail (#1356)
      Update list of Google Fonts (#1345)
      Bump commander from 5.0.0 to 5.1.0 (#1344)
      Updated Build and Continuous Integration Tooling (#1096)
      Bump use-debounce from 3.4.1 to 3.4.2 (#1334)
      Bump terser-webpack-plugin from 2.3.5 to 2.3.6 (#1338)
      Bump @testing-library/dom from 7.2.1 to 7.2.2 (#1336)
      removing unnecessary returns
      fixing unnecessary returns and removing unused mock in useStoryApi test per carlos feedback
      Bump css-loader from 3.5.2 to 3.5.3 (#1332)
      cleaning up unecessary values getting passed to useStoryApi
      moving story related actions to their own useStoryApi file in provider to clean up apiProvider file, doing the same for fonts.
      Add catch block to mocked requests
      Use auto-save for preview (#1247)
      Unskip tests (#1327)
      Revert "Update tests"
      ...
    obetomuniz committed Apr 28, 2020
    Configuration menu
    Copy the full SHA
    880b46e View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    05c31fd View commit details
    Browse the repository at this point in the history

Commits on Apr 29, 2020

  1. Merge branch 'master' into fix/text-box-not-resizing

    * master: (42 commits)
      Client-side font declarations (#1273)
      Bump babel-jest from 25.5.0 to 25.5.1 (#1370)
      Bump jest from 25.5.0 to 25.5.1 (#1371)
      Reduce complexity in DELETE stories from dashboard
      Update POST response for test
      Added duplicate story
      Add the ability to trash a story from dashboard
      Replace mime types with file extensions in error message (#1326)
      Preview media when uploading via paste (#1329)
      Set fixed width on large viewports.
      Added popover panel theme sizes
      Add plus number count and fix colors
      Added tests for filtering hooks
      Added category and color dashboard template filter options
      subbing out the ? operator for an if statement to check that template state exists before iterating through, setting 0 as index if not
      Bump babel-jest from 25.4.0 to 25.5.0 (#1365)
      Bump jest from 25.4.0 to 25.5.0 (#1366)
      updateStory function passed to storyGridView should not be required, since it is not necessary in template view.
      adding layout fixed section to templates view for scroll to top
      catch template details structure up to reducer
      ...
    obetomuniz committed Apr 29, 2020
    Configuration menu
    Copy the full SHA
    e516e7f View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    f130434 View commit details
    Browse the repository at this point in the history

Commits on Apr 30, 2020

  1. Address PR reviews

    obetomuniz committed Apr 30, 2020
    Configuration menu
    Copy the full SHA
    70b6a77 View commit details
    Browse the repository at this point in the history

Commits on May 1, 2020

  1. Merge branch 'master' into fix/text-box-not-resizing

    * master: (46 commits)
      [ImgBot] Optimize images (#1439)
      Update SVG icons (#1409)
      Bump jest from 25.5.2 to 25.5.3 (#1421)
      Bump moment from 2.24.0 to 2.25.0 (#1424)
      Bump lint-staged from 10.2.1 to 10.2.2 (#1428)
      forgot to remove a border from testing
      introducing a resize observer to keep track of the toggle button container on browswer window resize since percentage for margin left of the animated div is not enough for it to recalculate the space correctly. When the observer entry has a contentRect.width that is different from the containerWidth we are setting the container width state with that new width. then using that width in the calculation for the percentage for the margin left in the callback handling resizing. When the width state updates the callback to update dimensions is called because the containerWidth is a dependency and useLayoutEffect is watching for updates in the callback
      dimensions updating on new click if resized
      cleaner ref for calcs
      moving flex container styles for dropdowns on templates to templates instead of header so that pageHeader can just render the children content agnostic of display. Content is reset to block, can make the children have a flex wrapper if desired.
      tweaks to toggle button group to work within wordpress with the container x value to decide the space of the animation FROM the group container - now by padding-left instead of just "left". Initial implementation of new group on my stories. Updating pageHeader to use grid not flexbox to give structure to header components and allow height so that button group knows its space
      tweaks to toggle button group to work within wordpress with the container x value to decide the space of the animation FROM the group container - now by padding-left instead of just "left". Initial implementation of new group on my stories. Updating pageHeader to use grid not flexbox to give structure to header components and allow height so that button group knows its space
      Adding back center action for temlplates to be able to navigate to template detail page
      Updated template data structure to version 15
      Templates: Added static DIY template
      Rename remaining font family vs name bits (#1413)
      Bump @testing-library/react from 10.0.3 to 10.0.4 (#1415)
      Dashboard: New responsive designs for Stories and Templates; Slide out Menu (#1367)
      clean up check for current ref on useLayoutEffect, moving callback out of onClick per Max feedback
      better defaults for if buttons are not present in group, notes for why layout effect hook is in use. null for initial state
      ...
    obetomuniz committed May 1, 2020
    Configuration menu
    Copy the full SHA
    3a91999 View commit details
    Browse the repository at this point in the history

Commits on May 5, 2020

  1. Address some PR reviews.

    obetomuniz committed May 5, 2020
    Configuration menu
    Copy the full SHA
    b65c513 View commit details
    Browse the repository at this point in the history

Commits on May 6, 2020

  1. Merge branch 'master' into fix/text-box-not-resizing

    * master: (109 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
      ...
    obetomuniz committed May 6, 2020
    Configuration menu
    Copy the full SHA
    94fec7d View commit details
    Browse the repository at this point in the history

Commits on May 7, 2020

  1. Configuration menu
    Copy the full SHA
    b7a18ba View commit details
    Browse the repository at this point in the history
  2. Merge branch 'master' into fix/text-box-not-resizing

    * master: (33 commits)
      Bump @testing-library/jest-dom from 5.5.0 to 5.6.0 (#1645)
      Bump @testing-library/dom from 7.4.0 to 7.5.0 (#1635)
      Unify Page Gutter
      Fix bundle size check
      Dashboard: Focus rename input when the rename menu item is selected (#1607)
      Update developer documentation (first pass) (#1476)
      Use CDN for assets on test environment
      Bump puppeteer from 3.0.3 to 3.0.4 (#1620)
      Cleaned up gutters and font sizing
      Revert back to Grid for default
      Hide the publish status column on draft
      Added created date and publish status columns
      Fix typo
      Improve ZIP file generation on CI (#1599)
      Fixes for DISABLE_PREVENT flag (#1618)
      Align flip buttons next to each other (#1461)
      [ImgBot] Optimize images (#1441)
      Bump @ampproject/toolbox-optimizer from 2.3.0 to 2.3.1 (#1568)
      Bump amphtml-validator from 1.0.30 to 1.0.31 (#1567)
      Bump @testing-library/dom from 7.3.0 to 7.4.0 (#1615)
      ...
    obetomuniz committed May 7, 2020
    Configuration menu
    Copy the full SHA
    94c7720 View commit details
    Browse the repository at this point in the history

Commits on May 8, 2020

  1. Address recent PR review

    obetomuniz committed May 8, 2020
    Configuration menu
    Copy the full SHA
    e836308 View commit details
    Browse the repository at this point in the history

Commits on May 13, 2020

  1. Configuration menu
    Copy the full SHA
    a9cf8cf View commit details
    Browse the repository at this point in the history
  2. Merge branch 'master' into fix/text-box-not-resizing

    * master: (99 commits)
      Bump eslint-plugin-react from 7.19.0 to 7.20.0 (#1749)
      Checked if date is moment before wrapping
      Refactored formatted date tests
      Add spy to standardize timing on tests
      Remove tests that used to work in CI but no longer do
      Remove unused import
      Fix snapshot test for useTemplateAPI
      Added support for modal-routing on dashboard.
      Add additional sorting value to ensure the same order. (#1737)
      update tests around reshaping story object
      [ImgBot] Optimize images (#1723)
      Bump @testing-library/dom from 7.5.1 to 7.5.2 (#1732)
      Fixes element measuring relative to fullbleed (better) (#1558)
      swapping to use the decoded html version of the title we have access to to turn html symbols from & to characters &
      adding check for user name to display author
      moving required for users prop type to component level so that we can reuse the shape without it being required. updating displayDate propType to object not string
      some organization of imports
      moving date formatting to the card title level and memoizing
      clean up translation for modified date string in card item
      no need to call edit function inline - this has no functional difference but still
      ...
    obetomuniz committed May 13, 2020
    Configuration menu
    Copy the full SHA
    5bab938 View commit details
    Browse the repository at this point in the history

Commits on May 16, 2020

  1. Configuration menu
    Copy the full SHA
    32121b6 View commit details
    Browse the repository at this point in the history

Commits on May 19, 2020

  1. Merge branch 'master' into fix/text-box-not-resizing

    * master: (43 commits)
      Fix issue templates headers
      Bump karma from 5.0.5 to 5.0.8 (#1851)
      add allow-empty-input in linter so that changes in storybook js don't fail in pre-commit (#1850)
      add FlagsProvider to storybook
      simplify jasmine eslint rules
      Bump @testing-library/dom from 7.5.6 to 7.5.7 (#1829)
      Bump react-moveable from 0.20.6 to 0.20.7 (#1827)
      Bump puppeteer from 3.0.4 to 3.1.0 (#1826)
      review fixes
      Karma: puppeeter support and native events
      ignore karma tests from coverage
      review fixes
      Update karma.config.js
      Update .eslintrc
      Incrase timeout for visual regression test (#1785)
      Dashboard: Adds Tooltips. Borders around Preview Cards. (#1800)
      Update issue & PR templates (#1824)
      Add docs about Stories Labs env (#1815)
      Bump @wordpress/e2e-test-utils from 4.6.0 to 4.7.0 (#1790)
      Add a basic database upgrader. (#1751)
      ...
    obetomuniz committed May 19, 2020
    Configuration menu
    Copy the full SHA
    f95e480 View commit details
    Browse the repository at this point in the history
  2. Clean up promise logic a bit

    Morten Barklund committed May 19, 2020
    Configuration menu
    Copy the full SHA
    124a96d View commit details
    Browse the repository at this point in the history
  3. Merge branch 'master' into fix/text-box-not-resizing

    Morten Barklund committed May 19, 2020
    Configuration menu
    Copy the full SHA
    a4b8199 View commit details
    Browse the repository at this point in the history