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

[NEW] Create releases tab in the marketplace app info page #25965

Merged
merged 17 commits into from
Jun 29, 2022

Commits on Jun 22, 2022

  1. refactor: ♻️ Refactor some file names, structures and add new tab to …

    …app info page
    
    Refactored the ApiDisplay to be inside of the AppDetails component, changed the name of the AppDetailsPageContent component since now it is a tab content, changed the name of the AppLogsPage for the same reason and also changed the name of the AppSecurity page component.
    rique223 committed Jun 22, 2022
    Configuration menu
    Copy the full SHA
    14ac79d View commit details
    Browse the repository at this point in the history

Commits on Jun 23, 2022

  1. feat: ✨ Finish visual part of new releases tab

    Created new components AppReleases and ReleaseItem and mocked some data to make it faithful to figma. Will be integrating it with the back-end next.
    rique223 committed Jun 23, 2022
    Configuration menu
    Copy the full SHA
    f8c70b2 View commit details
    Browse the repository at this point in the history

Commits on Jun 24, 2022

  1. feat: 🚧 Implement first part of releases component integration

    Implemented the first necessary steps to integrating the AppReleases component with the back-end by passing down the appId and creating a local hook to deal with fetching the versions. Unfortunately the GET request necessary to fetch that data does not exist yet. Will be implementing it after the request creation.
    rique223 committed Jun 24, 2022
    Configuration menu
    Copy the full SHA
    f8bc9fa View commit details
    Browse the repository at this point in the history
  2. Create versions endpoint on rest.js

    Created a apps/:appId/versions endpoint to fetch all versions of a given app so that I finish the AppReleases component.
    
    Co-authored-by: Matheus Carmo <matheus.carmo@rocket.chat>
    rique223 and Matheus Carmo committed Jun 24, 2022
    Configuration menu
    Copy the full SHA
    68e67ca View commit details
    Browse the repository at this point in the history
  3. feat: ✨ Integrate AppReleases with the back-end

    Fetched the app versions list, mapped it into a releases array, and implemented the AccordionItems list of releases.
    rique223 committed Jun 24, 2022
    Configuration menu
    Copy the full SHA
    85220a0 View commit details
    Browse the repository at this point in the history

Commits on Jun 27, 2022

  1. refactor: ♻️ Refactored AppDetailsHeader update timestamp

    Refactored the timestamp of the last updated field of the AppDetailsHeader component for maintainability reasons and to make it more straightforward.
    rique223 committed Jun 27, 2022
    Configuration menu
    Copy the full SHA
    87113e0 View commit details
    Browse the repository at this point in the history
  2. feat: ✨ Implement date formating for release entry created date

    Implemented the useTimeAgo hook to format the created date of the release entries. Also removed the Time normalizer sufix from the date strings to make it respect the current selected locale.
    rique223 committed Jun 27, 2022
    Configuration menu
    Copy the full SHA
    7cf52a3 View commit details
    Browse the repository at this point in the history
  3. refactor: ♻️ Refactor i18n english dictionary

    Refactored the i18n english dictionary to solve the thousands of unwanted modifications on remote.
    rique223 committed Jun 27, 2022
    Configuration menu
    Copy the full SHA
    1856523 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    17e99b9 View commit details
    Browse the repository at this point in the history
  5. feat: ✨ Implement html parser for the release item rendered markdown

    Implemented a parsing method, using dangerouslySetInnerHTML, to parse the html of the release item rendered markdown. Also refactored some of the loading and error logic for the AppReleases to better benefit from the async state nature of useEndpointData.
    rique223 committed Jun 27, 2022
    Configuration menu
    Copy the full SHA
    5ec581e View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    729a950 View commit details
    Browse the repository at this point in the history
  7. lock

    rique223 committed Jun 27, 2022
    Configuration menu
    Copy the full SHA
    6668bf9 View commit details
    Browse the repository at this point in the history
  8. Remove useless code

    rique223 committed Jun 27, 2022
    Configuration menu
    Copy the full SHA
    0abdab3 View commit details
    Browse the repository at this point in the history

Commits on Jun 28, 2022

  1. fix: 🐛 Fix unecessary page reload on tab click

    Fixed a problem where the whole details page component would refresh upon clicking on a tab if you came from the marketplace list of apps.
    rique223 committed Jun 28, 2022
    Configuration menu
    Copy the full SHA
    9f25506 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    c665e15 View commit details
    Browse the repository at this point in the history

Commits on Jun 29, 2022

  1. feat: ✨ Create fallback for empty changelog on app release entries

    Created a fallback for when a release entry has no changelog. Now it shows a "No release information provided" text on the accordion item.
    rique223 committed Jun 29, 2022
    Configuration menu
    Copy the full SHA
    80f582b View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    62fa83e View commit details
    Browse the repository at this point in the history