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

Codebase restructure #197

Merged
merged 100 commits into from
Nov 2, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
100 commits
Select commit Hold shift + click to select a range
67eb68d
add initial interfaces, init turborepo
bartolomej Oct 1, 2023
d8e9dba
migrate first batch of flow services, add example in-memory index imp…
bartolomej Oct 1, 2023
cfe3929
move most of flow services to core package
bartolomej Oct 7, 2023
b7512a8
move more services to modules
bartolomej Oct 7, 2023
844ff5b
refactor processor service
bartolomej Oct 7, 2023
6884a70
remove emulator re-indexing logic from indexer service
bartolomej Oct 8, 2023
1ac6396
fix various type issues
bartolomej Oct 8, 2023
ada33ed
setup build, remove backend, run demo app successfully
bartolomej Oct 8, 2023
122f299
use axios instead of node http module
bartolomej Oct 8, 2023
904234a
fix non-managed emulator processing
bartolomej Oct 8, 2023
178a7b1
move electron app into apps folder (first pass)
bartolomej Oct 8, 2023
c327b2a
initialize electron boierplate
bartolomej Oct 8, 2023
f87006e
move reusable components to shared ui lib, setup build config (first …
bartolomej Oct 8, 2023
183597f
refactor hook apis
bartolomej Oct 8, 2023
447f750
fix type issues
bartolomej Oct 10, 2023
bf51922
remove usages of legacy services, fix build issues by not using the t…
bartolomej Oct 10, 2023
c310c4f
restructured services, fix more type issues
bartolomej Oct 10, 2023
00cb319
more migration to new electron app
bartolomej Oct 15, 2023
a9a4489
remove obsolete package folders, fix mismatched react versions
bartolomej Oct 16, 2023
20b2129
remove demo app, add sample communication with ipc
bartolomej Oct 16, 2023
e35736c
fix duplicate react-router-dom versions
bartolomej Oct 21, 2023
1fe30b1
remove api hooks context
bartolomej Oct 21, 2023
f93dcba
fix svg component loading
bartolomej Oct 21, 2023
ba58051
add missing electron app
bartolomej Oct 21, 2023
8a88d8d
add workspace management logic
bartolomej Oct 22, 2023
dfc30e6
fix monotonic address processing
bartolomej Oct 22, 2023
91ab55f
fix asset import type errors, setup fonts
bartolomej Oct 22, 2023
952e1b5
rename project related files
bartolomej Oct 22, 2023
eac27fc
enable consent dialog
bartolomej Oct 22, 2023
8113a62
improve ipc file structure
bartolomej Oct 22, 2023
13240bb
handle interaction parsing
bartolomej Oct 22, 2023
56d93fa
implement flow services
bartolomej Oct 22, 2023
6dd7b7e
fix interaction templates retrieval
bartolomej Oct 22, 2023
4d130a6
update electron config, package go executables in electron
bartolomej Oct 22, 2023
3ae6ee0
move electron builder config to yaml file
bartolomej Oct 22, 2023
6cd1e6b
fix binary files path in development
bartolomej Oct 22, 2023
22c46e6
consolidate fcl interactions (first pass)
bartolomej Oct 22, 2023
c76053a
fix initial indexing
bartolomej Oct 23, 2023
c7813f7
sort resources by created date by default
bartolomej Oct 23, 2023
aa4b1de
remove unnecessary toasts
bartolomej Oct 23, 2023
31e7882
start/stop emulator on workspace lifecycle events, fix index syncing
bartolomej Oct 23, 2023
7b53bea
cleanup snapshots service, fix workspace lifecycle management
bartolomej Oct 23, 2023
a3a5bce
migrate snapshots
bartolomej Oct 24, 2023
e4adcf2
remove obsolete service
bartolomej Oct 24, 2023
52e0e38
tie processing scheduler to workspace lifecycle
bartolomej Oct 25, 2023
4eea032
list emulator logs
bartolomej Oct 25, 2023
411a34f
fix old type usages
bartolomej Oct 25, 2023
348b205
fix account re-indexing
bartolomej Oct 25, 2023
7239ea2
fix svg loading
bartolomej Oct 25, 2023
b4e2778
fix help message
bartolomej Oct 25, 2023
132ca2f
fix body overflow
bartolomej Oct 26, 2023
e3c4d96
make side navigation responsive for smaller windows
bartolomej Oct 26, 2023
f1b660d
handle emulator API errors
bartolomej Oct 26, 2023
8dea2c0
fix side nav height
bartolomej Oct 26, 2023
6b5c507
improve FlowEvent types for core events
bartolomej Oct 26, 2023
009e4f9
store keys in separate index, handle key event updates, fix managed a…
bartolomej Oct 26, 2023
c7fc563
fix details tab scroll interference, fix block details bug
bartolomej Oct 27, 2023
42f5903
improve help message
bartolomej Oct 27, 2023
5eb357d
again start generating account tags
bartolomej Oct 27, 2023
ff53652
fix lifecycle timestamp management
bartolomej Oct 27, 2023
a017c37
resolve some todos
bartolomej Oct 27, 2023
56258ec
graceful process shutdown
bartolomej Oct 27, 2023
0acd066
handle temporary workspaces
bartolomej Oct 27, 2023
1772505
handle transaction not found after rollback
bartolomej Oct 28, 2023
2527cc4
stop storing managed private keys within index
bartolomej Oct 29, 2023
87151f7
fix automatic persistence
bartolomej Oct 29, 2023
fb1c7e0
synchronize snapshot index
bartolomej Oct 29, 2023
ccbf22f
setup & run prettier
bartolomej Oct 29, 2023
bdc01a6
fix initial outcome
bartolomej Oct 30, 2023
f58adcc
fix resource loading handling
bartolomej Oct 30, 2023
59abac1
fix managed key retrieval by account
bartolomej Oct 30, 2023
9c25777
fix slow polling when executing transaction
bartolomej Oct 30, 2023
210c7da
add comment, concurrently execute independent calls
bartolomej Oct 31, 2023
faf3d61
simplify some code
bartolomej Oct 31, 2023
a50caee
handle contract events, simplify indexing code
bartolomej Oct 31, 2023
3190004
update electron builder config
bartolomej Oct 31, 2023
ca61656
pass logs to browser window
bartolomej Oct 31, 2023
fcb861e
handle event listener errors
bartolomej Oct 31, 2023
d671a4e
fix $PATH
bartolomej Oct 31, 2023
1525871
resolve todos
bartolomej Oct 31, 2023
0a3acb6
fix fix-path to work with esm modules
bartolomej Nov 1, 2023
61caca9
configure gateway port
bartolomej Nov 1, 2023
9f8c2c6
bring back dependency errors
bartolomej Nov 1, 2023
25081c0
cleanup erb files
bartolomej Nov 1, 2023
598cb7d
synchronize snapshot index after configuring
bartolomej Nov 1, 2023
77f6f02
update electron builder config
bartolomej Nov 1, 2023
1a45dcc
update github actions
bartolomej Nov 2, 2023
262275b
setup go env in action
bartolomej Nov 2, 2023
b54a694
remove unneeded action
bartolomej Nov 2, 2023
aa6356b
temp update action trigger settings
bartolomej Nov 2, 2023
93a17e9
fix publish action
bartolomej Nov 2, 2023
e4ed12c
fix app ID
bartolomej Nov 2, 2023
f2f0c22
update secret reference
bartolomej Nov 2, 2023
d5861ca
fix electron formatting
bartolomej Nov 2, 2023
cff992f
set teamId
bartolomej Nov 2, 2023
6471d9f
different approach for checking emulator api statuses
bartolomej Nov 2, 2023
46cd5cf
remove gateway config for now
bartolomej Nov 2, 2023
5ac3f36
try building without notarization
bartolomej Nov 2, 2023
62e7b6b
resolve remaining todos
bartolomej Nov 2, 2023
28332b7
revert temp changes in publish action
bartolomej Nov 2, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
6 changes: 6 additions & 0 deletions .github/config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
requiredHeaders:
- Prerequisites
- Expected Behavior
- Current Behavior
- Possible Solution
- Your Environment
17 changes: 17 additions & 0 deletions .github/stale.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
# Number of days of inactivity before an issue becomes stale
daysUntilStale: 60
# Number of days of inactivity before a stale issue is closed
daysUntilClose: 7
# Issues with these labels will never be considered stale
exemptLabels:
- discussion
- security
# Label to use when marking an issue as stale
staleLabel: wontfix
# Comment to post when marking an issue as stale. Set to `false` to disable
markComment: >
This issue has been automatically marked as stale because it has not had
recent activity. It will be closed if no further activity occurs. Thank you
for your contributions.
# Comment to post when closing a stale issue. Set to `false` to disable
closeComment: false
49 changes: 49 additions & 0 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
name: Publish

on:
release:
types:
- created

jobs:
publish:
runs-on: ${{ matrix.os }}

strategy:
matrix:
os: [ macos-latest ]

steps:
- name: Checkout git repo
uses: actions/checkout@v3

- name: Install Node and NPM
uses: actions/setup-node@v3
with:
node-version: 18
cache: npm

- name: Run install
uses: borales/actions-yarn@v4
with:
cmd: install

- name: Setup Go environment
uses: actions/[email protected]

- name: Build
run: |
yarn run build

- name: Publish releases
env:
# These values are used for auto updates signing
APPLE_ID: ${{ secrets.APPLE_ID }}
APPLE_APP_SPECIFIC_PASSWORD: ${{ secrets.APPLE_APP_SPECIFIC_PASSWORD }}
CSC_LINK: ${{ secrets.CSC_LINK }}
CSC_KEY_PASSWORD: ${{ secrets.CSC_KEY_PASSWORD }}
# This is used for uploading release assets to github
GH_TOKEN: ${{ secrets.GH_TOKEN }}
run: |
npm exec electron-builder -- --publish always --win --mac --linux
working-directory: ./apps/electron
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -9,3 +9,6 @@ flow.json
.envrc
server/certbot
.envrc
dist
.turbo
*.tsbuildinfo
2 changes: 1 addition & 1 deletion .nvmrc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
16.15.0
18
3 changes: 0 additions & 3 deletions app/.gitignore

This file was deleted.

42 changes: 0 additions & 42 deletions app/README.md

This file was deleted.

104 changes: 0 additions & 104 deletions app/electron-builder.json

This file was deleted.

32 changes: 0 additions & 32 deletions app/scripts/build.sh

This file was deleted.

36 changes: 0 additions & 36 deletions app/scripts/notarize.js

This file was deleted.

Loading