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

QA: Oct 30th #2003

Merged
merged 487 commits into from
Nov 13, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
487 commits
Select commit Hold shift + click to select a range
3873046
initial commit
jimniels Oct 17, 2024
256acc0
aiAssistant & aiAnalyst
AyushAgrawal-A2 Oct 17, 2024
615a3af
Merge branch 'qa' of github.com:quadratichq/quadratic into ayush/ai_p…
AyushAgrawal-A2 Oct 17, 2024
4a3cd27
Merge branch 'qa' of github.com:quadratichq/quadratic into ayush/move…
AyushAgrawal-A2 Oct 17, 2024
5ee54a5
Merge branch 'ayush/move_spill' of github.com:quadratichq/quadratic i…
AyushAgrawal-A2 Oct 17, 2024
1abd388
fix AIFixError
AyushAgrawal-A2 Oct 17, 2024
a1a0cc0
Update FilesListItemCore.tsx
jimniels Oct 18, 2024
0a3759c
code assistant tweaks
jimniels Oct 18, 2024
658da8f
remove monaco, ui tweaks
AyushAgrawal-A2 Oct 19, 2024
ef77ef1
autofocus and shift context
AyushAgrawal-A2 Oct 20, 2024
3b243be
fix quadraticDocs context
AyushAgrawal-A2 Oct 20, 2024
fd5416f
wrap code and lint
AyushAgrawal-A2 Oct 20, 2024
ffbc2c7
update ui, fork chat
AyushAgrawal-A2 Oct 21, 2024
7649786
centralised ai tools
AyushAgrawal-A2 Oct 21, 2024
3a6ba3d
fix copy pasta
AyushAgrawal-A2 Oct 21, 2024
c70fcb1
fix buttons
jimniels Oct 21, 2024
42adbd1
Merge branch 'ayush/ai_panel' of github.com:quadratichq/quadratic int…
jimniels Oct 21, 2024
341c9f6
Update CodeSnippet.tsx
jimniels Oct 21, 2024
3b801f4
Merge branch 'qa' into ayush/move_spill
AyushAgrawal-A2 Oct 22, 2024
4ecd292
Merge branch 'ayush/move_spill' into ayush/ai_panel
AyushAgrawal-A2 Oct 22, 2024
b24a240
fix tool calling
AyushAgrawal-A2 Oct 22, 2024
ee472a0
SetCodeCellValue card
AyushAgrawal-A2 Oct 22, 2024
1272d52
Merge branch 'ayush/ai_panel' of github.com:quadratichq/quadratic int…
AyushAgrawal-A2 Oct 22, 2024
4cca7d8
fix bug
AyushAgrawal-A2 Oct 22, 2024
27cf889
temp loading, error card css
AyushAgrawal-A2 Oct 22, 2024
70450d3
new claude-3.5 sonnet
AyushAgrawal-A2 Oct 22, 2024
ea6e980
className
AyushAgrawal-A2 Oct 22, 2024
073f776
fix: dirty_hashes for change_spill
AyushAgrawal-A2 Oct 22, 2024
3ecbd8e
tweaks to code editor header
jimniels Oct 22, 2024
034c835
Merge branch 'ayush/ai_panel' of github.com:quadratichq/quadratic int…
jimniels Oct 22, 2024
5296a88
Merge branch 'ayush/ai_panel' of github.com:quadratichq/quadratic int…
AyushAgrawal-A2 Oct 22, 2024
9ac106d
fix test
AyushAgrawal-A2 Oct 22, 2024
d0bcfdd
test: try aws s3 transfer accelerate
AyushAgrawal-A2 Oct 22, 2024
edd5cf8
fix localstack
AyushAgrawal-A2 Oct 22, 2024
d26564f
updates to filtering by name
jimniels Oct 22, 2024
3f653f2
don't show code buttons while loading
jimniels Oct 22, 2024
5ad8265
Update CodeEditorRefButton.tsx
jimniels Oct 22, 2024
b4d0ede
more tweaks
jimniels Oct 22, 2024
94aadf3
Merge branch 'ayush/ai_panel' of github.com:quadratichq/quadratic int…
AyushAgrawal-A2 Oct 23, 2024
8151a40
Add in bypass for quadratic license key
ddimaria Oct 23, 2024
6d80dbf
Merge branch 'qa' into jim-filter-files-by-creator
jimniels Oct 23, 2024
e8cdd29
productionize image creation
davidkircos Oct 23, 2024
9e6fc6b
Address PR feedback
ddimaria Oct 23, 2024
1b45c8f
Merge remote-tracking branch 'origin/qa' into self-hosting-setup
ddimaria Oct 23, 2024
a0c68cf
updates
jimniels Oct 23, 2024
ef2d28c
Refresh user count when added or removed from a team
ddimaria Oct 24, 2024
428ad99
different context in every user message
AyushAgrawal-A2 Oct 24, 2024
d37d1cf
Merge branch 'ayush/ai_panel' of github.com:quadratichq/quadratic int…
AyushAgrawal-A2 Oct 24, 2024
43e7a60
comment unused
AyushAgrawal-A2 Oct 24, 2024
061bcb2
search triggers when manually changing sheets
davidfig Oct 24, 2024
d13358d
Fix lint issue related to different event emitter library
ddimaria Oct 24, 2024
ee3db12
ephemeral chat history
AyushAgrawal-A2 Oct 24, 2024
e311320
push atom
AyushAgrawal-A2 Oct 24, 2024
008d362
update changes to ai code snippet
jimniels Oct 24, 2024
398ee36
productionize
davidkircos Oct 24, 2024
353a2d7
Merge branch 'self-hosting-setup' of https://github.com/quadratichq/q…
davidkircos Oct 24, 2024
c36fa2a
update diff behaviour
AyushAgrawal-A2 Oct 25, 2024
a7b72a2
add dependency
AyushAgrawal-A2 Oct 25, 2024
07428e1
loop and feed back tool result, show tool call stream update
AyushAgrawal-A2 Oct 25, 2024
b53248a
Update SetCodeCellValue.tsx
jimniels Oct 25, 2024
95a063c
fix bug
AyushAgrawal-A2 Oct 26, 2024
88da2d1
add amazon bedrock support
AyushAgrawal-A2 Oct 27, 2024
e623aa8
fix bedrock bugs
AyushAgrawal-A2 Oct 28, 2024
da55ead
offline chat sync
AyushAgrawal-A2 Oct 29, 2024
881a59a
Merge branch 'qa' into jim-filter-files-by-creator
jimniels Oct 29, 2024
6e852e6
fix sync toolResult bug
AyushAgrawal-A2 Oct 29, 2024
f4cd94a
Merge branch 'qa' into ayush/move_spill
AyushAgrawal-A2 Oct 29, 2024
3db93be
Merge branch 'ayush/move_spill' of github.com:quadratichq/quadratic i…
AyushAgrawal-A2 Oct 29, 2024
2efe4fa
change SetCodeCell tool button
AyushAgrawal-A2 Oct 29, 2024
7658d4a
initial commit
jimniels Oct 29, 2024
431eccd
add SetCellValues ai tool
AyushAgrawal-A2 Oct 30, 2024
00be2f7
SetCellValues tool card
AyushAgrawal-A2 Oct 30, 2024
151dd04
Merge branch 'qa' into ayush/aws_s3_ta
AyushAgrawal-A2 Oct 30, 2024
c7a7821
get chat name from AI
AyushAgrawal-A2 Oct 30, 2024
404f46e
chat name ellipsis
AyushAgrawal-A2 Oct 30, 2024
ab44c0f
Merge branch 'qa' into self-hosting-setup
ddimaria Oct 30, 2024
764324b
Update _dashboard.tsx, remove useTheme
ddimaria Oct 30, 2024
fbbe0ef
use system prompt api
AyushAgrawal-A2 Oct 30, 2024
e4746d1
Merge pull request #2002 from quadratichq/main
davidkircos Oct 30, 2024
bc26cfa
search chat by chat name
AyushAgrawal-A2 Oct 30, 2024
6fdcf3e
Fix import issue
ddimaria Oct 30, 2024
5e16fac
tweaks
jimniels Oct 30, 2024
38ba7af
Try export-table option when building rust-client
ddimaria Oct 30, 2024
33cd271
initial commit
jimniels Oct 30, 2024
717ec59
Merge remote-tracking branch 'origin/qa' into self-hosting-setup
ddimaria Oct 30, 2024
b435723
Remove wasm target
ddimaria Oct 30, 2024
25f2c9c
ui polish and tweaks in ai chat window
jimniels Oct 30, 2024
91c96b6
add MoveCells, DeleteCells ai tool
AyushAgrawal-A2 Oct 31, 2024
fa00b68
fix bug
AyushAgrawal-A2 Oct 31, 2024
1472d11
Update AIAnalystHeader.tsx
jimniels Oct 31, 2024
4f9a79f
Update AIAnalystChatHistory.tsx
jimniels Oct 31, 2024
1ac02f1
Merge pull request #2000 from quadratichq/jim-dashboard-sidebar
davidkircos Oct 31, 2024
2f6ceef
remove model icons
jimniels Oct 31, 2024
79d860e
Update SelectAIModelMenu.tsx
jimniels Oct 31, 2024
ccca1fa
Merge pull request #2005 from quadratichq/jim-fix-theme
davidkircos Oct 31, 2024
7d106e1
remove hard-coded text coloring and use theme color
jimniels Oct 31, 2024
ff06318
tweak padding/spacing
jimniels Oct 31, 2024
130dda6
Merge remote-tracking branch 'origin/qa' into self-hosting-setup
ddimaria Oct 31, 2024
19ac842
Remove export-tables option
ddimaria Oct 31, 2024
1acc5ff
cleanup internal context hooks and remove model tracking in AI response
AyushAgrawal-A2 Oct 31, 2024
411d386
Merge branch 'ayush/ai_panel' of github.com:quadratichq/quadratic int…
AyushAgrawal-A2 Oct 31, 2024
e65c3e6
Fix kratos creation bug
ddimaria Oct 31, 2024
5b5a0b2
centralize ai tool card and unify UX around it
jimniels Oct 31, 2024
5e21f29
Merge branch 'ayush/ai_panel' of github.com:quadratichq/quadratic int…
jimniels Oct 31, 2024
12adda9
Merge branch 'qa' into jim-filter-files-by-creator
jimniels Nov 1, 2024
d9dc4ec
ensure 1902-01 doesn't parse to date
davidfig Nov 1, 2024
06e5be7
presentationMode, global shortcut and edit prompt in code editor
AyushAgrawal-A2 Nov 1, 2024
a7ed132
fix scroll bugs
AyushAgrawal-A2 Nov 1, 2024
9c61d0b
initial context refactor
AyushAgrawal-A2 Nov 1, 2024
bf5a3e4
fix textarea height
AyushAgrawal-A2 Nov 1, 2024
22486f9
fix sheet context bug
AyushAgrawal-A2 Nov 1, 2024
c30902a
Merge pull request #2012 from quadratichq/fix-weird-date-parsing
davidkircos Nov 1, 2024
02fe017
update context menu UI
jimniels Nov 1, 2024
86a8940
update tool cards
jimniels Nov 1, 2024
5cafc19
Update MoveCells.tsx
jimniels Nov 2, 2024
28991c1
fix dark mode bug
jimniels Nov 2, 2024
d56772a
fix sheet context bugs, some todos
AyushAgrawal-A2 Nov 2, 2024
5601ba0
sheet select dropdown
AyushAgrawal-A2 Nov 2, 2024
1237af7
remove mui TooltipHint
AyushAgrawal-A2 Nov 3, 2024
64b0e04
fix tooltip hint bugs
AyushAgrawal-A2 Nov 3, 2024
a4066bb
pass other sheets context to AI
AyushAgrawal-A2 Nov 3, 2024
c6f8fe1
fix sheetbar
AyushAgrawal-A2 Nov 3, 2024
a6cf36f
reduce calls to core
AyushAgrawal-A2 Nov 3, 2024
85bd62c
fix bug
AyushAgrawal-A2 Nov 3, 2024
165455e
fix event subscriptions
AyushAgrawal-A2 Nov 3, 2024
d2b3702
update SetCodeCellValue pill buttons
AyushAgrawal-A2 Nov 3, 2024
1d3832e
delete offline chats on file delete
AyushAgrawal-A2 Nov 3, 2024
edfba3b
fix adding formula by AI
AyushAgrawal-A2 Nov 3, 2024
22a4310
send code cell errors in visible context
AyushAgrawal-A2 Nov 4, 2024
2233113
update bedrock
AyushAgrawal-A2 Nov 4, 2024
f89565c
fix multiline input prompt
AyushAgrawal-A2 Nov 4, 2024
f16a5aa
Update AIAnalystUserMessageForm.tsx
jimniels Nov 4, 2024
0c7be96
rename and classname
AyushAgrawal-A2 Nov 4, 2024
da4c689
Update AIAssistantUserMessageForm.tsx
jimniels Nov 4, 2024
dc5942a
Merge branch 'ayush/ai_panel' of github.com:quadratichq/quadratic int…
jimniels Nov 4, 2024
f43d051
echo versions
davidkircos Nov 4, 2024
249e0c9
try
davidkircos Nov 4, 2024
ece30bc
ui tweaks and enhancements
jimniels Nov 4, 2024
bea8d4f
Respect the S3 storage type on the client
ddimaria Nov 4, 2024
3fa9673
Hide examples where VITE_STORAGE_TYPE === 'file-system'
ddimaria Nov 4, 2024
9062aef
Only show revoked message when the license is revoked, not exceeded
ddimaria Nov 4, 2024
7991c6b
Merge branch 'self-hosting-setup' of github.com:quadratichq/quadratic…
ddimaria Nov 4, 2024
a7898c6
ai context menu
jimniels Nov 4, 2024
13b8f42
fix: move to fix spill
AyushAgrawal-A2 Nov 5, 2024
9c693fd
Merge branch 'qa' into ayush/move_spill
AyushAgrawal-A2 Nov 5, 2024
bc38356
Merge pull request #1923 from quadratichq/ayush/move_spill
AyushAgrawal-A2 Nov 5, 2024
3963b8f
fix ts test
AyushAgrawal-A2 Nov 5, 2024
57772de
split helpers to avoid core dependency, fix ts test
AyushAgrawal-A2 Nov 5, 2024
62ff38c
add tests
AyushAgrawal-A2 Nov 5, 2024
6a56aae
more test
AyushAgrawal-A2 Nov 5, 2024
751572a
style tweaks
jimniels Nov 5, 2024
e7e7dc5
Merge branch 'ayush/ai_panel' of github.com:quadratichq/quadratic int…
jimniels Nov 5, 2024
7653c07
Move JWT initialization
ddimaria Nov 5, 2024
17ebf8d
Merge pull request #1718 from quadratichq/self-hosting-setup
ddimaria Nov 5, 2024
85fd084
Merge pull request #1979 from quadratichq/jim-filter-files-by-creator
davidkircos Nov 5, 2024
3fb7db0
Merge pull request #1990 from quadratichq/find-dialog-sheets
davidkircos Nov 5, 2024
853c8f9
Update DEVELOPMENT.md
davidkircos Nov 6, 2024
a313d0a
Merge pull request #1985 from quadratichq/ayush/fix_spill_render
davidkircos Nov 6, 2024
43853cd
fix bedrock for anthropic, use anthropic sdk
AyushAgrawal-A2 Nov 6, 2024
0f6ffbd
Merge branch 'ayush/ai_panel' of github.com:quadratichq/quadratic int…
AyushAgrawal-A2 Nov 6, 2024
db40c46
Merge branch 'qa' of github.com:quadratichq/quadratic into ayush/aws_…
AyushAgrawal-A2 Nov 6, 2024
2e0cc6f
Merge branch 'ayush/aws_s3_ta' of github.com:quadratichq/quadratic in…
AyushAgrawal-A2 Nov 6, 2024
c6f5dc3
Merge branch 'qa' of github.com:quadratichq/quadratic into ayush/ai_p…
AyushAgrawal-A2 Nov 6, 2024
7036773
Merge pull request #1986 from quadratichq/ayush/aws_s3_ta
AyushAgrawal-A2 Nov 6, 2024
4dca555
Merge branch 'qa' of github.com:quadratichq/quadratic into ayush/ai_p…
AyushAgrawal-A2 Nov 6, 2024
0ddaade
update default ai model
AyushAgrawal-A2 Nov 6, 2024
ab95287
fix: goto button in edit menu and mouse hover on all menus
AyushAgrawal-A2 Nov 6, 2024
b317456
Update AIAnalystMessages.tsx
jimniels Nov 6, 2024
9721934
Bump happy-dom from 13.3.8 to 15.10.2
dependabot[bot] Nov 6, 2024
91916a4
Prioritize permission denied
ddimaria Nov 6, 2024
5eee944
initial commit
jimniels Nov 6, 2024
d5b1d6c
Update FixSpillError.tsx
jimniels Nov 6, 2024
bf26358
Update HoverCell.tsx
jimniels Nov 6, 2024
118e508
updates
jimniels Nov 6, 2024
81fbd2d
Merge pull request #2034 from quadratichq/jim-ai-panel-errors
jimniels Nov 6, 2024
ec56f1a
chore: update vite
AyushAgrawal-A2 Nov 6, 2024
2505ce6
lock file
AyushAgrawal-A2 Nov 6, 2024
c9d7348
fix: error triangle doesn't disappear immediately when cell contents …
AyushAgrawal-A2 Nov 7, 2024
360d85f
fix: hyperlinks show up in text with a colon
AyushAgrawal-A2 Nov 7, 2024
cdddbdd
fix: grid lines don't render for cut off text when they should
AyushAgrawal-A2 Nov 7, 2024
c2a7cad
fix: data validations don't remained centered in correct column
AyushAgrawal-A2 Nov 7, 2024
57dbaeb
fix: dark mode issues
AyushAgrawal-A2 Nov 7, 2024
ddbec37
fix: tab key sometimes inserts 2 spaces
AyushAgrawal-A2 Nov 7, 2024
c396c16
fix: drag and move code cell while editor is open creates another cod…
AyushAgrawal-A2 Nov 7, 2024
0bdbd5c
Merge pull request #2033 from quadratichq/bugfix-remove-license-revok…
davidkircos Nov 7, 2024
bbf62a6
ai chat when 0 messages
jimniels Nov 7, 2024
bd13b85
centralize AIFormMessage and add disclaimer
jimniels Nov 8, 2024
e3ef45f
fix: app slowdown
AyushAgrawal-A2 Nov 8, 2024
699e460
svg attribute
AyushAgrawal-A2 Nov 8, 2024
8197987
Merge branch 'ayush/2016' of github.com:quadratichq/quadratic into ay…
AyushAgrawal-A2 Nov 8, 2024
8d61e62
Merge pull request #2032 from quadratichq/dependabot/npm_and_yarn/hap…
davidkircos Nov 8, 2024
ea76e4f
Merge pull request #2035 from quadratichq/ayush/update_vite
davidkircos Nov 8, 2024
e306b11
Merge pull request #2036 from quadratichq/ayush/2014
davidkircos Nov 8, 2024
e077bb6
Merge pull request #2037 from quadratichq/ayush/1992
davidkircos Nov 8, 2024
81cbb1f
Merge pull request #2025 from quadratichq/ayush/2020
davidkircos Nov 8, 2024
d96b0b3
Merge pull request #2038 from quadratichq/ayush/2010
davidkircos Nov 8, 2024
b97de1e
Merge pull request #2041 from quadratichq/ayush/2013
davidkircos Nov 8, 2024
1243a01
Merge pull request #2049 from quadratichq/ayush/1840
davidkircos Nov 8, 2024
90e2e4a
Merge pull request #2053 from quadratichq/ayush/2016
davidkircos Nov 8, 2024
b71f5f8
Update AIAnalystExamplePrompts.tsx
jimniels Nov 8, 2024
77b53db
dark mode fixes
jimniels Nov 8, 2024
c03061f
dark mode alignments
jimniels Nov 8, 2024
628370a
move ai model parameters to quadratic shared
AyushAgrawal-A2 Nov 8, 2024
3c6eb66
stop generating button moved to top
jimniels Nov 8, 2024
c270498
Merge branch 'ayush/ai_panel' of github.com:quadratichq/quadratic int…
jimniels Nov 8, 2024
517f805
Merge branch 'qa' of github.com:quadratichq/quadratic into ayush/ai_p…
AyushAgrawal-A2 Nov 8, 2024
bbd8e6e
disable fix AI when chat loading
AyushAgrawal-A2 Nov 8, 2024
3483c54
use common rate limiter
AyushAgrawal-A2 Nov 8, 2024
04ccd63
fix bug
AyushAgrawal-A2 Nov 8, 2024
6628f32
small fixes
jimniels Nov 8, 2024
e59da39
remove commented out code
jimniels Nov 8, 2024
4475b0f
remove AskAICodeCell
AyushAgrawal-A2 Nov 8, 2024
5c24c97
thumbs up/down icons
AyushAgrawal-A2 Nov 8, 2024
6cb26cb
Merge branch 'ayush/ai_panel' of github.com:quadratichq/quadratic int…
AyushAgrawal-A2 Nov 8, 2024
4c7c025
DeleteCells
AyushAgrawal-A2 Nov 8, 2024
c178f5b
increase contrast of selection highlight
jimniels Nov 9, 2024
4064232
Merge branch 'qa' into ayush/2006
AyushAgrawal-A2 Nov 9, 2024
b5f5f77
FixSpillError
AyushAgrawal-A2 Nov 9, 2024
8376a83
delete offline chat
AyushAgrawal-A2 Nov 9, 2024
69ef975
remove (new) in claude name
AyushAgrawal-A2 Nov 9, 2024
432e052
update User import
AyushAgrawal-A2 Nov 9, 2024
b214eb8
fix loading screen dark mode
AyushAgrawal-A2 Nov 9, 2024
4d23917
Merge branch 'qa' of github.com:quadratichq/quadratic into ayush/2006
AyushAgrawal-A2 Nov 9, 2024
eff1162
Merge branch 'ayush/2006' of github.com:quadratichq/quadratic into ay…
AyushAgrawal-A2 Nov 9, 2024
6727c42
fix: unfollowing from the grid doesn't work
AyushAgrawal-A2 Nov 9, 2024
296665c
fix: all v1_4 code cell are imported as formula
AyushAgrawal-A2 Nov 10, 2024
cec4983
remove cancel on cursor, some cleanup
AyushAgrawal-A2 Nov 11, 2024
42fe252
add max panel width
AyushAgrawal-A2 Nov 11, 2024
68b87a7
send only 10 largest rects
AyushAgrawal-A2 Nov 11, 2024
3f52363
use aws s3 env variables
AyushAgrawal-A2 Nov 11, 2024
744a04b
show when empty
AyushAgrawal-A2 Nov 11, 2024
ca19ab5
fix bug
AyushAgrawal-A2 Nov 11, 2024
fc9b90b
fix ts test, maxRect const
AyushAgrawal-A2 Nov 11, 2024
2d88fe1
update ai security url
AyushAgrawal-A2 Nov 11, 2024
2ed019f
Merge pull request #2048 from quadratichq/ayush/1993
davidkircos Nov 11, 2024
a49dbcf
Merge pull request #2046 from quadratichq/ayush/2006
davidkircos Nov 11, 2024
6efcf03
Merge pull request #2055 from quadratichq/ayush/1959
davidkircos Nov 11, 2024
0969cf2
fix autoscroll
AyushAgrawal-A2 Nov 11, 2024
bcfc07c
Merge pull request #1864 from quadratichq/ayush/ai_panel
davidkircos Nov 12, 2024
e3dad46
Merge pull request #2059 from quadratichq/ayush/v1_4_codeCell_import
davidkircos Nov 12, 2024
2a99a11
fix: jumping in the sheet when clicking into cells
AyushAgrawal-A2 Nov 12, 2024
ac46727
nit
luke-quadratic Nov 12, 2024
aff3c40
fix
luke-quadratic Nov 12, 2024
8bb72ff
handle long text
AyushAgrawal-A2 Nov 12, 2024
b913779
prettier
AyushAgrawal-A2 Nov 12, 2024
90d6897
Merge pull request #2063 from quadratichq/ayush/2062
davidkircos Nov 12, 2024
1da9f66
initial commit
jimniels Nov 12, 2024
d9f03d1
Merge pull request #2069 from quadratichq/ai-mixpanel-events
davidkircos Nov 12, 2024
e3fe16e
Merge branch 'qa' into code-editor-shortcut-language
jimniels Nov 12, 2024
4af82b4
Merge pull request #2065 from quadratichq/code-editor-shortcut-language
jimniels Nov 13, 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
  •  
  •  
  •  
60 changes: 60 additions & 0 deletions .github/workflows/production-publish-images.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,60 @@
name: Build and Publish Images to ECR

on:
push:
branches:
- self-hosting-setup #remove
- main

concurrency:
group: production-publish-images

jobs:
publish_images:
runs-on: ubuntu-latest-8-cores
strategy:
matrix:
service: [multiplayer, files, connection, client, api]
steps:
- uses: actions/checkout@v4

- name: Configure AWS Credentials
uses: aws-actions/configure-aws-credentials@v4
with:
aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }}
aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
aws-region: us-east-1

- name: Login to Amazon ECR Public
id: login-ecr
uses: aws-actions/amazon-ecr-login@v2
with:
registry-type: public

- name: Define repository name
id: repo-name
run: |
echo "REPO_NAME=quadratic-${{ matrix.service }}" >> $GITHUB_OUTPUT

- name: Create Public ECR Repository if not exists
id: create-ecr
env:
REPO_NAME: ${{ steps.repo-name.outputs.REPO_NAME }}
run: |
aws ecr-public create-repository --repository-name $REPO_NAME || true
REPO_INFO=$(aws ecr-public describe-repositories --repository-names $REPO_NAME)
ECR_URL=$(echo $REPO_INFO | jq -r '.repositories[0].repositoryUri')
echo "ECR_URL=$ECR_URL" >> $GITHUB_OUTPUT

- name: Read VERSION file
id: version
run: echo "VERSION=$(cat VERSION)" >> $GITHUB_OUTPUT

- name: Build, Tag, and Push Image to Amazon ECR Public
env:
ECR_URL: ${{ steps.create-ecr.outputs.ECR_URL }}
IMAGE_TAG: ${{ steps.version.outputs.VERSION }}
run: |
docker build -t $ECR_URL:$IMAGE_TAG -t $ECR_URL:latest -f quadratic-${{ matrix.service }}/Dockerfile .
docker push $ECR_URL:$IMAGE_TAG
docker push $ECR_URL:latest
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ quadratic-connection/target/
quadratic-core/target/
quadratic-core/tmp.txt
quadratic-files/target/
quadratic-files/storage
quadratic-multiplayer/target/
quadratic-multiplayer/updateAlertVersion.json

Expand All @@ -64,6 +65,7 @@ docker/mysql/data
docker/postgres/data
docker/redis/data
docker/static/html
docker/file-storage
docker/postgres-connection/data
docker/mysql-connection/data
docker/snowflake-connection/data
Expand Down
10 changes: 3 additions & 7 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@
"pyimport",
"rects",
"reqwest",
"scrollend",
"shadcn",
"Signin",
"smallpop",
Expand All @@ -55,13 +56,8 @@
"editor.codeActionsOnSave": {
"source.organizeImports": "explicit"
},
"rust-analyzer.linkedProjects": [
"./Cargo.toml",
"./quadratic-files/Cargo.toml",
"./quadratic-core/Cargo.toml",
"./quadratic-multiplayer/Cargo.toml",
"./quadratic-rust-client/Cargo.toml"
],
"rust-analyzer.runnables.extraEnv": { "CARGO_TARGET_DIR": "target/rust-analyzer" },
"rust-analyzer.check.extraArgs": ["--target-dir=target/rust-analyzer"],
"rust-analyzer.checkOnSave": true,
"rust-analyzer.cargo.unsetTest": true,
// "rust-analyzer.checkOnSave.command": "clippy",
Expand Down
Loading
Loading