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

Feature Request: Display Search Results in a Table with Sorting Options - PR #67 #76

Open
ansh-info opened this issue Jan 27, 2025 · 1 comment
Assignees
Labels
enhancement New feature or request

Comments

@ansh-info
Copy link
Contributor

Description

  • For PR Feat/setup talk2comp #67
    Currently, search results are displayed without a structured format, making it harder for users to quickly review multiple articles. This feature request proposes implementing a tabular display for search results, including sorting functionality.

Proposed Solution

  1. Fetch the paper data directly from the shared state.
  2. Convert the data into a Streamlit dataframe for easy rendering.
  3. Display the results in a table with the following columns:
    • Title
    • Author(s)
    • Publication Date
    • Citations
  4. Enable sorting of table rows based on:
    • Date
    • Author Name
    • Number of Citations

Benefits

  • Provides a cleaner and more structured way to view search results.
  • Enhances usability by allowing users to sort results according to their preferences.
  • Reduces the time taken to review multiple articles.

Additional Notes

  • This feature will be implemented in a future PR as I am currently occupied with semester exams.
  • A placeholder UI or a minimal version of the table may be added initially to ensure incremental progress.

References

Image
@ansh-info ansh-info added the enhancement New feature or request label Jan 27, 2025
@ansh-info ansh-info mentioned this issue Jan 27, 2025
22 tasks
@gurdeep330
Copy link
Member

@ansh-info for Talk2Biomodels, I store the data as a dictionary in the key and later retrieve it in the frontend. Then, I convert it into a DataFrame and render it using st.dataframe. This way once the response is generated, you can always go back use access the new state of the graph.

Check this out lines #207 through #309

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

2 participants