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

Release v1.134.0 - release → staging #11497

Merged
merged 111 commits into from
Jan 9, 2025
Merged

Release v1.134.0 - release → staging #11497

merged 111 commits into from
Jan 9, 2025

Conversation

hana-akamai
Copy link
Contributor

@hana-akamai hana-akamai commented Jan 9, 2025

Added:

  • New DatePicker Component (#11151)
  • Date Presets Functionality to Date Picker component (#11395)
  • Notice for OS Distro Nearing EOL/EOS (#11253)
  • AlertListing component and AlertTableRow component with Unit Tests (#11346)
  • aria-describedby to TextField with helper text (#11351)
  • Node Pool Tags to LKE Cluster details page (#11368)
  • MultipleIPInput Story in Storybook (#11389)
  • Metric, MetricCriteria, ClearIconButton components with Unit Tests (#11392)
  • DimensionFilter, DimensionFilterField, TriggerCondition component along with Unit Tests (#11445)
  • Manage Tags to Volumes table action menu and moved actions inside menu (#11421)

Changed:

  • Update layout in CloudPulseDashboardWithFilters component, add a getFilters util method in FilterBuilder.ts (#11388)
  • Database Resize: Updated tooltip text, plan selection descriptions, and summary text for new databases (#11406)
  • Database Resize: Disable plans when the usable storage equals the used storage of the database cluster (#11481)
  • DBaaS Settings Maintenance field Upgrade Version pending updates tooltip should display accurate text (#11417)

Fixed:

  • Create support ticket for buckets created through legacy flow (#11300)
  • Incorrect Cloning Commands in Linode CLI Modal (#11303)
  • Events landing page lists events in wrong order (#11339)
  • Disallow word-break in billing contact info (#11379)
  • Object Storage object uploader spinner spinning backwards (#11384)
  • Document title from URL to appropriate keyword (#11385)
  • DBaaS settings maintenance does not display review state and allows version upgrade when updates are available (#11387)
  • Misplaced errorGroup prop causing console error in NodeBalancerConfigPanel (#11398)
  • Account Cancellation Survey Button Color Issues (#11412)
  • DBaaS Manage Access IP fields are displaying an IPv4 validation error message when both IPv6 and IPv4 are available. (#11414)
  • RegionHelperText causing console errors (#11416)
  • Linode Edit Config warning message when initially selecting a VPC as the primary interface (#11424)
  • DBaaS Resize tab Used field is displaying just GB on provisioning database cluster (#11426)
  • Various bugs in Managed tables (#11431)
  • ARIA label of action menu in Domains Landing table row (#11437)
  • VPC interface not being set as the primary interface when creating a Linode (#11450)
  • Create Token button becomes disabled when all permissions are selected individually (without using 'select all') and child-account is hidden (#11453)
  • Discrepancy in Object Storage Bucket size in CM (#11460)
  • Object Storage endpoint_type sorting (#11472)
  • Visibility of sensitive data in Managed and Longview with Mask Sensitive Data setting enabled (#11476)
  • Display Kubernetes API endpoint for LKE-E cluster (#11485)

Removed:

  • Images are not encrypted warning warning (#11443)
  • Temporarily remove Properties tab from Gen2 buckets (#11491)

Tech Stories:

  • Migrate /volumes to Tanstack router (#11154)
  • Clean up NodeBalancer related types (#11321)
  • Dev Tools fixes and improvements (#11328)
  • Replace one-off hardcoded color values with color tokens pt4 (#11345)
  • Refactor VPC Create to use react-hook-form instead of formik (#11357)
  • Refactor VPCEditDrawer and SubnetEditDrawer to use react-hook-form instead of formik (#11393)
  • Add IMAGE_REGISTRY Docker build argument (#11360)
  • Remove reselect dependency (#11364)
  • Update useObjectAccess to use a query key factory (#11369)
  • Replace instances of react-select in Managed (#11391)
  • Update our docs regarding useEffect best practices (#11410)
  • Refactor Domains Routing (Tanstack Router) (#11418)
  • Update Pendo URL with CNAME and update Analytics developer docs (#11427)
  • Add MSW crud domains (#11428)
  • Replace react-select instances in /Users with new Select (#11430)
  • Fixed CloudPulse metric definition types (#11433)
  • Patch cookie version as resolution for dependabot (#11434)
  • Replace Select with Autocomplete component in Object Storage (#11456)
  • Update react-vnc to 2.0.2 (#11467)

Tests:

  • Cypress component test for firewall inbound and outbound rules for mouse drag and drop (#11344)
  • Cypress component tests for firewall rules drag and drop keyboard interaction (#11341)
  • Mock LKE creation flow + APL coverage (#11347)
  • Improve Linode end-to-end test stability by increasing timeouts (#11350)
  • Fix delete-volume.spec.ts flaky test (#11365)
  • Add Cypress test for Credit Card Expired banner (#11383)
  • Cypress test flake: Rebuild Linode (#11390)
  • Improve assertions made in smoke-billing-activity.spec.ts (#11394)
  • Clean up DatabaseBackups.test.tsx (#11394)
  • Fix account login and logout tests when using non-Prod environment (#11407)
  • Add Cypress component tests for Autocomplete (#11408)
  • Update mock region for LKE cluster creation test (#11411)
  • Cypress tests to validate errors in Linode Create Backups tab (#11422)
  • Cypress test to validate aria label of Linode IP Addresses action menu (#11435)
  • Cypress test to validate CAA records are editable (#11440)
  • Add test for LKE cluster rename flow (#11444)
  • Add unit tests to validate aria-labels of Action Menu for Linode IPs & ranges (#11448)
  • Add Cypress tests confirming Lionde Config Unrecommended status displays as expected in VPC Subnet table (#11450)
  • Add Cypress test for LKE node pool tagging (#11368)
  • Add coverage for Kube version upgrades in landing page (#11478)
  • Fix Cypress test failures stemming from Debian 10 Image deprecation (#11486)
  • Added Cypress test for restricted user Image non-Empty landing page (#11335)

Upcoming Features:

  • Update Kubernetes Versions in Create Cluster flow to support tiers for LKE-E (#11359)
  • Switch from v4beta to v4 account endpoint for LKE-E (#11413)
  • Update Kubernetes version upgrade components for LKE-E (#11415)
  • Display LKE-E pricing in checkout bar (#11419)
  • Designate LKE-E clusters with 'Enterprise' chip (#11442)
  • Update LKE cluster details kube specs for LKE-E monthly pricing (#11475)
  • Add new users table component for IAM (#11367)
  • Add new user details components for IAM (#11397)
  • High performance volume indicator (#11400)
  • Add new no assigned roles component for IAM (#11401)
  • Fix invalid routes in the IAM (#11436)
  • Initial support for NodeBalancer UDP protocol (#11405)
  • Add support for new optional filter - 'Tags' in monitor (#11457)
  • Show ACLP supported regions per service type in region select (#11382)
  • Add CloudPulseAppliedFilter and CloudPulseAppliedFilterRenderer components, update filter change handler function to add another parameter label (#11354)
  • Add column for actions to Cloud Pulse alert definitions listing view and scaffolding for Definition Details page (#11399)
  • Exhaustive unit tests for CloudPulse widgets (#11464)
  • Add Alert Details Overview section in Cloud Pulse Alert Details page (#11466)
  • Improve Close Account Dialog UI (#11469)

bnussman-akamai and others added 30 commits December 5, 2024 17:54
* update hookform resolvers and try to fix schema issues

* fix import

* fix acl regression

* revert linode create resolver change

---------

Co-authored-by: Banks Nussman <banks@nussman.us>
…gacy flow (#11300)

* fix: [M3-8912] - Create support ticket for bucket created through legacy flow

* Added changeset: Create support ticket for buckets created through legacy flow
* test: [M3-8758]- Flake  flaky test

* Added changeset: Fix `delete-volume.spec.ts` flaky test
…11351)

* Add aria-describedby to TextField with helper text

* Always some ID

* cleanup

* add coverage

* Added changeset: aria-describedby to TextField with helper text

* cleanup

* feedback @hkhalil-akamai
* nested JSON flags

* fix overflow

* Styling updates

* save progress

* save progress

* Fix types

* Wrapping up account customization

* form improvements profile

* cleanup

* Added changeset: Dev Tools fixes and improvements

* fix flake

* feedback @jaalah-akamai
…4 type (#11369)

* use query key factory

* add changesets

---------

Co-authored-by: Banks Nussman <banks@nussman.us>
Bumps [@eslint/plugin-kit](https://github.com/eslint/rewrite) from 0.2.0 to 0.2.4.
- [Release notes](https://github.com/eslint/rewrite/releases)
- [Changelog](https://github.com/eslint/rewrite/blob/main/release-please-config.json)
- [Commits](eslint/rewrite@core-v0.2.0...plugin-kit-v0.2.4)

---
updated-dependencies:
- dependency-name: "@eslint/plugin-kit"
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* remove `reselect` dependency

* add changeset

* fix changeset message

---------

Co-authored-by: Banks Nussman <banks@nussman.us>
* upcoming: [DI-20929] - Added labels parameter to global filter change handlers

* upcoming: [DI-20929] - Added cloudpulse applied filter

* upcoming: [DI-20929] - Added test cases

* upcoming: [DI-20929] - updated failing test cases

* upcoming: [DI-22221] - Fixed console error

* upcoming: [DI-20929] - Added changeset

* upcoming: [DI-20929] - Updated changeset

* upcoming: [DI-20929] - Updated import libraries

* upcomign: [DI-20929] - Updated types

* upcomign: [DI-20929] - Updated types

* upcoming: [DI-20929] - Updated styles for dark theme

* upcoming: [DI-20929] - Updated styling

* upcoming: [DI-20929
] - Eslint issue fixed

* upcoming: [DI-20929] - updated function order

* upcoming: [DI-20929] - Improve code readability
* initial types

* small fixes

* support nodes

* update validatoon schemas

* add changesets

* add comment

* clean up types in manager

* add changeset

* clean up validation schemas

* update and fix more nodebalancer schemas

* make validation schema more strict

* more improvements to schemas

---------

Co-authored-by: Banks Nussman <banks@nussman.us>
* cypress test and small text changes

* feat: dedicated LKE create cluster Cypress test for APL

* fix: mocking apl feature flag

* mock APL account beta

* save progress

* save prpgress on mocking all LKE creation

* post rebase cleanup

* Wrap up lke-create

* cleanup

* Added changeset: Mock LKE creation flow + APL coverage

* feedback @bnussman-akamai @hkhalil-akamai

* missing one mock

* Added changeset: Nullable AccountBeta ended & description properties

* damn you, APL

* feedback @jdamore-linode

* fix maybe flake

* fix other flake

---------

Co-authored-by: dennisvankekem <dvankeke@akamai.com>
* fix: [M3-8796] - Disallow word-break in billing contact info

* Added changeset: Disallow word-break in billing contact info
…le and added relevant api endpoints (#11346)

* upcoming: [DI-22217] - Added AlertListing component With Table headers, Table rows and added the GET api endpoint and mockServer for fetching alert definitions

* upcoming : [DI-22217] - Added the TableRowError and TableRowLoading for the AlertListing Table and minor changes

* upcoming: [DI-22217] - Added changesets

* upcoming: [DI-22217] - Review changes: Improving AlertListing test cases, unabbreviated UT to Unit Tests in changeset

* upcoming: [DI-22217] - Removed unused import

* upcoming: [DI-22217] - Review changes: Removed redundant checks, removed waitFor in the unit tests and removed Severity column, removed the Placeholder Icon for Alerts Landing empty state

* upcoming: [DI-22217] - Restructured the alert queries

* upcoming: [DI-22217] - Review changes: Added a TableRowLabelMap for the TableHead Row, Replaced referencing colors directly and used theme styling for colors

* upcoming: [DI-22217] - fixed eslint error

* upcoming: [DI-22217] - Minor styling changes and fixed failing tests

* upcoming: [DI-22217] - minor changes: changed the key when mapping over AlertListingTableLabelMap, used shorthand
* initial commit: wire new router

* Migrate test to use new helper

* volumes landing routing

* doin the filtering

* wire actions

* cleanup

* cleanup

* moar cleanup

* more work on params

* usePaginationV2

* cleanup

* oops fix types

* fix e2e

* useOrderV2

* and... dont forget the util 🤦

* revert unwarranted change

* useOrderV2 test

* console error

* A bit more cleanup

* usePaginationV2 test

* usePaginationV2 test

* route level error handling

* xFilter util

* xFilter util improvements

* post rebase fix

* testing xQuery builder

* moar testing and cleanup

* Added changeset: Migrate `/volumes` to Tanstack router

* Save progress

* fix one test

* fix remaining test

* feedback @jaalah-akamai

* more work on preloading

* save progress

* Walking back and using a more progressive approach

* cleanup

* entity not found logic

* post rebase fix

* post rebase fix

* update loading state

* fix the smoke tests

* Feedback @bnussman-akamai

* JsDocs for Tanstack link components

* Improve new useOrder hook

* feedback @coliu-akamai @hkhalil-akamai
* fix: [M3-8538] - Fix Linode clone CLI Modal

* remove comments

* Fix cli command

* Fix typos and unit tests and add missing slash in api url

* Add changeset
…11367)

* feat: [UIE-8136] - add new users table component (part 1)

* Update changeset - file name must match changeset type

---------

Co-authored-by: mjac0bs <mjacobs@akamai.com>
* Add e2e test for CC expired banner

* Added changeset: Add cypress test for Credit Card Expired banner
…Backups.test.tsx` (#11394)

* fix and clean up some tests

* add changesets

---------

Co-authored-by: Banks Nussman <banks@nussman.us>
* upcoming: [DI-20595] - ACLP Supported regions per service type

* upcoming: [DI-20595] - small fix

* upcoming: [DI-20595] - improved test quality

* upcoming: [DI-20595] - PR Comments

* upcoming: [DI-20595] - small fix

* upcoming: [DI-20595] - updated UT

* upcoming: [DI-20595] - updated UT

* upcoming: [DI-20595] - updated types

* upcoming: [DI-20595] - small linting fix

* upcoming: [DI-20595] - handle empty regions

* upcoming: [DI-20595] - Added changeset

* upcoming: [DI-20595] - Added changeset

* upcoming: [DI-20595] - edge case fix

* upcoming: [DI-20595] - linting fix

* Test[DI-20595] -add region select testcases

* upcoming: [DI-20595] - PR Comments

* upcoming: [DI-20595] - PR Comments

* upcoming: [DI-20595] - linting fix

Co-authored-by: Purvesh Makode <pmakode@akamai.com>

* upcoming: [DI-20595] - linting fix

Co-authored-by: Purvesh Makode <pmakode@akamai.com>

* upcoming: [DI-20595] - linting fix

Co-authored-by: Mariah Jacobs <114685994+mjac0bs@users.noreply.github.com>

---------

Co-authored-by: agorthi <agorthi@akamai.com>
Co-authored-by: Purvesh Makode <pmakode@akamai.com>
Co-authored-by: Mariah Jacobs <114685994+mjac0bs@users.noreply.github.com>
…OS (#11253)

* feat: [M3-8676] - Notice for OS Distro Nearing EOL/EOS

* Added changeset: Notice for OS Distro Nearing EOL/EOS

* operator change

* formatted text and udpated state management

* replaced new states with existing useImageQuery()

* added decprecated notice for all ImageSelect references
…r on LKE-E versions (#11359)

* Use the beta tiered versions query in the create flow

* Set state for version options

* Add tier to payload to create enterprise cluster

* Add test coverage for tiered version selection

* Fix linter warning

* Added changeset: Update Kubernetes Versions in Create Cluster flow to support tiers for LKE-E

* Make versions param optional - thanks @jdamore-linode

Forgot to fix this after I was messing around with things

Co-authored-by: jdamore-linode <97627410+jdamore-linode@users.noreply.github.com>

* derive tiered versions from tier

* version name refactoring

* Use util for getting latest version in test specs

* Remove loading state added

* Revert 1313bd7 since mocking now; mock getVersions; use more recent latest versions

---------

Co-authored-by: jdamore-linode <97627410+jdamore-linode@users.noreply.github.com>
Co-authored-by: Hana Xu <hxu@akamai.com>
…11357)

* begin refactoring VPC create hook

* save

* save progress

* update tests for vpc components

* update drawer

* remove unnecessary types

* fix vpc create drawer bug default values

* general subnet errors?

* remove unnecessary util

* switch back to scrollIntoError v1 :/

* general subnet errors i think this works for real

* Added changeset: Refactor VPC Create to use `react-hook-form` instead of `formik`

* feedback @bnussman-akamai, fix reset when using cancel button for VPCCreateDrawer

* cleanup  use of useWatch and add some accessibility help to remove button

* update cypress test due to updated accessibility labels for subnet remove buttons

* hiding mention of IPv6 in validation for now since we don't support it

* validation changeset
…wards (#11384)

* fix: [M3-8971] - Object Storage object uploader spinner spinning backwards

* Added changeset: Object Storage object uploader spinner spinning backwards

* changed upload icon to autorenew

* delete uploadPening.svg as it is not used anymore
…11398)

* Fix misplaced `errorGroup` prop causing console error

* Added changeset: Misplaced `errorGroup` prop causing console error in NodeBalancerConfigPanel
…tern (Part 1) (#11386)

* initial refactor

* fix type-safety issues

* Update packages/manager/src/queries/profile/preferences.ts

Co-authored-by: Purvesh Makode <pmakode@akamai.com>

* fix re-render at maincontent level @mjac0bs

* Update packages/manager/src/queries/profile/preferences.ts

Co-authored-by: Mariah Jacobs <114685994+mjac0bs@users.noreply.github.com>

---------

Co-authored-by: Banks Nussman <banks@nussman.us>
Co-authored-by: Purvesh Makode <pmakode@akamai.com>
Co-authored-by: Mariah Jacobs <114685994+mjac0bs@users.noreply.github.com>
…use `react-hook-form` (#11393)

* update schema, update vpc edit drawer

* update SubnetEditDrawer

* changesets
…y when any pending updates are available and disable version upgrade (#11387)
…KE-E (#11413)

* Clean up account beta endpoint and query

* Fix test to mock no LKE-E capability when expected

* Add changesets
* unit test coverage for HostNameTableCell

* Revert "unit test coverage for HostNameTableCell"

This reverts commit b274baf.

* chore: [M3-8662] - Update Github Actions actions (#11009)

* update actions

* add changeset

---------

Co-authored-by: Banks Nussman <banks@nussman.us>

* Basci date picker component

* Test coverage for date picker component

* DatePicker Stories

* Custom DateTimePicker component

* Reusable TimeZone Select Component

* Create custom DateTimeRangePicker component

* Storybook for DateTimePicker

* Fix tests and remove console warnings

* changeset

* Update packages/manager/src/components/DatePicker/DateTimeRangePicker.tsx

Co-authored-by: Connie Liu <139280159+coliu-akamai@users.noreply.github.com>

* Adjust styles for DatePicker

* Adjust styles for DateTimePicker

* update imports

* Render time and timezone conditionally in DateTimePicker component

* Move DatePicker to UI package

* Add DatePicker dependencies

* Code cleanup

* PR feedback

* code cleanup

* Move DatePicker back to src/components

* Reverting changes

* Code cleanup

* Adjust broken tests

* Update TimeZoneSelect.tsx

* Code cleanup

* Add validation for start date agains end date.

* Adjust styles for TimePicker component.

* PR feedback - @jaalah-akamai

* allow error messages from props.

* Update storybook components with args

* Update props

* PR feedback - @hana-akamai

---------

Co-authored-by: Banks Nussman <115251059+bnussman-akamai@users.noreply.github.com>
Co-authored-by: Banks Nussman <banks@nussman.us>
Co-authored-by: Connie Liu <139280159+coliu-akamai@users.noreply.github.com>
jdamore-linode and others added 10 commits January 7, 2025 14:59
…ing Cloud images (#11360)

* Allow Docker registry to be overridden via `IMAGE_REGISTRY` arg

* Add changeset
* Add maskable text to Managed Contacts

* Update the docs link URL to a more helpful doc

* Make component for reusable copy

* Use component in Billing Contact Info and SSH Access Pub Key

* Make MaskableText icon styling more flexible; add to Longview command

* Add masking to Longview API Key

* Clean up styles

* Mask IP in Longview

* Mask IP Address on SSH Access Managed tab

* Fix margin for API Key

* Fix spacing for Longview API key

* Mask user in Managed and Longview

* Added changeset: Visibility of sensitive data in Managed and Longview with Mask Sensitive Data setting enabled
…omponents (#11445)

* upcoming: [DI-22558] - Added Trigger condition and Dimension Filter changes

* removed unnecessary console log statement

* upcoming: [DI-22558] - Importing right interface for Trigger condition for error validation and minor changes

* upcoming: [DI-22588] - Added the Unit Tests for the components

* upcoming: [DI-22588] - Added changesets and few changes to the messages in validation schema

* upcoming: [DI-22588] - Review comments and made some minor UX changes to the component

* Updated stylings

* upcoming: [DI-22588] - UX changes

* upcoming: [DI-22588] - Fixed the validation error resolution for Metric Data Field and Dimension Filter Data Field

* upcoming: [DI-22588] - Review changes

* upcoming: [DI-22588] - Moved mockData to individual test files instead of exporting to fix the failing tests

* upcoming: [DI-22558] - Typescript issue fixes

* Update constants.ts

---------

Co-authored-by: nikhagra-akamai <nagrawal@akamai.com>
Co-authored-by: vmangalr <vmangalr@akamai.com>
Co-authored-by: venkatmano-akamai <chk-Venkatesh@outlook.com>
…es by default (#11486)

* Use Debian 12 for Linode factories, replace Debian 10 with 12 in tests

* Added changeset: Fix Cypress test failures stemming from Debian 10 Image deprecation

* Fix StackScript test by resizing disk to be slightly larger for Debian 12
* add MSW crud domains

* Added changeset: Add MSW crud domains

* feedback @jaalah-akamai

* feebback @pmakode-akamai
…11485)

## Description 📝
Due to the way that existing code was written, we were only returning Kubernetes API endpoints for clusters if the endpoint matched port 443 (e.g. `/linodelke\.net:443`). However, LKE-E endpoints use the `6443` port so nothing was returning

This PR adds a check to render the first available endpoint if port 443 is not available

## Changes  🔄

List any change(s) relevant to the reviewer.

- Render the first available endpoint if endpoint with port 443 is not available
- Added some unit tests

## How to test 🧪

### Prerequisites

(How to setup test environment)

- Ensure you have LKE-E customer tags (check project tracker)
- Have an LKE-E cluster created

### Reproduction steps

(How to reproduce the issue, if applicable)

- [ ] On another branch (e.g. `develop`), go to the details page of an LKE-E cluster
- [ ] The Kubernetes API endpoint displays `Your endpoint will be displayed here once it is available.`

### Verification steps

(How to verify changes)

- [ ] Checkout this PR or use the preview link, go to the details page of an LKE-E cluster
- [ ] The Kubernetes API endpoint displays the first endpoint available (should be something like `https://lke287706.us-ord.enterprise.linodelke.net:6443`)
* change: [M3-9074] - Remove properties tab from Gen2 buckets

* Added changeset: Temporarily remove Properties tab from Gen2 buckets

---------

Co-authored-by: Jaalah Ramos <jaalah.ramos@gmail.com>
* upcoming: [M3-9008] Improve Close Account UI

* Add changesets

* Update e2e test to cover parent/child

* More cleanup

* Change warning to error and update variants/colors

* Enforce type-to-confirm for close account

* Small revert

* Revision

* Text updates to title, warning, comment blurb

* Expand comments section full width - allow this prop to be set

* Fix unit tests due to usePreference updates - remove loading variant

* Update packages/manager/cypress/e2e/core/account/account-cancellation.spec.ts

Co-authored-by: Connie Liu <139280159+coliu-akamai@users.noreply.github.com>

* Update packages/manager/cypress/e2e/core/account/account-cancellation.spec.ts

Co-authored-by: Connie Liu <139280159+coliu-akamai@users.noreply.github.com>

* Update packages/manager/cypress/e2e/core/account/account-cancellation.spec.ts

Co-authored-by: Connie Liu <139280159+coliu-akamai@users.noreply.github.com>

* Update state variable name @coliu-akamai

* Allow expand to be passed for deletionDialogs

* Expand all delete type-to-confirms @coliu-akamai

* more deletion dialogs

* Few more dialogs

---------

Co-authored-by: Jaalah Ramos <jaalah.ramos@gmail.com>
Co-authored-by: Connie Liu <139280159+coliu-akamai@users.noreply.github.com>
…nent. (#11395)

* unit test coverage for HostNameTableCell

* Revert "unit test coverage for HostNameTableCell"

This reverts commit b274baf.

* chore: [M3-8662] - Update Github Actions actions (#11009)

* update actions

* add changeset

---------

Co-authored-by: Banks Nussman <banks@nussman.us>

* Basci date picker component

* Test coverage for date picker component

* DatePicker Stories

* Custom DateTimePicker component

* Reusable TimeZone Select Component

* Create custom DateTimeRangePicker component

* Storybook for DateTimePicker

* Fix tests and remove console warnings

* changeset

* Update packages/manager/src/components/DatePicker/DateTimeRangePicker.tsx

Co-authored-by: Connie Liu <139280159+coliu-akamai@users.noreply.github.com>

* Adjust styles for DatePicker

* Adjust styles for DateTimePicker

* update imports

* Render time and timezone conditionally in DateTimePicker component

* Move DatePicker to UI package

* Add DatePicker dependencies

* Code cleanup

* PR feedback

* code cleanup

* Move DatePicker back to src/components

* Reverting changes

* Code cleanup

* Adjust broken tests

* Update TimeZoneSelect.tsx

* Code cleanup

* Add validation for start date agains end date.

* Adjust styles for TimePicker component.

* Add the functionality to support Date Presets

* Update presets functionality and add test coverage.

* Added changeset: Add Date Presets Functionality to Date Picker component

* Persist the preset value

* Show the start date and end date fields only when custom is selected

* Add calendar icon to DateTimePicker component

* code cleanup and adjust tests

* Update packages/manager/src/components/DatePicker/DateTimeRangePicker.tsx

Co-authored-by: Nikhil Agrawal <165884194+nikhagra-akamai@users.noreply.github.com>

* update components

* Organize and additional prop support to DateTimeRangePicker component

* Code cleanup

* PR feedback - @coliu-akamai

* Move styles to theme level

* Revert "Move styles to theme level"

This reverts commit 15d9134.

* code cleanup

---------

Co-authored-by: Banks Nussman <115251059+bnussman-akamai@users.noreply.github.com>
Co-authored-by: Banks Nussman <banks@nussman.us>
Co-authored-by: Connie Liu <139280159+coliu-akamai@users.noreply.github.com>
Co-authored-by: Nikhil Agrawal <165884194+nikhagra-akamai@users.noreply.github.com>
@hana-akamai hana-akamai added the Release → Staging Pre-Release: Release → Staging label Jan 9, 2025
@hana-akamai hana-akamai self-assigned this Jan 9, 2025
@hana-akamai hana-akamai requested review from a team as code owners January 9, 2025 15:22
@hana-akamai hana-akamai requested review from AzureLatte, carrillo-erik and hkhalil-akamai and removed request for a team January 9, 2025 15:22
mpolotsk-akamai and others added 4 commits January 9, 2025 10:50
* change: [UIE-8228] - Database Resize: disable same size plan

* Added changeset: Database Resize: Disable plans when the usable storage equals the used storage of the database cluster
## Description 📝

This attempts to fix a unit test failure in `DateTimeRangePicker.test.ts` when the test is run in an environment whose system locale is not set to central time (UTC-06:00). Also does some clean up related to the way that the system time is mocked.

## Changes  🔄

- Fix test failure in DateTimeRangePicker unit tests
- Clean up

## How to test 🧪

```bash
yarn test DateTimeRangePicker.test
```
…ton to be disabled (#11500)

## Description 📝
There is an edge case where `preferences?.type_to_confirm` is `undefined` when the user has not yet set a preference as seen in `/profile/settings?preferenceEditor=true`. 

## Changes  🔄
- Ensure that `preferences?.type_to_confirm` resolves to a boolean value (default true)

## How to test 🧪

### Prerequisites
- Removed `type_to_confirm` preference from /profile/settings?preferenceEditor=true

### Reproduction steps
- Observe the disabled button for linode deletion dialogs and others

### Verification steps
#### Step 1
- Removed `type_to_confirm` preference from /profile/settings?preferenceEditor=true
- Ensure type-to-confirm is enabled by default
- Check linode: delete, resize, rebuild
- Check domain: delete
- Check close account still works as intended
#### Step 2
- Disable type-to-confirm
- Check linode: delete, resize, rebuild
- Check domain: delete
- Check close account still works as intended

---------

Co-authored-by: Jaalah Ramos <jaalah.ramos@gmail.com>
Co-authored-by: Hana Xu <hxu@akamai.com>
@hana-akamai hana-akamai merged commit fdd720c into staging Jan 9, 2025
23 of 24 checks passed
Copy link

github-actions bot commented Jan 9, 2025

Coverage Report:
Base Coverage: 86.84%
Current Coverage: 87.14%

Copy link

cypress bot commented Jan 9, 2025

Cloud Manager E2E    Run #7062

Run Properties:  status check passed Passed #7062  •  git commit fdd720c0f5: Release v1.134.0 - release → staging (#11497)
Project Cloud Manager E2E
Branch Review staging
Run status status check passed Passed #7062
Run duration 28m 45s
Commit git commit fdd720c0f5: Release v1.134.0 - release → staging (#11497)
Committer Hana Xu
View all properties for this run ↗︎

Test results
Tests that failed  Failures 0
Tests that were flaky  Flaky 3
Tests that did not run due to a developer annotating a test with .skip  Pending 2
Tests that did not run due to a failure in a mocha hook  Skipped 0
Tests that passed  Passing 474
View all changes introduced in this branch ↗︎

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Release → Staging Pre-Release: Release → Staging
Projects
None yet
Development

Successfully merging this pull request may close these issues.