Skip to content

Fix incorrect application id when dragging and dropping files#11197

Merged
grtlr merged 2 commits intomainfrom
gijs/fix-application-id-web
Sep 15, 2025
Merged

Fix incorrect application id when dragging and dropping files#11197
grtlr merged 2 commits intomainfrom
gijs/fix-application-id-web

Conversation

@oxkitsune
Copy link
Member

What

When drag-and-dropping a file into the web viewer, we only get the file name not the full path. This results in the store being created with a random application id.
This makes the picked application id fall back to the file name, if there's no file path available.

@oxkitsune oxkitsune added 🪳 bug Something isn't working 🕸️ web regarding running the viewer in a browser ⛃ re_datastore affects the datastore itself release-oss-0.25 labels Sep 12, 2025
@github-actions
Copy link

github-actions bot commented Sep 12, 2025

Web viewer built successfully.

Result Commit Link Manifest
f281b5f https://rerun.io/viewer/pr/11197 +nightly +main

Note: This comment is updated whenever you push a commit.

@grtlr grtlr added the do-not-merge Do not merge this PR label Sep 12, 2025
@grtlr
Copy link
Member

grtlr commented Sep 12, 2025

Still seeing some problems. Will add more details here after standup.

@oxkitsune oxkitsune force-pushed the gijs/fix-application-id-web branch from 4b968f2 to f281b5f Compare September 15, 2025 10:25
Copy link
Member

@emilk emilk left a comment

Choose a reason for hiding this comment

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

Code LGTM, but I haven't tested it.

@grtlr grtlr removed the do-not-merge Do not merge this PR label Sep 15, 2025
@grtlr grtlr merged commit 915238d into main Sep 15, 2025
42 of 43 checks passed
@grtlr grtlr deleted the gijs/fix-application-id-web branch September 15, 2025 13:36
@oxkitsune oxkitsune changed the title Use file name as fallback application ID when path is missing Fix: Fallback to file name when file path is missing Sep 16, 2025
@aedm aedm changed the title Fix: Fallback to file name when file path is missing Fix incorrect application id when dragging and dropping files Sep 16, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

🪳 bug Something isn't working include in changelog ⛃ re_datastore affects the datastore itself 🕸️ web regarding running the viewer in a browser

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants