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

Testing -> main #855

Merged
merged 421 commits into from
Jul 22, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
421 commits
Select commit Hold shift + click to select a range
bd207ad
Add paginated bento table to itemstable
Isthisanmol Jun 26, 2024
19b3dd8
Merge branch 'andrew_testing' into fix-pack-details
Isthisanmol Jun 26, 2024
7adc42f
Merge branch 'andrew_testing' into Implement-paginated-bento-table
Isthisanmol Jun 26, 2024
3f445d4
revert api url
taronaleksanian Jun 26, 2024
b3a91ac
Merge branch 'andrew_testing' of github.com:andrew-bierman/PackRat in…
taronaleksanian Jun 26, 2024
888a174
Merge pull request #1038 from andrew-bierman/feat/ui-library
taronaleksanian Jun 26, 2024
90c9ec1
Merge branch 'andrew_testing' into enhance/chat
andrew-bierman Jun 27, 2024
bcaa231
Merge branch 'andrew_testing' into Implement-paginated-bento-table
Isthisanmol Jun 27, 2024
e75b356
Merge branch 'andrew_testing' into feat/fix-types
MuhammadHassan03 Jun 27, 2024
4d9f03f
link in PackCardHeader made optional
MuhammadHassan03 Jun 27, 2024
da9f3b0
Merge branch 'feat/fix-types' of https://github.com/andrew-bierman/Pa…
MuhammadHassan03 Jun 27, 2024
7eecc14
Build Fix
MuhammadHassan03 Jun 27, 2024
2f0c372
Requested Changes Fixed
MuhammadHassan03 Jun 27, 2024
894dd21
reverted
MuhammadHassan03 Jun 27, 2024
1f17ce0
reverted
MuhammadHassan03 Jun 27, 2024
3a85fe7
reverted
MuhammadHassan03 Jun 27, 2024
6cf3881
reverted
MuhammadHassan03 Jun 27, 2024
00158cb
Fix offline maps screen not scrolling on native app
Tadjaur Jun 26, 2024
fbb3eb5
update the offline maps styles
Tadjaur Jun 26, 2024
1ff8a1b
fix map error
Isthisanmol Jun 27, 2024
d9e5733
Merge pull request #1046 from andrew-bierman/native-fix/downloaded-ma…
andrew-bierman Jun 28, 2024
40f1665
Merge pull request #1047 from andrew-bierman/fix-map-error
andrew-bierman Jun 28, 2024
2be49e5
Merge pull request #1044 from andrew-bierman/fix-pack-details
andrew-bierman Jun 28, 2024
fc23204
Merge branch 'andrew_testing' into Implement-paginated-bento-table
Isthisanmol Jun 28, 2024
ccd9850
Modify isShapeDownlodable
Isthisanmol Jun 28, 2024
815fdf0
Add pagination limit component
Isthisanmol Jun 28, 2024
83d7675
Merge branch 'andrew_testing' of https://github.com/andrew-bierman/Pa…
pinocchio-life-like Jun 29, 2024
ff92d30
Merge branch 'enhance/chat' of https://github.com/andrew-bierman/Pack…
pinocchio-life-like Jun 29, 2024
e107cde
Merge pull request #1029 from andrew-bierman/enhance/chat
pinocchio-life-like Jun 29, 2024
b8c98ad
fix user setter hook
taronaleksanian Jun 29, 2024
c26a25e
fix useStorage hook initial value
taronaleksanian Jun 29, 2024
a91d761
fix auh wrapper
taronaleksanian Jun 29, 2024
d7147a0
fix home page auth
taronaleksanian Jun 29, 2024
e9cd412
Revert "Enhance/chat"
pinocchio-life-like Jun 29, 2024
b4df530
Merge pull request #1050 from andrew-bierman/revert-1029-enhance/chat
pinocchio-life-like Jun 29, 2024
a4405f4
logout user on unauthorized error
taronaleksanian Jun 29, 2024
66fe13e
Apply check for copy button
Isthisanmol Jun 30, 2024
ca31d2b
Add props in paginatedsortedtable
Isthisanmol Jun 30, 2024
13a146a
Merge branch 'andrew_testing' into Implement-paginated-bento-table
Isthisanmol Jun 30, 2024
33fdfdb
Merge pull request #1048 from andrew-bierman/fix-download-map-button
andrew-bierman Jun 30, 2024
ef5a45f
Merge pull request #1051 from andrew-bierman/fix/auth
andrew-bierman Jun 30, 2024
9928dd6
add delete account section
taronaleksanian Jun 30, 2024
2bbc253
Merge branch 'andrew_testing' of github.com:andrew-bierman/PackRat in…
taronaleksanian Jun 30, 2024
efbf07e
logout current user on delete account
taronaleksanian Jun 30, 2024
3c5d28e
Merge branch 'andrew_testing' into Implement-paginated-bento-table
Isthisanmol Jun 30, 2024
ad92022
Merge branch 'andrew_testing' into fix-copy-button-visibility
Isthisanmol Jun 30, 2024
6033b60
Merge pull request #1053 from andrew-bierman/feat/delete-account
andrew-bierman Jul 1, 2024
1050c57
Merge pull request #1052 from andrew-bierman/fix-copy-button-visibility
andrew-bierman Jul 1, 2024
8acc9d4
Change placeholder for dropdown
Isthisanmol Jul 1, 2024
8dc50e3
Add all items option to sort dropdown
Isthisanmol Jul 1, 2024
0ff0fc3
Merge branch 'andrew_testing' into Implement-paginated-bento-table
Isthisanmol Jul 1, 2024
10bc15b
Merge branch 'andrew_testing' into feat/fix-types
MuhammadHassan03 Jul 1, 2024
5b9f9b8
Fixed Required Changes
MuhammadHassan03 Jul 1, 2024
bbde625
rebase and fix
pinocchio-life-like Jul 2, 2024
8010320
Fix search feature in pack not working
Tadjaur Jul 2, 2024
cf055fb
Clear search after select
Tadjaur Jul 2, 2024
ef92441
Merge pull request #1060 from andrew-bierman/1054-search-feature-in-p…
andrew-bierman Jul 2, 2024
1467b5b
fix done
pinocchio-life-like Jul 2, 2024
28b552f
Merge branch 'andrew_testing' into fix/profile_update
pinocchio-life-like Jul 2, 2024
c7e4099
Adjust margin
Isthisanmol Jul 2, 2024
e9d7642
Merge branch 'andrew_testing' into temp_chat
pinocchio-life-like Jul 2, 2024
4f81af0
Merge pull request #1059 from andrew-bierman/temp_chat
pinocchio-life-like Jul 2, 2024
cdd469f
Merge branch 'andrew_testing' into fix/profile_update
pinocchio-life-like Jul 2, 2024
74743e1
Merge pull request #1045 from andrew-bierman/Implement-paginated-bent…
andrew-bierman Jul 2, 2024
15d6c0b
Add unit to table
Isthisanmol Jul 2, 2024
d2c3003
Merge pull request #1063 from andrew-bierman/add-unit-to-paginatedtable
andrew-bierman Jul 2, 2024
a41704f
🏷️ 🐛 fixing types
andrew-bierman Jul 3, 2024
eba6eae
Merge branch 'andrew_testing' into fix/types-ab-june2
andrew-bierman Jul 3, 2024
4263d10
🎨 lint
andrew-bierman Jul 3, 2024
6012b12
🎨 cleanup
andrew-bierman Jul 3, 2024
9233056
add privacy page to vite app
taronaleksanian Jul 3, 2024
5ce6a5c
Merge branch 'andrew_testing' into fix/profile_update
pinocchio-life-like Jul 3, 2024
e1c3312
init
pinocchio-life-like Jul 3, 2024
2c68f32
Merge branch 'andrew_testing' into feat/fix-types
MuhammadHassan03 Jul 3, 2024
38e64eb
Add link to privacy policy on about page
Isthisanmol Jul 3, 2024
993e42c
Fixed Encountered Errors
MuhammadHassan03 Jul 3, 2024
dd0a82e
test validation failure on andrew_testing
pinocchio-life-like Jul 3, 2024
4829cd4
test validation failure on andrew_testing
pinocchio-life-like Jul 3, 2024
6496bca
Merge pull request #1062 from andrew-bierman/fix/profile_update
andrew-bierman Jul 3, 2024
4904ed0
Merge pull request #1066 from andrew-bierman/feat/privacy-policy
andrew-bierman Jul 3, 2024
14b8fe7
Merge pull request #1064 from andrew-bierman/fix/types-ab-june2
andrew-bierman Jul 3, 2024
2d5546b
Merge pull request #1065 from andrew-bierman/fix/trip_activity
andrew-bierman Jul 3, 2024
86d8662
Merge branch 'andrew_testing' into feat/fix-types
MuhammadHassan03 Jul 3, 2024
a245091
Merge branch 'andrew_testing' into 1056-fix-destination-query-issue
andrew-bierman Jul 4, 2024
42cd994
Merge pull request #1067 from andrew-bierman/1056-fix-destination-que…
andrew-bierman Jul 4, 2024
a7e65d4
Merge branch 'andrew_testing' into feat/fix-types
MuhammadHassan03 Jul 4, 2024
17566d5
Fixed Required Changes
MuhammadHassan03 Jul 4, 2024
d152d12
Fixed Remaining Types
MuhammadHassan03 Jul 4, 2024
dae1769
init
pinocchio-life-like Jul 5, 2024
1978002
add middlewares
pinocchio-life-like Jul 5, 2024
1bba3c6
update enforeceHttp
pinocchio-life-like Jul 5, 2024
4c4bcd8
routes middleware
pinocchio-life-like Jul 6, 2024
7fb2306
update
pinocchio-life-like Jul 6, 2024
7f59f05
fix chat opener not visible on native
pinocchio-life-like Jul 6, 2024
869ae4a
add some validations and abandon routes directory
pinocchio-life-like Jul 6, 2024
1222d78
update dependencies
pinocchio-life-like Jul 6, 2024
ef57880
FIx mobile app crash
taronaleksanian Jul 6, 2024
51686f3
Merge pull request #1072 from andrew-bierman/fix/apk-build
andrew-bierman Jul 6, 2024
f68bd83
Fixed More Remaining Types
MuhammadHassan03 Jul 6, 2024
4332578
Fixed More Types
MuhammadHassan03 Jul 7, 2024
2ccf508
remove weather week from backend
taronaleksanian Jul 7, 2024
bc0630c
refactor weather data component, remove weather week request
taronaleksanian Jul 8, 2024
773eca3
Merge branch 'andrew_testing' into resolve/security_issues
pinocchio-life-like Jul 8, 2024
40f6a74
Merge pull request #1068 from andrew-bierman/feat/remaining_types_errors
andrew-bierman Jul 8, 2024
2201f7a
Merge branch 'andrew_testing' into resolve/security_issues
pinocchio-life-like Jul 8, 2024
19f1044
revert comment delete in routes index.js
pinocchio-life-like Jul 8, 2024
6695fa4
Merge pull request #1070 from andrew-bierman/resolve/security_issues
andrew-bierman Jul 8, 2024
70d274e
changes in size
Isthisanmol Jul 8, 2024
0eb591b
Merge branch 'andrew_testing' into fix-native-app
Isthisanmol Jul 8, 2024
ae285ab
Merge pull request #1077 from andrew-bierman/fix-native-app
andrew-bierman Jul 8, 2024
87e22a0
Merge branch 'andrew_testing' of github.com:andrew-bierman/PackRat in…
taronaleksanian Jul 9, 2024
1cb4420
Merge pull request #1074 from andrew-bierman/fix/weather-issue
taronaleksanian Jul 9, 2024
39f5cec
fix import in destination
taronaleksanian Jul 9, 2024
f929fe3
Merge pull request #1080 from andrew-bierman/fix/import-in-desitantio…
taronaleksanian Jul 9, 2024
5959ee4
replace default unauthorized route path
taronaleksanian Jul 9, 2024
b3a8b66
Merge pull request #1081 from andrew-bierman/fix/auth-redirect
taronaleksanian Jul 9, 2024
571613b
remove name attribute from stack component to fix native app crash
taronaleksanian Jul 9, 2024
bf12bd3
Merge pull request #1082 from andrew-bierman/fix/andoird-build
andrew-bierman Jul 9, 2024
280dbc7
add namespace to segment vectors, so that e.g packs search doesn't re…
mikib0 Jul 10, 2024
9576897
Fix pack / trip visibility toggle
taronaleksanian Jul 11, 2024
1169dcd
Merge pull request #1085 from andrew-bierman/fix/toggle-favorites-iss…
taronaleksanian Jul 11, 2024
e787b18
🚧 WIP: retrieving similar packs
mikib0 Jul 12, 2024
e022284
⚡️ feat: vectors visibility filtering
mikib0 Jul 12, 2024
4e5eb4f
⚡️ sync vector index on rest of the crud ops
mikib0 Jul 12, 2024
f0dba72
📝 remove wrong JSDoc from getSimilarPacksRoute function
mikib0 Jul 12, 2024
573bb08
⚡️ sync items with vector index
mikib0 Jul 12, 2024
bc55f05
changes in color
Isthisanmol Jul 12, 2024
1e8c97d
🐛 fix vector search
mikib0 Jul 12, 2024
9f18351
Merge pull request #1089 from andrew-bierman/fix-contrast-ratio
andrew-bierman Jul 12, 2024
fc13c0b
Fix offline map crash, bounds structure change
taronaleksanian Jul 13, 2024
4992fb6
Merge branch 'andrew_testing' of github.com:andrew-bierman/PackRat in…
taronaleksanian Jul 13, 2024
2dbce4d
🐛 fix insert vector request method
mikib0 Jul 13, 2024
1566a25
⚡️ use workers AI rest api instead of AI binding to evade having to l…
mikib0 Jul 13, 2024
916871f
Change web dropdown
Isthisanmol Jul 13, 2024
422e26b
Remove chevrondown from dropdown
Isthisanmol Jul 13, 2024
b5f5a12
🐛 use workers waitUntil for background tasks to prevent them from bei…
mikib0 Jul 13, 2024
eff74b7
✨ sync packs from duplicatePublicPack with vectorize
mikib0 Jul 13, 2024
b839eff
🐛 update getSimilarPacksService to consume response correctly and pre…
mikib0 Jul 13, 2024
b58076d
✨ add get similar items service & controller
mikib0 Jul 13, 2024
a1192f6
🐛 use fetch, axios is not supported in workers
mikib0 Jul 13, 2024
aa208fd
🐛 syntax
mikib0 Jul 13, 2024
beec478
Changes in style of dropdown
Isthisanmol Jul 13, 2024
f003374
✨ add visibility filter for similarity query
mikib0 Jul 14, 2024
66f745d
Change ispublic from dropdown to RSwitch
Isthisanmol Jul 14, 2024
a498f63
🐛 fix waitUntil call for syncing item to vectorize in background
mikib0 Jul 14, 2024
9d7224d
✨ add limit check for similarity query
mikib0 Jul 14, 2024
3018874
fix login redirect issue
taronaleksanian Jul 14, 2024
639b13e
Merge pull request #1092 from andrew-bierman/fix/login-redirect-issue
taronaleksanian Jul 14, 2024
95af910
show weather with 3 hours interval as we get from the API
taronaleksanian Jul 14, 2024
fe58143
Fix pack favorites
taronaleksanian Jul 14, 2024
eda5614
Merge branch 'andrew_testing' into fix-dropdown-on-web
Isthisanmol Jul 15, 2024
55616f5
Fix weather segment detection
taronaleksanian Jul 15, 2024
897ab36
Merge pull request #1094 from andrew-bierman/fix/fix-favorites
taronaleksanian Jul 15, 2024
246dad7
Merge pull request #1093 from andrew-bierman/fix/weather-data-group
andrew-bierman Jul 15, 2024
2ab7456
Change dropdown to sheet
Isthisanmol Jul 15, 2024
b24d6ed
Merge branch 'andrew_testing' of github.com:andrew-bierman/PackRat in…
taronaleksanian Jul 15, 2024
c1c1602
fix downloaded map, used native map component
taronaleksanian Jul 15, 2024
bc20b1f
Merge pull request #1091 from andrew-bierman/fix-dropdown-on-web
andrew-bierman Jul 16, 2024
a9e23bb
📝 update example
andrew-bierman Jul 16, 2024
54b83f7
⚡️ update start script
andrew-bierman Jul 16, 2024
62923ee
⚡️ add logger and health routes for better monitoring
andrew-bierman Jul 16, 2024
fbcb747
⚡️ bun server start command
andrew-bierman Jul 16, 2024
d7912f2
🐛 don't run from dist
andrew-bierman Jul 16, 2024
b20fb7c
🎨 type vectors query response
mikib0 Jul 16, 2024
36e13b7
🐛 search items under their namespace
mikib0 Jul 16, 2024
f209898
🎨 add tests for getting similar packs/items & syncing them with vecto…
mikib0 Jul 16, 2024
c1f23eb
Merge branch 'andrew_testing' into feat/cf-vectorize-initial
mikib0 Jul 16, 2024
9e89ef8
middleware and setup done and tested
pinocchio-life-like Jul 16, 2024
b5b3be3
user route done
pinocchio-life-like Jul 16, 2024
a9f6a77
Placeholder changes and alignment fixes
Isthisanmol Jul 16, 2024
ddd4174
✨ switch to protectedProcedure for pack/item similarity query
mikib0 Jul 16, 2024
555f005
Merge pull request #1095 from andrew-bierman/feat/improve-monitoring
andrew-bierman Jul 16, 2024
e32c992
⚡️ boilerplate to add cloudflare queues
Jul 16, 2024
11561d8
🗑️ moving old node js specific code into bun server for now
andrew-bierman Jul 17, 2024
41506ba
🗑️ move old queue logic
andrew-bierman Jul 17, 2024
702dcae
Merge pull request #1099 from andrew-bierman/fix/clean-up-server-dirs
andrew-bierman Jul 17, 2024
9aadf74
Merge branch 'andrew_testing' into feat/cf-queues-initial
andrew-bierman Jul 17, 2024
8947913
⚡️ add cf etl queue
andrew-bierman Jul 17, 2024
c4fb09c
Merge branch 'andrew_testing' into feat/cf-vectorize-initial
andrew-bierman Jul 17, 2024
2c0d40e
⬆️ regen lock
andrew-bierman Jul 17, 2024
893bb60
Merge pull request #1100 from andrew-bierman/fix/clean-up-server-dirs
andrew-bierman Jul 17, 2024
5a6f55d
Merge branch 'andrew_testing' into feat/cf-vectorize-initial
andrew-bierman Jul 17, 2024
8bd0992
⚡️ enable logpush for better monitoring
andrew-bierman Jul 17, 2024
cae6da1
Merge pull request #1098 from andrew-bierman/feat/cf-queues-initial
andrew-bierman Jul 17, 2024
6fff852
Merge pull request #1101 from andrew-bierman/feat/logpush-enable
andrew-bierman Jul 17, 2024
898965c
Add select weight unit text
Isthisanmol Jul 17, 2024
0f6457c
Merge branch 'andrew_testing' into fix-dropdown-alignment
Isthisanmol Jul 17, 2024
7b3525c
Adjust size on native
Isthisanmol Jul 17, 2024
7a9d4f2
items controller done
pinocchio-life-like Jul 17, 2024
bbed325
pack controller done
pinocchio-life-like Jul 17, 2024
c2a6ed2
git Merge branch 'feat/trpc_rest' of https://github.com/andrew-bierma…
pinocchio-life-like Jul 17, 2024
8f4f5af
resolve conflict
pinocchio-life-like Jul 17, 2024
9bb9ad1
trip controllers done
pinocchio-life-like Jul 17, 2024
fd29217
weather controller done
pinocchio-life-like Jul 17, 2024
e935538
templates controller done
pinocchio-life-like Jul 17, 2024
f774701
Change chat image to icon
Isthisanmol Jul 17, 2024
1cc4271
Change required text
Isthisanmol Jul 17, 2024
7613005
🚨 fix error 'React' must be in scope when using JSX react/react-in-…
andrew-bierman Jul 18, 2024
d308d58
Merge pull request #1106 from andrew-bierman/fix/linting-errors-cicd
andrew-bierman Jul 18, 2024
a4b8f2b
🚨 fix react in scope error on lint
andrew-bierman Jul 18, 2024
c2cd3c0
Merge pull request #1105 from andrew-bierman/Fix-content-labelling-is…
andrew-bierman Jul 18, 2024
89a55da
Merge pull request #1097 from andrew-bierman/fix-dropdown-alignment
andrew-bierman Jul 18, 2024
17505d6
Merge pull request #1107 from andrew-bierman/fix/linting-errors-cicd
andrew-bierman Jul 18, 2024
e9ab1a1
fix profile screen crash
taronaleksanian Jul 18, 2024
d811600
Merge branch 'andrew_testing' into feat/integrate_rest_api
pinocchio-life-like Jul 18, 2024
09d172d
password reset done
pinocchio-life-like Jul 18, 2024
ec55bc6
openai done
pinocchio-life-like Jul 18, 2024
685bf43
Merge branch 'andrew_testing' into fix-chat-visibility-on-native
Isthisanmol Jul 18, 2024
40057e4
Merge pull request #1108 from andrew-bierman/fix/profile-screen-crash
JewelTee Jul 18, 2024
8e81208
ALL Controllers Done
MuhammadHassan03 Jul 18, 2024
8675012
Merge branch 'feat/integrate_rest_api' of https://github.com/andrew-b…
MuhammadHassan03 Jul 18, 2024
d10f836
uncommented enforeceHTTP and securityHeaders
MuhammadHassan03 Jul 18, 2024
1603da8
Improve chatbox visibility
Isthisanmol Jul 18, 2024
6c3631b
Merge branch 'andrew_testing' into fix-chat-visibility-on-native
Isthisanmol Jul 18, 2024
68a5d45
...
pinocchio-life-like Jul 18, 2024
a0b8d3b
Merge branch 'andrew_testing' into feat/integrate_rest_api
pinocchio-life-like Jul 18, 2024
92003ba
cleanup
pinocchio-life-like Jul 18, 2024
08bf1af
Merge branch 'feat/integrate_rest_api' of https://github.com/andrew-b…
pinocchio-life-like Jul 18, 2024
ccecb1b
Merge pull request #1102 from andrew-bierman/fix-chat-visibility-on-n…
andrew-bierman Jul 18, 2024
9e24d30
Merge branch 'andrew_testing' into feat/integrate_rest_api
pinocchio-life-like Jul 18, 2024
c572a29
userRoutes Testing Done
MuhammadHassan03 Jul 18, 2024
0e999e5
Remove splash
Isthisanmol Jul 18, 2024
f42ab4b
Pack Routes Testing Done
MuhammadHassan03 Jul 18, 2024
2f5717f
Merge branch 'andrew_testing' into Fix-double-splash-screen
Isthisanmol Jul 18, 2024
5e89b8e
Merge pull request #1110 from andrew-bierman/Fix-double-splash-screen
andrew-bierman Jul 18, 2024
ce9d4ea
Merge pull request #1090 from andrew-bierman/fix/downloaded-map-crash
andrew-bierman Jul 18, 2024
b9d7c91
Item Routes Testing
MuhammadHassan03 Jul 18, 2024
97fedb3
Trip Routes Done
MuhammadHassan03 Jul 18, 2024
be5c746
Weather Routes Testing
MuhammadHassan03 Jul 18, 2024
d083682
GeoCode Testing Done
MuhammadHassan03 Jul 18, 2024
757632f
getParks Routes Testing Done
MuhammadHassan03 Jul 18, 2024
105e41f
gettrails Testing Done
MuhammadHassan03 Jul 18, 2024
112443c
templateRoutes, FavouritesRoutes, mapPreview Testing Done
MuhammadHassan03 Jul 18, 2024
7915338
OpenAi, Osm, password_rest Routes Testing Done
MuhammadHassan03 Jul 18, 2024
44bc15d
uncommented enforceHttps, SecurityHeaders
MuhammadHassan03 Jul 18, 2024
79ebce6
Add position to sheet
Isthisanmol Jul 19, 2024
0a95e8f
Refactored the requested Changes in addItemservice
MuhammadHassan03 Jul 19, 2024
9b3ae21
Merge pull request #1112 from andrew-bierman/Enhance-dropdown
andrew-bierman Jul 19, 2024
627c3dd
disable trips related stuff for short term
taronaleksanian Jul 19, 2024
b1fed6d
Merge pull request #1113 from andrew-bierman/hide-trips-routes
andrew-bierman Jul 20, 2024
218effa
Merge pull request #1096 from andrew-bierman/feat/integrate_rest_api
andrew-bierman Jul 20, 2024
8979c62
Merge branch 'andrew_testing' into feat/cf-vectorize-initial
andrew-bierman Jul 20, 2024
8482153
Merge pull request #996 from andrew-bierman/feat/cf-vectorize-initial
andrew-bierman Jul 20, 2024
f9a8175
Merge pull request #1031 from andrew-bierman/fix/theme_state
andrew-bierman Jul 21, 2024
ed2cb33
⚡️ add automated deploys for backend
andrew-bierman Jul 22, 2024
dd05b29
🎨 cleanup
andrew-bierman Jul 22, 2024
925a1d1
Merge pull request #1117 from andrew-bierman/feat/backend-cicd
andrew-bierman Jul 22, 2024
5b5c14c
⚡️ refresh lockfile bot
andrew-bierman Jul 22, 2024
f39fbdd
⚡️ add error handling to bot
andrew-bierman Jul 22, 2024
8dc6377
Merge pull request #1120 from andrew-bierman/feat/refresh-lockfile-bot
andrew-bierman Jul 22, 2024
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
  •  
  •  
  •  
49 changes: 49 additions & 0 deletions .eslintrc-front.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
module.exports = {
env: {
browser: true,
es2021: true,
},
extends: ['./.eslintrc.js', 'plugin:react/recommended'],
parserOptions: {
ecmaFeatures: {
jsx: true,
},
ecmaVersion: 'latest',
sourceType: 'module',
project: './tsconfig.json',
},
plugins: ['react', 'react-native', '@typescript-eslint', 'prettier'],
rules: {
'prettier/prettier': 'error',
'@typescript-eslint/explicit-function-return-type': 'off',
'@typescript-eslint/prefer-nullish-coalescing': 'off',
'@typescript-eslint/strict-boolean-expressions': 'off',
'@typescript-eslint/no-explicit-any': 'off',
'react-native/no-inline-styles': 'off',
'@typescript-eslint/no-unused-vars': 'off',
'@typescript-eslint/restrict-template-expressions': 'off',
eqeqeq: 'off',
'@typescript-eslint/naming-convention': 'off',
'no-unreachable': 'off',
'@typescript-eslint/no-var-requires': 'off',
'@typescript-eslint/no-confusing-void-expression': 'off',
'@typescript-eslint/no-floating-promises': 'off',
'@typescript-eslint/no-misused-promises': 'off',
'import/no-duplicates': 'off',
'multiline-ternary': 'off',
'no-dupe-keys': 'off',
'@typescript-eslint/ban-ts-comment': 'off',
'array-callback-return': 'off',
'@typescript-eslint/array-callback-return': 'off',
'no-empty': 'off',
'operator-linebreak': 'off',
'@typescript-eslint/await-thenable': 'off',
'@typescript-eslint/prefer-optional-chain': 'off',
'@typescript-eslint/return-await': 'off',
},
settings: {
react: {
version: 'detect',
},
},
};
69 changes: 69 additions & 0 deletions .eslintrc.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,69 @@
// .eslintrc.js
module.exports = {
env: {
es2021: true,
},
extends: [
'standard-with-typescript',
'eslint:recommended',
'plugin:@typescript-eslint/recommended',
'prettier',
],
overrides: [
{
env: {
node: true,
},
files: ['.eslintrc.{js,cjs,jsx,ts,tsx}'],
parserOptions: {
sourceType: 'script',
},
},
],
ignorePatterns: [
'.eslintrc.js',
'**/node_modules/**',
'**/dist/**',
'**/build/**',
'**/types/**',
'**/public/**',
'babel.config.js',
],
parserOptions: {
ecmaFeatures: {
jsx: true,
},
ecmaVersion: 'latest',
sourceType: 'module',
project: './tsconfig.json',
},
plugins: ['react', 'react-native', '@typescript-eslint', 'prettier'],
rules: {
'prettier/prettier': 'error',
'@typescript-eslint/explicit-function-return-type': 'off',
'@typescript-eslint/prefer-nullish-coalescing': 'off',
'@typescript-eslint/strict-boolean-expressions': 'off',
'@typescript-eslint/no-explicit-any': 'off',
'react-native/no-inline-styles': 'off',
'@typescript-eslint/no-unused-vars': 'off',
'@typescript-eslint/restrict-template-expressions': 'off',
eqeqeq: 'off',
'@typescript-eslint/naming-convention': 'off',
'no-unreachable': 'off',
'@typescript-eslint/no-var-requires': 'off',
'@typescript-eslint/no-confusing-void-expression': 'off',
'@typescript-eslint/no-floating-promises': 'off',
'@typescript-eslint/no-misused-promises': 'off',
'import/no-duplicates': 'off',
'multiline-ternary': 'off',
'no-dupe-keys': 'off',
'@typescript-eslint/ban-ts-comment': 'off',
'array-callback-return': 'off',
'@typescript-eslint/array-callback-return': 'off',
'no-empty': 'off',
'operator-linebreak': 'off',
'@typescript-eslint/await-thenable': 'off',
'@typescript-eslint/prefer-optional-chain': 'off',
'@typescript-eslint/return-await': 'off',
},
};
34 changes: 30 additions & 4 deletions .github/workflows/backend.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,12 @@ on:
push:
branches:
- master
- andrew_testing
paths:
- 'packages/api/**'
- 'server/**'

concurrency:
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true

Expand Down Expand Up @@ -50,11 +51,36 @@ jobs:
# packageManager: bun
packageManager: yarn
secrets: |
APP_URL
JWT_VERIFICATION_KEY
CI
GOOGLE_CLIENT_ID
GOOGLE_CLIENT_SECRET
STMP_EMAIL
STMP_PASSWORD
JWT_SECRET
SEND_GRID_API_KEY
MAPBOX_ACCESS_TOKEN
OSM_URI
WEATHER_URL
WEATHER_WEEK_URL
OPENWEATHER_KEY
VECTORIZE_API_KEY
CLOUDFLARE_ACCOUNT_ID
VITE_PUBLIC_APP_URL
env:
APP_URL: ${{ secrets.VITE_PUBLIC_APP_URL }}
JWT_VERIFICATION_KEY: ${{ secrets.JWT_SECRET }}
GOOGLE_CLIENT_ID: ${{ secrets.GOOGLE_CLIENT_ID }}
GOOGLE_CLIENT_SECRET: ${{ secrets.GOOGLE_CLIENT_SECRET }}
STMP_EMAIL: ${{ secrets.STMP_EMAIL }}
STMP_PASSWORD: ${{ secrets.STMP_PASSWORD }}
JWT_SECRET: ${{ secrets.JWT_SECRET }}
SEND_GRID_API_KEY: ${{ secrets.SEND_GRID_API_KEY }}
MAPBOX_ACCESS_TOKEN: ${{ secrets.MAPBOX_ACCESS_TOKEN }}
OSM_URI: ${{ secrets.OSM_URI }}
WEATHER_URL: ${{ secrets.WEATHER_URL }}
WEATHER_WEEK_URL: ${{ secrets.WEATHER_WEEK_URL }}
OPENWEATHER_KEY: ${{ secrets.OPENWEATHER_KEY }}
VECTORIZE_API_KEY: ${{ secrets.VECTORIZE_API_KEY }}
CLOUDFLARE_ACCOUNT_ID: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }}
CI: true
NO_D1_WARNING: true
NO_D1_WARNING: true
29 changes: 29 additions & 0 deletions .github/workflows/playwright.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
name: Playwright Tests
on:
push:
branches: [ main, master ]
pull_request:
branches: [ main, master ]
jobs:
test:
timeout-minutes: 60
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: lts/*
- name: Install dependencies
run: npm install -g yarn && yarn
- name: Install Playwright Browsers
run: yarn playwright install --with-deps
- name: Run Playwright tests
run: |
cd packages/playwright
yarn playwright test
- uses: actions/upload-artifact@v4
if: always()
with:
name: playwright-report
path: playwright-report/
retention-days: 30
53 changes: 53 additions & 0 deletions .github/workflows/refresh-lockfile.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,53 @@
name: Refresh Lockfile

on:
issue_comment:
types: [created]

jobs:
refresh-lockfile:
if: github.event.issue.pull_request != null && contains(github.event.comment.body, '/refresh-lockfile')
runs-on: ubuntu-latest

steps:
- name: Check out the repository
uses: actions/checkout@v3

- name: Setup Standard Environment
uses: ./.github/actions/setup-standard-environment
with:
expo-token: ${{ secrets.EXPO_TOKEN }}

- name: Post start comment
run: |
gh pr comment ${{ github.event.issue.number }} --body "Starting lockfile refresh..."
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

- name: Refresh lockfile
run: yarn regen

- name: Verify changes
run: git status

- name: Commit changes if there are any
run: |
if [ -n "$(git status --porcelain)" ]; then
git config --global user.name 'github-actions[bot]'
git config --global user.email 'github-actions[bot]@users.noreply.github.com'
git add yarn.lock
git commit -m 'Refresh lockfile'
git push
gh pr comment ${{ github.event.issue.number }} --body "Lockfile refreshed and changes committed."
else
gh pr comment ${{ github.event.issue.number }} --body "No changes to commit."
fi
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

- name: Post completion comment
if: always()
run: |
gh pr comment ${{ github.event.issue.number }} --body "Lockfile refresh process completed."
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
mongodb-data
*.env
.env.local
types
.env.production
.env.old
node_modules
Expand Down
2 changes: 1 addition & 1 deletion .husky/pre-commit
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ echo "🔍 Running pre-commit hook"

# Running lint-staged
echo "🔄 Running lint-staged..."
# npx lint-staged
npx lint-staged

if [ $? -eq 0 ]; then
echo -e "${GREEN}✅ Lint-staged passed${NC}"
Expand Down
3 changes: 2 additions & 1 deletion apps/bun-server/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
{
"name": "bun-server",
"scripts": {
"start": "bun ./dist/index.js",
"start": "bun src/index.ts",
"start:prod": "bun start",
"dev": "bun --watch ./src/index.ts",
"build": "tsc"
},
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
76 changes: 2 additions & 74 deletions apps/expo/.eslintrc.js
Original file line number Diff line number Diff line change
@@ -1,82 +1,10 @@
module.exports = {
env: {
browser: true,
es2021: true,
},
extends: [
'standard-with-typescript',
'plugin:@typescript-eslint/recommended',
'plugin:@tanstack/eslint-plugin-query/recommended',
'prettier',
],
overrides: [
{
env: {
node: true,
},
files: ['.eslintrc.{js,cjs,jsx,ts,tsx}'],
parserOptions: {
sourceType: 'script',
},
},
],
extends: ['../../.eslintrc-front.js'],
ignorePatterns: [
'.eslintrc.js',
'**/node_modules/**',
'**/dist/**',
'**/coverage/**',
'metro.config.js',
'**/build/**',
'**/android/**',
'**/ios/**',
'**/web/**',
'**/config/**',
'**/constants/**',
'**/types/**',
'**/public/**',
'babel.config.js',
'metro.config.js',
],
parserOptions: {
ecmaFeatures: {
jsx: true,
},
ecmaVersion: 'latest',
sourceType: 'module',
project: './tsconfig.json',
tsconfigRootDir: __dirname,
},
plugins: ['react', 'react-native', '@typescript-eslint', 'prettier'],
rules: {
'prettier/prettier': 'error',
'@typescript-eslint/explicit-function-return-type': 'off',
'@typescript-eslint/prefer-nullish-coalescing': 'off',
'@typescript-eslint/strict-boolean-expressions': 'off',
'@typescript-eslint/no-explicit-any': 'off',
'react-native/no-inline-styles': 'off',
'@typescript-eslint/no-unused-vars': 'off',
'@typescript-eslint/restrict-template-expressions': 'off',
eqeqeq: 'off',
'@typescript-eslint/naming-convention': 'off',
'no-unreachable': 'off',
'@typescript-eslint/no-var-requires': 'off',
'@typescript-eslint/no-confusing-void-expression': 'off',
'@typescript-eslint/no-floating-promises': 'off',
'@typescript-eslint/no-misused-promises': 'off',
'import/no-duplicates': 'off',
'multiline-ternary': 'off',
'no-dupe-keys': 'off',
'@typescript-eslint/ban-ts-comment': 'off',
'array-callback-return': 'off',
'@typescript-eslint/array-callback-return': 'off',
'no-empty': 'off',
'operator-linebreak': 'off',
'@typescript-eslint/await-thenable': 'off',
'@typescript-eslint/prefer-optional-chain': 'off',
'@typescript-eslint/return-await': 'off',
},
settings: {
react: {
version: 'detect',
},
},
};
6 changes: 0 additions & 6 deletions apps/expo/app.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,6 @@
"icon": "./assets/packrat-app-icon.png",
"userInterfaceStyle": "automatic",
"scheme": "packrat",
"splash": {
"image": "./assets/packrat.png",
"resizeMode": "contain",
"backgroundColor": "#0284c7",
"scheme": "myapp"
},
"assetBundlePatterns": ["**/*"],
"ios": {
"supportsTablet": true,
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import React from 'react';
import About from 'app/screens/about';
import { Platform, ScrollView, StyleSheet } from 'react-native';
import { Stack } from 'expo-router';
Expand All @@ -21,7 +22,6 @@ export default function AboutRoute() {
options={{
// https://reactnavigation.org/docs/headers#setting-the-header-title
title: 'About',
name: 'About',
// https://reactnavigation.org/docs/headers#adjusting-header-styles

// https://reactnavigation.org/docs/headers#replacing-the-title-with-a-custom-component
Expand Down
Loading
Loading