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

Next #409

Merged
merged 221 commits into from
Jan 10, 2025
Merged

Next #409

Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
221 commits
Select commit Hold shift + click to select a range
7ac3ce7
feat: add mock data and banking current balance component
cswni Dec 19, 2024
b51ac43
refactor: remove unused `_bankingContacts` mock data
cswni Dec 19, 2024
270ba0c
refactor: update notifications image import path
cswni Dec 19, 2024
07fe377
fix: length
Jadapema Dec 19, 2024
b35c739
Merge remote-tracking branch 'origin/app/feat/finance' into app/feat/…
Jadapema Dec 19, 2024
770be6e
fix: some small fixes
Jadapema Dec 19, 2024
4711f6c
refactor(finance): remove unused settings context import
cswni Dec 20, 2024
03b1cba
refactor(poster-vertical): update import paths for routing
cswni Dec 20, 2024
716fd74
refactor: update imports to use absolute paths and fix syntax
cswni Dec 20, 2024
e4eb51b
feat(auth): add authentication wrapper and login prompt components
cswni Dec 20, 2024
36476ab
fix(layout): add missing relative positioning to dashboard
cswni Dec 20, 2024
da9e019
feat(finance): update balance titles and add auth wrapper
cswni Dec 20, 2024
00e1cb7
feat(subscribe-profile-modal): add RainbowEffect component
cswni Dec 20, 2024
9133f94
feat: add comment metadata to background task payload
cswni Dec 20, 2024
0ac167b
feat: enhance notifications system and transfer functionality
cswni Dec 20, 2024
f4ee07a
feat: add recent transactions redux slice
cswni Dec 21, 2024
82b012f
feat(finance): enhance banking transfer UI and payload handling
cswni Dec 21, 2024
0aa0175
feat: added transfer card improvements
Jadapema Dec 23, 2024
6f70082
Merge remote-tracking branch 'origin/app/feat/finance' into app/feat/…
cswni Dec 23, 2024
45559ae
Merge branch 'v2.0.0-beta.6' into app/feat/finance
Jadapema Dec 23, 2024
fe72c9c
feat(finance): add wallet transfer button with tooltip
cswni Dec 23, 2024
348204f
Merge remote-tracking branch 'origin/app/feat/finance' into app/feat/…
cswni Dec 23, 2024
8bec1d8
feat(finance): add wallet transfer functionality
cswni Dec 24, 2024
77a7d27
refactor: simplify banking widget by removing unused imports
cswni Dec 24, 2024
21923ea
refactor: rename "banking" components to "finance"
cswni Dec 24, 2024
66d809d
feat(should-login): enhance login prompt with icon & subtitle
cswni Dec 24, 2024
849ac71
feat(finance): enhance quick transfer carousel UI
cswni Dec 24, 2024
e97375f
feat(finance): add dynamic transaction data processing
cswni Dec 24, 2024
579cc03
feat(finance): enhance chart behavior and data handling
cswni Dec 24, 2024
f043bdd
refactor(finance): clean up code and improve UI consistency
cswni Dec 24, 2024
ed13feb
feat: add custom date range picker utility hook
cswni Dec 25, 2024
599b4c9
feat: enhance finance section and add custom date picker
cswni Dec 25, 2024
4a71549
feat: added sub-balance and contacts carousel
Jadapema Dec 26, 2024
ee18a4c
feat(finance): remove FinanceRecentTransitions component
cswni Dec 26, 2024
4f71e3d
feat(finance-invite-friends): add email invitation functionality
cswni Dec 26, 2024
3f37151
feat: integrate address management with redux state
cswni Dec 26, 2024
9339b17
feat(finance): add deposit and wallet integration features
cswni Dec 28, 2024
2552076
feat(WIP): add deposit and wallet integration features
cswni Dec 28, 2024
9106333
feat: added new hooks connected to new protocol contracts, realtime b…
Jadapema Dec 28, 2024
5172296
refactor: remove MetaMask integration and update styles imports
cswni Dec 29, 2024
27a96eb
refactor(config): remove unused INFURAMA_API_KEY variable
cswni Dec 29, 2024
26762ea
feat(finance): enhance wallet deposit components
cswni Dec 29, 2024
1e76af4
feat(utils): add formatBalanceNumber function
cswni Dec 29, 2024
df43f54
feat(wallet-client): add wallet client connection logic
cswni Dec 29, 2024
3aea337
chore(deps): remove unused MetaMask SDK dependencies
cswni Dec 29, 2024
839036c
feat: connect deposit with smart wallet, deposit with metamask, withd…
Jadapema Dec 30, 2024
dee77d9
feat(finance): add wallet switching functionality
cswni Dec 31, 2024
690c9ae
fix(finance): adjust layout spacing for responsive design
cswni Dec 31, 2024
ebdbbc9
feat: export isValidAddress function from finance-quick-transfer
cswni Dec 31, 2024
535ed7d
feat: integrate withdraw modal in finance-widget-summary
cswni Dec 31, 2024
c38c372
feat(finance): add withdraw functionality from smart account
cswni Dec 31, 2024
844c95a
feat(finance): add withdraw modal for vault transactions
cswni Dec 31, 2024
57bf5e0
fix(finance): add missing await in withdraw function call
cswni Dec 31, 2024
d9a2dcf
feat: enhance address validation and filtering logic
cswni Dec 31, 2024
4645404
fix: improve modal and form layout styling
cswni Dec 31, 2024
5823b40
feat(finance): modularize quick transfer modal into dedicated component
cswni Dec 31, 2024
25ad576
feat: added use withdraw with metamask
Jadapema Dec 31, 2024
c959c79
Merge remote-tracking branch 'origin/app/feat/finance' into app/feat/…
Jadapema Dec 31, 2024
03d53ad
feat(finance): add Metamask withdrawal feature
cswni Dec 31, 2024
72e9e89
chore: remove unused withdrawal handler code
cswni Dec 31, 2024
a17b4ec
Merge remote-tracking branch 'origin/app/feat/finance' into app/feat/…
cswni Dec 31, 2024
f87dc84
feat: add Metamask integration for withdrawals
cswni Dec 31, 2024
587407b
feat: add wallet change functionality to finance components
cswni Dec 31, 2024
9c12a9b
feat(finance): remove FinanceCurrentBalance component
cswni Dec 31, 2024
7dac0bd
feat(finance): remove transactions table toolbar component
cswni Dec 31, 2024
e321170
feat(finance): improve layout and responsiveness for dialogs
cswni Dec 31, 2024
6d3b512
chore: added dotenv support
geolffreym Dec 31, 2024
a713606
chore: added dotenv support
geolffreym Dec 31, 2024
454c530
refactor: adjust notification subscriptions parameters
cswni Dec 31, 2024
5dfd936
refactor(finance): centralize dialog actions logic
cswni Dec 31, 2024
1539c3c
chore: removed tmp ci
geolffreym Dec 31, 2024
4a5569d
chore(release): 2.1.1-beta.1 [skip ci]
semantic-release-bot Dec 31, 2024
3373a26
feat: added use get smart wallet transactions from blockchain
Jadapema Dec 31, 2024
ad00de2
chore: removed tmp ci
geolffreym Dec 31, 2024
4cb96b8
feat: added use get smart wallet transactions from blockchain
Jadapema Dec 31, 2024
57c9534
chore(release): 2.1.1-beta.1 [skip ci]
semantic-release-bot Dec 31, 2024
876d88e
fix(workflow): removed tmp ci
geolffreym Dec 31, 2024
4de6ae2
fix(workflow): removed tmp ci
geolffreym Dec 31, 2024
f013b7e
fix(workflow): removed tmp ci
geolffreym Dec 31, 2024
52fe8b0
fix(finance): standardize error message on deposit failure
cswni Dec 31, 2024
a6f48d8
fix(workflow): removed tmp ci
geolffreym Dec 31, 2024
03c3cd0
fix(workflow): removed tmp ci
geolffreym Dec 31, 2024
5855c41
fix(workflow): removed tmp ci
geolffreym Dec 31, 2024
5cf0f0a
fix(workflow): removed tmp ci
geolffreym Dec 31, 2024
637987c
chore(release): 2.1.1-beta.1 [skip ci]
semantic-release-bot Dec 31, 2024
758c746
feat: connected transactions chart and contracts abi
Jadapema Dec 31, 2024
32c59f3
refactor(finance): update transaction processing logic
cswni Dec 31, 2024
588f778
feat: added realtime to transactions events
Jadapema Dec 31, 2024
6e99eaf
fix: transfer to detection
Jadapema Dec 31, 2024
55f255b
feat(finance): enhance transaction history and filtering
cswni Dec 31, 2024
e9a811d
chore: update dependencies in package-lock.json
cswni Dec 31, 2024
e3e1f65
Merge remote-tracking branch 'origin/app/feat/finance' into next
geolffreym Jan 1, 2025
0275d2b
fix: release package-lock deps
geolffreym Jan 1, 2025
3ce3a44
chore(release): 2.2.0-beta.1 [skip ci]
semantic-release-bot Jan 1, 2025
d4cb969
fix: release package-lock deps
geolffreym Jan 1, 2025
1c5b383
refactor: changes typos
geolffreym Jan 1, 2025
ebbf463
chore(release): 2.2.0-beta.2 [skip ci]
semantic-release-bot Jan 1, 2025
c6872ea
refactor: temporary remove metamask
geolffreym Jan 1, 2025
96df93a
refactor: added extra comments a some fixes
geolffreym Jan 1, 2025
5598d8e
refactor: added extra comments a some fixes
geolffreym Jan 1, 2025
d0fec55
refactor: added extra comments a some fixes
geolffreym Jan 1, 2025
ae6c516
refactor: added extra comments a some fixes
geolffreym Jan 1, 2025
96b00ab
feat(finance): enable Stripe deposit tab and add placeholder UI
cswni Jan 2, 2025
6f95562
feat(finance): add margin to Metamask connect button
cswni Jan 2, 2025
4c30fbc
fix: duplicated dates on graph and change expense with outcome
Jadapema Jan 2, 2025
554daeb
fix: remove filters from table, fix texts and tabs filters on table
Jadapema Jan 2, 2025
e551617
feat: connect balance card to blockchain data
Jadapema Jan 2, 2025
cbdf611
fix: tabs on deposit modals
Jadapema Jan 3, 2025
9032206
fix: remove no data image on table and fix table width
Jadapema Jan 3, 2025
f8107ed
fix: move quick transfer below balance section on mobile
Jadapema Jan 3, 2025
1721540
feat: add @metamask/sdk-react dependency
cswni Jan 4, 2025
53c1afb
fix(finance): adjust chunk size for contacts list
cswni Jan 4, 2025
53ef34f
feat(config): add support for Infura API key
cswni Jan 4, 2025
8e57844
feat(finance): integrate MetaMask SDK for wallet connection
cswni Jan 4, 2025
72a6467
feat(finance): improve wallet connection and UX updates
cswni Jan 4, 2025
d8b376a
feat: improve finance sections with enhanced responsiveness and loaders
cswni Jan 5, 2025
13316c5
feat(header-balance): add "Earn tokens" button with link
cswni Jan 5, 2025
887b447
feat: added profile search to quick transfer
Jadapema Jan 5, 2025
8b39944
feat: added loader while loading profiles on login modal
Jadapema Jan 5, 2025
f4e05f0
feat: added loader while loading profiles on login modal
Jadapema Jan 5, 2025
1b623e3
feat(finance): add "Earn Tokens" functionality
cswni Jan 6, 2025
74de454
fix(ui): adjust finance earn tokens layout for responsiveness
cswni Jan 6, 2025
10e2f6f
refactor(finance): adjust responsive behavior for components
cswni Jan 6, 2025
ccc32fb
refactor: finance deposit
Jadapema Jan 6, 2025
5ab9235
fix: finance mobile
Jadapema Jan 6, 2025
f4e4674
refactor: added useWeb3Session to get the bundler, smart account and …
Jadapema Jan 6, 2025
5a60fd4
refactor: reorganize imports across finance components
cswni Jan 6, 2025
396c317
Merge remote-tracking branch 'origin/app/refactor/finance' into app/r…
cswni Jan 6, 2025
2239675
fix: cancel metamask alerts
Jadapema Jan 6, 2025
d993197
refactor(quick-transfer): reorganize imports for clarity
cswni Jan 6, 2025
19cdac5
feat: filter blockchain events by user
Jadapema Jan 6, 2025
8323409
Merge remote-tracking branch 'origin/app/refactor/finance' into app/r…
cswni Jan 6, 2025
eb2a571
Merge remote-tracking branch 'origin/app/refactor/finance' into app/r…
cswni Jan 6, 2025
b13ec6a
refactor: reorder imports in finance-quick-transfer.tsx
cswni Jan 6, 2025
de2cdc7
fix: input amount on quick transfer
Jadapema Jan 6, 2025
96fd4d0
refactor(notifications): centralize and streamline notification system
cswni Jan 6, 2025
9c16045
Merge remote-tracking branch 'origin/app/refactor/finance' into app/r…
cswni Jan 6, 2025
d8ce413
refactor: clean up imports, formatting, and notifications
cswni Jan 7, 2025
89447ce
refactor(notifications): simplify notification logic and improve typing
cswni Jan 7, 2025
71d5fc0
feat: add margin around LoadingScreen in deposit flow
cswni Jan 7, 2025
c756f51
refactor(snackbar): update import path for notifier utility
cswni Jan 7, 2025
babc9ca
fix: notify execution
Jadapema Jan 7, 2025
aaa830a
feat: added notify data
Jadapema Jan 7, 2025
d97444e
refactor: notifications handling
cswni Jan 7, 2025
08289a4
refactor: notifications handling
cswni Jan 7, 2025
06886e7
refactor: notifications handling
cswni Jan 7, 2025
ff1ad53
refactor: notifications handling
cswni Jan 7, 2025
f6f36db
refactor: notifications handling
cswni Jan 7, 2025
1793d26
refactor: notifications handling
cswni Jan 7, 2025
31eb746
refactor: notifications handling
cswni Jan 7, 2025
fd8b3e7
refactor: update follow/unfollow notification handling
cswni Jan 7, 2025
1373eb3
refactor: notifications and prettier rules applied
cswni Jan 8, 2025
7fad46f
feat: added notify data
Jadapema Jan 8, 2025
ac94bc4
feat: added notify data
Jadapema Jan 8, 2025
42f904c
Merge pull request #391 from WatchItDev/app/refactor/finance
geolffreym Jan 8, 2025
0383545
chore(release): 2.2.0-beta.3 [skip ci]
semantic-release-bot Jan 8, 2025
1563296
feat(finance-quick-transfer): enhance slider and input UX
cswni Jan 8, 2025
5d418ad
fix(finance): ensure input focus persistence on amount change
cswni Jan 8, 2025
acc7717
fix: mispelling
geolffreym Jan 8, 2025
755790f
fix: the context is already set by the action, avoid adding extra det…
geolffreym Jan 8, 2025
c46c117
chore(release): 2.2.0-beta.4 [skip ci]
semantic-release-bot Jan 8, 2025
79aff28
Merge remote-tracking branch 'origin/app/refactor/finance' into next
geolffreym Jan 8, 2025
9f9ca05
fix: coming soon stripe
Jadapema Jan 8, 2025
40c752f
refactor: logic complexity
geolffreym Jan 8, 2025
02c32ca
Merge branch 'refs/heads/next' into app/refactor/finance
Jadapema Jan 8, 2025
360e859
fix: deposit and withdraw modals
Jadapema Jan 8, 2025
df0050e
Merge remote-tracking branch 'origin/next' into next
Jadapema Jan 8, 2025
e797dc4
Merge branch 'next' into app/refactor/finance
Jadapema Jan 8, 2025
d556ad9
refactor: finance metamask
Jadapema Jan 8, 2025
b81c352
refactor: finance modal
Jadapema Jan 8, 2025
2886c38
refactor: finance modal
Jadapema Jan 8, 2025
f8338ca
refactor: change typos
geolffreym Jan 8, 2025
db84332
chore(release): 2.2.0-beta.5 [skip ci]
semantic-release-bot Jan 8, 2025
58b56cf
Merge remote-tracking branch 'origin/next' into next
Jadapema Jan 8, 2025
8856cf1
Merge pull request #392 from WatchItDev/app/refactor/finance
geolffreym Jan 8, 2025
bacef90
chore(release): 2.2.0-beta.6 [skip ci]
semantic-release-bot Jan 8, 2025
135a563
Merge remote-tracking branch 'origin/next' into next
Jadapema Jan 8, 2025
3de0c29
fix: typos
geolffreym Jan 9, 2025
fdd6700
chore(release): 2.2.0-beta.7 [skip ci]
semantic-release-bot Jan 9, 2025
63ab8b7
Merge remote-tracking branch 'origin/next' into next
Jadapema Jan 9, 2025
6213cbd
refactor: removed timestamp from events
geolffreym Jan 9, 2025
4d62dc5
Merge remote-tracking branch 'origin/next' into next
Jadapema Jan 9, 2025
1d3b494
refactor: removed timestamp from events
geolffreym Jan 9, 2025
95958d5
Merge remote-tracking branch 'origin/next' into next
Jadapema Jan 9, 2025
f60a687
feat(finance-quick-transfer): enhance slider validation logic
cswni Jan 9, 2025
0528930
feat: change aproach of withdraw to select destination on tabs
Jadapema Jan 9, 2025
e1b78fb
Merge pull request #393 from WatchItDev/app/refactor/quick-trasnsfer-…
geolffreym Jan 9, 2025
407cc2a
chore(release): 2.2.0-beta.8 [skip ci]
semantic-release-bot Jan 9, 2025
ad11871
fix: typo
geolffreym Jan 9, 2025
4fbfa56
fix: typo
geolffreym Jan 9, 2025
e75d498
chore(release): 2.2.0-beta.9 [skip ci]
semantic-release-bot Jan 9, 2025
84a1a7e
refactor: remove redundant wallet change functionality
cswni Jan 9, 2025
58fec1e
refactor(finance-quick-transfer): improve amount handling logic
cswni Jan 9, 2025
ab4a74d
Merge pull request #394 from WatchItDev/app/refactor/quick-trasnsfer-…
geolffreym Jan 9, 2025
a02f672
chore: remove unused FinanceChangeWallet component
cswni Jan 9, 2025
a06830f
refactor: connect wallet client mm
Jadapema Jan 9, 2025
f71b2c7
refactor: connect wallet client mm
Jadapema Jan 9, 2025
43eb435
refactor(walletClient): remove infuraAPIKey from MMSDK config
cswni Jan 10, 2025
19ff2a8
refactor: remove unnecessary props and imports in finance forms
cswni Jan 10, 2025
ec7b01f
refactor: improve error logging and MetaMask connection logic
cswni Jan 10, 2025
a1b4b72
refactor: metamask connection
Jadapema Jan 10, 2025
86e84be
fix: ensure consistent handling of numeric input for finance forms
cswni Jan 10, 2025
ad5d2a0
Merge remote-tracking branch 'origin/app/refactor/quick-trasnsfer-amo…
cswni Jan 10, 2025
e937089
debug: added debug notifications
Jadapema Jan 10, 2025
247f005
feat: added detect wallet environment hook
Jadapema Jan 10, 2025
aca7dc6
feat: added detect wallet environment hook
Jadapema Jan 10, 2025
cff1edc
fix: remove wallet environment detection
Jadapema Jan 10, 2025
d9686a9
fix: remove some extra error notifications
Jadapema Jan 10, 2025
e42ec9f
feat(finance): add helper component for MetaMask guidance
cswni Jan 10, 2025
b88d766
Merge pull request #402 from WatchItDev/app/refactor/quick-trasnsfer-…
geolffreym Jan 10, 2025
aa3c752
chore(release): 2.2.0-beta.10 [skip ci]
semantic-release-bot Jan 10, 2025
08888eb
feat: adapt new protocol contracts
Jadapema Jan 10, 2025
992ed1f
Merge pull request #403 from WatchItDev/app/refactor/quick-trasnsfer-…
geolffreym Jan 10, 2025
4f54ebc
chore(release): 2.2.0-beta.11 [skip ci]
semantic-release-bot Jan 10, 2025
3778a73
chore: CD main branch
geolffreym Jan 10, 2025
fc4bc61
chore: CD main branch
geolffreym Jan 10, 2025
ac58456
chore: CD main branch
geolffreym Jan 10, 2025
8a9ad56
Merge remote-tracking branch 'origin/next' into next
Jadapema Jan 10, 2025
012dfe4
fix: correct carousel index update on profile selection
cswni Jan 10, 2025
f1404f8
Merge remote-tracking branch 'origin/app/refactor/quick-trasnsfer-amo…
cswni Jan 10, 2025
a37662f
Merge pull request #404 from WatchItDev/app/refactor/quick-trasnsfer-…
geolffreym Jan 10, 2025
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
17 changes: 17 additions & 0 deletions .env.example
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
PORT=
VITE_ENVIRONMENT=

VITE_WEB3_CLIENT_ID=
VITE_PIMLICO=

VITE_RPC=
VITE_MMC_ADDRESS=
VITE_AGREEMENT_PORTAL_ADDRESS=
VITE_SUBSCRIPTION_POLICY_ADDRESS=
VITE_RIGHT_POLICY_AUTHORIZER=
VITE_SENTRY_AUTH_TOKEN=
VITE_SENTRY_DNS=
VITE_PINATA_API_KEY=
VITE_PINATA_SECRET_API_KEY=
VITE_SUPABASE_API_KEY=
VITE_SUPABASE_URL=
25 changes: 25 additions & 0 deletions .env.vault
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
#/-------------------.env.vault---------------------/
#/ cloud-agnostic vaulting standard /
#/ [how it works](https://dotenv.org/env-vault) /
#/--------------------------------------------------/

# development
DOTENV_VAULT_DEVELOPMENT="Z/VbltnMze9cYXUM3tDf3x9oXUDrBaespVzFFt7zEz76MxExe1rf30Sm52AuD07OBdSEkH9Yxm0IjLxCOme875JHDV2k/779zwIq38ejzk2vMr4tMgFc8r+mHM0MYYra7fsslrIBRGZH8CUlzb3M8fNdJh3Ty3c5Zq3FwAGdh/SGKdzkMuXKY4h4E41s/i2hBlaYQ7b6jjIWlU+ROcoKeoVQQhobgiNvyVa74nGbmMyiFeNnEh/7pMNpikV7s7PkQS2DoM1NywmH5xdUvlqXq08SV4OD4dJ4+ZEkDsyqzVaXUw/i7vPDX0vclZe/hlxG9LxBYVzkDPQcD12fAHfdhg2O7Ew6LlT9Xd+bUgC70iWJSidU9uz7QqD9Mxe0CRuRIPmu8J5FhXwepWMCXhQHjNXmZEIS5/aphgWwzSzZWyC7u1iMjWo6GHy0G54FF+ePE9MqyTnlIRlXB6c2nDSbYzipyaaDGHVty86RUoVPKqs6hKVTIZVoki4G/4ff6h3zb92kqetW9Ouid7sJa9Q7IPRajFKlxPL8xOnmt0DqbofOYBPUnPOSVFK91S84sazJjnhe2QKKcuJNQlRt/KRMbNZ3yInwwFBM0zjCmbMVXW+/67LEGklwviX/l7fUgdyyMKngRLxnxswao12RCDR2dM6XXTiwPuDGNSb2msY8SBnzDph0z456K5meei2KNyw31aJV3Yi69A67N8weBfh5VZlx/I9rFazq4CJjE+78YzyslzJyF6WdhlFLJR7eLzukzaHJJTgoRy/KvFhI19VWRKWlvsMXEbeh2BTRZDOtz6yDNcFFZzpq034MY3mreUemcIJh6x8CDQD7Ul59TluihIBQ8UeFwilVV6Q+7iPorBNHMa6/l4RrL0fIlLSoUzlFUoKrSRPjrXw2gidBJ74fx14WNjwkQ3L06d0V4WzLC4UtT/v4eefNOBmYRt+EzDy78FCHDFBzoNDv0NFNhkHe0YIsFKcwjWTfSbnAQye1/LtIl+d9GL3Kvl1FdQLWbYULKpwWxjrQcwJI2ph8VQSFRtDDir4Rq1t380ydJakL5Yl2Y0HziZAM/Yv7RtBflS+PHxrGVjwdJVz+aJZQeJ0TGbBmQbu2QeOUauq4R9fZIAhlgPHXNoxh32fDe5F6i9AaI7ZN4iUkSWP9HTTxa2NrzzjQA4soGWLsDFd8QogqIBdB/MgXvIwjxxYsoBftpGPwUVaSgvXX/SM1VFYJlgtRMyoW/fsb72y/o68rmhqOtG4aGm/3UMEx/ELReq0tljAmtv+Nrgj+DGYNe6jjko93qIjUoGaStmnsuK4l0gHfQic9M7nezYmLdDXXS41V/4xhijjtgNKHa5QZsq/RBCWc7IP3+0HgTjB4Y4yfxPs3cLlgHoQSRMc6fkjJlSVxuJ766fr6cH4eppxqOYB6tLk/H2mctq1+kYOnMSxboKVZBWO8DJwNQbZ1E+1Np8F5MZiYDHnX6N74hWx3qBmllFzWOKZpVUTXdyFhMZdxBQWJtsPHN5x5RQrcXyf77x7Mwzjir9wT6FMp71Y0lySZ5NHGYkV2ldQ5d5LsTj2sFVp+/CyYyRkJmNX52t0oFaLyqh+i40oSuAxSMGwbyrAsVZ+ZRXMjZsnBeGrXWDJRM/thVr6VjtJ6xDNUb57JrxIL8guQdVI9x7TtRCPUbCaNbx8RO0NTdkEgbIhEMyawayQdx2DAFOzoIK5ni7Tw12ARwI5g2HIxF/1jewCbW8e/I2AAc+JJNhj2CbI8GzLbYcUckPZQ29TDaZ1wUT/u"
DOTENV_VAULT_DEVELOPMENT_VERSION=2

# ci
DOTENV_VAULT_CI="2RMvym2VpKgFwQU/+28jDyZwBfnjJ4e9miS2wlfKjuLahr9F"
DOTENV_VAULT_CI_VERSION=1

# staging
DOTENV_VAULT_STAGING="TvjGDH3+7zHwWAvzQcTsBvYxbKRXceh/v8QHFx2Jv0+r+NeV"
DOTENV_VAULT_STAGING_VERSION=1

# production
DOTENV_VAULT_PRODUCTION="84hmBsRW1Lnq0TYPP6mdJwLCyj8qTeBUXn+TetyP7ZypQk2r"
DOTENV_VAULT_PRODUCTION_VERSION=1

#/----------------settings/metadata-----------------/
DOTENV_VAULT="vlt_9414e2f679ec3a1cc4d836b3f663277d1713a8c1157193f8982f296cbd901229"
DOTENV_API_URL="https://vault.dotenv.org"
DOTENV_CLI="npx dotenv-vault@latest"
87 changes: 7 additions & 80 deletions .github/workflows/cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ on:
inputs:
environment:
description: "Deploy environment"
default: "staging"
default: next
required: false
type: string

Expand All @@ -14,87 +14,14 @@ concurrency:
cancel-in-progress: true

jobs:
android:
# if we add in the commit [no android] android build is ignored
if: ${{ !contains(github.event.head_commit.message, '[no android]') }}
app:
environment: ${{ inputs.environment}}
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4

- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: "lts/*"

- name: Set up JDK 17
uses: actions/setup-java@v3
with:
java-version: '17'
distribution: 'tem'

- name: Install dependencies
run: npm ci

- name: Collecting .env from dotenv-vault
run: npx dotenv-vault@latest pull ${{ inputs.environment }} .env -m ${{ secrets.DOTENV_ME }} -y

- uses: ruby/setup-ruby@v1
with:
ruby-version: "3.0"
bundler-cache: true
working-directory: "android"

- name: Deploying Android
uses: maierj/[email protected]
with:
lane: "beta"
subdirectory: "android"

ios:
# if we add in the commit [no ios] android build is ignored
if: ${{ !contains(github.event.head_commit.message, '[no ios]') }}
environment: ${{ inputs.environment}}
# https://github.com/actions/runner-images/blob/macos-13/20231218.2/images/macos/macos-13-arm64-Readme.md
runs-on: macos-latest-xlarge
steps:
- name: Checkout
uses: actions/checkout@v4

- name: Setup Node.js
uses: actions/setup-node@v4
with:
cache: npm
check-latest: true
node-version: "latest"
registry-url: "http://registry.npmjs.org/"
architecture: "arm64" # optional, x64 or x86. If not specified, x64 will be used by default
cache-dependency-path: "**/package-lock.json"

- name: Install dependencies
run: |
npm install -g npm@latest
npm ci

- name: Collecting .env from dotenv-vault
run: npx dotenv-vault@latest pull ${{ inputs.environment }} .env -m ${{ secrets.DOTENV_ME }} -y

- run: |
pod cache clean --all
rm -rf Podfile.lock
pod repo update

- uses: ruby/setup-ruby@v1
- name: Deploy app
uses: johnbeynon/[email protected]
with:
ruby-version: "3.3"
bundler-cache: true
working-directory: "ios"
service-id: ${{ secrets.RENDER_SERVICE_ID }}
api-key: ${{ secrets.RENDER_API_KEY }}

- name: Deploying IOS
uses: maierj/[email protected]
with:
lane: "ios beta"
subdirectory: "ios"
env:
NO_FLIPPER: 1

2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:
run: npm ci

- name: Run static analysis
run: make lint
run: npm run lint

- name: Test
run: make test
Expand Down
13 changes: 6 additions & 7 deletions .github/workflows/next.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,22 +3,21 @@ name: Staging CI/CD
on:
push:
branches:
- staging

- next
jobs:
Continuous-Integration:
uses: ./.github/workflows/ci.yml
secrets: inherit
# Continuous-Integration:
# uses: ./.github/workflows/ci.yml
# secrets: inherit
Create-Release:
needs: [Continuous-Integration]
# needs: [Continuous-Integration]
uses: ./.github/workflows/release.yml
permissions:
contents: write # to be able to publish a GitHub release
issues: write # to be able to comment on released issues
pull-requests: write # to be able to comment on released pull requests
id-token: write # to enable use of OIDC for npm provenance
secrets: inherit
Deploy-Beta:
Deploy-Next:
needs: [Create-Release]
uses: ./.github/workflows/cd.yml
secrets: inherit
18 changes: 4 additions & 14 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ on:
inputs:
environment:
description: "Release to environment"
default: "staging"
default: next
required: false
type: string

Expand All @@ -19,8 +19,8 @@ jobs:
id: generate_token
uses: tibdex/github-app-token@v1
with:
app_id: ${{ secrets.BOT_ID }}
private_key: ${{ secrets.BOT_PRIVATE }}
app_id: ${{ secrets.APP_ID }}
private_key: ${{ secrets.PRIVATE_KEY }}

- uses: actions/checkout@v4
with:
Expand All @@ -44,14 +44,4 @@ jobs:
env:
GITHUB_TOKEN: ${{ steps.generate_token.outputs.token }}
GH_TOKEN: ${{ steps.generate_token.outputs.token }}

- name: Create Sentry release
# only run an action if a new version was created.
if: steps.semantic.outputs.new-release-published == 'true'
uses: getsentry/action-release@v1
with:
environment: ${{ inputs.environment }}
env:
SENTRY_AUTH_TOKEN: ${{ secrets.SENTRY_AUTH_TOKEN }}
SENTRY_PROJECT: ${{ secrets.SENTRY_PROJECT }}
SENTRY_ORG: ${{ secrets.SENTRY_ORG }}

15 changes: 15 additions & 0 deletions .github/workflows/stable.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
name: Staging CI/CD
# https://docs.github.com/en/actions/managing-workflow-runs/skipping-workflow-runs
on:
push:
branches:
- main
jobs:
# Continuous-Integration:
# uses: ./.github/workflows/ci.yml
# secrets: inherit
Deploy-App:
uses: ./.github/workflows/cd.yml
secrets: inherit
with:
environment: "production"
5 changes: 5 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -38,3 +38,8 @@ yarn-error.log*

# Sentry Config File
.env.sentry-build-plugin

.env*
.flaskenv*
!.env.project
!.env.vault
Loading
Loading