Closed edonehoo closed 21 hours ago
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 --
At least one of my changes has messed up the org build, though I'm not sure which.
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).
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.
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?
@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!
@edonehoo Could you please squash your commits?
@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!
@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: https://github.com/edonehoo/react-topology/pull/3.
I'm happy to meet and walk you through the process -- here's how I typically handle it:
Rebasing over main: I start by rebasing my branch over main to incorporate the latest changes:
git checkout my-branch
git rebase upstream/main
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!
@jeff-phillips-18 thanks for the feedback! I made some changes -- let me know if I missed or misinterpreted anything
Closes https://github.com/patternfly/react-topology/issues/180 and also https://github.com/patternfly/patternfly-org/issues/3949