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

Migration to react 18 #727

Merged
merged 44 commits into from
Jul 27, 2023
Merged

Migration to react 18 #727

merged 44 commits into from
Jul 27, 2023

Commits on Jul 5, 2023

  1. Update to 18 rmf auth

    Signed-off-by: angatupyry <fierrofenix@gmail.com>
    Angatupyry committed Jul 5, 2023
    Configuration menu
    Copy the full SHA
    b931ad1 View commit details
    Browse the repository at this point in the history
  2. Update to react router v6

    Signed-off-by: angatupyry <fierrofenix@gmail.com>
    Angatupyry committed Jul 5, 2023
    Configuration menu
    Copy the full SHA
    0e3e1a4 View commit details
    Browse the repository at this point in the history
  3. Update to 18 rmf component

    Signed-off-by: angatupyry <fierrofenix@gmail.com>
    Angatupyry committed Jul 5, 2023
    Configuration menu
    Copy the full SHA
    c3bacfe View commit details
    Browse the repository at this point in the history
  4. Add prop to render children

    Signed-off-by: angatupyry <fierrofenix@gmail.com>
    Angatupyry committed Jul 5, 2023
    Configuration menu
    Copy the full SHA
    c5f9067 View commit details
    Browse the repository at this point in the history
  5. Update to 18 dashboard

    Signed-off-by: angatupyry <fierrofenix@gmail.com>
    Angatupyry committed Jul 5, 2023
    Configuration menu
    Copy the full SHA
    eb8e952 View commit details
    Browse the repository at this point in the history
  6. Update lock file

    Signed-off-by: angatupyry <fierrofenix@gmail.com>
    Angatupyry committed Jul 5, 2023
    Configuration menu
    Copy the full SHA
    df315cf View commit details
    Browse the repository at this point in the history
  7. Porting to react 18

    Signed-off-by: angatupyry <fierrofenix@gmail.com>
    Angatupyry committed Jul 5, 2023
    Configuration menu
    Copy the full SHA
    2762146 View commit details
    Browse the repository at this point in the history

Commits on Jul 6, 2023

  1. Configuration menu
    Copy the full SHA
    13718f3 View commit details
    Browse the repository at this point in the history
  2. Add pathname harcode to render tab name correctly

    Signed-off-by: angatupyry <fierrofenix@gmail.com>
    Angatupyry committed Jul 6, 2023
    Configuration menu
    Copy the full SHA
    d1d2dd2 View commit details
    Browse the repository at this point in the history
  3. Adding * to render nested routes

    Signed-off-by: angatupyry <fierrofenix@gmail.com>
    Angatupyry committed Jul 6, 2023
    Configuration menu
    Copy the full SHA
    00ca34e View commit details
    Browse the repository at this point in the history
  4. Remove close tag

    Signed-off-by: angatupyry <fierrofenix@gmail.com>
    Angatupyry committed Jul 6, 2023
    Configuration menu
    Copy the full SHA
    e06b769 View commit details
    Browse the repository at this point in the history
  5. Remove testing console

    Signed-off-by: angatupyry <fierrofenix@gmail.com>
    Angatupyry committed Jul 6, 2023
    Configuration menu
    Copy the full SHA
    fffdb42 View commit details
    Browse the repository at this point in the history
  6. Adding nested routes

    Signed-off-by: angatupyry <fierrofenix@gmail.com>
    Angatupyry committed Jul 6, 2023
    Configuration menu
    Copy the full SHA
    e039d14 View commit details
    Browse the repository at this point in the history
  7. Remove useMatch and pass only username to render child route properly

    Signed-off-by: angatupyry <fierrofenix@gmail.com>
    Angatupyry committed Jul 6, 2023
    Configuration menu
    Copy the full SHA
    c5c9312 View commit details
    Browse the repository at this point in the history
  8. Drawing routes according to react router v6

    Signed-off-by: angatupyry <fierrofenix@gmail.com>
    Angatupyry committed Jul 6, 2023
    Configuration menu
    Copy the full SHA
    5966bba View commit details
    Browse the repository at this point in the history
  9. Removing unused import

    Signed-off-by: angatupyry <fierrofenix@gmail.com>
    Angatupyry committed Jul 6, 2023
    Configuration menu
    Copy the full SHA
    c7d2883 View commit details
    Browse the repository at this point in the history
  10. Render user profile by username

    Signed-off-by: angatupyry <fierrofenix@gmail.com>
    Angatupyry committed Jul 6, 2023
    Configuration menu
    Copy the full SHA
    76446bd View commit details
    Browse the repository at this point in the history
  11. Update react testing library

    Signed-off-by: angatupyry <fierrofenix@gmail.com>
    Angatupyry committed Jul 6, 2023
    Configuration menu
    Copy the full SHA
    b5fd1ab View commit details
    Browse the repository at this point in the history

Commits on Jul 11, 2023

  1. Updating react testing library package and use fireevent instead of u…

    …serEvent
    
    Signed-off-by: angatupyry <fierrofenix@gmail.com>
    Angatupyry committed Jul 11, 2023
    Configuration menu
    Copy the full SHA
    278ad94 View commit details
    Browse the repository at this point in the history
  2. Use fireevent instead of userEvent

    Signed-off-by: angatupyry <fierrofenix@gmail.com>
    Angatupyry committed Jul 11, 2023
    Configuration menu
    Copy the full SHA
    a03e359 View commit details
    Browse the repository at this point in the history
  3. Use fireevent instead of userEvent

    Signed-off-by: angatupyry <fierrofenix@gmail.com>
    Angatupyry committed Jul 11, 2023
    Configuration menu
    Copy the full SHA
    4a24a9e View commit details
    Browse the repository at this point in the history
  4. Update test according to react 18

    Signed-off-by: angatupyry <fierrofenix@gmail.com>
    Angatupyry committed Jul 11, 2023
    Configuration menu
    Copy the full SHA
    bbe7c08 View commit details
    Browse the repository at this point in the history
  5. Remove userEvent and use fireevent instad

    Signed-off-by: angatupyry <fierrofenix@gmail.com>
    Angatupyry committed Jul 11, 2023
    Configuration menu
    Copy the full SHA
    c3a6551 View commit details
    Browse the repository at this point in the history
  6. Add describe to wrap testing and use fire event instead of userevent

    Signed-off-by: angatupyry <fierrofenix@gmail.com>
    Angatupyry committed Jul 11, 2023
    Configuration menu
    Copy the full SHA
    06385b8 View commit details
    Browse the repository at this point in the history
  7. FireEvent instead of userEvent

    Signed-off-by: angatupyry <fierrofenix@gmail.com>
    Angatupyry committed Jul 11, 2023
    Configuration menu
    Copy the full SHA
    7bbd0ad View commit details
    Browse the repository at this point in the history
  8. Wrap test into describe

    Signed-off-by: angatupyry <fierrofenix@gmail.com>
    Angatupyry committed Jul 11, 2023
    Configuration menu
    Copy the full SHA
    c1dfce3 View commit details
    Browse the repository at this point in the history
  9. Wrap test into describe

    Signed-off-by: angatupyry <fierrofenix@gmail.com>
    Angatupyry committed Jul 11, 2023
    Configuration menu
    Copy the full SHA
    81098c3 View commit details
    Browse the repository at this point in the history
  10. Add fireevent instead of userevent.

    Signed-off-by: angatupyry <fierrofenix@gmail.com>
    Angatupyry committed Jul 11, 2023
    Configuration menu
    Copy the full SHA
    be8cfa6 View commit details
    Browse the repository at this point in the history
  11. FireEvent added and waitFor expect

    Signed-off-by: angatupyry <fierrofenix@gmail.com>
    Angatupyry committed Jul 11, 2023
    Configuration menu
    Copy the full SHA
    362c5d7 View commit details
    Browse the repository at this point in the history
  12. Remove unnecessary function to render component

    Signed-off-by: angatupyry <fierrofenix@gmail.com>
    Angatupyry committed Jul 11, 2023
    Configuration menu
    Copy the full SHA
    acc67d6 View commit details
    Browse the repository at this point in the history
  13. Remove test comment

    Signed-off-by: angatupyry <fierrofenix@gmail.com>
    Angatupyry committed Jul 11, 2023
    Configuration menu
    Copy the full SHA
    6b462a6 View commit details
    Browse the repository at this point in the history
  14. Using testing library renderHook

    Signed-off-by: angatupyry <fierrofenix@gmail.com>
    Angatupyry committed Jul 11, 2023
    Configuration menu
    Copy the full SHA
    6b2b6b0 View commit details
    Browse the repository at this point in the history

Commits on Jul 12, 2023

  1. Update react testing library

    Signed-off-by: angatupyry <fierrofenix@gmail.com>
    Angatupyry committed Jul 12, 2023
    Configuration menu
    Copy the full SHA
    56fead3 View commit details
    Browse the repository at this point in the history
  2. Adding function to avoid warning act(...)

    Signed-off-by: angatupyry <fierrofenix@gmail.com>
    Angatupyry committed Jul 12, 2023
    Configuration menu
    Copy the full SHA
    f5b28a3 View commit details
    Browse the repository at this point in the history
  3. Fix test according to the new version of testing library

    Signed-off-by: angatupyry <fierrofenix@gmail.com>
    Angatupyry committed Jul 12, 2023
    Configuration menu
    Copy the full SHA
    b8ce97d View commit details
    Browse the repository at this point in the history
  4. Adding beforeAll code test to silence warning

    Signed-off-by: angatupyry <fierrofenix@gmail.com>
    Angatupyry committed Jul 12, 2023
    Configuration menu
    Copy the full SHA
    20b1344 View commit details
    Browse the repository at this point in the history
  5. Comment test failed

    Signed-off-by: angatupyry <fierrofenix@gmail.com>
    Angatupyry committed Jul 12, 2023
    Configuration menu
    Copy the full SHA
    e38a7f2 View commit details
    Browse the repository at this point in the history
  6. Create a use stack navigator test acording to new version of testing …

    …library
    
    Signed-off-by: angatupyry <fierrofenix@gmail.com>
    Angatupyry committed Jul 12, 2023
    Configuration menu
    Copy the full SHA
    c650b3b View commit details
    Browse the repository at this point in the history

Commits on Jul 13, 2023

  1. Add comment to explain change

    Signed-off-by: angatupyry <fierrofenix@gmail.com>
    Angatupyry committed Jul 13, 2023
    Configuration menu
    Copy the full SHA
    084900c View commit details
    Browse the repository at this point in the history
  2. main admin path Navigate to users

    Signed-off-by: angatupyry <fierrofenix@gmail.com>
    Angatupyry committed Jul 13, 2023
    Configuration menu
    Copy the full SHA
    174abff View commit details
    Browse the repository at this point in the history
  3. Improve function to be more easy to read

    Signed-off-by: angatupyry <fierrofenix@gmail.com>
    Angatupyry committed Jul 13, 2023
    Configuration menu
    Copy the full SHA
    b776e54 View commit details
    Browse the repository at this point in the history
  4. Fix test in log table report and useasync function

    Signed-off-by: angatupyry <fierrofenix@gmail.com>
    Angatupyry committed Jul 13, 2023
    Configuration menu
    Copy the full SHA
    0615881 View commit details
    Browse the repository at this point in the history
  5. Remove unused import

    Signed-off-by: angatupyry <fierrofenix@gmail.com>
    Angatupyry committed Jul 13, 2023
    Configuration menu
    Copy the full SHA
    178f6d1 View commit details
    Browse the repository at this point in the history

Commits on Jul 27, 2023

  1. Aaron/react 18 (#729)

    * Adding link to unresolved issue to testing
    
    Signed-off-by: Aaron Chong <aaronchongth@gmail.com>
    
    * Added back missing test
    
    Signed-off-by: Aaron Chong <aaronchongth@gmail.com>
    
    * Reverting stack navigator tests
    
    Signed-off-by: Aaron Chong <aaronchongth@gmail.com>
    
    * Remove the rest of reporting components from react-components
    
    Signed-off-by: Aaron Chong <aaronchongth@gmail.com>
    
    * Remove deprecated command forms
    
    Signed-off-by: Aaron Chong <aaronchongth@gmail.com>
    
    * Revert to remove expectation of loading text since that is not what we are testing
    
    Signed-off-by: Aaron Chong <aaronchongth@gmail.com>
    
    * Add DashboardRoute to the route map since it returns undefined anyway
    
    Signed-off-by: Aaron Chong <aaronchongth@gmail.com>
    
    ---------
    
    Signed-off-by: Aaron Chong <aaronchongth@gmail.com>
    aaronchongth authored Jul 27, 2023
    Configuration menu
    Copy the full SHA
    8e62a77 View commit details
    Browse the repository at this point in the history