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

Story authoring tool #604

Open
wants to merge 23 commits into
base: main
Choose a base branch
from
Open

Story authoring tool #604

wants to merge 23 commits into from

Conversation

nerik
Copy link
Contributor

@nerik nerik commented Aug 7, 2023

  • Adds an entry in the global nav to access the publication tool (not in production)
  • Adds a simple UI for managing editable stories (only in local storage)
  • Allows editing stories by individual blocks that can be moved around, deleted, edited individually

TODO:

  • Missing the other sections of the story editing:
    • Metadata editor
    • "Export" which really should be a raw MDX editor thing
    • Possibly a "Preview" tab
  • Missing the option to create a story from scratch
  • Error handling is not working properly
  • Currently the model is a structured object with an array for blocks, rather than the full MDX document. Could be maybe more efficient to be the other way around: full MDX document as the source of truth, with a getter to split the document by block and extract the frontmatter.

@netlify
Copy link

netlify bot commented Aug 7, 2023

Deploy Preview for veda-ui ready!

Name Link
🔨 Latest commit 0a4f996
🔍 Latest deploy log https://app.netlify.com/sites/veda-ui/deploys/652d39670e2ce100076721cd
😎 Deploy Preview https://deploy-preview-604--veda-ui.netlify.app/
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@nerik nerik changed the title Publication tool Story authoring tool Oct 6, 2023
@nerik nerik requested a review from hanbyul-here October 12, 2023 08:21
@nerik nerik marked this pull request as ready for review October 12, 2023 08:21
@j08lue
Copy link
Contributor

j08lue commented Oct 12, 2023

Great how this is coming together!

I am aware that this is just a placeholder, but can we already pick a different place for this tool than the top nav? The footer, maybe, or the hamburger / kebab menu on the right?

Just so it is a bit less invasive when we demo this feature. 😄

Really just a quick fix - we can think more thoroughly about how we will advertise / expose this tool to our content contributors later.

@nerik
Copy link
Contributor Author

nerik commented Oct 12, 2023

@j08lue Yeah ok, maybe that was a bit invasive 😅 Moved that to the homepage footer:

Screenshot 2023-10-12 at 15 15 54

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants