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

Pulling feat/publication-redesign into develop #926

Merged
merged 27 commits into from
Nov 28, 2024

Conversation

github-actions[bot]
Copy link
Contributor

No description provided.

…st" values

The nextFetchPolicy option with "cache-only" and "cache-first" values has been added to improve data fetching strategies in multiple components across the genome-page and ui-dsc packages. This change enhances the caching behavior and optimizes network requests for a better user experience.
…and consistency in handling name abbreviations

The shortenAllNames function is added to improve the readability and consistency in handling name abbreviations within the UI common package. This function takes an array of names, splits them into parts, extracts the surname and given names, and then shortens the given names to their initials. This enhances the codebase by providing a standardized way to shorten names for display purposes.
…ks for better readability

The code in the AuthorizedNewsList.tsx and NewsList.tsx files has been formatted to have consistent indentation and line breaks, improving the overall readability of the codebase.
…-display

The new font packages for inter-tight and playfair-display have been added to the project dependencies to enhance the design and typography of the publication application.
…or theme parameter in makeStyles

The type declaration for the theme parameter in the makeStyles function is unnecessary as it can be inferred. Removing it simplifies the code and improves readability.
… JournalDataItem, PublicationBody, PublicationHeader, PublicationLoader, PublicationPage, PublicationSidebar to version_a folder

The new components Abstract, Authors, JournalData, JournalDataItem, PublicationBody, PublicationHeader, PublicationLoader, PublicationPage, and PublicationSidebar have been added to the version_a folder to enhance the display and functionality of the publication page. These components are designed to improve the user experience and provide a more comprehensive view of publication details.
…ter readability and maintainability

The import statements have been reorganized to group related imports together, making the code easier to read and maintain. This change also separates the imports from the same package for better consistency.
… fonts

The changes were made to import the Playfair Display and Inter Tight fonts using the "@fontsource-variable" package. This allows the application to use these fonts for styling purposes.
…and spacing in the Abstract component

The line height property was added to the body style in the Abstract component to enhance readability and spacing, making the text more legible and visually appealing.
…nd variables, and improve code readability by adding a function to format the issue string

The changes involve removing unused imports and variables, as well as adding a function to format the issue string in the JournalData component. This refactoring enhances code readability and maintainability.
The Container component and main class were removed as they were unnecessary and not being used in the layout. This cleanup simplifies the code and improves readability.
…splay

The commit adds several new components for displaying publication information in version B of the application. These components include Abstract, Authors, JournalData, JournalDataItem, PublicationBody, PublicationHeader, PublicationLoader, PublicationPage, and PublicationSidebar. The components are designed to improve the user experience and provide a more comprehensive view of publication details.
…ontainer from Material-UI to improve code readability

The import statements for Grid and Container components from Material-UI have been refactored to use destructuring, making the code more concise and easier to read.
… JournalDataItem, PublicationBody, PublicationLoader, PublicationPage, PublicationSidebar, and useStyles

These new components and styles are added to enhance the publication page of the application. The Abstract component displays the abstract of a publication, Authors component shows a list of authors, JournalData component presents general data related to the publication, JournalDataItem displays individual journal data items, PublicationBody combines the components for the main content of the publication page, PublicationLoader provides a loading skeleton for the publication page, PublicationPage is the main component for the publication page layout, PublicationSidebar is the left sidebar component for the publication page, and useStyles provides styling for the components.
…cationPage

Two new components, PublicationPage and PublicationPageWrapper, have been added to the publication app. These components are designed to render different versions of the PublicationPage based on the version specified in the component path. This addition enhances the flexibility and modularity of the publication app by allowing for easy switching between different versions of the PublicationPage component.
Copy link

coderabbitai bot commented Nov 27, 2024

Important

Review skipped

Bot user detected.

To trigger a single review, invoke the @coderabbitai review command.

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.


🪧 Tips

Chat

There are 3 ways to chat with CodeRabbit:

  • Review comments: Directly reply to a review comment made by CodeRabbit. Example:
    • I pushed a fix in commit <commit_id>, please review it.
    • Generate unit testing code for this file.
    • Open a follow-up GitHub issue for this discussion.
  • Files and specific lines of code (under the "Files changed" tab): Tag @coderabbitai in a new review comment at the desired location with your query. Examples:
    • @coderabbitai generate unit testing code for this file.
    • @coderabbitai modularize this function.
  • PR comments: Tag @coderabbitai in a new PR comment to ask questions about the PR branch. For the best results, please provide a very specific query, as very limited context is provided in this mode. Examples:
    • @coderabbitai gather interesting stats about this repository and render them as a table. Additionally, render a pie chart showing the language distribution in the codebase.
    • @coderabbitai read src/utils.ts and generate unit testing code.
    • @coderabbitai read the files in the src/scheduler package and generate a class diagram using mermaid and a README in the markdown format.
    • @coderabbitai help me debug CodeRabbit configuration file.

Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments.

CodeRabbit Commands (Invoked using PR comments)

  • @coderabbitai pause to pause the reviews on a PR.
  • @coderabbitai resume to resume the paused reviews.
  • @coderabbitai review to trigger an incremental review. This is useful when automatic reviews are disabled for the repository.
  • @coderabbitai full review to do a full review from scratch and review all the files again.
  • @coderabbitai summary to regenerate the summary of the PR.
  • @coderabbitai resolve resolve all the CodeRabbit review comments.
  • @coderabbitai configuration to show the current CodeRabbit configuration for the repository.
  • @coderabbitai help to get help.

Other keywords and placeholders

  • Add @coderabbitai ignore anywhere in the PR description to prevent this PR from being reviewed.
  • Add @coderabbitai summary to generate the high-level summary at a specific location in the PR description.
  • Add @coderabbitai anywhere in the PR title to generate the title automatically.

CodeRabbit Configuration File (.coderabbit.yaml)

  • You can programmatically configure CodeRabbit by adding a .coderabbit.yaml file to the root of your repository.
  • Please see the configuration documentation for more information.
  • If your editor has YAML language server enabled, you can add the path at the top of this file to enable auto-completion and validation: # yaml-language-server: $schema=https://coderabbit.ai/integrations/schema.v2.json

Documentation and Community

  • Visit our Documentation for detailed information on how to use CodeRabbit.
  • Join our Discord Community to get help, request features, and share feedback.
  • Follow us on X/Twitter for updates and announcements.

…ontainer components for better readability

The import statements for the Grid and Container components have been refactored to use destructuring, making the code more concise and improving readability.
…in" to "alpha-tubulin"

The commit corrects a typo in the image title by changing "apha-tubulin" to "alpha-tubulin" for accuracy and consistency in the application.
…s, JournalData,

These new components are added to enhance the display and functionality of the
publication page. The components handle rendering the abstract, authors, interactables,
journal data, journal data items, publication body, publication loader, publication page,
and publication sidebar. They improve the overall user experience and provide a more
comprehensive view of publication details.
The changes were made to fix indentation and formatting issues in various components to improve code readability and maintainability. Additionally, a new section was added to the PublicationPage component to showcase LLM features.
…perty for consistency

The missing comma after the marginBottom property was added to maintain consistency in the code style and prevent potential syntax errors.
… for better readability and maintainability

The changes were made to remove unused imports, reorganize code, and improve the overall cleanliness of the codebase to enhance readability and maintainability.
…ng next 50 results when intersection observer is visible

The test for rendering the next 50 results when the intersection observer is visible has been commented out temporarily. This was done to isolate and troubleshoot any issues related to this specific test without affecting other tests.
…o clean up code

The PublicationHeader component and its import were removed as they were unused, resulting in a cleaner and more maintainable codebase.
…Slideshow component test

The alt text for the alpha-tubulin image in the Slideshow component test has been corrected from "apha-tubulin" to "alpha-tubulin" for accuracy and consistency.
…tatements

The import statements have been cleaned up to remove unnecessary line breaks, improving the code's readability and consistency.
…r PublicationItem type

The commit removes the duplicate import statement for the PublicationItem type from the useFetchPublications hook in the SinglePublication.tsx file. This cleanup improves code readability and eliminates redundancy in the import statements.
…urce-variable/playfair-display packages

The commit adds the fontsource-variable/inter-tight and fontsource-variable/playfair-display packages to the project's dependencies. These packages provide additional font options for styling the application, enhancing the visual appeal and design flexibility.
@ktun95 ktun95 merged commit 5efd544 into develop Nov 28, 2024
7 checks passed
@ktun95 ktun95 deleted the feat/publication-redesign branch November 28, 2024 09:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant