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

integrate react for front-end #8

Open
4 of 9 tasks
vskode opened this issue Aug 26, 2024 · 3 comments
Open
4 of 9 tasks

integrate react for front-end #8

vskode opened this issue Aug 26, 2024 · 3 comments
Assignees
Labels
enhancement New feature or request

Comments

@vskode
Copy link
Owner

vskode commented Aug 26, 2024

Replicate and then replace the current plotly.dash frontend with a react frontend:

  • install react
  • link two scatter plots so that values that share a commen hidden variable are highlighted at the same time
  • establish a connection between frontend and backend through api calls
  • replicate current dash design with react
  • dropdown with checkboxes to select which model embeddings to compare
  • save umap embeddings as .json files so that they can be read by react
  • test system with a lot of data (>10000 datapoints) and test performance
  • if necessary replace getClosestPoint with just onHover event of the circle showing the datapoint
  • zooming in and out would be helpful
    maybe rebuilding a lot of the functionality that plotlys scatterplot have by default will not be worth it, but maybe its also not that hard. Need to play around with this to find this out.
@vskode vskode added the enhancement New feature or request label Aug 26, 2024
@vskode vskode self-assigned this Aug 26, 2024
@vskode
Copy link
Owner Author

vskode commented Aug 26, 2024

start backend with fastapi dev backend/sample.py
start frontend with npm start

vskode added a commit that referenced this issue Aug 31, 2024
…beddings as jsons that are readable by frontend
vskode added a commit that referenced this issue Sep 2, 2024
vskode added a commit that referenced this issue Sep 3, 2024
…nitializes from file and then builds onClick
@vskode
Copy link
Owner Author

vskode commented Nov 1, 2024

selecting points now works on actual proximity, which is way better. In future a box or lasso select would be really nice to implement. But for now the distance calculation works well!

vskode added a commit that referenced this issue Nov 15, 2024
@topcoredevelop
Copy link

Hello , I 'd like to contribute to your project . gmail:[email protected]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

4 participants
@vskode @topcoredevelop and others