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

Docs(Topology): Edits content as part of audit. #197

Merged
merged 3 commits into from
Jul 8, 2024

Conversation

edonehoo
Copy link
Contributor

@patternfly-build
Copy link

patternfly-build commented May 20, 2024

@edonehoo
Copy link
Contributor Author

edonehoo commented May 22, 2024

cc: @jessiehuff (just fyi!)

Hi 👋 @jenny-s51 @jeff-phillips-18! I've finished my first pass at updating Topology docs as part of the Org content audit. I also included README updates here. Would love to hear thoughts/feedback when you have time to review 🤠

Some notes and questions below --

  1. At least one of my changes has messed up the org build, though I'm not sure which.

    • "untitled example" was added at a heading at the top of each page and
    • the example/demo previews are cropped smaller.
  2. I added a blurb at the top of each page to shortly define the page's subject. This resembles what we do across the site, but lmk if you have thoughts! Other pages put the blurb in a separate header drawer, but idk if that functionality is easy or necessary to add here (but fyi as an ex: https://www.patternfly.org/components/about-modal).

  3. There are probably some inconsistencies in code formatting that I may need help understanding. For example, in other React docs, we stylize React components as <ReactComponent> and properties as reactProp, to try and distinguish the two. I made some changes in this first pass, but felt like I was mostly guessing. Plus, I'm not sure what a "utility" equates to, which is a term used in some of these docs.

  4. Some pages don't have any props table at the bottom. Is that intentional, or do you see any places where some props references should be added?

@edonehoo edonehoo self-assigned this May 22, 2024
@edonehoo edonehoo added the documentation Improvements or additions to documentation label May 22, 2024
Copy link
Collaborator

@jenny-s51 jenny-s51 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

These changes are awesome @edonehoo - lots of valuable improvements to the Topology docs. I've walked through all your changes and left comments for additional tweaks/updates, but overall it's looking great.

I've also submitted a pull request on your branch with markdown/formatting updates to the demos, which will resolve the "Untitled example" issue you encountered and add some alignment fixes. You can find those changes here.

Thanks again for your hard work on this and your dedication to improving our documentation!

README.md Outdated Show resolved Hide resolved
README.md Show resolved Hide resolved
@edonehoo
Copy link
Contributor Author

@jenny-s51 thank you So much! 🤩 I pulled in your pr and the only thing I'm noticing is that the example window still looks cut off on the "about Topology" and "Pan and zoom" pages. Are you also seeing that? Otherwise, I think this is looking great!

Copy link
Collaborator

@jenny-s51 jenny-s51 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you @edonehoo for making those updates - your changes are looking great!

Opened a PR on your branch to fix the demo height issue: edonehoo#2

@edonehoo edonehoo requested a review from jenny-s51 June 13, 2024 14:21
Copy link
Collaborator

@jenny-s51 jenny-s51 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for making those updates @edonehoo ! Noticed just a couple small things as I did another sweep through your docs changes.

Otherwise LGTM; will pass it off to @jeff-phillips-18 for a final review. Thanks again for your awesome work on this, Erin!

README.md Outdated Show resolved Hide resolved
@jeff-phillips-18
Copy link
Member

@edonehoo Could you please squash your commits?

@edonehoo
Copy link
Contributor Author

@jeff-phillips-18 hm tried to do that via vs code terminal and had issues. It's not something I've done before, so I'm not sure I went about it the right way. Will "squash and merge" in the gui achieve the same thing? or if either of you have time to walk through it with me, I can add something on our calendars!

@jenny-s51
Copy link
Collaborator

jenny-s51 commented Jun 18, 2024

@edonehoo you're absolutely right - that was a tricky merge! 🙌 I've managed to handle the merge conflicts and squash all your commits; opened a pull request in your branch here: edonehoo#3.

I'm happy to meet and walk you through the process -- here's how I typically handle it:

  1. Rebasing over main:
    I start by rebasing my branch over main to incorporate the latest changes:
git checkout my-branch
git rebase upstream/main
  1. Interactive rebase (git rebase -i HEAD~[number of commits in PR]):

Then, I perform an interactive rebase to squash commits:

git rebase -i HEAD~[number of commits]
In the interactive rebase window, I squash all commits except for the first one, and make sure to update the first commit message to use semver i.e. fix(thing): what you changed

Let me know if you have any questions - always happy to clarify!

Content edits.

Content updates to web docs and readme.

docs(Topology): Updates content as part of audit.

Fix capitalization

Apply suggestions from code review

Co-authored-by: Jenny <32821331+jenny-s51@users.noreply.github.com>

wip, erin fixes

fix(docs): fix md issues and add top-level heading to resolve untitled examples

fix(docs): fix callback alignment in TopologyControlBarDemo

fix(css): update css to use new class names

Adds readme to demo-app-ts.

Update react-topology readme.

Update packages/demo-app-ts/README.md

Co-authored-by: Jenny <32821331+jenny-s51@users.noreply.github.com>

Update README.md

Co-authored-by: Jenny <32821331+jenny-s51@users.noreply.github.com>

Update packages/module/patternfly-docs/content/examples/TopologyCustomEdges.md

Co-authored-by: Jenny <32821331+jenny-s51@users.noreply.github.com>
Copy link
Collaborator

@jenny-s51 jenny-s51 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi @jeff-phillips-18 when you have a moment to review, would be much appreciated! Met with @edonehoo this afternoon and we rebased and squashed the commits

README.md Outdated Show resolved Hide resolved
README.md Outdated Show resolved Hide resolved
README.md Outdated
In order to run the demo app, you need to make sure the following prerequisites are met.

1. Make sure that you have yarn installed, as outlined in [the general Topology prerequisites.](#prerequisites)
1. Make sure that you have the PatternFly React library installed. [Follow these instructions if you need to install this package.](https://github.com/patternfly/patternfly-react?tab=readme-ov-file#install-and-configure-patternfly-react)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why do I need to do this?

README.md Outdated Show resolved Hide resolved
README.md Show resolved Hide resolved
packages/demo-app-ts/README.md Outdated Show resolved Hide resolved
edonehoo and others added 2 commits June 26, 2024 15:57
Co-authored-by: Jeff Phillips <jephilli@redhat.com>
@edonehoo
Copy link
Contributor Author

@jeff-phillips-18 thanks for the feedback! I made some changes -- let me know if I missed or misinterpreted anything

@nicolethoen nicolethoen linked an issue Jun 28, 2024 that may be closed by this pull request
@andrew-ronaldson andrew-ronaldson self-requested a review July 5, 2024 14:48
Copy link
Collaborator

@andrew-ronaldson andrew-ronaldson left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks great, thanks!

@jeff-phillips-18 jeff-phillips-18 merged commit de617aa into patternfly:main Jul 8, 2024
8 checks passed
jeff-phillips-18 pushed a commit to jeff-phillips-18/react-topology that referenced this pull request Oct 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Documentation: Add docs for demo-app and dev process Review and update Topology pages
5 participants