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

Frontend localhost icon fix #1587

Merged
merged 4 commits into from Mar 11, 2024
Merged

Frontend localhost icon fix #1587

merged 4 commits into from Mar 11, 2024

Conversation

SuaYoo
Copy link
Collaborator

@SuaYoo SuaYoo commented Mar 11, 2024

No issue created, reported here #1534 (comment)

Changes

Loads sl-icon synchronously to get correct base path when running webpack-dev-server.

Manual testing

Run yarn --frozen-lockfile to install latest shoelace. Run yarn start and verify icons load.

@SuaYoo SuaYoo marked this pull request as ready for review March 11, 2024 19:20
Copy link
Member

@Shrinks99 Shrinks99 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Icons work!

...But now when I go to any page with dialogs they all open at once and can't be closed. 🙃

Screenshot 2024-03-11 at 3 39 38 PM

Navigate to either the collections or archived items page to replicate

@SuaYoo
Copy link
Collaborator Author

SuaYoo commented Mar 11, 2024

Icons work!

...But now when I go to any page with dialogs they all open at once and can't be closed. 🙃

Good catch, set shoelace more explicitly to 2.10.x to fix. Will have to look into why dialogs break with the upgrade...

@SuaYoo SuaYoo requested a review from Shrinks99 March 11, 2024 20:30
Copy link
Member

@Shrinks99 Shrinks99 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Works!

@SuaYoo SuaYoo merged commit 548261e into main Mar 11, 2024
2 checks passed
@SuaYoo SuaYoo deleted the frontend-localhost-icon-fix branch March 11, 2024 20:38
emma-sg added a commit that referenced this pull request Apr 15, 2024
Loads `sl-icon` synchronously to get correct base path when running
webpack-dev-server.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants