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

[Feature] Add Story Editor #154

Closed
wants to merge 4 commits into from
Closed

[Feature] Add Story Editor #154

wants to merge 4 commits into from

Conversation

sweep-ai[bot]
Copy link
Contributor

@sweep-ai sweep-ai bot commented Sep 6, 2023

Description

This PR adds a new feature to the Blue Archive application: the Story Editor. The Story Editor allows users to create and edit stories for the game. It includes a text editor for writing the story and a sidebar for selecting different types of story units. The Story Editor also includes localization support for multiple languages.

Summary of Changes

  • Created a new Vue component for the Story Editor view (StoryEditor.vue).
  • Added methods to the ApiServiceAdapter interface for saving and retrieving stories.
  • Implemented the new methods in the ApiServiceAdapter implementation.
  • Added new types of story units to the StoryRawUnitGeneratorMap.
  • Implemented the raw and internal methods for the new types of story units.
  • Added new entries to the localization file (en.ts) for the Story Editor and the new types of story units.
  • Added a new route for the Story Editor view in the router configuration (index.ts).

Fixes #153.


To checkout this PR branch, run the following command in your terminal:

git checkout sweep/story-editor

🎉 Latest improvements to Sweep:

  • Use Sweep Map to break large issues into smaller sub-issues, perfect for large tasks like "Sweep (map): migrate from React class components to function components"
  • Getting Sweep to format before committing! Check out Sweep Sandbox Configs to set it up.
  • We released a demo of our chunker, where you can find the corresponding blog and code.

💡 To get Sweep to edit this pull request, you can:

  • Leave a comment below to get Sweep to edit the entire PR
  • Leave a comment in the code will only modify the file
  • Edit the original issue to get Sweep to recreate the PR from scratch

@sweep-ai sweep-ai bot added the sweep Assigns Sweep to an issue or pull request. label Sep 6, 2023
@github-actions github-actions bot added the module: story-player 播放器的问题 label Sep 6, 2023
@mark9804 mark9804 closed this Sep 6, 2023
@mark9804 mark9804 deleted the sweep/story-editor branch September 13, 2023 13:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
module: story-player 播放器的问题 sweep Assigns Sweep to an issue or pull request.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Feature] 剧情编辑器有考虑做吗
1 participant