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

Acorn We applet #208

Draft
wants to merge 79 commits into
base: main
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
79 commits
Select commit Hold shift + click to select a range
654cae5
initialized we-applet sub-directory
weswalla Sep 16, 2022
36326fa
refactor root react component to take in config info
weswalla Sep 19, 2022
0aae527
add build output for root level react component for use in we-applet
weswalla Sep 19, 2022
769c586
attempt to render acorn UI in we applet entry point
weswalla Sep 19, 2022
403b568
Merge branch 'main' into we-applet
Connoropolous Oct 3, 2022
0208541
Merge branch 'main' into we-applet
weswalla Oct 13, 2022
ca2b419
bring in applet entry point to web directory
weswalla Oct 13, 2022
e021b47
added applet entry point and webpack config
weswalla Oct 17, 2022
45671d9
renamed acorn applet export interface name
weswalla Oct 17, 2022
33c1c7b
remove web/applet/index.ts
weswalla Oct 17, 2022
26c4d87
removed we-applet directory
weswalla Oct 17, 2022
05ebb49
added npm script for building acorn applet
weswalla Oct 17, 2022
722e75e
ignore output of applet bundling
weswalla Oct 17, 2022
932de1d
use ReactDOM.render on passed in element rather than createRoot
weswalla Oct 17, 2022
7579e12
acorn applet build liscence
weswalla Oct 17, 2022
2ea8428
add bestzip and latest we-applet dependency
weswalla Oct 17, 2022
98d828f
update package-lock:
weswalla Oct 17, 2022
754f2be
update web/package-lock.json
weswalla Oct 17, 2022
ff7d3c8
added npm script for packaging applet ui as webhapp and webhapp manifest
weswalla Oct 17, 2022
9d6e467
added rimraf as dev dep
weswalla Oct 17, 2022
fe82eee
updated package-lock
weswalla Oct 17, 2022
89e658d
change name of output fire to index
weswalla Oct 17, 2022
e3eb7b1
remove appProvider output from production build
weswalla Oct 17, 2022
9860280
changed ui zip name to ui
weswalla Oct 17, 2022
f4dfb4c
add rimraf dep and reference new zip name
weswalla Oct 17, 2022
20aff9a
ignore *.zip
weswalla Oct 17, 2022
03cdde4
update package-lock:
weswalla Oct 17, 2022
99000a0
update applet dist license
weswalla Oct 17, 2022
0481b4b
add rimraf to applet package npm script
weswalla Oct 18, 2022
f5ce5e9
use raw loader to inject css into shadow root
weswalla Oct 18, 2022
af6517c
bundle all css and inject into shadow root style tag
weswalla Oct 18, 2022
56e80fd
removed unused entry point for dev bundle
weswalla Oct 19, 2022
f8ca454
git ignore applet build directory and applet happ/webhapp
weswalla Oct 19, 2022
01aaef0
premerge commit
weswalla Nov 1, 2022
65c32a9
merged main
weswalla Nov 1, 2022
54d22aa
removed built license file
weswalla Nov 1, 2022
d4ca461
WIP: acorn UI agnostic to if we or electron
weswalla Nov 2, 2022
0338edc
WIP: weProfileApi makes zome calls using WeServices
weswalla Nov 2, 2022
4d1234c
completed weProfileApi to use profileStore
weswalla Nov 2, 2022
13ad415
use hardcoded WS url if not provided, for electron only
weswalla Nov 2, 2022
4cef334
weProfilesApi handles defaults when profile fields don't exist and if…
weswalla Nov 2, 2022
4a05203
scripts and configs to package applet webhapp
weswalla Nov 2, 2022
6d478de
get cellId and agentPubKey depending on if applet or not in app-provider
weswalla Nov 2, 2022
5064d7a
update weProfileAPI to properly convert pubkey bytes to string
weswalla Nov 4, 2022
f9e03c2
removed test css
weswalla Nov 4, 2022
a8e53eb
add function to convert byte array to string
weswalla Nov 4, 2022
674e024
bundle all as one file
weswalla Nov 4, 2022
5ee73fe
WIP: loading redux state properly
weswalla Nov 4, 2022
844ed45
removed unused imports
weswalla Nov 4, 2022
166a9a2
ignore applet webhapp
weswalla Nov 4, 2022
f8bc647
bumped react version to 17
weswalla Nov 5, 2022
d8c6602
Merge pull request #209 from lightningrodlabs/react-bump
weswalla Nov 5, 2022
f71e0ba
add image assets inline
weswalla Nov 7, 2022
6cb9e79
fix many css issues
weswalla Nov 8, 2022
102ea67
fix table view css for applet
weswalla Nov 8, 2022
3799fb9
fixed blurred backgound in expanded view mode
weswalla Nov 8, 2022
eeaa032
removed scroll bars from expanded view mode
weswalla Nov 8, 2022
839bed1
more css fixes
weswalla Nov 11, 2022
5ba8ff3
set root div height and width
weswalla Nov 14, 2022
f9bacfa
provide default project meta info since not being set in we
weswalla Nov 14, 2022
5569de1
use react-onclickoutside instead of use-onclickoutside to catch click…
weswalla Nov 14, 2022
287b212
more css fixes for overflow-y
weswalla Nov 15, 2022
a6d1236
add default project meta if applet in app provider
weswalla Nov 15, 2022
043b9fb
include acorn logo in applet icon
weswalla Nov 25, 2022
5172107
refactored root app component to separate run time context
weswalla Nov 25, 2022
f4f23a4
prevent overwriting of other agent pub key with current agent pubkey
weswalla Dec 2, 2022
7175ca1
formatting
weswalla Dec 19, 2022
269eefa
performance testing with time logs
weswalla Dec 19, 2022
1ff1aca
removed unused imports
weswalla Dec 19, 2022
8ca1c7e
package-lock update
weswalla Dec 19, 2022
92d4eac
deleted auto-generated license file
weswalla Dec 19, 2022
099970d
Merge branch 'main' into we-applet-profiles
weswalla Dec 27, 2022
e7450c3
Merge branch 'main' into we-applet-profiles
weswalla Jan 13, 2023
b699ffe
use holochain_cli beta-rc.2
weswalla Jan 16, 2023
36dfaa6
fix merge issues and routing to work in dev mode
weswalla Jan 16, 2023
9361d2b
update happ manifest and WeApplet imported types
weswalla Jan 16, 2023
a831277
refactored index.tsx to use app-provided component
weswalla Jan 16, 2023
6c0fab0
removed commented out code
weswalla Jan 16, 2023
1e73c5d
use local state to update applet project id
weswalla Jan 16, 2023
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
9 changes: 8 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,11 @@ web/dist/*.js
web/dist/*.js.map
web/storybook-static

web/applet-dist/
happ/workdir/acorn_applet.happ
happ/workdir/acorn-applet.webhapp
happ/workdir/applet/acorn-applet.webhapp

target/
back/.cargo/
back/2-conductor-config.yml
Expand All @@ -25,4 +30,6 @@ keystore2
my-proxy-cert.cert

**/.DS_Store
.DS_Store
.DS_Store

*.zip
Binary file added happ/workdir/acorn_applet.happ
Binary file not shown.
11 changes: 11 additions & 0 deletions happ/workdir/applet/happ.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
manifest_version: "1"
name: acorn
description: productivity tool for distributed software teams
roles:
- name: acorn-applet
provisioning:
strategy: create
deferred: false
dna:
bundled: "../projects.dna"
clone_limit: 0
7 changes: 7 additions & 0 deletions happ/workdir/applet/web-happ.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---
manifest_version: "1"
name: acorn-applet
ui:
bundled: "../../../web/ui.zip"
happ_manifest:
bundled: "../acorn_applet.happ"
7 changes: 7 additions & 0 deletions happ/workdir/web-happ.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---
manifest_version: "1"
name: acorn-applet
ui:
bundled: "../../web/ui.zip"
happ_manifest:
bundled: "./acorn_applet.happ"
Loading