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

feat(environments): Environment switcher, behind flag #25009

Draft
wants to merge 3 commits into
base: switchable-environments
Choose a base branch
from

Conversation

Twixes
Copy link
Collaborator

@Twixes Twixes commented Sep 16, 2024

Problem

This is step 5 of the environments project – #13418 (comment).

Before:

Screenshot 2024-09-16 at 23 49 58

Changes

After:

Screenshot 2024-09-17 at 00 17 58

Added EnvironmentSwitcher and CreateEnvironmentModal, which together allow managing all your environments from the navbar.

This required making OrganizationSerializer include field projects, serialized using the new simple ProjectBasicSerializer (the previous one – which inherited a lot of fields from TeamBasicSerializer – is now called ProjectBackwardCompatBasicSerializer).

How did you test this code?

API tests should continue to pass. Not testing the UI changes yet, as they're flagged.

@Twixes Twixes changed the title feat(environments): Environment settings, behind flag feat(environments): Environment switcher, behind flag Sep 16, 2024
Copy link
Contributor

Size Change: +8 B (0%)

Total Size: 1.11 MB

ℹ️ View Unchanged
Filename Size Change
frontend/dist/toolbar.js 1.11 MB +8 B (0%)

compressed-size-action

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant