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

Toolbar 🏖️ #67

Open
1 of 33 tasks
carrenelloyd opened this issue Aug 5, 2020 · 13 comments
Open
1 of 33 tasks

Toolbar 🏖️ #67

carrenelloyd opened this issue Aug 5, 2020 · 13 comments

Comments

@carrenelloyd
Copy link

carrenelloyd commented Aug 5, 2020

Catalog # 25

Link to Design

Update Carbon design

Made a start here, not actively working on

Maintainer
Myriam Battelli

Tasks

  • Initial review of design/existing code

Working in experimental package

  • Create a shell component which
    • Create ComponentName/ComponentName.js component file that renders props
      in raw form (no styling or sub components, plain text OK)
    • Adds prop-types with comments for DocGen to
      ComponentName/ComponentName.js
    • Add Doc file e.g. ComponentName.mdx with a brief description of the
      component.
  • First engineering review/playback

Continuing in experimental package

  • Storybook - stories to cover design scenarios, story with long, min and
    max content, etc
  • Doc tab in storybook derived from design docs with embedded stories where
    appropriate
  • Code to include prop-types with comments for automated DocGen
    documentation
  • Tests (written in React Test Library) to cover behavior from the
    documented in the components mdx file.

Review and promote

  • Design review
  • Add design review issues addressed, issues raised or discounted.
  • Engineering review - Submit PR to promote component to production package
  • All engineering issues addressed, issues raised or discounted.

Epic Order/Plan

Beginning

Middle

End

@lee-chase
Copy link
Member

Blocked as the status of the design it was set to 'status: refining' by @carrenelloyd

Invited Myriam to join the conversation here.

@m-battelli
Copy link

@carrenelloyd @lee-chase
I have finalized this pattern with Carbon team: https://www.carbondesignsystem.com/patterns/text-toolbar-pattern/
We are looking for volunteers to implement it in code version.

@lee-chase
Copy link
Member

Thankyou @m-battelli as this is an open-source project, in theory, any dev could pick it up. Please ask any volunteer you have to join the conversation on github and provide any prototype links you may have.

@lee-chase
Copy link
Member

So looking at this component the following are not available form Carbon

  • A toolbar button - a simple adjustment to a ghost button
  • A toolbar separator/group - simple enough to create
  • A dropdown that works within the confines of a toolbar. WARNING we may need to adjust to make it work within the confines of overflow hiding. Otherwise a slight wrap of the carbon component
  • A composed dropdown e.g. for color, icon buttons, URL and search does not exist.
  • A dropdown capable of loading and displaying system fonts does not exist in Carbon.
  • A color picker does not exist
  • A dropdown icon bar does not exist.
  • A dropdown with the style and functionality of the link button does not exist.

@lee-chase lee-chase added the WIP label Nov 6, 2020
@lee-chase lee-chase removed their assignment Nov 19, 2020
@matthewgallo matthewgallo self-assigned this Dec 4, 2020
@matthewgallo matthewgallo removed the needs: dev owner Development contact label Dec 4, 2020
@matthewgallo matthewgallo removed their assignment Dec 4, 2020
@matthewgallo matthewgallo added the needs: dev owner Development contact label Dec 4, 2020
@lee-chase
Copy link
Member

The component is a significant task requiring various drop downs and information about the current state of the text editor. In addition, it seems somewhat odd to have such a functional text bar component without an editor.

@lee-chase
Copy link
Member

@carrenelloyd is there a rich text editor we have in mind for this?

@andreagmann
Copy link

Perhaps the question above is for @m-battelli

@ConradSchmidt
Copy link
Contributor

If you planning to use CKEditor (most IBM products use it) I did a prototype/PoC to see if it would work: https://pages.github.ibm.com/conrad-schmidt/ckeditor-carbon-test/
This is not ready to use, but it can be a starting point

Main Editor code here: https://github.ibm.com/conrad-schmidt/ckeditor-carbon-test/blob/master/src/components/Editor/Editor.js

image

@m-battelli
Copy link

@lee-chase
I’m finalizing the light and dark themes with Carbon team for the Sketch library.
A starting point here: https://ibm.box.com/s/5uplici33ajwquwbbjcgby6ol6ptu4wu
Other updates on different toolbar patterns are coming soon here: https://www.carbondesignsystem.com/patterns/text-toolbar-pattern/

@lee-chase
Copy link
Member

The ActionbBar component may be useful as a starting point for a toolbar.

@andreagmann
Copy link

@carrenelloyd Your original link to design is giving a 404. Is this the latest design? Has this component been renamed to Toolbar? https://pages.github.ibm.com/cdai-design/pal/patterns/toolbars

@SimonFinney
Copy link
Contributor

SimonFinney commented Sep 14, 2021

Per previous evaluations and some exploration and delivery I completed, there are a number of outstanding items preventing the Toolbar from being fully released. For example:

Other observations and recommendations

'Floating' / dragging (#811) and text editor integration should be defined by the consumer to better manage their dependencies.

In progress

#1130

@stale
Copy link

stale bot commented May 27, 2023

Is this still relevant? If so, what is blocking it? Is there anything you can do to help move it forward?

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs.

@stale stale bot added the status: won’t fix 🔚 This will not be worked on label May 27, 2023
@elycheea elycheea removed the status: won’t fix 🔚 This will not be worked on label May 30, 2023
@github-project-automation github-project-automation bot moved this to Needs triage 🧐 in Carbon for IBM Products May 14, 2024
@sstrubberg sstrubberg moved this from Needs triage 🧐 to Icebox 🧊 in Carbon for IBM Products May 14, 2024
@sstrubberg sstrubberg changed the title Toolbar Toolbar 🏖️ May 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Icebox 🧊
Development

No branches or pull requests