Skip to content
This repository was archived by the owner on Sep 30, 2024. It is now read-only.

batches: remove rollout windows config from jscontext and DropdownButton#51752

Merged
BolajiOlajide merged 10 commits into
mainfrom
bo/remove-rollout-window-config-js-context
May 17, 2023
Merged

batches: remove rollout windows config from jscontext and DropdownButton#51752
BolajiOlajide merged 10 commits into
mainfrom
bo/remove-rollout-window-config-js-context

Conversation

@BolajiOlajide

Copy link
Copy Markdown
Contributor

This PR reverts#50471 and removes all occurrences of batchChangesRolloutWindows from window.context.

Test plan

  1. console.log(window.context) shouldn't contain batchChangesRolloutWindows
  2. The dropdown button in the changeset list should display a note when rollout window is configured. It should be similar to the screenshot below:

CleanShot 2023-05-10 at 23 45 53

@BolajiOlajide BolajiOlajide requested a review from a team May 10, 2023 21:48
@BolajiOlajide BolajiOlajide self-assigned this May 10, 2023
@cla-bot cla-bot Bot added the cla-signed label May 10, 2023
@sourcegraph-bot

sourcegraph-bot commented May 10, 2023

Copy link
Copy Markdown
Contributor

Codenotify: Notifying subscribers in CODENOTIFY files for diff e14f783...ab9ec8c.

Notify File(s)
@courier-new client/web/src/enterprise/batches/DropdownButton.story.tsx
client/web/src/enterprise/batches/DropdownButton.tsx
client/web/src/enterprise/batches/backend.ts
client/web/src/enterprise/batches/mocks.ts
client/web/src/enterprise/batches/settings/BatchChangesSettingsArea.story.tsx
client/web/src/enterprise/batches/settings/RolloutWindowsConfiguration.story.tsx
client/web/src/enterprise/batches/settings/RolloutWindowsConfiguration.tsx
@eseliger client/web/src/enterprise/batches/DropdownButton.story.tsx
client/web/src/enterprise/batches/DropdownButton.tsx
client/web/src/enterprise/batches/backend.ts
client/web/src/enterprise/batches/mocks.ts
client/web/src/enterprise/batches/settings/BatchChangesSettingsArea.story.tsx
client/web/src/enterprise/batches/settings/RolloutWindowsConfiguration.story.tsx
client/web/src/enterprise/batches/settings/RolloutWindowsConfiguration.tsx

@sourcegraph-bot

sourcegraph-bot commented May 10, 2023

Copy link
Copy Markdown
Contributor

📖 Storybook live preview

@sourcegraph-buildkite

sourcegraph-buildkite commented May 11, 2023

Copy link
Copy Markdown
Collaborator

Bundle size report 📦

Initial size Total size Async size Modules
-0.00% (-0.06 kb) 0.08% (+12.48 kb) 🔺 0.10% (+12.54 kb) 🔺 -0.26% (-2) 🔽

Look at the Statoscope report for a full comparison between the commits ab9ec8c and e14f783 or learn more.

Open explanation
  • Initial size is the size of the initial bundle (the one that is loaded when you open the page)
  • Total size is the size of the initial bundle + all the async loaded chunks
  • Async size is the size of all the async loaded chunks
  • Modules is the number of modules in the initial bundle

@courier-new courier-new left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good, just a couple minor points of feedback.

Comment thread client/web/src/enterprise/batches/backend.ts Outdated
Comment thread client/web/src/enterprise/batches/DropdownButton.tsx Outdated
Comment thread client/web/src/enterprise/batches/DropdownButton.tsx
@BolajiOlajide BolajiOlajide force-pushed the bo/remove-rollout-window-config-js-context branch from c3f2b76 to ab9ec8c Compare May 17, 2023 17:00
@BolajiOlajide BolajiOlajide merged commit 9140aa2 into main May 17, 2023
@BolajiOlajide BolajiOlajide deleted the bo/remove-rollout-window-config-js-context branch May 17, 2023 19:03
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants