Changelog
v2.0.0
This release will focus on stability and QoL features and it will be ultimately easier to maintain. Users shouldn’t expect much change in the core functionality of the app. So far here is the list of new features that are implemented
-
Tailwind: Goodbye antd , hello tailwind, the amount of time I’ve spent trying to override CSS classes is embarrassing. Now creating custom styles and layouts will be much easier and faster. The app should also be more consistent in styling. This however is proving to be really time consuming but im confident it will be worth it.
-
Tabs: We were limited to only one edit one document at a time. Now it is possible to have multiple tabs with multiple documents for faster editing. We also have the concept of “Diff” so changes will be “undo-able” before saving. Also tabs can be manually saved, or rolled back, similar to vscode behaviour.
-
Embrace the markdown: I will drop support for rich text and favor only markdown. For this to work, the editor must be user friendly and as close as “WYSIWYG” as possible, while providing a human readable markdown content. Drafft now uses the wonderful mdxeditor library which has been great so far and provide an awesome set of features, like tables, image resize, sandpack, diff/preview/source mode, mdx support, and more.
-
Pick Anything: In the past, image/attachment support was… rudimentary. Images were serialized as base64 inline in the gdd content. This would create a really cumbersome output. Pouchdb, the database that Drafft uses, has a great support for attachments, so it makes sense to create a proper image library, which will allow to reuse assets and link them in different documents without the need of duplicating the assets. How would the user pick and link an image and insert it into a document then? enter, the mighty picker.
The picker, is… well, a picker, the idea is that basically any type of document can be searched, “picked” and/or “linked” inside a document. For example on a gdd document, we could insert a link to a script and have a tab open when the user click on that link. Similarly we could pick an image from the media library.
Another great use of the picker is for navigation, just press ctrl+p and search for a document by name/collection/id to find it and navigate. Moreover, Drafft can now navigate to any document via a custom protocol url, a link like drafft://gdd/unique-id-of-the-document will trigger drafft to open that document in a new tab and focus it. Very useful for custom links, sharing to other users, or linking to images.
Another use of the picker is the "Command picker" , pressing ctrl+shift+p will open a command picker, where the user can search for a command and run it immediately. This is useful for quick actions like unlocking a document, or quick loading a project.
-
Keyboard Shortcuts : App wide shortcuts for common actions.
-
Script Editor
- Autocomplete: The script editor now has builtin autocomplete for Actors (::ActorName::) and Commands (::CommandName::). In the future it will be possible to add other tables like items, quests, etc.
- Highlight inline JSON: Inline JSON will be highlighted and validated.
1.4.5 - 2024-12-08
- Fix "Restore Database into New Project Doesn't Work" bug
- Add Word wrap option for script editor.
1.4.2 - 2023-08-31
- Fix: Script player not working case insensitive.
- Fix: Actor Toolbar export script not showing up.
- Maintenance: Add content to quick start docs.
1.4.1 - 2023-08-27
- Fix: Export button not working.
1.4.0 - 2023-08-19
- Feature: Add a simple REST api to get the game content and a database dump.
- Maintenance: Update quickstart docs
1.3.2 - 2023-08-09
- Fix: Fix default editor language not applying on items and misc collections.
- Fix: Add TOML as default editor language.
1.3.0 - 2023-08-01
IMPORTANT: Potential breaking changes. Please backup your projects before updating.
- Feature: Upgrade Markdown Editor to a more performant version.
- Feature: Add TOML support for quests, items and misc.
- Fix: When unlocking a dialog, attempt to save the current dialogue script if any. Cancel any autosave.
- Fix: Proper error message if project exists when creating a new project.
- Fix: Alias not being generated at certain occasions.
- Fix: Refresh Script after generating tags.
- Fix: Dialogue player not moving backwards on certain scenarios.
- Fix: Grid edit form not updating.
- Fix: Grid max height.
- Fix: Autodetect Actors crash.
- Fix: A Lot of minor CSS fixes.
- Maintenance: Upgrade dependencies, delete old packages.
- Maintenance: Migrate bundler from Webpack to Vite.
- Maintenance: Migrate every mobx decorator class to ES compliant.
- Maintenance: Set up tailwindCSS alongside antd for future upgrades.
1.2.2 - 2023-04-2
- Feature: Game Maker Language (GML) support for scripts.
- Feature: Dialogue script can now have a related language