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

Creating a new folder for pages does not update the web UI #72

Closed
v79 opened this issue Jan 8, 2024 · 4 comments · Fixed by #73
Closed

Creating a new folder for pages does not update the web UI #72

v79 opened this issue Jan 8, 2024 · 4 comments · Fixed by #73
Labels
bug Something isn't working

Comments

@v79
Copy link
Owner

v79 commented Jan 8, 2024

There is no refresh of the web UI when a folder is created. The new page modal does not show the newly created folder.

@v79
Copy link
Owner Author

v79 commented Jan 8, 2024

Only after regenerating metadata, and logging out then in again, does the folder appear.

@v79 v79 added the bug Something isn't working label Jan 8, 2024
@v79
Copy link
Owner Author

v79 commented Jan 8, 2024

Even after creating a new page in the new folder, it does not appear in the tree menu on the left.

@v79
Copy link
Owner Author

v79 commented Jan 8, 2024

Creating a new page in a new folder does not place the page in the correct place in the source bucket (it goes to the root, not under /sources/pages/newfolder/newpage.

@v79
Copy link
Owner Author

v79 commented Jan 8, 2024

Fixing this by:

  • creating new API route GET /project/pages/folders/
  • moving fetching of pages, folders etc to the markdown store rather than the pageList component
  • moving from promise chaining to await

@v79 v79 linked a pull request Jan 15, 2024 that will close this issue
@v79 v79 closed this as completed in #73 Jan 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant