Skip to content

Commit

Permalink
Separate Thunderbird into a separate product group. (#1415)
Browse files Browse the repository at this point in the history
Fixes #1407
  • Loading branch information
jfx2006 committed Mar 20, 2024
1 parent 24e0cef commit 1622485
Show file tree
Hide file tree
Showing 4 changed files with 95 additions and 70 deletions.
20 changes: 20 additions & 0 deletions frontend/src/components/Dashboard/menuItems.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,26 @@ export default [
},
],
},
{
title: 'Thunderbird',
items: [
{
title: 'New',
to: '/new?group=thunderbird',
Icon: <AddBoxIcon />,
},
{
title: 'Pending',
to: '/?group=thunderbird',
Icon: <AutorenewIcon />,
},
{
title: 'Recent',
to: '/recent?group=thunderbird',
Icon: <CheckCircleIcon />,
},
],
},
{
title: 'Security',
items: [
Expand Down
36 changes: 19 additions & 17 deletions frontend/src/configs/dev.js
Original file line number Diff line number Diff line change
Expand Up @@ -45,23 +45,6 @@ module.exports = {
enablePartials: true,
canTogglePartials: true,
},
{
product: 'thunderbird',
prettyName: 'Thunderbird',
appName: 'mail',
branches: [
{
prettyName: 'Try',
project: 'try-comm-central',
branch: 'try-comm-central',
repo: 'https://hg.mozilla.org/try-comm-central',
enableReleaseEta: false,
disableable: false,
},
],
enablePartials: true,
canTogglePartials: true,
},
{
product: 'firefox-android',
prettyName: 'Firefox Android (Android-Components, Fenix, Focus)',
Expand Down Expand Up @@ -111,6 +94,25 @@ module.exports = {
enablePartials: false,
},
],
thunderbird: [
{
product: 'thunderbird',
prettyName: 'Thunderbird',
appName: 'mail',
branches: [
{
prettyName: 'Try',
project: 'try-comm-central',
branch: 'try-comm-central',
repo: 'https://hg.mozilla.org/try-comm-central',
enableReleaseEta: false,
disableable: false,
},
],
enablePartials: true,
canTogglePartials: true,
},
],
security: [
{
product: 'mozilla-vpn-client',
Expand Down
35 changes: 18 additions & 17 deletions frontend/src/configs/development.js
Original file line number Diff line number Diff line change
Expand Up @@ -44,23 +44,6 @@ module.exports = {
],
enablePartials: true,
},
{
product: 'thunderbird',
prettyName: 'Thunderbird',
appName: 'mail',
branches: [
{
prettyName: 'Try',
project: 'try-comm-central',
branch: 'try-comm-central',
repo: 'https://hg.mozilla.org/try-comm-central',
enableReleaseEta: false,
disableable: false,
},
],
// TODO
enablePartials: false,
},
{
product: 'firefox-android',
prettyName: 'Firefox Android (Android-Components, Fenix, Focus)',
Expand Down Expand Up @@ -110,6 +93,24 @@ module.exports = {
enablePartials: false,
},
],
thunderbird: [
{
product: 'thunderbird',
prettyName: 'Thunderbird',
appName: 'mail',
branches: [
{
prettyName: 'Try',
project: 'try-comm-central',
branch: 'try-comm-central',
repo: 'https://hg.mozilla.org/try-comm-central',
enableReleaseEta: false,
disableable: false,
},
],
enablePartials: false,
},
],
security: [
{
product: 'mozilla-vpn-client',
Expand Down
74 changes: 38 additions & 36 deletions frontend/src/configs/production.js
Original file line number Diff line number Diff line change
Expand Up @@ -75,42 +75,6 @@ module.exports = {
],
enablePartials: true,
},
{
product: 'thunderbird',
prettyName: 'Thunderbird',
appName: 'mail',
branches: [
{
prettyName: 'Beta',
project: 'comm-beta',
branch: 'releases/comm-beta',
repo: 'https://hg.mozilla.org/releases/comm-beta',
enableReleaseEta: false,
disableable: false,
},
{
prettyName: 'Release',
project: 'comm-release',
branch: 'releases/comm-release',
repo: 'https://hg.mozilla.org/releases/comm-release',
alternativeBranch: 'releases/comm-beta',
alternativeRepo: 'https://hg.mozilla.org/releases/comm-beta',
enableReleaseEta: false,
disableable: false,
},
{
prettyName: 'ESR115',
project: 'comm-esr115',
branch: 'releases/comm-esr115',
repo: 'https://hg.mozilla.org/releases/comm-esr115',
alternativeBranch: 'releases/comm-esr102',
alternativeRepo: 'https://hg.mozilla.org/releases/comm-esr102',
enableReleaseEta: false,
disableable: false,
},
],
enablePartials: true,
},
{
product: 'firefox-android',
prettyName: 'Firefox Android (Android-Components, Fenix, Focus)',
Expand Down Expand Up @@ -151,6 +115,44 @@ module.exports = {
enablePartials: false,
},
],
thunderbird: [
{
product: 'thunderbird',
prettyName: 'Thunderbird',
appName: 'mail',
branches: [
{
prettyName: 'Beta',
project: 'comm-beta',
branch: 'releases/comm-beta',
repo: 'https://hg.mozilla.org/releases/comm-beta',
enableReleaseEta: false,
disableable: false,
},
{
prettyName: 'Release',
project: 'comm-release',
branch: 'releases/comm-release',
repo: 'https://hg.mozilla.org/releases/comm-release',
alternativeBranch: 'releases/comm-beta',
alternativeRepo: 'https://hg.mozilla.org/releases/comm-beta',
enableReleaseEta: false,
disableable: false,
},
{
prettyName: 'ESR115',
project: 'comm-esr115',
branch: 'releases/comm-esr115',
repo: 'https://hg.mozilla.org/releases/comm-esr115',
alternativeBranch: 'releases/comm-esr102',
alternativeRepo: 'https://hg.mozilla.org/releases/comm-esr102',
enableReleaseEta: false,
disableable: false,
},
],
enablePartials: true,
},
],
security: [
{
product: 'mozilla-vpn-client',
Expand Down

0 comments on commit 1622485

Please sign in to comment.