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
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
StoryEditor.vue
).ApiServiceAdapter
interface for saving and retrieving stories.ApiServiceAdapter
implementation.StoryRawUnitGeneratorMap
.en.ts
) for the Story Editor and the new types of story units.index.ts
).Fixes #153.
To checkout this PR branch, run the following command in your terminal:
🎉 Latest improvements to Sweep:
💡 To get Sweep to edit this pull request, you can: