Skip to content

Commit

Permalink
v2.5.0 (#769)
Browse files Browse the repository at this point in the history
* upd: v1.19.50 is stable now

* upd: remove experimental requirement for set_property event response

* upd(DocScraper): change documentation fetch url

* upd: filter undefined_test_only from identifiers

* fix: remove unnecessary border-radius

* feat: native bridge. v2 builds (#740)

* feat: initial tauri integration

* fix: build problems

* fix: disable service worker for tauri

* fix: use version from package.json

* fix: build error

* fix: tauri action

* fix: build command

* v2.4.2

* fix: product name

* v2.4.3

* fix: deploy script

* v2.4.4

* upd: app icon

* v2.4.5

* feat: custom update flow

* upd: vite config

* upd: no pointer events on toolbar title

* upd: tauri configuration

* v2.4.6

* fix: build error

* fix: disable updater dialog

* v2.4.7

* fix: enable window decorations on windows again

* upd: improve custom update flow

* upd: faster data loading

* feat: discord rpc support

* upd: change comment

* feat: reveal in file explorer

* upd: change discord rpc logo

* feat: reload app shortcut

* feat(VirtualFs): WIP support for arbitrary backing stores

Still need to get comlink serde back running. TauriFsStore needs testing

* feat: comlink virtual fs serde

* feat: initial working version of native fs integration

* fix: disable save warning for tauri build

* fix: make proper project chooser available

* fix: disable quick export

* fix: disable project save action

* feat: faster dash builds

* upd: version

* feat(saveOrDownload): use reveal_in_file_explorer

* fix(RevealInFileExplorer): do not panic on linux

* feat: support com.mojang syncing
Supports automatically inferring com.mojang directory location on windows.

* feat: support for setting com.mojang folder

* upd: TauriSetup is no longer required

* fix: build error

* fix: close compiler window after linking folder

* upd: make "Link Folder" translatable

* v2.4.8

* fix: web app build error

* fix: revealInFileExplorer action

* fix: duplicated menu bar on window

* fix(Toolbar): only add padding on macos

* fix(Toolbar): bridge logo display

* feat: debug display for com.mojang folder location

* fix(HomeView): hide choose folder btn for tauri builds

* fix: errors upon updating data

* fix: use dynamic import

* v2.4.9

* fix: paths on windows

* v2.4.10

* fix: more issues with paths on windows

* upd: linked folder path display

* v2.4.11

* upd: contribution instructions for native builds

* fix: dash now works on windows

* feat: custom title bar on windows

* v2.4.12

* fix: window controls showing on wrong platforms

* v2.4.13

* feat: faster schema script generation
towards #746

* feat: faster component schema generation
towards #746
Also changes component generation to use a new version of dash for better performance.

* upd: speed up iterating directory contents

* fix: disable com.mojang drop on tauri build

* feat: enable open folder for tauri builds

* feat: warn before closing with unsaved changes

* upd: updater URL

* fix(StartScreen): make bridge. logo draggable

* fix: brproject exports

* fix: tauri downloads

* v2.4.14

* fix(Vite): don't watch src-tauri

* upd: disable move to local project action on tauri builds

* upd: open project folder action now use reveals in file explorer

* fix: error upon using force data download option

* upd: slightly improve perf of memoryStore.has(...)

* fix: dash watch mode works now

* v2.4.15

* fix: type error

* upd: improve shareFile function

* feat: solid views (#753)

* feat: initial support for embedding SolidJS

* upd: test code

* feat: WIP directory viewer rewrite

* fix(Vue): render SolidView only once

* fix: ripple color in light mode

* feat(SolidCompat): toVue utility function

* fix: disable useIcon helper for solid

* fix: type error

* fix: type error

* fix: duplicated entries within virtual fs (#752)

* fix: duplicated entries within virtual fs

* upd: add comment

* fix: rename files on mobile (#751)

closes #580

Co-authored-by: Joelant05 <64587014+Joelant05@users.noreply.github.com>

* fix(IndexedDb): format compat (#750)

Co-authored-by: Joelant05 <64587014+Joelant05@users.noreply.github.com>

* upd: use last modified timestamp (#749)

* upd: use last modified timestamp

* fix: correctly register Rust functions

fixes this PR from breaking "reveal_in_file_explorer"

* upd: remove unnecessary type assertion

Co-authored-by: Joelant05 <64587014+Joelant05@users.noreply.github.com>

* upd(SetupView): change local message to indicate next steps
(Hint towards creating a new project)

* fix(SetupView): disable com.mojang step for tauri builds

* feat(tauri): import projects (#756)

* feat: import projects

* fix: remove unused import

* feat: open with snowstorm (#754)

* fix: lang key

* feat: fast directory copying (#761)

* feat: fast directory copying

* upd: copyFolder should also use fast path

* fix: inactive tab display (#763)

* feat: fast path for getDirectoryHandle (#760)

* feat(tauri): fast path for getDirectoryHandle

* feat: fast get directory handle for indexed db

Co-authored-by: Joelant05 <64587014+Joelant05@users.noreply.github.com>

* upd: simpler PR template

* fix: openInSplitScreen (#768)

* feat: import multiple projects (#767)

* v2.5.0

* feat: terminal (#755)

* feat: WIP terminal

* upd: progress on terminal
- upd: support stderr
- upd: move UI to solid

* feat: cwd support
Support the "cd" command and display the cwd within the terminal UI

* feat: add new bottom panel UI
Move WIP terminal into the bottom panel

* fix: bottom panel padding

* feat: allow disabling ripple

* fix: bottom panel overflow style

* upd: decrease ripple opacity

* upd: WIP compiler logs tab

* feat: SolidIconButton component

* fix: issue with tab bar

* feat: import terminal on demand

* feat(TabBar): scale transition

* fix: bottom panel open button position

* feat: make compiler tab work

* upd(CompilerPanel): improve margin logic

* upd: BottomPanel

* feat(BottomPanel): now uses translation files

* fix: add padding between scrollbar and panel content

* fix: bottom panel layout with welcome screen & split screen

* fix: add drop shadow to command bar menu

* fix: remove unused component

* fix: remove unused component

* feat: use global app state for child processes

* upd: move commands to fs_extra module

* upd: use tokio

* feat: finish terminal

* upd: tweak terminal style

* upd: tweak text field styles

* fix: margin issues around bottom panel

* upd: disable bottom panel by default

* fix: error upon accessing particle texture

* upd: replace ANSI color codes

* fix: scrollbar overflow

* fix: typo

* feat: dynamic type loading (#758)

* feat: dynamic type loading

* upd: WIP data package

for testing this PR

* upd: complete data package

Again, for testing. I'll push this to editor-packages when this PR is merged

* upd: rewrite caching logic to be more reliable

cache is now updated once after everything has been fetched

* upd: bump mc-project-core

* upd: minor changes
- fix: error upon failing to fetch types
- upd: negate logic to flatten code structure

Co-authored-by: solvedDev <solvedDev@gmail.com>

* fix: type error

* feat: new type format

closes #710

* upd: data to latest preview

Co-authored-by: Joelant05 <64587014+Joelant05@users.noreply.github.com>
  • Loading branch information
solvedDev and Joelant05 authored Dec 9, 2022
1 parent 63640ce commit 9d9315d
Show file tree
Hide file tree
Showing 159 changed files with 8,332 additions and 852 deletions.
20 changes: 2 additions & 18 deletions .github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
@@ -1,21 +1,5 @@
<!--- Provide a general summary of your changes in the Title above -->

## Description
<!--- Describe your changes in detail -->

## Motivation and Context
<!--- Why is this change/feature required? What problem does it solve? -->
<!--- If it fixes an open issue, please link to the issue here. -->

## Screenshots (if appropriate):

## Types of changes
<!--- What types of changes does your code introduce? Put an `x` in all the boxes that apply: -->
- [ ] Bug fix (non-breaking change which fixes an issue)
- [ ] New feature (non-breaking change which adds functionality)
## Motivation

## Checklist:
<!--- Go over all the following points, and put an `x` in all the boxes that apply. -->
<!--- If you're unsure about any of these, don't hesitate to ask. We're here to help! -->
- [ ] My code follows the code style of this project.
- [ ] I have tested my changes and confirmed that they are working
## Additional Context
72 changes: 72 additions & 0 deletions .github/workflows/build-tauri-app.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,72 @@
name: Build Tauri App
on:
release:
types: [published]
workflow_dispatch:

jobs:
release:
strategy:
fail-fast: false
matrix:
platform: [macos-latest, ubuntu-latest, windows-latest]

runs-on: ${{ matrix.platform }}
steps:
- name: Checkout 🛎️
uses: actions/checkout@v3

- name: Install Node 🧰
uses: actions/setup-node@v2
with:
node-version: 16
cache: 'npm'

- name: Install Rust 🦀
uses: actions-rs/toolchain@v1
with:
toolchain: stable

- name: Install dependencies (ubuntu only) 📦
if: matrix.platform == 'ubuntu-latest'
run: |
sudo apt-get update
sudo apt-get install -y libgtk-3-dev webkit2gtk-4.0 libappindicator3-dev librsvg2-dev patchelf
- name: Install npm packages 🔧
run: npm i

# - name: Add aarch64 target
# if: matrix.platform == 'macos-latest'
# run: rustup target add aarch64-apple-darwin

# - name: Build the app (Apple Silicon)
# uses: solvedDev/tauri-action@dev
# if: matrix.platform == 'macos-latest'

# env:
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
# TAURI_PRIVATE_KEY: ${{ secrets.TAURI_PRIVATE_KEY }}
# TAURI_KEY_PASSWORD: ${{ secrets.TAURI_KEY_PASSWORD }}

# with:
# tagName: v__VERSION__ # tauri-action replaces \_\_VERSION\_\_ with the app version
# releaseName: 'v__VERSION__'
# releaseDraft: true
# prerelease: false
# args: --target aarch64-apple-darwin

- name: Build the app 💻
uses: solvedDev/tauri-action@dev

env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
TAURI_PRIVATE_KEY: ${{ secrets.TAURI_PRIVATE_KEY }}
TAURI_KEY_PASSWORD: ${{ secrets.TAURI_KEY_PASSWORD }}
VITE_IS_TAURI_APP: true

with:
tagName: v__VERSION__ # tauri-action replaces \_\_VERSION\_\_ with the app version
releaseName: 'v__VERSION__'
releaseDraft: false
prerelease: false
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Build and Deploy
name: Build Web App
on:
release:
types: [published]
Expand Down
5 changes: 5 additions & 0 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,11 @@ In order to get started testing the application, you need to install [NodeJS](ht
Open the terminal, cd to the directory you have cloned "bridge." to and run `npm i`. Afterwards, you can use `npm run dev` and `npm run build`
to start the development environment and build versions of "bridge.".

### Native Builds

We use [Tauri](https://tauri.app/) to build native versions of bridge. v2. If you want to run the native app in development mode, follow the steps described [here](https://tauri.app/v1/guides/getting-started/prerequisites). Afterwards, run `cargo install tauri-cli` to install the Tauri CLI.
You can now run `cargo tauri dev` to start the native app in development mode.

## Code Rules

### Verified as working
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<img alt="Open in Codeflow" src="https://developer.stackblitz.com/img/open_in_codeflow_small.svg" >
</a>

<a style="border-radius: 4px" href="https://bridge-core.app/">
<a href="https://bridge-core.app/">
<img src="./public/img/social-preview-rounded.png">
</a>

Expand Down
6 changes: 5 additions & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -133,6 +133,8 @@

width: 100vw;
height: calc(100vh - 50px);
app-region: drag;
-webkit-app-region: drag;
}
.initial-boot img {
place-self: center;
Expand Down Expand Up @@ -192,16 +194,18 @@
<div id="app"></div>

<!-- Initial boot screen -->
<div class="initial-boot">
<div data-tauri-drag-region class="initial-boot">
<% if(isNightly) { %>
<img
src="/img/icons/nightly/android-chrome-192x192.png"
data-tauri-drag-region
draggable="false"
alt="bridge Nightly"
/>
<% } else { %>
<img
src="/img/icons/android-chrome-192x192.png"
data-tauri-drag-region
draggable="false"
alt="bridge"
/>
Expand Down
Loading

0 comments on commit 9d9315d

Please sign in to comment.