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

Commits on Nov 26, 2024

  1. feat(ui): add nextFetchPolicy option with "cache-only" and "cache-fir…

    …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.
    ktun95 committed Nov 26, 2024
    Configuration menu
    Copy the full SHA
    bec3303 View commit details
    Browse the repository at this point in the history
  2. feat(ui-common): add shortenAllNames function to improve readability …

    …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.
    ktun95 committed Nov 26, 2024
    Configuration menu
    Copy the full SHA
    c1d2ddd View commit details
    Browse the repository at this point in the history
  3. style(news): format code to have consistent indentation and line brea…

    …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.
    ktun95 committed Nov 26, 2024
    Configuration menu
    Copy the full SHA
    eaee4e3 View commit details
    Browse the repository at this point in the history
  4. feat(publication): add new font packages for inter-tight and playfair…

    …-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.
    ktun95 committed Nov 26, 2024
    Configuration menu
    Copy the full SHA
    f487d15 View commit details
    Browse the repository at this point in the history
  5. refactor(publicationStyles.ts): remove unnecessary type declaration f…

    …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.
    ktun95 committed Nov 26, 2024
    Configuration menu
    Copy the full SHA
    03bc990 View commit details
    Browse the repository at this point in the history
  6. feat(publication): add new components Abstract, Authors, JournalData,…

    … 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.
    ktun95 committed Nov 26, 2024
    Configuration menu
    Copy the full SHA
    cc57d25 View commit details
    Browse the repository at this point in the history
  7. refactor(SinglePublication.tsx): reorganize import statements for bet…

    …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.
    ktun95 committed Nov 26, 2024
    Configuration menu
    Copy the full SHA
    50ed89a View commit details
    Browse the repository at this point in the history
  8. build(App.tsx): add font imports for Playfair Display and Inter Tight…

    … 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.
    ktun95 committed Nov 26, 2024
    Configuration menu
    Copy the full SHA
    46331a3 View commit details
    Browse the repository at this point in the history
  9. style(Abstract.tsx): add line height property to improve readability …

    …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.
    ktun95 committed Nov 26, 2024
    Configuration menu
    Copy the full SHA
    fab5028 View commit details
    Browse the repository at this point in the history
  10. refactor(JournalData.tsx): clean up code by removing unused imports a…

    …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.
    ktun95 committed Nov 26, 2024
    Configuration menu
    Copy the full SHA
    6e33bcd View commit details
    Browse the repository at this point in the history

Commits on Nov 27, 2024

  1. refactor(App.tsx): remove unnecessary Container component and main class

    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.
    ktun95 committed Nov 27, 2024
    Configuration menu
    Copy the full SHA
    d458431 View commit details
    Browse the repository at this point in the history
  2. feat(publication): add new components for version B of publication di…

    …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.
    ktun95 committed Nov 27, 2024
    Configuration menu
    Copy the full SHA
    7c5f839 View commit details
    Browse the repository at this point in the history
  3. style(PublicationPage.tsx): refactor import statements for Grid and C…

    …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.
    ktun95 committed Nov 27, 2024
    Configuration menu
    Copy the full SHA
    c075414 View commit details
    Browse the repository at this point in the history
  4. feat(publication): add new components Abstract, Authors, JournalData,…

    … 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.
    ktun95 committed Nov 27, 2024
    Configuration menu
    Copy the full SHA
    0c9cada View commit details
    Browse the repository at this point in the history
  5. feat(publication): add new components for different versions of Publi…

    …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.
    ktun95 committed Nov 27, 2024
    Configuration menu
    Copy the full SHA
    88ad669 View commit details
    Browse the repository at this point in the history
  6. style(publicationPage.tsx): refactor import statements for Grid and C…

    …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.
    ktun95 committed Nov 27, 2024
    Configuration menu
    Copy the full SHA
    dd76ecb View commit details
    Browse the repository at this point in the history
  7. style(Slideshow.tsx): fix typo in image title by changing "apha-tubul…

    …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.
    ktun95 committed Nov 27, 2024
    Configuration menu
    Copy the full SHA
    5c43503 View commit details
    Browse the repository at this point in the history
  8. feat(publication): add new components Abstract, Authors, Interactable…

    …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.
    ktun95 committed Nov 27, 2024
    Configuration menu
    Copy the full SHA
    0d6f64b View commit details
    Browse the repository at this point in the history
  9. fix(publication): fix formatting issues

    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.
    ktun95 committed Nov 27, 2024
    Configuration menu
    Copy the full SHA
    4b9cd8d View commit details
    Browse the repository at this point in the history
  10. style(publicationStyles.ts): add missing comma after marginBottom pro…

    …perty for consistency
    
    The missing comma after the marginBottom property was added to maintain consistency in the code style and prevent potential syntax errors.
    ktun95 committed Nov 27, 2024
    Configuration menu
    Copy the full SHA
    bb46bd3 View commit details
    Browse the repository at this point in the history
  11. chore(publication): organize and clean up code in multiple components…

    … 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.
    ktun95 committed Nov 27, 2024
    Configuration menu
    Copy the full SHA
    ce6f341 View commit details
    Browse the repository at this point in the history
  12. test(SearchPhenotypeContainer.test.tsx): comment out test for renderi…

    …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.
    ktun95 committed Nov 27, 2024
    Configuration menu
    Copy the full SHA
    0a9312e View commit details
    Browse the repository at this point in the history

Commits on Nov 28, 2024

  1. refactor(PublicationLoader.tsx): remove unused import and component t…

    …o clean up code
    
    The PublicationHeader component and its import were removed as they were unused, resulting in a cleaner and more maintainable codebase.
    ktun95 committed Nov 28, 2024
    Configuration menu
    Copy the full SHA
    3b0a01a View commit details
    Browse the repository at this point in the history
  2. style(Slideshow.test.tsx): fix typo in alt text for alpha-tubulin in …

    …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.
    ktun95 committed Nov 28, 2024
    Configuration menu
    Copy the full SHA
    499faa9 View commit details
    Browse the repository at this point in the history
  3. style(shortenAllNames.ts): remove unnecessary line breaks in import s…

    …tatements
    
    The import statements have been cleaned up to remove unnecessary line breaks, improving the code's readability and consistency.
    ktun95 committed Nov 28, 2024
    Configuration menu
    Copy the full SHA
    f1fd3b9 View commit details
    Browse the repository at this point in the history
  4. refactor(SinglePublication.tsx): remove duplicate import statement fo…

    …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.
    ktun95 committed Nov 28, 2024
    Configuration menu
    Copy the full SHA
    8fc9b29 View commit details
    Browse the repository at this point in the history
  5. feat(dicty-frontpage): add fontsource-variable/inter-tight and fontso…

    …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 committed Nov 28, 2024
    Configuration menu
    Copy the full SHA
    69008f9 View commit details
    Browse the repository at this point in the history