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

refactor(web): use queries and TypeScript in storage components #1585

Merged
merged 59 commits into from
Sep 6, 2024

Commits on Sep 5, 2024

  1. Configuration menu
    Copy the full SHA
    d3cd1e7 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    cc0d7b0 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    427ad31 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    fbe4818 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    387f128 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    2eedc91 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    532b399 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    e2caa22 View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    1b32c70 View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    c0dcbf7 View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    fec4d5e View commit details
    Browse the repository at this point in the history
  12. Configuration menu
    Copy the full SHA
    1e51ad0 View commit details
    Browse the repository at this point in the history
  13. feat(web): partially adapt storage UI to queries (#1577)

    Trello: https://trello.com/c/nV7mjrf9/
    
    This is the first step towards adapting the storage code to use queries.
    As this part of the code is rather complex, we decided to move as many
    components as possible to TypeScript to have a kind of security net.
    
    ## What is included
    
    * Add a set of types from from our OpenAPI docs (see #1564) in
    `api/storage/types`.
    * Add a set of storage UI types in `types/storage`. We should unify the
    types, but let's do it later.
    * Define a new `api/storage` module moving big chunks of the
    `StorageClient` code.
    * Define a set of queries under `queries/storage`.
    * Adapt the `ProposalPage` component to use queries. It retrieves a lot
    of information that injects to nested components.
    * Convert `ProposalPage` and `InstallationDeviceField` to TypeScript.
    
    ## What is missing
    
    * As you may see, the front end is not building. That problems (and
    other subtle bugs) will be fixed as we adapt the rest of storage
    components to TypeScript. So a bunch of additional pull requests will
    follow.
    * Additionally, we are removing all those skeletons from the UI. We will
    use a unified mechanism.
    imobachgs authored Sep 5, 2024
    Configuration menu
    Copy the full SHA
    83621ad View commit details
    Browse the repository at this point in the history
  14. Configuration menu
    Copy the full SHA
    5d93b33 View commit details
    Browse the repository at this point in the history
  15. Configuration menu
    Copy the full SHA
    421aadb View commit details
    Browse the repository at this point in the history
  16. Configuration menu
    Copy the full SHA
    12bacd6 View commit details
    Browse the repository at this point in the history
  17. Configuration menu
    Copy the full SHA
    a9603cd View commit details
    Browse the repository at this point in the history
  18. Configuration menu
    Copy the full SHA
    8358a94 View commit details
    Browse the repository at this point in the history
  19. Configuration menu
    Copy the full SHA
    0d9626a View commit details
    Browse the repository at this point in the history
  20. Configuration menu
    Copy the full SHA
    bc7c91e View commit details
    Browse the repository at this point in the history
  21. Configuration menu
    Copy the full SHA
    0dd5e03 View commit details
    Browse the repository at this point in the history
  22. Configuration menu
    Copy the full SHA
    bdf5ea0 View commit details
    Browse the repository at this point in the history
  23. Configuration menu
    Copy the full SHA
    72bece4 View commit details
    Browse the repository at this point in the history
  24. Configuration menu
    Copy the full SHA
    29511fe View commit details
    Browse the repository at this point in the history
  25. Configuration menu
    Copy the full SHA
    2a9ec0b View commit details
    Browse the repository at this point in the history
  26. Configuration menu
    Copy the full SHA
    01bb419 View commit details
    Browse the repository at this point in the history
  27. chore(web): remove the @function tags

    * It is not needed as the parser correctly identifies those functions.
    imobachgs committed Sep 5, 2024
    Configuration menu
    Copy the full SHA
    f1328ef View commit details
    Browse the repository at this point in the history
  28. Configuration menu
    Copy the full SHA
    0413927 View commit details
    Browse the repository at this point in the history
  29. Configuration menu
    Copy the full SHA
    881d506 View commit details
    Browse the repository at this point in the history
  30. Configuration menu
    Copy the full SHA
    f8cef05 View commit details
    Browse the repository at this point in the history
  31. Configuration menu
    Copy the full SHA
    a89816e View commit details
    Browse the repository at this point in the history
  32. Configuration menu
    Copy the full SHA
    512811c View commit details
    Browse the repository at this point in the history
  33. refactor(web): drop storage client tests

    * The client is deprecated. Let's move to queries.
    imobachgs committed Sep 5, 2024
    Configuration menu
    Copy the full SHA
    ab1f373 View commit details
    Browse the repository at this point in the history
  34. Configuration menu
    Copy the full SHA
    6893e35 View commit details
    Browse the repository at this point in the history
  35. refactor(web): convert some storage components to TypeScript (round 1) (

    #1578)
    
    Continuation of #1577. It covers the conversion of the following
    components/modules:
    
    * `EncryptionField`
    * `PartitionsField`
    * `ProposalSettingsSection`
    * `SnapshotsField`
    * `VolumeDialog`
    * `InvalidMaxSizeError`
    * `VolumeFields`
    * `VolumeLocationDialog`
    * `VolumeLocationSelectorTable`
    * `BootSelection`
    * `utils`
    imobachgs authored Sep 5, 2024
    Configuration menu
    Copy the full SHA
    b6ec8e0 View commit details
    Browse the repository at this point in the history
  36. Configuration menu
    Copy the full SHA
    cf6fdc7 View commit details
    Browse the repository at this point in the history
  37. Configuration menu
    Copy the full SHA
    8552ddf View commit details
    Browse the repository at this point in the history
  38. Configuration menu
    Copy the full SHA
    ca9cff4 View commit details
    Browse the repository at this point in the history
  39. chore(web): merge the master branch into storage-typescript (#1579)

    Let's merge `master` into the `storage-typescript` branch to avoid
    potential conflicts.
    imobachgs authored Sep 5, 2024
    Configuration menu
    Copy the full SHA
    412b6f6 View commit details
    Browse the repository at this point in the history
  40. Configuration menu
    Copy the full SHA
    78b50f2 View commit details
    Browse the repository at this point in the history
  41. feat(web): use queries in boot and space policy selectors (#1580)

    Follow-up of #1577. It adapts `BootSelection` and `SpacePolicySelection`
    to use queries.
    imobachgs authored Sep 5, 2024
    Configuration menu
    Copy the full SHA
    488de5f View commit details
    Browse the repository at this point in the history
  42. Configuration menu
    Copy the full SHA
    3f68682 View commit details
    Browse the repository at this point in the history
  43. Configuration menu
    Copy the full SHA
    766fcff View commit details
    Browse the repository at this point in the history
  44. Configuration menu
    Copy the full SHA
    9f4c5c3 View commit details
    Browse the repository at this point in the history
  45. Configuration menu
    Copy the full SHA
    253b3e1 View commit details
    Browse the repository at this point in the history
  46. Configuration menu
    Copy the full SHA
    1263023 View commit details
    Browse the repository at this point in the history
  47. Configuration menu
    Copy the full SHA
    dcfa7ea View commit details
    Browse the repository at this point in the history
  48. Configuration menu
    Copy the full SHA
    82996a6 View commit details
    Browse the repository at this point in the history
  49. Configuration menu
    Copy the full SHA
    3dcb06a View commit details
    Browse the repository at this point in the history
  50. refactor(web): remove the StoragePage component

    * This component is not used anymore.
    imobachgs committed Sep 5, 2024
    Configuration menu
    Copy the full SHA
    f89686e View commit details
    Browse the repository at this point in the history
  51. Configuration menu
    Copy the full SHA
    2f5aed2 View commit details
    Browse the repository at this point in the history
  52. Configuration menu
    Copy the full SHA
    8c48dec View commit details
    Browse the repository at this point in the history
  53. Configuration menu
    Copy the full SHA
    f89f664 View commit details
    Browse the repository at this point in the history

Commits on Sep 6, 2024

  1. Configuration menu
    Copy the full SHA
    aed31d7 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    c232069 View commit details
    Browse the repository at this point in the history
  3. refactor(web): convert some storage components to TypeScript (round …

    …2) (#1583)
    
    Continuation of #1577. It covers the conversion of the following
    components/modules:
    
    * `BootConfigField`
    * `device-utils`
    * `SpaceActionsTable`
    * `DeviceSelectorTable`
    * `EncryptionSettingsDialog`
    * `ProposalActionDialog`
    * `ProposalActionSummary`
    * `StoragePage`
    * `ProposalResultSection`
    * `ProposalTransactionalInfo`
    * `SpaceActionsTable`
    imobachgs authored Sep 6, 2024
    Configuration menu
    Copy the full SHA
    0689f5d View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    a56eed7 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    fcdf78f View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    110fd76 View commit details
    Browse the repository at this point in the history