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

[WIP] Plumbing for source locator #36

Merged
merged 12 commits into from
Oct 27, 2023

Conversation

bryevdv
Copy link
Contributor

@bryevdv bryevdv commented Oct 20, 2023

This PR adds a new DataSourceDescription struct with a source_locator attribute that can be displayed as the app title when present. A corresponding PR will be needed in the frontend to actually compute a common prefix and add it to StateDataSource.

The PR resulted from a good amount of just following the compiler and making things fit, but I have doubts about some of the changes, comments inline @elliottslaughter.

src/data.rs Show resolved Hide resolved
src/deferred_data.rs Outdated Show resolved Hide resolved
src/file_data.rs Outdated Show resolved Hide resolved
src/main.rs Outdated Show resolved Hide resolved
src/app.rs Show resolved Hide resolved
src/app.rs Outdated Show resolved Hide resolved
@bryevdv
Copy link
Contributor Author

bryevdv commented Oct 23, 2023

@elliottslaughter once you are happy with this I have the small backend change ready on a legion branch as well

Screenshot 2023-10-23 at 13 17 30

Copy link
Contributor

@elliottslaughter elliottslaughter left a comment

Choose a reason for hiding this comment

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

Looks good, just a few minor comments for simplification/cosmetics.

src/app.rs Outdated Show resolved Hide resolved
src/app.rs Show resolved Hide resolved
src/main.rs Outdated Show resolved Hide resolved
src/merge_data.rs Outdated Show resolved Hide resolved
@elliottslaughter elliottslaughter merged commit 1ef7f65 into StanfordLegion:master Oct 27, 2023
6 checks passed
@bryevdv bryevdv deleted the bv/source-locator branch October 27, 2023 20:20
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