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

Minor dashboard fixes #989

Merged
merged 5 commits into from
Aug 7, 2024
Merged

Minor dashboard fixes #989

merged 5 commits into from
Aug 7, 2024

Conversation

aaronchongth
Copy link
Member

What's new

  • use relative path for icon
  • make trajectory server connection optional as core library nodes are sometimes shut down

Self-checks

  • I have prototyped this new feature (if necessary) on Figma
  • I'm familiar with and follow this Typescript guideline
  • I added unit-tests for new components
  • I tried testing edge cases
  • I tested the behavior of the components that interact with the backend, with an e2e test

Signed-off-by: Aaron Chong <aaronchongth@gmail.com>
Signed-off-by: Aaron Chong <aaronchongth@gmail.com>
Signed-off-by: Aaron Chong <aaronchongth@gmail.com>
Signed-off-by: Aaron Chong <aaronchongth@gmail.com>
@@ -2,7 +2,7 @@
<html lang="en">
<head>
<meta charset="utf-8" />
<link rel="icon" href="/favicon.ico" />
<link rel="icon" href="favicon.ico" />
Copy link
Collaborator

Choose a reason for hiding this comment

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

Suggested change
<link rel="icon" href="favicon.ico" />
<link rel="icon" href="%BASE_URL%favicon.ico" />

As shown in vite docs, seems that it expects base url to always end with a trailing slash https://vitejs.dev/config/shared-options#base. So we may need to update the app-config, we can also probably simplify url.ts with this assumption.

Copy link
Member Author

Choose a reason for hiding this comment

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

thanks for the reference, changed in 8e6d672

Signed-off-by: Aaron Chong <aaronchongth@gmail.com>
@aaronchongth aaronchongth merged commit 2e4b44c into main Aug 7, 2024
2 checks passed
@aaronchongth aaronchongth deleted the ac/fixes branch August 7, 2024 03:56
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.

2 participants