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

feat: auto save setting #645

Merged
merged 4 commits into from
Oct 15, 2022
Merged

feat: auto save setting #645

merged 4 commits into from
Oct 15, 2022

Conversation

solvedDev
Copy link
Member

@solvedDev solvedDev commented Oct 14, 2022

Summary

This implements an auto save setting. When it is enabled, bridge. will automatically save all unsaved changes to files after a 3s delay.
I consider auto saving an important feature to improve the experience using bridge. on mobile as saving files isn't something users are used to do manually on these platforms (that's why the setting is on by default for mobile users). In the past, bridge. not automatically saving changes has been a source of constant confusion for our users.

@solvedDev solvedDev added the feature Request of a new feature label Oct 14, 2022
@solvedDev solvedDev added this to the v2.3.X milestone Oct 14, 2022
@solvedDev solvedDev self-assigned this Oct 14, 2022
@stackblitz
Copy link

stackblitz bot commented Oct 14, 2022

Review PR in StackBlitz Codeflow Run & review this pull request in StackBlitz Codeflow.

@solvedDev solvedDev linked an issue Oct 14, 2022 that may be closed by this pull request
@solvedDev solvedDev merged commit 65f3268 into dev Oct 15, 2022
@solvedDev solvedDev deleted the feat/auto-save branch October 15, 2022 15:45
solvedDev added a commit that referenced this pull request Oct 15, 2022
* upd: add more title fields to schemas

towards #508

* upd: change custom geometry block preset to create full 16x16 block

closes #536

* upd: format preset files

* fix: support decimal values in block ticking component range

* upd: add allowMultiple property to function schema

* Fix: Subcommands not parsing selectors

* Fix: Negating score data

* feat: schema for molang language

proposed format for molang language auto-completions and validation
towards #124

* Fix: allow multiple argument, json data not being reconstructed

* upd: Update zh_CN locales to v2.3.3 latest version (#613)

* fix: file downloads from tree editor

Done some testing and this change doesn't seem to break any other systems

* upd: new molang schema format

* Fix: tickingarea command argument radius has wrong type

* Fix: Usernames allowed in selectors

* Fix: Clone command destination and end arguments

* Fix: [] with @ in front not being properly constructed

* fix: issue with importing UI components from other UI components
closes #595

* upd: improved molang schema format

* fix: error when sometimes opening directory viewer context menu on touch devices

* fix: getProjectAuthors extension API

* fix: issue where data sometimes wasn't properly refreshed after an update
closes #620

* fix(bbmodel): error upon choosing texture location
closes #615

* perf(bbmodel): speed up model imports

* fix(bbmodel): use correct model_identifier

* upd: bump vite

* upd: better fallback font when roboto fails to load

* feat(DirectoryViewer): import file action

* upd: latest stable format version

* feat: optimize pack indexing performance
Results in up to 60x faster indexing of all project files in real world, large projects.
This means that a project which previously took 1 minute to index, now roughly takes 1s.

* fix: remove unused imports

* upd: bump dash
This update makes Dash more than 2x faster

* fix: type error

* fix: actually fix type error

* upd: data to latest preview + versioning for recipe schema

closes #357

* upd: optimize installing files from extensions

* upd: bump dash
closes #626

* fix: dash should be readonly

* fix: await com.mojang folder being available before creating dash service

* upd: script module creation to latest preview

* upd: requires matcher to support new script module names

* upd: data to latest preview

* upd: exp toggle "Enable GameTest Framework" -> "Beta APIs"

* fix: remove generated_with from manifest if disabled

* fix: typo

* upd: Dutch translations

* fix: preset window icon colors

closes #622

* fix: file import folder name (#634)

* fix: virtual project activation

* upd: packages

* upd: bump dash-compiler
Enables our latest performance improvements on bridge.'s nightly build.

* upd: efficient file copying (inactive)
Not sure why this is slower than manually calling readFile & writeFile...

* feat(IframeApi): project.getItemPreview

* upd: add codeflow badge

* fix: display badges inline

* feat: setting to enable/disable com.mojang project loading

* fix: error upon opening new file window (#637)

* fix(CodeflowBadge): use target blank

* upd(ProjectChooser): load all projects button now also works for com.mojang projects (#641)

* feat: always show available compiler plugin names (#636)

* feat: no mobile toolbar (#640)

* feat: no mobile toolbar

* upd: add bridge. logo & version number back

* upd: click on bridge. logo opens changelog window
Removed version number at the bottom of the sidebar. It caused weird overflow behavior and didn't behave as previously within the toolbar.

* fix: remove unnecessary v-if

* fix: infinite loading after first setting up com.mojang folder

* fix: also set new _hasComMojangHandle property correctly

* upd(ComMojang): remove double prompt (#644)

* upd(Extensions): only allow global installations on HomeView (#647)

* feat: tab switching actions (#646)

* feat: auto save setting (#645)

* feat: auto save setting

* feat: auto-save upon switching tabs

* fix: don't trigger auto-save for handles without parent context

* fix: don't disable bridge. predictions by default (yet)

* v2.3.4

* upd: add 1.19.50 format version

Co-authored-by: Joelant05 <64587014+Joelant05@users.noreply.github.com>
Co-authored-by: Outer Cloud Studio <outercloudstudio@gmail.com>
Co-authored-by: 方法放寒假 <40489495+MiemieMethod@users.noreply.github.com>
Co-authored-by: outercloudstudio <60296487+outercloudstudio@users.noreply.github.com>
Co-authored-by: Pascal <pascal.de.heij12@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature Request of a new feature
Projects
Status: 🚀 Done
Development

Successfully merging this pull request may close these issues.

Autosave Feature
1 participant