Thanks to visit codestin.com
Credit goes to Github.com

Skip to content

Conversation

@araujobarret
Copy link
Contributor

@araujobarret araujobarret commented Dec 12, 2025

The type of this PR is: Feat

This PR solves ONYX-1977

Description

Adapts the places we call the hook to open the modal by receiving an image URL prop and using it to display the Artwork.
Most of the changes were trivial, adding the field to the GraphQL and passing it to the auth hook call. A few (create alert and save artwork) required some stretch to receive the image URL in its context.
Main commits:
150bd60 most of the changes to add image urls
834e074 changes to the create alert flow
fa443ab changes to the save artwork flow

PS: There are many changes because of graphql auto-generated types, don't be intimidated by the PR's size

@araujobarret araujobarret self-assigned this Dec 12, 2025
@relativeci
Copy link

relativeci bot commented Dec 18, 2025

#6040 Bundle Size — 9.52MiB (+1.97%).

d26250e(current) vs d8a33c5 main#6037(baseline)

Warning

Bundle contains 34 duplicate packages – View duplicate packages

Warning

Bundle introduced 2 new packages: @swc/helpers, regenerator-runtime – View changed packages

Bundle metrics  Change 8 changes Regression 3 regressions
                 Current
#6040
     Baseline
#6037
Regression  Initial JS 3.7MiB(+1.21%) 3.66MiB
No change  Initial CSS 0B 0B
Change  Cache Invalidation 100% 38.68%
Change  Chunks 102(+3.03%) 99
Change  Assets 105(+2.94%) 102
Change  Modules 5940(+0.47%) 5912
Regression  Duplicate Modules 590(+5.36%) 560
Change  Duplicate Code 4.45%(+16.49%) 3.82%
Regression  Packages 297(+0.68%) 295
No change  Duplicate Packages 33 33
Bundle size by type  Change 2 changes Regression 2 regressions
                 Current
#6040
     Baseline
#6037
Regression  JS 9.38MiB (+1.95%) 9.2MiB
Regression  Other 144.29KiB (+3.37%) 139.59KiB

Bundle analysis reportBranch araujobarret/feat/signup-modal-a...Project dashboard


Generated by RelativeCIDocumentationReport issue

* add prefetching for images

* chore: refactor

* Update src/Components/AuthDialog/AuthDialogContext.tsx

Co-authored-by: Copilot <[email protected]>

* chore: address copilot review comment

* Update src/Components/AuthDialog/AuthDialogContext.tsx

Co-authored-by: Copilot <[email protected]>

* chore: check if the image was already prefethced

* chore: address review comments

* feat: prefetch correct size of the image

* chore: do not prefetch on mobile web

* chore: address review comments

---------

Co-authored-by: Copilot <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants