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

0.9.0 #111

Merged
merged 65 commits into from
Oct 26, 2024
Merged

0.9.0 #111

Changes from 1 commit
Commits
Show all changes
65 commits
Select commit Hold shift + click to select a range
7bc13b9
New UI setup and looking clean
cplepage Oct 10, 2024
efc764b
review
cplepage Oct 10, 2024
c01e002
Merge pull request #101 from fullstackedorg/100-setup-new-ui-primitives
cplepage Oct 10, 2024
4672235
projects view and some organizing
cplepage Oct 11, 2024
c74fcab
fixed bouncy logo splash
cplepage Oct 11, 2024
5da7c09
safer delete project
cplepage Oct 11, 2024
08e5493
create views and scrollable view
cplepage Oct 11, 2024
e77f279
settings
cplepage Oct 13, 2024
1142bf1
settings looks nice
cplepage Oct 14, 2024
13f184e
advancements
cplepage Oct 15, 2024
117b0ce
some tuning
cplepage Oct 15, 2024
a6514d0
file tree
cplepage Oct 15, 2024
8056408
code editor with ts
cplepage Oct 15, 2024
c79da3e
import zip
cplepage Oct 15, 2024
ee14525
import zip cb
cplepage Oct 15, 2024
ee1f91f
rename method in Android and iOS adapters
cplepage Oct 16, 2024
2197aa7
ImageView fix
cplepage Oct 16, 2024
18ce0bf
create, rename, delete items
cplepage Oct 16, 2024
9d3f492
git dialog
cplepage Oct 17, 2024
285cb65
files
cplepage Oct 17, 2024
aff1f09
git changes
cplepage Oct 17, 2024
4f43eb9
fixed rename on win
Oct 17, 2024
ceddb76
fmt
cplepage Oct 17, 2024
7236e11
test commit
cplepage Oct 17, 2024
3770873
git dialog
cplepage Oct 18, 2024
a4b85be
git status arrow
cplepage Oct 18, 2024
61b311d
fmt
cplepage Oct 18, 2024
2a31b42
package installer
cplepage Oct 21, 2024
e4ec600
files
cplepage Oct 21, 2024
9b62dc6
even faster deps discovery
cplepage Oct 21, 2024
acd1416
reviews
cplepage Oct 21, 2024
1e19640
concurrent install 1
cplepage Oct 21, 2024
c34ff7e
pull new switched branch is on remote
cplepage Oct 21, 2024
e341734
create new branch
cplepage Oct 21, 2024
845e349
started peers view
cplepage Oct 22, 2024
4d18216
fmt
cplepage Oct 22, 2024
95f1406
peers
cplepage Oct 23, 2024
e5bee93
git auths
cplepage Oct 24, 2024
87377d5
almost there
cplepage Oct 24, 2024
189b0ae
completed settings
cplepage Oct 25, 2024
412f484
better re-rendering
cplepage Oct 25, 2024
ed9441b
esbuild installer
cplepage Oct 25, 2024
76eec07
rename
cplepage Oct 25, 2024
60e94e1
files
cplepage Oct 25, 2024
ee3fbe2
Merge pull request #104 from fullstackedorg/102-main-views
cplepage Oct 25, 2024
90cdd68
deleted old icons
cplepage Oct 25, 2024
f6e10f0
typecheck
cplepage Oct 25, 2024
9b387f4
fmt
cplepage Oct 25, 2024
31d9c11
useless import
cplepage Oct 25, 2024
1e7aa7b
merge main
cplepage Oct 25, 2024
c488735
deeplink and import demo
cplepage Oct 25, 2024
f04becb
file
cplepage Oct 25, 2024
2da97ad
fmt
cplepage Oct 25, 2024
c68440e
Merge pull request #106 from fullstackedorg/42-progress-for-deep-link…
cplepage Oct 25, 2024
e401cf8
pass
cplepage Oct 25, 2024
89db177
Merge pull request #109 from fullstackedorg/105-rewrite-tests
cplepage Oct 25, 2024
cabfa21
test wokring on windows
Oct 25, 2024
54aaa3b
windows darker scroll bar
Oct 25, 2024
254774c
prettier on ctrl/cmd + s
Oct 25, 2024
aa1cbea
view is functional
cplepage Oct 26, 2024
e7529a0
looking good
cplepage Oct 26, 2024
0f04919
looking good
cplepage Oct 26, 2024
08da6a0
test passes
cplepage Oct 26, 2024
f3a435b
clean
cplepage Oct 26, 2024
f252f79
Merge pull request #110 from fullstackedorg/new-root-dir
cplepage Oct 26, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
even faster deps discovery
  • Loading branch information
cplepage committed Oct 21, 2024
commit 9b62dc685f7d74e65db5be1e7b79ef38895ab395
35 changes: 17 additions & 18 deletions editor/views/new/packages/installer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -280,8 +280,9 @@ let progressView: {
remove: () => void,
addPackage: ReturnType<typeof PackagesInstallProgress>["addPackage"]
};
const concurrentInstallation = 3
const concurrentInstallation = 1
let currentlyInstalling = 0;
const td = new TextDecoder();

const packagesToInstall: {
name: string,
Expand Down Expand Up @@ -370,8 +371,7 @@ function installLoop(){
}
installPackage(packageToInstall.name)
.then((deps) => {
console.log(deps);


currentlyInstalling--;

if(!deps) {
Expand Down Expand Up @@ -431,12 +431,23 @@ async function installPackage(name: string) {
filesToWrite = [];
};

const packageJSONFile = `${nodeModulesDirectory}/${name}/package.json`;
let deps: string[];

for (let i = 0; i < files.length; i++) {
const file = files[i];
if (file.type === "5") continue;

const pathComponents = file.name.split("/").slice(1); // strip 1
const path = pathComponents.join("/");
const path = `${nodeModulesDirectory}/${name}/${pathComponents.join("/")}`;

if(path === packageJSONFile) {
const packageJSON = JSON.parse(td.decode(file.buffer));
if(packageJSON.dependencies) {
deps = Object.keys(packageJSON.dependencies);
deps.forEach(install);
}
}

let currentPayloadSize = filesToWrite.reduce(
(sum, { data }) => sum + data.byteLength,
Expand All @@ -451,7 +462,7 @@ async function installPackage(name: string) {
}

filesToWrite.push({
path: `${nodeModulesDirectory}/${name}/${path}`,
path,
data: new Uint8Array(file.buffer)
});

Expand All @@ -470,17 +481,5 @@ async function installPackage(name: string) {

installingPackages.delete(name);


const packgeJSONFile = `${nodeModulesDirectory}/${name}/package.json`;
const packageJSONStr = (await rpc().fs.readFile(packgeJSONFile,
{
encoding: "utf8",
absolutePath: true
}
)) as string;
const packageJSON = JSON.parse(packageJSONStr);

if(packageJSON.dependencies) {
return Object.keys(packageJSON.dependencies)
}
return deps;
}