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

[Feature Branch] EuiMarkdownEditor #3522

Merged
merged 58 commits into from
Aug 12, 2020
Merged

Commits on Feb 12, 2020

  1. WIP: Add markdown_editor component

    i-a-n authored and miukimiu committed Feb 12, 2020
    Configuration menu
    Copy the full SHA
    f620292 View commit details
    Browse the repository at this point in the history
  2. WIP: commit auto-added i18n tokens

    i-a-n authored and miukimiu committed Feb 12, 2020
    Configuration menu
    Copy the full SHA
    edd7816 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    f1a2cab View commit details
    Browse the repository at this point in the history
  4. Adding toolbar component

    miukimiu committed Feb 12, 2020
    Configuration menu
    Copy the full SHA
    37e1f23 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    e489f11 View commit details
    Browse the repository at this point in the history
  6. Adding text area component

    miukimiu committed Feb 12, 2020
    Configuration menu
    Copy the full SHA
    cf99ece View commit details
    Browse the repository at this point in the history
  7. Buttons order

    miukimiu committed Feb 12, 2020
    Configuration menu
    Copy the full SHA
    7568dfb View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    7b6c69e View commit details
    Browse the repository at this point in the history

Commits on Feb 13, 2020

  1. Improving file picker

    miukimiu committed Feb 13, 2020
    Configuration menu
    Copy the full SHA
    e5e5e1a View commit details
    Browse the repository at this point in the history

Commits on Feb 14, 2020

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

Commits on Feb 17, 2020

  1. Configuration menu
    Copy the full SHA
    ab7833b View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    3b30207 View commit details
    Browse the repository at this point in the history

Commits on Feb 18, 2020

  1. Small UI fix

    miukimiu committed Feb 18, 2020
    Configuration menu
    Copy the full SHA
    0b28523 View commit details
    Browse the repository at this point in the history
  2. Improving markdown example

    miukimiu committed Feb 18, 2020
    Configuration menu
    Copy the full SHA
    fb284ce View commit details
    Browse the repository at this point in the history

Commits on Mar 18, 2020

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

Commits on Mar 19, 2020

  1. Configuration menu
    Copy the full SHA
    3831407 View commit details
    Browse the repository at this point in the history
  2. Adding code highlight

    miukimiu committed Mar 19, 2020
    Configuration menu
    Copy the full SHA
    2f95bbc View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    76a6962 View commit details
    Browse the repository at this point in the history
  4. Better coding highlight

    miukimiu committed Mar 19, 2020
    Configuration menu
    Copy the full SHA
    7583186 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    9acf563 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    8aa5b7f View commit details
    Browse the repository at this point in the history

Commits on Mar 20, 2020

  1. Configuration menu
    Copy the full SHA
    b877378 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    71c34dc View commit details
    Browse the repository at this point in the history
  3. More code highlight fixes

    miukimiu committed Mar 20, 2020
    Configuration menu
    Copy the full SHA
    d1b9223 View commit details
    Browse the repository at this point in the history

Commits on Apr 8, 2020

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

Commits on Apr 28, 2020

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

Commits on May 12, 2020

  1. Markdown editor plugins (#3457)

    * Refactored EuiMarkdownEditor and EuiMarkdownFormat to prep for future work
    
    * pr feedback
    chandlerprall authored May 12, 2020
    Configuration menu
    Copy the full SHA
    c652d1c View commit details
    Browse the repository at this point in the history

Commits on May 16, 2020

  1. [markdown] chart & tooltip plugins (#3479)

    * chart & tooltip plugins
    
    * Change tooltip markdown plugin markdown format
    
    * Fixed error with empty tooltip tag
    chandlerprall authored May 16, 2020
    Configuration menu
    Copy the full SHA
    40f9642 View commit details
    Browse the repository at this point in the history

Commits on May 21, 2020

  1. [Markdown] Checkbox plugin (#3493)

    * Checkbox plugin
    
    * Better checkbox interaction formatting
    
    * Use monospace font in markdown editor
    chandlerprall authored May 21, 2020
    Configuration menu
    Copy the full SHA
    2d468c3 View commit details
    Browse the repository at this point in the history

Commits on May 25, 2020

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

Commits on May 27, 2020

  1. Configuration menu
    Copy the full SHA
    df423d0 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    75441e0 View commit details
    Browse the repository at this point in the history

Commits on May 29, 2020

  1. [EuiMarkdownEditor] Improve markdown editor font (#3525)

    * Improving font family and text area font styles
    
    * Text color and text babckground
    
    * Adding eui font family
    
    * euiFormControlText
    
    * Small fix
    
    * Refactoring some styles
    
    * Removing unecessary padding
    miukimiu authored May 29, 2020
    Configuration menu
    Copy the full SHA
    512914f View commit details
    Browse the repository at this point in the history

Commits on Jun 1, 2020

  1. Re-enable default markdown list parsing (#3531)

    * [Markdown] Allow toolbar buttons to present modals to create/edit tags (#3506)
    
    * Allow EuiMarkdownEditor's ui buttons trigger interactive modals for creating & editing tags
    
    * export two internal markdown types that are needed externally when generating eui.d.ts
    
    * Re-enable the default markdown list parsing/display, but keep EUI's checkbox override
    
    * Give EuiMarkdownEditorTextArea a displayName
    chandlerprall authored Jun 1, 2020
    Configuration menu
    Copy the full SHA
    d0bf6ac View commit details
    Browse the repository at this point in the history

Commits on Jun 15, 2020

  1. Enable undo/redo for markdown editor, apart from firefox (#3582)

    * Enable undo/redo for markdown editor, apart from firefox
    
    * Add test-and-retry logic to insertText to account for ability to focus the text area before brute forcing
    chandlerprall authored Jun 15, 2020
    Configuration menu
    Copy the full SHA
    dc8fee5 View commit details
    Browse the repository at this point in the history

Commits on Jun 16, 2020

  1. Added AST & info/fail message reporting to application; added info me…

    …ssages to tooltip plugin and fail message to chart configuration parsing (#3602)
    chandlerprall authored Jun 16, 2020
    Configuration menu
    Copy the full SHA
    a35fc03 View commit details
    Browse the repository at this point in the history

Commits on Jun 18, 2020

  1. Add an imperative ref to EuiMarkdownEditor (#3622)

    * Add an imperative ref to EuiMarkdownEditor, exposing the textarea element and replaceNode method
    
    * Remove textareaRef from two hook dependency arrays
    chandlerprall authored Jun 18, 2020
    Configuration menu
    Copy the full SHA
    652a607 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    eb1e1ff View commit details
    Browse the repository at this point in the history
  3. eslint errors

    chandlerprall committed Jun 18, 2020
    Configuration menu
    Copy the full SHA
    136f5b0 View commit details
    Browse the repository at this point in the history

Commits on Jul 1, 2020

  1. Add a markdown help modal, move tooltip & checkbox plugins into src (#…

    …3636)
    
    * Move checkbox and tooltip markdown plugins into eui src, add helpText to ui plugins
    
    * Adding footer initial styles
    
    * Adding error popover
    
    * Fixing uploading files icon
    
    * wire up errors
    
    * modal help text
    
    * better modal text
    
    * blerg, react color
    
    * toggle button for editor ast
    
    * Ignoring ts errors and fixing sass lint errors
    
    * Displaying always error info
    
    * Adding checkmark button
    
    * fix markdown test
    
    * Added aria-label and aria-labelledby props to markdown editor
    
    * Fix i18n token name for markdown errors title
    
    * Reverting displaying errors
    
    Co-authored-by: miukimiu <elizabet.oliveira@elastic.co>
    Co-authored-by: Dave Snider <dave.snider@gmail.com>
    3 people authored Jul 1, 2020
    Configuration menu
    Copy the full SHA
    59c623d View commit details
    Browse the repository at this point in the history

Commits on Jul 3, 2020

  1. [EuiMarkdownEditor] Improving markdown format styles (#3534)

    * Improving markdown format styles
    
    * Transforming px to em
    
    * Renaming variable
    
    * Adding descriptions and alpha values
    
    * hr more similar to EuiHorizontalRule
    miukimiu authored Jul 3, 2020
    Configuration menu
    Copy the full SHA
    2873e60 View commit details
    Browse the repository at this point in the history

Commits on Jul 7, 2020

  1. [EuiMarkdownEditor] Better styles and class names (#3697)

    * Better styles and classnames
    
    * md footer height
    
    * snapshot
    
    * preventing the text area of loosing focus when clicking on an action button
    miukimiu authored Jul 7, 2020
    Configuration menu
    Copy the full SHA
    779df96 View commit details
    Browse the repository at this point in the history

Commits on Jul 8, 2020

  1. Add types to markdown editor (#3703)

    * Plugin types
    
    * Rehype / hast / unist node types
    
    * Make typescript happy with markdown editor and dependencies
    
    * Types for markdown AST nodes and errors
    
    * Don't scan any .d.ts file for internationalization strings
    chandlerprall authored Jul 8, 2020
    Configuration menu
    Copy the full SHA
    4710782 View commit details
    Browse the repository at this point in the history

Commits on Jul 13, 2020

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

Commits on Jul 14, 2020

  1. Configuration menu
    Copy the full SHA
    9e4b8a2 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    309bf7a View commit details
    Browse the repository at this point in the history

Commits on Jul 28, 2020

  1. Configuration menu
    Copy the full SHA
    942595c View commit details
    Browse the repository at this point in the history
  2. Markdown Format / Editor documentation + features (#3696)

    Separates `EuiMarkdownFormat` into its own component. Adds documentation.
    snide authored Jul 28, 2020
    Configuration menu
    Copy the full SHA
    a520c68 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    b61c2e4 View commit details
    Browse the repository at this point in the history

Commits on Jul 29, 2020

  1. [Markdown editor] drag and drop api, functionality (#3748)

    * Initial markdown drag-n-drop api
    
    * Properly insert multiple drag-and-drop results
    
    * Update logic for markdown supported files message display
    
    * disable upload interaction if no drop handlers are provided
    
    * Upload error button styles
    
    * pr feedback
    
    * Only accept supported file types in the markdown file selection dialog
    
    * Drag and drop animation
    
    * small changes
    
    * Add some cross-browser stability when dealing with unsupported drop files
    
    Co-authored-by: miukimiu <elizabet.oliveira@elastic.co>
    chandlerprall and miukimiu authored Jul 29, 2020
    Configuration menu
    Copy the full SHA
    b84f0dd View commit details
    Browse the repository at this point in the history

Commits on Jul 30, 2020

  1. Feature/markdown editor cleanup (#3830)

    * Sort drag&drop file extensions when displaying
    
    * mark markdown components as new and in beta
    
    * Get EuiMarkdownEditor Props to render
    
    * Update markdown's plugin prop docs based on existing writeups
    chandlerprall authored Jul 30, 2020
    Configuration menu
    Copy the full SHA
    7f73c82 View commit details
    Browse the repository at this point in the history

Commits on Jul 31, 2020

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

Commits on Aug 4, 2020

  1. Simplify the markdown editor's plugin API (#3843)

    * Add a default remark->rehype node handler to simplify plugin development
    
    * Update documentation
    chandlerprall authored Aug 4, 2020
    Configuration menu
    Copy the full SHA
    252467b View commit details
    Browse the repository at this point in the history

Commits on Aug 10, 2020

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

Commits on Aug 11, 2020

  1. Configuration menu
    Copy the full SHA
    0cf3b90 View commit details
    Browse the repository at this point in the history
  2. changelog

    chandlerprall committed Aug 11, 2020
    Configuration menu
    Copy the full SHA
    004fb4a View commit details
    Browse the repository at this point in the history

Commits on Aug 12, 2020

  1. Configuration menu
    Copy the full SHA
    dead485 View commit details
    Browse the repository at this point in the history
  2. Fixes some ARIA issues in EuiMarkdownEditor (#3899)

    * Support aria-describedby to link errors. Include file support message in upload button's aria-label
    
    * Change markdown footer element to a div
    chandlerprall authored Aug 12, 2020
    Configuration menu
    Copy the full SHA
    d7c15bf View commit details
    Browse the repository at this point in the history