Skip to content

Commit ba62f79

Browse files
authored
Minor fixes for release v11 (#2813)
* Remove "Open Community" Folder menu item * Add padding to dashboard page buttons * Update news feed * Fix playwright tests * Change way how we apply the padding on the bottom * Remove the commented item * Update spanish feed item
1 parent 265c847 commit ba62f79

File tree

6 files changed

+38
-98
lines changed

6 files changed

+38
-98
lines changed

frontend/public/locales/de/feed.json

Lines changed: 10 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,21 @@
11
{
22
"community": [
33
{
4-
"date": "2026-02-23",
5-
"title": "Flight Sim Awards 2026 Nominierung",
4+
"title": "Treffe MobiFlight bei FSWeekend 2026!",
5+
"date": "2025-12-04",
66
"content": [
7-
"Wir freuen uns, dass MobiFlight für die 🏆 **Flight Sim Awards 2026!** 🏆 nominiert wurde.",
8-
"**Bitte stimme ab** und hilf uns, in der Kategorie 'Bestes DIY-Hardware' zu gewinnen. Deine Unterstützung bedeutet uns die Welt!"
7+
"Das MobiFlight Team ist beim FSWeekend 2026 mit dabei! Treffe uns am Stand, sieh dir Live-Demos an und erhalte exklusive Einblicke in kommende Funktionen."
98
],
10-
"featured": false,
11-
"tags": ["community"],
9+
"action": {
10+
"title": "Mehr erfahren",
11+
"url": "https://flightsimweekend.com/"
12+
},
1213
"media": {
1314
"type": "image",
14-
"src": "/feed/flight-sim-awards-2026.png",
15-
"alt": "Flight Sim Awards 2026 Nominierung",
16-
"className": "bg-foreground dark:bg-background"
15+
"src": "/feed/fsweekend-2025.jpg",
16+
"alt": "Treffe das MobiFlight Team beim FSWeekend 2026"
1717
},
18-
"action": {
19-
"title": "Stimme für MobiFlight ab!",
20-
"url": "https://tally.so/r/44rzv5"
21-
}
18+
"tags": ["events"]
2219
},
2320
{
2421
"date": "2026-02-15",
@@ -97,23 +94,6 @@
9794
"className": "bg-gray-100 dark:bg-gray-100"
9895
},
9996
"tags": ["community"]
100-
},
101-
{
102-
"title": "Treffe MobiFlight bei FSWeekend 2026!",
103-
"date": "2025-12-04",
104-
"content": [
105-
"Wir freuen uns, bekannt zu geben, dass MobiFlight bei FSWeekend 2026 vertreten sein wird! Triff das Team, sieh dir Live-Demos an und erhalte exklusive Einblicke in kommende Funktionen."
106-
],
107-
"action": {
108-
"title": "Mehr erfahren",
109-
"url": "https://flightsimweekend.com/"
110-
},
111-
"media": {
112-
"type": "image",
113-
"src": "/feed/fsweekend-2025.jpg",
114-
"alt": "Meet the team at FSWeekend 2026"
115-
},
116-
"tags": ["events"]
11797
}
11898
]
11999
}

frontend/public/locales/en/feed.json

Lines changed: 10 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,21 @@
11
{
22
"community": [
33
{
4-
"date": "2026-02-23",
5-
"title": "Flight Sim Awards 2026 Nomination",
4+
"date": "2025-12-04",
5+
"title": "Meet MobiFlight at FSWeekend 2026!",
66
"content": [
7-
"We're honored to announce that MobiFlight has been nominated for the 🏆 **Flight Sim Awards 2026!** 🏆",
8-
"**Please cast your vote** and help us win in the 'Best DIY Hardware' category. Your support means the world to us!"
7+
"The MobiFlight team will be at FSWeekend 2026! Come meet us at our booth, see live demos, and get exclusive insights into upcoming features."
98
],
10-
"featured": false,
11-
"tags": ["community"],
9+
"action": {
10+
"title": "Learn More",
11+
"url": "https://flightsimweekend.com/"
12+
},
1213
"media": {
1314
"type": "image",
14-
"src": "/feed/flight-sim-awards-2026.png",
15-
"alt": "Flight Sim Awards 2026 Nomination",
16-
"className": "bg-foreground dark:bg-background"
15+
"src": "/feed/fsweekend-2025.jpg",
16+
"alt": "Meet the MobiFlight team at FSWeekend 2026"
1717
},
18-
"action": {
19-
"title": "Vote for MobiFlight!",
20-
"url": "https://tally.so/r/44rzv5"
21-
}
18+
"tags": ["events"]
2219
},
2320
{
2421
"date": "2026-02-15",
@@ -97,23 +94,6 @@
9794
"className": "bg-gray-100 dark:bg-gray-100"
9895
},
9996
"tags": ["community"]
100-
},
101-
{
102-
"date": "2025-12-04",
103-
"title": "Meet MobiFlight at FSWeekend 2026!",
104-
"content": [
105-
"We're excited to announce that MobiFlight will be present at FSWeekend 2026! Come meet the team, see live demos, and get exclusive insights into upcoming features."
106-
],
107-
"action": {
108-
"title": "Learn More",
109-
"url": "https://flightsimweekend.com/"
110-
},
111-
"media": {
112-
"type": "image",
113-
"src": "/feed/fsweekend-2025.jpg",
114-
"alt": "Meet the team at FSWeekend 2026"
115-
},
116-
"tags": ["events"]
11797
}
11898
]
11999
}

frontend/public/locales/es/feed.json

Lines changed: 10 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,21 @@
11
{
22
"community": [
33
{
4-
"date": "2026-02-23",
5-
"title": "Flight Sim Awards 2026 Nomination",
4+
"title": "¡Encuentra al equipo de MobiFlight en FSWeekend 2026!",
5+
"date": "2025-12-04",
66
"content": [
7-
"¡Estamos muy emocionados de que **MobiFlight ha sido nominado** para los 🏆 **Flight Sim Awards 2026!** 🏆",
8-
"**Vota por nosotros** y ayúdanos a llevarnos el premio en la categoría 'Mejor Hardware DIY'. ¡Cada voto cuenta y tu apoyo lo es todo para nosotros!"
7+
"¡El equipo de MobiFlight estará presente en FSWeekend 2026! Encuéntrate con nosotros, puedes ver demostraciones en vivo y obtener información exclusiva sobre las próximas funciones."
98
],
10-
"featured": false,
11-
"tags": ["community"],
9+
"action": {
10+
"title": "Más información",
11+
"url": "https://flightsimweekend.com/"
12+
},
1213
"media": {
1314
"type": "image",
14-
"src": "/feed/flight-sim-awards-2026.png",
15-
"alt": "Flight Sim Awards 2026 Nomination",
16-
"className": "bg-foreground dark:bg-background"
15+
"src": "/feed/fsweekend-2025.jpg",
16+
"alt": "¡Encuentra al equipo de MobiFlight en FSWeekend 2026!"
1717
},
18-
"action": {
19-
"title": "¡Vota por MobiFlight!",
20-
"url": "https://tally.so/r/44rzv5"
21-
}
18+
"tags": ["events"]
2219
},
2320
{
2421
"date": "2026-02-15",
@@ -97,23 +94,6 @@
9794
"className": "bg-gray-100 dark:bg-gray-100"
9895
},
9996
"tags": ["community"]
100-
},
101-
{
102-
"title": "¡Encuentra al equipo de MobiFlight en FSWeekend 2026!",
103-
"date": "2025-12-04",
104-
"content": [
105-
"Nos complace anunciar que MobiFlight estará presente en FSWeekend 2026! Ven a conocer al equipo, ver demostraciones en vivo y obtener información exclusiva sobre las próximas funciones."
106-
],
107-
"action": {
108-
"title": "Más información",
109-
"url": "https://flightsimweekend.com/"
110-
},
111-
"media": {
112-
"type": "image",
113-
"src": "/feed/fsweekend-2025.jpg",
114-
"alt": "Meet the team at FSWeekend 2026"
115-
},
116-
"tags": ["events"]
11797
}
11898
]
11999
}

frontend/src/components/DebugInfo.tsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,9 @@ import { useWindowSize } from "@/lib/hooks/useWindowSize"
33
const DebugInfo = () => {
44
const windowSize = useWindowSize()
55

6+
return <div className="flex p-2" />
67
if (process.env.NODE_ENV !== "development") {
7-
return null
8+
return <div className="flex p-2" />
89
}
910

1011
return (

frontend/src/components/MainMenu.tsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,6 @@ export const MainMenu = () => {
155155
>
156156
Re-install WASM Module
157157
</MenubarItem>
158-
<MenubarItem>Open Community Folder</MenubarItem>
159158
</MenubarSubContent>
160159
</MenubarSub>
161160
<MenubarItem

frontend/tests/Dashboard.spec.ts

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -773,10 +773,10 @@ test.describe("Community Feed tests", () => {
773773
await expect(eventsFilterButton).toHaveCount(1)
774774

775775
const feedItems = page.getByTestId("community-feed-item")
776-
await expect(feedItems).toHaveCount(6)
776+
await expect(feedItems).toHaveCount(5)
777777

778778
await communityFilterButton.click()
779-
await expect(feedItems).toHaveCount(3)
779+
await expect(feedItems).toHaveCount(2)
780780

781781
await offersFilterButton.click()
782782
await expect(feedItems).toHaveCount(1)
@@ -791,10 +791,10 @@ test.describe("Community Feed tests", () => {
791791
}) => {
792792
await dashboardPage.gotoPage()
793793
const feedItems = page.getByTestId("community-feed-item")
794-
await expect(feedItems).toHaveCount(6)
795-
const offerItem = feedItems.nth(0)
794+
await expect(feedItems).toHaveCount(5)
795+
const offerItem = feedItems.nth(4)
796796
const offerButton = offerItem.getByRole("button", {
797-
name: "Vote for MobiFlight!",
797+
name: "Subscribe",
798798
exact: true,
799799
})
800800
await expect(offerButton).toBeVisible()
@@ -806,7 +806,7 @@ test.describe("Community Feed tests", () => {
806806
await dashboardPage.mobiFlightPage.getTrackedCommands()
807807
const lastCommand = postedCommands!.pop()
808808
expect(lastCommand.key).toEqual("CommandOpenLinkInBrowser")
809-
expect(lastCommand.payload.url).toEqual("https://tally.so/r/44rzv5")
809+
expect(lastCommand.payload.url).toEqual("https://mobiflight.com/newsletter")
810810
})
811811

812812
test("Confirm responsiveness small window size", async ({

0 commit comments

Comments
 (0)