Skip to content

notebooks: refactor client file hierarchy

Warren Gifford requested to merge rn/notebooks-frontend-refactor into main

Created by: novoselrok

This PR refactors and reorganizes the notebooks client structure. Previously, everything lived in a semi-flat structure, but I wanted to introduce a better system and group components and libraries by their purpose. This PR does not add any new features, it's purely refactoring.

The new structure:

  • notebooks
    • blocks
      • file
      • query
      • markdown
      • menu
    • notebook
    • createPage
    • listPage
    • notebookPage
    • serialize

I also removed the Search prefix from all notebook components, since it's not really necessary and we're mostly referring to them as just Notebook anyway.

Test plan

  • I manually checked that the list page and the notebook page, but I'm relying on the TS compiler and the automated tests to make sure everything is still working.

Merge request reports

Loading