Suzanne Aitchison
db288c0b4b
Use the Preact ColorPicker in creator onboarding ( #16731 )
...
* use Preact ColorPicker in creator onboarding
* update tests
* update comments
* Update app/javascript/packs/admin/creatorOnboarding.jsx
Co-authored-by: Julianna Tetreault <32834804+juliannatetreault@users.noreply.github.com>
Co-authored-by: Julianna Tetreault <32834804+juliannatetreault@users.noreply.github.com>
2022-03-03 08:22:10 +00:00
Suzanne Aitchison
2fd5de8383
Use new ColorPicker in tag edit form ( #16607 )
...
* Use new ColorPicker in tag edit form
* use classnames, add comment
2022-02-17 14:59:09 +00:00
Suzanne Aitchison
8a14504a8e
Add accessible color picker component ( #16385 )
...
* add colorpicker component
* add tests
* separate out label, change swatch border
2022-02-07 14:30:02 +00:00
ludwiczakpawel
c9ef2ac15c
Modals fixes ( #16310 )
...
* .
* dark
* simplify and add stories
* update stories and docs
* fix
2022-01-27 16:24:23 +01:00
ludwiczakpawel
188877a865
Crayons: Pills component ( #16271 )
2022-01-27 15:34:03 +01:00
Nick Taylor
d227bbf770
Now <viewbox /> is preserved in SVGs when using the inline-react-svg plugin ( #16287 )
2022-01-24 16:25:14 -05:00
Nick Taylor
382b5528c7
Now the close X SVG icon is imported via the inline-react-svg plugin for the Modal component ( #16288 )
2022-01-24 16:01:21 -05:00
Suzanne Aitchison
222ce06f0f
Add new tag autocomplete to editor ( #16025 )
...
* add default placeholder, remove focus on first load
* fix some bugs re autofocus and mouse click to select
* allow custom selected styles to be passed in
* operate on objects with name property rather than plain strings
* WIP main functionality in place
* set default selections, allow a max to be placed on selections
* switch help context
* bug fixes to edit mode, static suggestions
* make sure suggestion resumes when edit begins
* cleanup and docs
* update existing form test
* add component tests
* add more component test cases
* refactor max selections flow, ensure default tag data only loads once
* stop removing combobox properties now the input stays visible
* add max selections test
* refactor
* make sure input refocus happens after blur event
* update cypress tests
* some small renames and doc changes
* only fetch exact matches from added tags
* fix test, update dark theme background
* set a max height on the popover, and ensure options can be scrolled into view
* woops - max height
* Update app/javascript/article-form/components/TagsField.jsx
Co-authored-by: Ridhwana <Ridhwana.Khan16@gmail.com>
* refactors
* stop dropdown from flickering
* use ButtonNew
* remove redundant variant
* nudge PR checks
Co-authored-by: Ridhwana <Ridhwana.Khan16@gmail.com>
2022-01-21 08:58:05 +00:00
ludwiczakpawel
87ff8f16a1
Color tokens ( #16107 )
2022-01-21 07:41:03 +01:00
ludwiczakpawel
43c188eafb
Updated indicators ( #16190 )
2022-01-20 06:25:10 +01:00
ludwiczakpawel
7c07913aa6
Storybook improvements ( #15860 )
...
* storybook backgrounds
* variables for background
* converting colors scss to css
* prepare for theming
* themes
* Update app/javascript/.storybook/preview.js
Co-authored-by: Suzanne Aitchison <suzanne@forem.com>
* restart
* restart
Co-authored-by: Suzanne Aitchison <suzanne@forem.com>
2022-01-14 11:06:42 +01:00
ludwiczakpawel
086a53ba93
Storybook updates ( #15848 )
...
* updates
* updating doc
* Fixed broken documentation in Storybook stories.
* bring back a element
* md --> mdx
* c-* doc update
Co-authored-by: Nick Taylor <nick@dev.to>
2022-01-14 11:06:23 +01:00
ludwiczakpawel
ea28093bbb
Implementing new buttons ( #15843 )
...
* buttons
* view archive link block
* revert font weight change
* save draft title
* revert
* fix
* specs
* specs
* spec
* spec
* for fcks sake
* Change spec for unarchive/archive button from .find to .findByRole
* fix help icon
* improve a11y on close.jsx
* bring back the focus
* .
* Update cypress/integration/seededFlows/publishingFlows/uploadImage.spec.js
Co-authored-by: Suzanne Aitchison <suzanne@forem.com>
* drop icons.jsx
Co-authored-by: Nick Taylor <nick@dev.to>
Co-authored-by: Suzanne Aitchison <suzanne@forem.com>
2022-01-14 10:28:31 +01:00
dependabot[bot]
8bf2b56e42
Bump eslint from 7.32.0 to 8.6.0 ( #15926 )
2022-01-05 13:47:40 -05:00
Suzanne Aitchison
528bd2baa6
Tag autocomplete: storybook multi-select autocomplete component ( #15796 )
...
* core functionality in place
* fix dark theme background issues
* separate list for aria-live, add delete and blur functionality
* fix issue with input resize on edit
* handle input blur, prevent special characters, tweak keyup to keydown to ensure runs before change event
* group buttons and add default styles
* style tweaks
* fix logic error with insert index
* refactors
* clear suggestions on blur, even if no input value
* tweaks
2022-01-05 15:01:07 +00:00
dependabot[bot]
c2659d38df
Bump eslint-config-preact from 1.2.0 to 1.3.0 ( #15834 )
...
* Bump eslint-config-preact from 1.2.0 to 1.3.0
Bumps [eslint-config-preact](https://github.com/preactjs/eslint-config-preact ) from 1.2.0 to 1.3.0.
- [Release notes](https://github.com/preactjs/eslint-config-preact/releases )
- [Commits](https://github.com/preactjs/eslint-config-preact/compare/1.2.0...v1.3.0 )
---
updated-dependencies:
- dependency-name: eslint-config-preact
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
* apply new lint fixes after version bump
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Suzanne Aitchison <suzanne@forem.com>
2021-12-21 14:42:20 +00:00
ludwiczakpawel
9b7503fde3
Update left sidebar links with new Crayons components ( #15757 )
...
* update
* hamburger fix
* Update app/views/shared/_hamburger.html.erb
Co-authored-by: Suzanne Aitchison <suzanne@forem.com>
* updates
* spec
* social media icons
* reading list counter
Co-authored-by: Suzanne Aitchison <suzanne@forem.com>
2021-12-20 08:46:30 +01:00
Suzanne Aitchison
0295dbeabf
Update a11y of ButtonGroup component ( #15765 )
2021-12-15 12:52:33 +00:00
ludwiczakpawel
878c27f9b0
Crayons: buttons followup ( #15720 )
...
* init
* whoops
* components update
* components update
* classes
* variables
* focus
* test
* spec
* test
* adjust colors and variables
* buttons colors
* Update app/javascript/crayons/CTAs/CTA.jsx
Co-authored-by: Suzanne Aitchison <suzanne@forem.com>
* proptype
* remove duplicated tests now in Cypress, enhance Cypress nav menu tests
* premove unneeded viewport in test
* remove focus check for now
* classnames
* Update app/javascript/crayons/CTAs/__stories__/CTAs.mdx
Co-authored-by: Nick Taylor <nick@iamdeveloper.com>
* Update app/javascript/crayons/CTAs/__stories__/CTAs.mdx
Co-authored-by: Nick Taylor <nick@iamdeveloper.com>
* better contrast
* classname
* add secondary button
* variants + docs
* docs updates
* radius-full
* variants oneof
* the?
* default values + extra stories
* Apply suggestions from code review
Co-authored-by: Julianna Tetreault <32834804+juliannatetreault@users.noreply.github.com>
Co-authored-by: Suzanne Aitchison <suzanne@forem.com>
Co-authored-by: Nick Taylor <nick@iamdeveloper.com>
Co-authored-by: Julianna Tetreault <32834804+juliannatetreault@users.noreply.github.com>
2021-12-14 14:43:41 +01:00
ludwiczakpawel
11cabac518
Updating header with new Crayons buttons ( #15653 )
...
* init
* whoops
* components update
* components update
* classes
* variables
* focus
* test
* spec
* test
* adjust colors and variables
* buttons colors
* Update app/javascript/crayons/CTAs/CTA.jsx
Co-authored-by: Suzanne Aitchison <suzanne@forem.com>
* proptype
* remove duplicated tests now in Cypress, enhance Cypress nav menu tests
* premove unneeded viewport in test
* remove focus check for now
* classnames
* Update app/javascript/crayons/CTAs/__stories__/CTAs.mdx
Co-authored-by: Nick Taylor <nick@iamdeveloper.com>
* Update app/javascript/crayons/CTAs/__stories__/CTAs.mdx
Co-authored-by: Nick Taylor <nick@iamdeveloper.com>
* better contrast
* classname
* radius-full
Co-authored-by: Suzanne Aitchison <suzanne@forem.com>
Co-authored-by: Nick Taylor <nick@iamdeveloper.com>
2021-12-09 16:41:18 +01:00
Josh Soref
0403e78f08
Spelling ( #15702 )
...
* spelling: access
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
* spelling: additional
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
* spelling: administrative
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
* spelling: aggregate
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
* spelling: assigns
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
* spelling: attributes
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
* spelling: autocomplete
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
* spelling: because
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
* spelling: between
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
* spelling: bootstrap
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
* spelling: calculating
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
* spelling: captcha
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
* spelling: character
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
* spelling: chosen
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
* spelling: commenter
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
* spelling: competitor
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
* spelling: componentize
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
* spelling: contrast
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
* spelling: corresponding
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
* spelling: description
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
* spelling: destroyed
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
* spelling: destroys
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
* spelling: discussion
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
* spelling: episode
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
* spelling: escaped
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
* spelling: evaluates
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
* spelling: expired
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
* spelling: explicitly
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
* spelling: facebook
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
* spelling: fragment
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
* spelling: functionality
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
* spelling: improper
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
* spelling: incentive
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
* spelling: interfere
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
* spelling: latest
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
* spelling: message
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
* spelling: minimum
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
* spelling: moderator
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
* spelling: mouseover
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
* spelling: mutual
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
* spelling: nonexistent
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
* spelling: notification
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
* spelling: occasionally
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
* spelling: occurrence
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
* spelling: occurs
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
* spelling: octokit
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
* spelling: offset
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
* spelling: omitted
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
* spelling: opacity
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
* spelling: organization
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
* spelling: organizations
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
* spelling: overridden
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
* spelling: override
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
* spelling: overriding
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
* spelling: prefill
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
* spelling: previous
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
* spelling: profile
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
* spelling: recycling
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
* spelling: registered
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
* spelling: repositories
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
* spelling: rescuing
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
* spelling: response
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
* spelling: returns
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
* spelling: second
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
* spelling: separator
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
* spelling: services
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
* spelling: subscriber
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
* spelling: subscription
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
* spelling: success
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
* spelling: successful
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
* spelling: successfully
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
* spelling: suppress
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
* spelling: test
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
* spelling: thought
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
* spelling: uniqueness
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
* spelling: unknown
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
* spelling: unproductive
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
* spelling: unreachable
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
* spelling: unsuccessful
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
* spelling: utilities
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
* spelling: utility
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
* spelling: valid
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
* spelling: voluntarily
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
* spelling: vomited
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
* spelling: website
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
* spelling: withholding
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
Co-authored-by: Josh Soref <jsoref@users.noreply.github.com>
2021-12-07 06:59:10 -07:00
Josh Soref
5324eb1477
Spelling fixes to live code ( #15670 )
...
Co-authored-by: Josh Soref <jsoref@users.noreply.github.com>
2021-12-06 12:11:25 +02:00
ludwiczakpawel
03f97d4625
pullToRefresh adjustments - fixing scrolling hijacking ( #15644 )
...
* increase scorllable area
* fix
* fix
* ..
* adjustments
* revert previous wannabe fixes
* revert previous wannabe fixes
* revert previous wannabe fixes
2021-12-02 17:00:02 +01:00
ludwiczakpawel
eaf0827286
Increase scrollable area on toolbar ( #15615 )
...
* increase scorllable area
* fix
* fix
* ..
2021-12-01 13:59:03 +01:00
Suzanne Aitchison
029d572cb3
markdown toolbar: refactor formatting insert to allow for undo queue ( #15543 )
...
* Refactor formatting insert to allow for undo queue
* use delete command to ensure correct behaviour when replacing with empty string
2021-12-01 09:18:43 +00:00
ludwiczakpawel
245e70d4a8
Crayons: Buttons vs CTAs ( #15311 )
...
* init
* buttons
* buttons, ctas, icons
* ctas fix
* links vs ctas
* alias
* fixes
* add tests for Buttons component
* add tooltip to button story controls
* add link and CTA tests
* add prop types
* docs
* designs
* docs
* focus visible moved to global place
* Updated some component snapshot tests.
* Mocked react-inlinesvg module because of https://github.com/gilbarbara/react-inlinesvg/issues/145\#issuecomment-623453339
* tests
* Copy updates
Co-authored-by: Suzanne Aitchison <suzanne@forem.com>
* missed spots
* Apply suggestions from code review
Co-authored-by: Suzanne Aitchison <suzanne@forem.com>
* danger accent colors
* node
* colors
* adding code comment
* better prop name: style -> variant
* button new
Co-authored-by: Suzanne Aitchison <suzanne@forem.com>
Co-authored-by: Nick Taylor <nick@dev.to>
2021-11-30 20:40:32 +01:00
Suzanne Aitchison
cbd8179e99
open editor guide in new tab ( #15534 )
2021-11-30 08:39:09 -05:00
Suzanne Aitchison
c9b097e574
maintain cursor position while inserting an image ( #15508 )
...
* maintain cursor position while inserting an image
* undo small unintended change
2021-11-30 08:56:36 +00:00
Suzanne Aitchison
315be22b70
prevent default on keyboard shortcut presses ( #15509 )
2021-11-29 08:54:00 -06:00
Suzanne Aitchison
d0dea2228c
Add markdown toolbar to V2 editor ( #15347 )
...
* initial add of toolbar to v2 editor WIP
* fix Form test knocked out by rebase
* basic image upload functionality added to toolbar
* add cypress tests for toolbar
* move image tests to previous cypress spec
* test markdown insertion from buttons in jest
* small tidy up
* remove right padding in scrollable layout, hide scrollbar
* update tests following new line changes
* add more doc comments
* tweak padding css
* create constant for image placeholder
* add image uploader change missed in staging after merge conflict resolution
2021-11-29 07:50:17 +00:00
Suzanne Aitchison
460d2f433a
Markdown toolbar - update new line logic for block syntaxes ( #15343 )
...
* update new line logic for block syntaxes
* use padStart
2021-11-19 06:59:21 +00:00
Suzanne Aitchison
832d0d3a4d
Markdown toolbar: add 'undo' functionality ( #15239 )
...
* WIP - main formatters with undo syntax
* tests for new text area utils
* WIP: formatters undoing and formatting, tests to follow
* small tweak
* WIP - tweaks to heading
* add heading level tests
* refactor link formatting into separate functions, flesh out tests
* add missing test case, adjust link undo
2021-11-10 12:06:25 +00:00
Michael Kohl
6b2160f307
Theming cleanup ( #15237 )
...
* Theming cleanup
* Fix specs
* Use correct method
* Update storybook theme switcher
2021-11-09 10:11:55 -05:00
Suzanne Aitchison
89faac306a
treat cmd and ctrl key shortcuts separately on macOS ( #15265 )
...
* treat cmd and ctrl key shortcuts differently on macOS
* consolidate shortcut key string into Runtime helper
2021-11-03 11:54:15 +00:00
Michael Kohl
0fab8d6634
Theming changes part 1: Rename default and night_theme ( #15176 )
2021-10-28 07:55:46 -04:00
Suzanne Aitchison
5069cd681a
Markdown editor toolbar ( #14876 )
...
* rough starting point, roving tabindex in toolbar, bold and italic buttons
* refactor, add link
* add ul
* add ordered list
* core formatters in place, wip
* overflow options
* add keyboard shortcuts
* tidy up some dodgy classes
* add mocks for runtime in test and storybook, use correct modifier key for tooltip
* style tweaks
* refactor tooltips
* add markdown formatters tests
* add tests for toolbar component, fix mistake in overflow menu tooltips
* undo change no longer needed to button
* fix issue accessing runtime in formatters file
* only show darkened buttons and tooltips when focus-visible is true
* mobile view
* fix for responsive buttons & roving tabindex
* tweaks from PR review
* update cursor position on link insertion
* add a new line after block selection formatting
* align icons in center
* tidy up overflow menu listeners
* small refactors
* test for new text area util
* tidy up new lines after syntaxes
* fix logic in cursor offsets for links
* prevent scroll jumps after inserting syntax
* some style tweaks
* insert level 2 heading with new lines above and below
* update icons
* use margin instead of gap
2021-10-19 09:22:54 +01:00
Suzanne Aitchison
70683d6d86
prevent scroll jumps when using mention autocomplete ( #15031 )
2021-10-12 13:06:27 +01:00
Papu Kumar(ReX)
33742e7907
Fix PropTypes Error Create New Post Page ( #14969 )
2021-10-11 09:48:24 -04:00
Daniel Uber
412fa09026
Rename jest test from spec.js to test.js, so it actually runs ( #14972 )
...
* Rename jest test from spec.js to test.js, so it actually runs
* rename snapshot from spec.js.snap to test.js.snap
2021-10-07 08:13:47 -05:00
Papu Kumar(ReX)
6da90073f6
Fix Prop Types Error #14837 ( #14889 )
...
* Fix Prop Types Error #14837
Fixed prop types errors for Button, ButtonGroup, Modal and articlePage
* #added some checks into default children props
Co-authored-by: Ben Halpern <bendhalpern@gmail.com>
2021-10-05 10:58:48 +02:00
Suzanne Aitchison
dcecc8bf00
Log prop-types warnings to console in development ( #14635 )
...
* enable debug for warnings in dev env
* remove preact/devtools call no longer needed
* fix majority of proptype errors on home page
* sweep up proptype errors from listings page
* fix article form error
2021-09-01 09:27:58 +01:00
Suzanne Aitchison
3b67810b9d
Add support for JSX copy paste in Storybook ( #14591 )
...
* add support for JSX and HTML copy paste
* remove html addon, refactor dropdown story
* undo html addon settings
2021-08-30 09:36:01 +01:00
Suzanne Aitchison
bfb4f00aae
Add copy to HTML feature for storybook ( #14599 )
...
* Add copy to HTML feature for storybook, inc fix for article markup
* remove html stories no longer needed
2021-08-27 16:09:21 +01:00
Nick Taylor
e0ee5e71f4
Some eslint fixes. ( #14605 )
2021-08-27 08:37:09 +01:00
Andy Zhao
3b81172c56
Remove docs from repo ✂✂✂ ( #14579 )
...
* Remove docs ✂✂✂✂
* Remove all references to docs and gitdocs
* Update docs.forem.com to developers.forem.com
* Remove .gitdocs_build/
* Update yarn.lock
2021-08-23 17:23:42 -04:00
Suzanne Aitchison
a6b4d8e91d
Create crayons mobile drawer components ( #14495 )
...
* add MobileDrawer component
* WIP begin navigation component
* rough working version complete
* update story to allow for actual navigation
* add component tests
* add docs
* add HTML variants
* add a max width to the drawer
2021-08-16 08:41:26 +01:00
payapula
52346188c4
Fixes #13601 - Storybook redirects off page ( #14491 )
2021-08-13 08:18:44 -04:00
Suzanne Aitchison
af517bc5aa
Optimise dropdowns for accessibility: Preact component usages ( #13948 )
...
* use the dropdown initializer in post editor options
* use dropdown initializer in comment subs dropdown
* use Dropdown component in listings
* show the dropdown button when it's focused
* update storybook notes and components
* add cypress tests for post options dropdown
* add comment subscription tests
* make sure page is properly initialized before setting button functionality
* add jsdoc comments, props types, rely on optional chaining
* Update app/javascript/crayons/Dropdown/__stories__/dropdowns.md
Co-authored-by: rhymes <github@rhymes.dev>
* Update app/javascript/crayons/Dropdown/__stories__/dropdowns.md
Co-authored-by: rhymes <github@rhymes.dev>
Co-authored-by: rhymes <github@rhymes.dev>
2021-06-15 12:06:27 +01:00
Andrew Bone
61cd4b3e14
🚑 Quick fix prevent grammarly from running on chromium based browsers ( #13820 )
2021-05-25 06:54:32 -04:00
Andrew Bone
f6e222f12e
Fix layout shift on active crayons-tabs change. ( #13300 )
2021-05-12 11:45:36 -04:00