Repository navigation
Comprehensive set of documentation; Website styling - #231
Conversation
- packages/[core/web-client/web-server] - apps/[vscode-extension/website] - testing/[playwright/vscode-host/fixtures] - fixtures should probably just be a general overview of test fixtures. TBD - architecture (probably not important) - settings
…avigation - wires index.tsx => overview.mdx instead of two redundant "overview" style pages - AI generated styling
- handles image centering
- mostly just cli commands and warnings about compile-test
- lists settings in order of precedence, as well as all possible settings - JSON example
- Very, very intricate view of the whole merge lifecycle. - (kinda redundant) design philosophy notes. - State Management and IPC is a heavy WIP.
- the merge lifecycle takes care of a lot of these.
|
Warning Rate limit exceeded
To keep reviews running without waiting, you can enable usage-based add-on for your organization. This allows additional reviews beyond the hourly cap. Account admins can enable it under billing. ⌛ How to resolve this issue?After the wait time has elapsed, a review can be triggered using the We recommend that you space out your commits to avoid hitting the rate limit. 🚦 How do rate limits work?CodeRabbit enforces hourly rate limits for each developer per organization. Our paid plans have higher rate limits than the trial, open-source and free plans. In all cases, we re-allow further reviews after a brief timeout. Please see our FAQ for further information. ℹ️ Review info⚙️ Run configurationConfiguration used: Organization UI Review profile: ASSERTIVE Plan: Pro Run ID: ⛔ Files ignored due to path filters (1)
📒 Files selected for processing (5)
📝 WalkthroughWalkthroughThis PR converts the site from a generic Docusaurus template to a MergeNB product site: removes blog/tutorial content and related metadata, adds comprehensive product docs (architecture, testing, installation, settings, overview), redesigns homepage and theme, updates site config/sidebars, introduces a new logo, and adjusts playground fixtures and styles. Changes
Sequence Diagram(s)Estimated code review effort🎯 4 (Complex) | ⏱️ ~50 minutes Possibly related PRs
Poem
🚥 Pre-merge checks | ✅ 4 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (4 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
There was a problem hiding this comment.
Actionable comments posted: 17
🤖 Prompt for all review comments with AI agents
Verify each finding against the current code and only fix it if needed.
Inline comments:
In `@apps/website/docs/apps/website.mdx`:
- Line 16: Replace the typo "usecase" with the correct two-word phrase "use
case" in the sentence that begins "The primary usecase was going to be for
showcasing the resolver..." so the text reads "The primary use case was going to
be for showcasing the resolver..." ensuring spacing is fixed and punctuation
remains unchanged.
- Around line 20-26: The docs show an inconsistent install sequence: the command
sequence includes "cd apps/website" but the comment says "from the root"; fix
the ordering and comment so it's accurate by moving the "npm install" to run at
the repo root before "cd apps/website" (or alternatively remove the misleading
comment), updating the commands around "npm install" and "cd apps/website" in
the code block so it clearly indicates that "npm install" runs at repo root and
then you change to the app directory before running "npm start", "npm run
build", and "npm run serve".
In `@apps/website/docs/architecture/merge-lifecycle.mdx`:
- Around line 10-12: The sentence in the "Discovery" section is a run-on: split
the sentence after "(see status codes below)" so the two thoughts are separated
into two sentences; update the paragraph mentioning merge-nb.findConflicts and
the extension calling `git status --porcelain` to end with "(see status codes
below)." and start a new sentence for "Simple cases (add-only,
delete-vs-modify)..." to improve clarity.
- Around line 107-118: Remove or rephrase the informal editorial note in the
prose describing buildResolvedNotebookFromRows (the sentence beginning "This
could be cleaner, since we're computing which cell to take twice..."). Either
delete that sentence entirely or replace it with a concise, user-facing
rationale explaining the architectural tradeoff (e.g., "We intentionally apply
the three-way rule twice to provide fallbacks and handle row-shape changes when
reconstructing ResolvedRow[] into notebook cells using
selectNonConflictMergedCell"), keeping references to
buildResolvedNotebookFromRows and selectNonConflictMergedCell so readers
understand the design decision.
In `@apps/website/docs/architecture/state-management-and-ipc.mdx`:
- Line 26: Remove the informal apology line "I'll finish up these docs soon
enough, sorry about leaving it incomplete!" from the block quote in
state-management-and-ipc.mdx and either delete the block entirely or replace it
with a neutral WIP admonition (e.g., "This section is a work in progress. See
tracking issue: <link-to-issue>") so published docs do not contain personal
apologies; update the text in the block quote to the neutral admonition and add
a link to an issue or TODO for follow-up.
In `@apps/website/docs/installation.mdx`:
- Around line 18-19: The docs contain a hardcoded asset URL pointing to
"merge-nb-0.3.0.vsix" which will break on version bumps; update the docs and
release workflow so the direct download link uses a stable asset name (e.g.,
"merge-nb.vsix") or remove the direct link entirely until the release action is
changed; specifically, adjust the release GitHub Action that uploads the VSIX to
publish it as "merge-nb.vsix" (or change the docs to only link to the releases
page) and replace the inline "merge-nb-0.3.0.vsix" URL in installation.mdx (see
the existing TODO comment) accordingly.
- Line 63: Remove the leading "$ " prompt from the fenced code block so the
command is copyable and runnable; locate the snippet containing "`$ npm run
compile && code --extensionDevelopmentPath=. --new-window <folder to open
extension in>`" in apps/website/docs/installation.mdx and change it to "npm run
compile && code --extensionDevelopmentPath=. --new-window <folder to open
extension in>" inside the code fence.
In `@apps/website/docs/overview.mdx`:
- Around line 38-86: The MDX headings inside the raw JSX (<main> and <section
className={styles.features}>) are fragile and may be skipped by remark plugins;
remove the raw JSX wrappers or replace them with standard MDX structure so
headings like "Core Logic", "Conflict Resolution UI", etc. are top-level MDX
headings (or move the content into a real React component that returns JSX with
proper MDX-aware rendering), and instead apply styling via a page-level CSS
class or a wrapper component to preserve TOC/anchor generation.
- Line 47: The image path in the MDX (the line containing "") uses a relative path into
the static folder and will not resolve at build/runtime; update the reference to
use the static root (e.g. replace "../static/img/dark-theme.png#featureImage"
with "/img/dark-theme.png#featureImage") or use Docusaurus's useBaseUrl helper
to generate a baseUrl-aware path so the image resolves correctly in production.
In `@apps/website/docs/settings.mdx`:
- Around line 11-18: The intro incorrectly states "three places" while the list
contains four sources; update the sentence to accurately reflect the list (e.g.,
change "three places" to "four places" or rephrase to "four sources") so the
count matches the numbered entries in the docs content that enumerate workspace
settings, user settings, a config file, and hardcoded defaults (refer to the
paragraph introducing the list and the four items that follow).
In `@apps/website/docs/testing/index.mdx`:
- Around line 66-69: Fix the typos in the docs: change the phrase "Browser and
launch **Manual Sandboxes**" to "Browse and launch **Manual Sandboxes**" and
rewrite the following sentence starting "since this opens a VS Code window,
there's a bit more info about manual sandboxes there." to be a complete,
capitalized sentence (e.g., "This opens a VS Code window, so you'll find more
information about manual sandboxes there."). Update the text fragments "Browser
and launch **Manual Sandboxes**" and the subsequent sentence accordingly in the
same paragraph.
- Around line 14-29: In the bash snippet in docs/testing/index.mdx update the
comment string "#everything" to include a space ("# everything") so it matches
the formatting of the other comments; locate the code block containing the npm
run commands and change the single token comment "#everything" to "#
everything".
In `@apps/website/docs/testing/playwright.mdx`:
- Around line 23-29: The warning text misleadingly describes the compile target
for `npm run compile-tests` as "tsc to out/ for the VS Code host", which is
incorrect for this Playwright browser-level testing doc; update the message to
accurately state that `npm run compile-tests` compiles the Playwright test
helpers and test files for Node/browser integration tests (e.g., transpile
TypeScript test code to the test output directory) so both the app and the tests
are built before running `npx`/`node`-invoked tests; specifically edit the block
containing the two commands and replace the VS Code-specific phrase with a brief
accurate description referencing `npm run compile-tests` and its role in
preparing Playwright/Node test artifacts.
In `@apps/website/docs/testing/vscode-host.mdx`:
- Around line 15-21: Extract the duplicated admonition block into a shared
partial named _compile-before-testing.mdx containing the warning and the two
commands, then replace the verbatim blocks in both pages with an MDX
include/import of that partial; update docs/testing/index.mdx and
docs/testing/vscode-host.mdx to import or reference _compile-before-testing.mdx
(instead of duplicating the text) so the warning is authored in one place and
reused.
- Around line 46-49: The examples show running the test script with flags but
omit the required separator, so npm swallows the arguments; update the docs to
instruct using the npm run separator (add `--` before script flags) when
invoking the script via npm (e.g., use `npm run test -- --manual ...`), and
mention the same `--` rule if the first example is intended to be run through
npm rather than node; ensure the README text explicitly shows the `--` separator
so `--manual general/conflict_11` is forwarded to the test script.
In `@apps/website/docusaurus.config.ts`:
- Around line 101-104: The colorMode block currently sets defaultMode: 'light'
but leaves respectPrefersColorScheme: true, which still flips to dark for users
with dark OS preferences; update the colorMode configuration
(colorMode.defaultMode and colorMode.respectPrefersColorScheme) to set
respectPrefersColorScheme: false so OS preferences are ignored, and also disable
the color mode switcher (e.g., set colorMode.disableSwitch or the themeConfig
option that disables the switch) to enforce a light-only experience; touch the
colorMode object to make both changes together.
In `@apps/website/src/pages/index.tsx`:
- Around line 2-6: The Redirect in Home currently uses a hardcoded
"/MergeNB/docs"; instead import and use Docusaurus' useBaseUrl hook and call
useBaseUrl('/MergeNB/docs') inside the Home component to compute the target path
dynamically, then pass that computed value to <Redirect to={...}>; update the
imports to include useBaseUrl and remove the hardcoded string so the redirect
follows the configured baseUrl.
🪄 Autofix (Beta)
Fix all unresolved CodeRabbit comments on this PR:
- Push a commit to this branch (recommended)
- Create a new PR with the fixes
ℹ️ Review info
⚙️ Run configuration
Configuration used: Organization UI
Review profile: ASSERTIVE
Plan: Pro
Run ID: aaea68b6-8eee-4722-b661-c117c8fddc9f
⛔ Files ignored due to path filters (14)
apps/website/blog/2021-08-26-welcome/docusaurus-plushie-banner.jpegis excluded by!**/*.jpegapps/website/docs/tutorial-extras/img/docsVersionDropdown.pngis excluded by!**/*.pngapps/website/docs/tutorial-extras/img/localeDropdown.pngis excluded by!**/*.pngapps/website/package-lock.jsonis excluded by!**/package-lock.jsonapps/website/static/img/dark-theme.pngis excluded by!**/*.pngapps/website/static/img/demo_walkthrough.gifis excluded by!**/*.gifapps/website/static/img/docusaurus-social-card.jpgis excluded by!**/*.jpgapps/website/static/img/docusaurus.pngis excluded by!**/*.pngapps/website/static/img/light-theme.pngis excluded by!**/*.pngapps/website/static/img/logo.pngis excluded by!**/*.pngapps/website/static/img/logo.svgis excluded by!**/*.svgapps/website/static/img/undraw_docusaurus_mountain.svgis excluded by!**/*.svgapps/website/static/img/undraw_docusaurus_react.svgis excluded by!**/*.svgapps/website/static/img/undraw_docusaurus_tree.svgis excluded by!**/*.svg
📒 Files selected for processing (38)
apps/website/blog/2019-05-28-first-blog-post.mdapps/website/blog/2019-05-29-long-blog-post.mdapps/website/blog/2021-08-01-mdx-blog-post.mdxapps/website/blog/2021-08-26-welcome/index.mdapps/website/blog/authors.ymlapps/website/blog/tags.ymlapps/website/docs/apps/website.mdxapps/website/docs/architecture/design-philosophy.mdxapps/website/docs/architecture/index.mdxapps/website/docs/architecture/merge-lifecycle.mdxapps/website/docs/architecture/state-management-and-ipc.mdxapps/website/docs/installation.mdxapps/website/docs/intro.mdapps/website/docs/overview.mdxapps/website/docs/settings.mdxapps/website/docs/testing/index.mdxapps/website/docs/testing/playwright.mdxapps/website/docs/testing/vscode-host.mdxapps/website/docs/tutorial-basics/_category_.jsonapps/website/docs/tutorial-basics/congratulations.mdapps/website/docs/tutorial-basics/create-a-blog-post.mdapps/website/docs/tutorial-basics/create-a-document.mdapps/website/docs/tutorial-basics/create-a-page.mdapps/website/docs/tutorial-basics/deploy-your-site.mdapps/website/docs/tutorial-basics/markdown-features.mdxapps/website/docs/tutorial-extras/_category_.jsonapps/website/docs/tutorial-extras/manage-docs-versions.mdapps/website/docs/tutorial-extras/translate-your-site.mdapps/website/docusaurus.config.tsapps/website/package.jsonapps/website/sidebars.tsapps/website/src/components/HomepageFeatures/index.tsxapps/website/src/components/HomepageFeatures/styles.module.cssapps/website/src/css/custom.cssapps/website/src/pages/index.module.cssapps/website/src/pages/index.tsxapps/website/src/pages/markdown-page.mdapps/website/src/pages/playground.tsx
💤 Files with no reviewable changes (20)
- apps/website/blog/2021-08-26-welcome/index.md
- apps/website/src/pages/markdown-page.md
- apps/website/src/components/HomepageFeatures/styles.module.css
- apps/website/docs/tutorial-basics/category.json
- apps/website/docs/tutorial-extras/category.json
- apps/website/docs/tutorial-basics/create-a-document.md
- apps/website/docs/tutorial-basics/congratulations.md
- apps/website/docs/intro.md
- apps/website/docs/tutorial-basics/create-a-page.md
- apps/website/docs/tutorial-basics/markdown-features.mdx
- apps/website/docs/tutorial-basics/create-a-blog-post.md
- apps/website/blog/2019-05-28-first-blog-post.md
- apps/website/blog/2021-08-01-mdx-blog-post.mdx
- apps/website/docs/tutorial-extras/manage-docs-versions.md
- apps/website/blog/authors.yml
- apps/website/docs/tutorial-extras/translate-your-site.md
- apps/website/blog/2019-05-29-long-blog-post.md
- apps/website/docs/tutorial-basics/deploy-your-site.md
- apps/website/blog/tags.yml
- apps/website/src/components/HomepageFeatures/index.tsx
|
I'm going to deploy the site from this branch for the class project, but I'll leave this PR open until I have time (probably in ~2 weeks?) to address all of coderabbit's comments. |
- the general subsections are: - What belongs in a particular layer? - CLI commands - adding a test - examples of relevant files and conventions
- creates the notion of a featureContainer to use with images
There was a problem hiding this comment.
Actionable comments posted: 8
♻️ Duplicate comments (2)
apps/website/docs/overview.mdx (2)
46-46:⚠️ Potential issue | 🟠 MajorUse Docusaurus static-root paths for these images.
../static/...is a filesystem path, not a deployed asset path, so both image references will break in the built site. Point them at the static root instead.Suggested fix
-  +  ... -  + Also applies to: 69-69
🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed. In `@apps/website/docs/overview.mdx` at line 46, Replace filesystem-relative image paths that use "../static/..." with Docusaurus static-root asset paths so they resolve after build; specifically update the markdown image references like "" (and the other at line 69) to use the static root (for example "/img/light-theme.png") so the images are served from the deployed site rather than the repository filesystem.
39-125: 🛠️ Refactor suggestion | 🟠 MajorKeep the narrative content out of raw JSX wrappers.
The headings and markdown blocks here sit inside
<main>/<section>, which makes Docusaurus TOC/anchor generation brittle for the page’s primary structure. This should be top-level MDX/Markdown content, or moved into a dedicated React component that renders the whole section.🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed. In `@apps/website/docs/overview.mdx` around lines 39 - 125, The page places top-level markdown headings and narrative inside JSX wrappers (<main> and <section className={styles.features}>) which breaks Docusaurus TOC/anchor generation; move the headings and markdown blocks (e.g. the "# Core Logic", "## Conflict Resolution UI", "## Reordered Cell Handling", and other MD sections) out of the JSX wrappers into top-level MDX/Markdown content, or alternatively wrap the entire feature block in a dedicated React component (e.g. FeatureSection) that renders the section content as proper MDX/Markdown (keeping style classes like styles.featureContainer, styles.featureImage, styles.featureText applied via props) so that Docusaurus can generate anchors correctly.
🤖 Prompt for all review comments with AI agents
Verify each finding against the current code and only fix it if needed.
Inline comments:
In `@apps/website/docs/architecture/merge-lifecycle.mdx`:
- Line 8: Update the sentence in merge-lifecycle.mdx that reads "I want this to
be a high value document" to hyphenate "high-value" so it reads "I want this to
be a high-value document"; locate the string in the document (occurs in the
paragraph starting with "I want this to be") and replace "high value document"
with "high-value document" to match project style.
- Around line 93-103: Replace the phrase "almost never" with the shorter word
"rarely" in the description for the Execution counts item
(autoResolveExecutionCount) to improve concision; update the text near the list
entry that reads "**Execution counts** (`autoResolveExecutionCount`): set to
`null`. These change on every notebook run and almost never carry meaning." to
use "rarely" instead of "almost never".
- Around line 95-96: Clarify that the behavior applies specifically to the
outputs-changed conflict classification: update the sentence referencing
"Outputs (`stripOutputs`): cleared entirely when the underlying source is
identical" so it explicitly states that outputs are cleared in the
outputs-changed (or stripOutputs) case — e.g., "Outputs (`stripOutputs`) are
cleared entirely only for the outputs-changed conflict classification when the
underlying source is identical," ensuring the terms outputs-changed and
stripOutputs are both mentioned to avoid ambiguity.
In `@apps/website/docs/overview.mdx`:
- Around line 110-113: The "Unmatching cells" section currently describes the
old banner-and-undo interaction; update that section to reflect the current UX
contract: replace the banner/undo wording with a description of the simplified
arrow-based flow, explicitly state that reordered cells support arrow navigation
plus unmatch/rematch actions, and note that performing "unmatch" splits the row
for manual selection/deletion; remove any sentences about showing a banner on
top of the reordered cell and "undo our computed reordering" and instead
describe the arrows + unmatch/rematch behavior and row-splitting after unmatch.
In `@apps/website/docs/testing/playwright.mdx`:
- Around line 95-97: The docs currently reference a different helper name than
the fixture API; update this section to use the canonical helper name
`assertMatches` consistently (replace `assertNotebookMatches(...)` with
`assertMatches(...)`) and ensure the surrounding guidance still points readers
to `collectExpectedCellsFromUI(...)` in
`test-fixtures/shared/integrationUtils.ts` as the starting point before calling
`assertMatches(...)` against the final notebook so the docs match the fixture
API.
In `@apps/website/docusaurus.config.ts`:
- Around line 24-27: The config currently masks broken markdown links by setting
markdown.hooks.onBrokenMarkdownLinks='warn'—either revert this to 'throw' in
docusaurus.config.ts to fail the build when links are incorrect, or update the
image references in docs/overview.mdx from filesystem-relative paths (e.g.,
../static/img/light-theme.png) to Docusaurus asset paths (/img/light-theme.png);
locate the onBrokenMarkdownLinks setting in docusaurus.config.ts and change it
to 'throw' if you prefer enforcement, or edit overview.mdx to replace
../static/img/... with /img/... so the links resolve correctly.
In `@apps/website/src/components/Logo.module.css`:
- Around line 12-15: Add a blank line after the opening brace in the .large rule
so it satisfies the declaration-empty-line-before rule; e.g., update the .large
block containing --logo-scale and gap to have an empty line between "{" and the
first declaration (so the declarations for --logo-scale and gap remain unchanged
but start after one empty line).
In `@apps/website/src/theme/Navbar/Logo/index.tsx`:
- Line 2: Remove the unused wrapper import and parameter: delete the import Logo
from '@theme-original/Navbar/Logo' and remove the unused props parameter from
the wrapper function (and replace the wrapper by re-exporting the original
component). Specifically, eliminate the dead symbol "Logo" imported at top and
stop declaring "props" in the default export wrapper; instead directly re-export
the original default component (export { default } from
'@theme-original/Navbar/Logo') so there are no unused identifiers.
---
Duplicate comments:
In `@apps/website/docs/overview.mdx`:
- Line 46: Replace filesystem-relative image paths that use "../static/..." with
Docusaurus static-root asset paths so they resolve after build; specifically
update the markdown image references like "" (and the other at line 69) to use the
static root (for example "/img/light-theme.png") so the images are served from
the deployed site rather than the repository filesystem.
- Around line 39-125: The page places top-level markdown headings and narrative
inside JSX wrappers (<main> and <section className={styles.features}>) which
breaks Docusaurus TOC/anchor generation; move the headings and markdown blocks
(e.g. the "# Core Logic", "## Conflict Resolution UI", "## Reordered Cell
Handling", and other MD sections) out of the JSX wrappers into top-level
MDX/Markdown content, or alternatively wrap the entire feature block in a
dedicated React component (e.g. FeatureSection) that renders the section content
as proper MDX/Markdown (keeping style classes like styles.featureContainer,
styles.featureImage, styles.featureText applied via props) so that Docusaurus
can generate anchors correctly.
🪄 Autofix (Beta)
Fix all unresolved CodeRabbit comments on this PR:
- Push a commit to this branch (recommended)
- Create a new PR with the fixes
ℹ️ Review info
⚙️ Run configuration
Configuration used: Organization UI
Review profile: ASSERTIVE
Plan: Pro
Run ID: a1ce5f73-b2f9-4229-9860-ca1e8debaaaf
⛔ Files ignored due to path filters (1)
apps/website/static/img/cell-reordering.svgis excluded by!**/*.svg
📒 Files selected for processing (14)
apps/website/docs/architecture/merge-lifecycle.mdxapps/website/docs/cell-reordering.texapps/website/docs/installation.mdxapps/website/docs/overview.mdxapps/website/docs/testing/index.mdxapps/website/docs/testing/playwright.mdxapps/website/docs/testing/vscode-host.mdxapps/website/docusaurus.config.tsapps/website/src/components/Logo.module.cssapps/website/src/components/Logo.tsxapps/website/src/css/custom.cssapps/website/src/pages/index.module.cssapps/website/src/pages/playground.tsxapps/website/src/theme/Navbar/Logo/index.tsx
- rm unmatching section, it's too detailed for a very broad overview.
There was a problem hiding this comment.
Actionable comments posted: 3
♻️ Duplicate comments (2)
apps/website/docs/overview.mdx (2)
46-46:⚠️ Potential issue | 🟠 MajorImage paths still use
../static/img/...in four places — none will resolve at build time.A previous review flagged this for the dark-theme image (now replaced by
light-theme.pngat L46), but the same broken pattern is now repeated forcell-reordering.svg(L69),auto-resolution.svg(L109) andhistory.png(L116). WithonBrokenLinks: 'throw'configured indocusaurus.config.ts, the build will fail. Docusaurus servesstatic/from the site root, so these must be absolute paths (or useuseBaseUrl).🛠️ Proposed fix
-  +  @@ -  +  @@ -  +  @@ -  + Also applies to: 69-69, 109-109, 116-116
🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed. In `@apps/website/docs/overview.mdx` at line 46, The image paths in apps/website/docs/overview.mdx still use "../static/img/..." which will not resolve at build time; update each image reference (light-theme.png, cell-reordering.svg, auto-resolution.svg, history.png) to use Docusaurus static asset paths (e.g., change "../static/img/xyz" to "/img/xyz" or wrap with useBaseUrl('/img/xyz')) so the assets are served from the site root and onBrokenLinks won't fail; locate the img markdown entries in overview.mdx and replace the path for each image accordingly.
54-54:⚠️ Potential issue | 🟡 MinorMinor wording cleanups flagged by LanguageTool.
- L54: "with regard to" → "regarding" / "respecting" reads cleaner.
- L130: "stands on the shoulders of all of the hardworking maintainers" — drop the redundant "of the"; also hyphenate "open-source" when used adjectivally.
✏️ Proposed wording
- At the end of the day, users should be able to resolve merge conflicts intuitively, and with regard to the cell structure of their notebooks. + At the end of the day, users should be able to resolve merge conflicts intuitively, respecting the cell structure of their notebooks. @@ - **MergeNB stands on the shoulders of all of the hardworking maintainers that came before it. Here are a few open source projects that made it possible:** + **MergeNB stands on the shoulders of all the hardworking maintainers that came before it. Here are a few open-source projects that made it possible:**Also applies to: 130-130
🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed. In `@apps/website/docs/overview.mdx` at line 54, Replace the phrase "with regard to the cell structure of their notebooks" with a cleaner alternative like "regarding the cell structure of their notebooks" (or "respecting the cell structure...") in the sentence that ends "resolve merge conflicts intuitively, and with regard to the cell structure of their notebooks"; also update the sentence containing "stands on the shoulders of all of the hardworking maintainers" by removing the redundant "of the" (becoming "stands on the shoulders of all the hardworking maintainers") and hyphenate "open source" when used adjectivally to "open-source" wherever that adjective appears.
🤖 Prompt for all review comments with AI agents
Verify each finding against the current code and only fix it if needed.
Inline comments:
In `@apps/website/docs/auto-resolution.tex`:
- Around line 130-142: The "Conflicted" node (the \node[font=\sffamily\small,
text=errRed] at (6.1, -1.2) {Conflicted};) is ambiguously placed under only the
whitespace row while arrows such as \draw[->, ...] (8.4, 0.0) to[out=0, in=180]
(9.8, 1.6); still route the whitespace into the Auto Resolved column; fix by
either removing that \node entirely, or move it upward so it clearly labels all
input rows as the pre-resolution "Conflicted" state (place it above the topmost
input row), or alternatively remove/adjust the specific arrow(s) for the
whitespace row (e.g., change/remove the \draw from (8.4, 0.0) ...) so whitespace
is not sent to the Auto Resolved column if the intent is to leave whitespace
unresolved.
- Around line 98-115: The diagram row shows two source cells that look different
but are drawn as auto-resolved—update the drawing so it matches the documented
rule: either make the Current and Incoming source cell shapes and code lines
identical (adjust the \draw[fill=curBg!40, draw=curBdr!80] rectangle and its
\codeline positions to match the \draw[fill=incBg!40, draw=incBdr!80] rectangle
and its \codeline positions), or add a clear text label near the row (e.g., a
small \node or text element adjacent to the output boxes) stating “only output
auto-cleared; sources differ” so the figure explicitly indicates only the output
region is being auto-cleared. Ensure the change references the existing
elements: the two source rectangles and \codeline lines plus the output boxes
drawn with errRed.
In `@apps/website/docs/overview.mdx`:
- Around line 114-124: The MDX in the feature block mixes JSX and block-level
Markdown without blank lines, causing the image and headings to be emitted as
literal text; update the block around the <div
className={styles.featureContainer}>, <div className={styles.featureImage}> and
the <div className={styles.featureText}> so there is a blank line before and
after the image markdown () and a blank line between the
closing </div> of the feature block and the "## Undo/Redo" and "## Syntax
highlighting" headings, ensuring MDX treats the image and headings as Markdown
rather than plain text.
---
Duplicate comments:
In `@apps/website/docs/overview.mdx`:
- Line 46: The image paths in apps/website/docs/overview.mdx still use
"../static/img/..." which will not resolve at build time; update each image
reference (light-theme.png, cell-reordering.svg, auto-resolution.svg,
history.png) to use Docusaurus static asset paths (e.g., change
"../static/img/xyz" to "/img/xyz" or wrap with useBaseUrl('/img/xyz')) so the
assets are served from the site root and onBrokenLinks won't fail; locate the
img markdown entries in overview.mdx and replace the path for each image
accordingly.
- Line 54: Replace the phrase "with regard to the cell structure of their
notebooks" with a cleaner alternative like "regarding the cell structure of
their notebooks" (or "respecting the cell structure...") in the sentence that
ends "resolve merge conflicts intuitively, and with regard to the cell structure
of their notebooks"; also update the sentence containing "stands on the
shoulders of all of the hardworking maintainers" by removing the redundant "of
the" (becoming "stands on the shoulders of all the hardworking maintainers") and
hyphenate "open source" when used adjectivally to "open-source" wherever that
adjective appears.
🪄 Autofix (Beta)
Fix all unresolved CodeRabbit comments on this PR:
- Push a commit to this branch (recommended)
- Create a new PR with the fixes
ℹ️ Review info
⚙️ Run configuration
Configuration used: Organization UI
Review profile: ASSERTIVE
Plan: Pro
Run ID: b79a0e62-84f8-4623-a1ca-3ea737634b8b
⛔ Files ignored due to path filters (2)
apps/website/static/img/auto-resolution.svgis excluded by!**/*.svgapps/website/static/img/history.pngis excluded by!**/*.png
📒 Files selected for processing (2)
apps/website/docs/auto-resolution.texapps/website/docs/overview.mdx
- non-overlapping arrows - red/green boxes
- forgot to remove before.
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
|



Motivation
MergeNB is an incredibly complex tool, with tons of moving parts. This PR aims to:
(a) Remove Docusaurus template scaffolding
(b) Create absolutely necessary, high value documentation.
(c) Fulfill a class project :)
Summary by CodeRabbit
New Features
Documentation
Style
Chores