Envs v3 frontend (#4267)

* New envs frontend

* lint fix

* Add blog post, user-facing changes, dashboard warning, project page member warning, and migration reviewing. maybe some other misc stuff

* lint

* lint

* ignore .data in .prettierignore

* i18n as fuck

* fix proj page

* Improve news markdown rendering

* improve phrasing of initial paragraph

* Fix environments not reloading after save

* index.ts instead of underscored name

* shrink-0 back on these icons
This commit is contained in:
Prospector
2025-08-28 15:11:35 -07:00
committed by GitHub
parent 0ac42344e7
commit 46c325f78a
49 changed files with 2509 additions and 397 deletions

View File

@@ -224,7 +224,7 @@ export const coreNags: Nag[] = [
id: 'select-environments',
title: defineMessage({
id: 'nags.select-environments.title',
defaultMessage: 'Select supported environments',
defaultMessage: 'Select environments',
}),
description: (context: NagContext) => {
const { formatMessage } = useVIntl()
@@ -232,7 +232,7 @@ export const coreNags: Nag[] = [
return formatMessage(
defineMessage({
id: 'nags.select-environments.description',
defaultMessage: `Select if the {projectType} functions on the client-side and/or server-side.`,
defaultMessage: `Select whether the {projectType} functions on the client and/or server-side.`,
}),
{
projectType: formatProjectType(context.project.project_type).toLowerCase(),
@@ -252,12 +252,12 @@ export const coreNags: Nag[] = [
)
},
link: {
path: 'settings',
path: 'settings/environment',
title: defineMessage({
id: 'nags.settings.environments.title',
defaultMessage: 'Visit general settings',
defaultMessage: 'Visit environment settings',
}),
shouldShow: (context: NagContext) => context.currentRoute !== 'type-id-settings',
shouldShow: (context: NagContext) => context.currentRoute !== 'type-id-settings-environment',
},
},
{