Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
40 changes: 10 additions & 30 deletions frontend/public/locales/de/feed.json
Original file line number Diff line number Diff line change
@@ -1,24 +1,21 @@
{
"community": [
{
"date": "2026-02-23",
"title": "Flight Sim Awards 2026 Nominierung",
"title": "Treffe MobiFlight bei FSWeekend 2026!",
"date": "2025-12-04",
"content": [
"Wir freuen uns, dass MobiFlight für die 🏆 **Flight Sim Awards 2026!** 🏆 nominiert wurde.",
"**Bitte stimme ab** und hilf uns, in der Kategorie 'Bestes DIY-Hardware' zu gewinnen. Deine Unterstützung bedeutet uns die Welt!"
"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."
],
"featured": false,
"tags": ["community"],
"action": {
"title": "Mehr erfahren",
"url": "https://flightsimweekend.com/"
},
"media": {
"type": "image",
"src": "/feed/flight-sim-awards-2026.png",
"alt": "Flight Sim Awards 2026 Nominierung",
"className": "bg-foreground dark:bg-background"
"src": "/feed/fsweekend-2025.jpg",
"alt": "Treffe das MobiFlight Team beim FSWeekend 2026"
},
"action": {
"title": "Stimme für MobiFlight ab!",
"url": "https://tally.so/r/44rzv5"
}
"tags": ["events"]
},
{
"date": "2026-02-15",
Expand Down Expand Up @@ -97,23 +94,6 @@
"className": "bg-gray-100 dark:bg-gray-100"
},
"tags": ["community"]
},
{
"title": "Treffe MobiFlight bei FSWeekend 2026!",
"date": "2025-12-04",
"content": [
"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."
],
"action": {
"title": "Mehr erfahren",
"url": "https://flightsimweekend.com/"
},
"media": {
"type": "image",
"src": "/feed/fsweekend-2025.jpg",
"alt": "Meet the team at FSWeekend 2026"
},
"tags": ["events"]
}
]
}
40 changes: 10 additions & 30 deletions frontend/public/locales/en/feed.json
Original file line number Diff line number Diff line change
@@ -1,24 +1,21 @@
{
"community": [
{
"date": "2026-02-23",
"title": "Flight Sim Awards 2026 Nomination",
"date": "2025-12-04",
"title": "Meet MobiFlight at FSWeekend 2026!",
"content": [
"We're honored to announce that MobiFlight has been nominated for the 🏆 **Flight Sim Awards 2026!** 🏆",
"**Please cast your vote** and help us win in the 'Best DIY Hardware' category. Your support means the world to us!"
"The MobiFlight team will be at FSWeekend 2026! Come meet us at our booth, see live demos, and get exclusive insights into upcoming features."
],
"featured": false,
"tags": ["community"],
"action": {
"title": "Learn More",
"url": "https://flightsimweekend.com/"
},
"media": {
"type": "image",
"src": "/feed/flight-sim-awards-2026.png",
"alt": "Flight Sim Awards 2026 Nomination",
"className": "bg-foreground dark:bg-background"
"src": "/feed/fsweekend-2025.jpg",
"alt": "Meet the MobiFlight team at FSWeekend 2026"
},
"action": {
"title": "Vote for MobiFlight!",
"url": "https://tally.so/r/44rzv5"
}
"tags": ["events"]
},
{
"date": "2026-02-15",
Expand Down Expand Up @@ -97,23 +94,6 @@
"className": "bg-gray-100 dark:bg-gray-100"
},
"tags": ["community"]
},
{
"date": "2025-12-04",
"title": "Meet MobiFlight at FSWeekend 2026!",
"content": [
"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."
],
"action": {
"title": "Learn More",
"url": "https://flightsimweekend.com/"
},
"media": {
"type": "image",
"src": "/feed/fsweekend-2025.jpg",
"alt": "Meet the team at FSWeekend 2026"
},
"tags": ["events"]
}
]
}
40 changes: 10 additions & 30 deletions frontend/public/locales/es/feed.json
Original file line number Diff line number Diff line change
@@ -1,24 +1,21 @@
{
"community": [
{
"date": "2026-02-23",
"title": "Flight Sim Awards 2026 Nomination",
"title": "¡Encuentra al equipo de MobiFlight en FSWeekend 2026!",
"date": "2025-12-04",
"content": [
"¡Estamos muy emocionados de que **MobiFlight ha sido nominado** para los 🏆 **Flight Sim Awards 2026!** 🏆",
"**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!"
"¡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."
],
"featured": false,
"tags": ["community"],
"action": {
"title": "Más información",
"url": "https://flightsimweekend.com/"
},
"media": {
"type": "image",
"src": "/feed/flight-sim-awards-2026.png",
"alt": "Flight Sim Awards 2026 Nomination",
"className": "bg-foreground dark:bg-background"
"src": "/feed/fsweekend-2025.jpg",
"alt": "¡Encuentra al equipo de MobiFlight en FSWeekend 2026!"
},
"action": {
"title": "¡Vota por MobiFlight!",
"url": "https://tally.so/r/44rzv5"
}
"tags": ["events"]
},
{
"date": "2026-02-15",
Expand Down Expand Up @@ -97,23 +94,6 @@
"className": "bg-gray-100 dark:bg-gray-100"
},
"tags": ["community"]
},
{
"title": "¡Encuentra al equipo de MobiFlight en FSWeekend 2026!",
"date": "2025-12-04",
"content": [
"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."
],
"action": {
"title": "Más información",
"url": "https://flightsimweekend.com/"
},
"media": {
"type": "image",
"src": "/feed/fsweekend-2025.jpg",
"alt": "Meet the team at FSWeekend 2026"
},
"tags": ["events"]
}
]
}
3 changes: 2 additions & 1 deletion frontend/src/components/DebugInfo.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,9 @@ import { useWindowSize } from "@/lib/hooks/useWindowSize"
const DebugInfo = () => {
const windowSize = useWindowSize()

return <div className="flex p-2" />
if (process.env.NODE_ENV !== "development") {
return null
return <div className="flex p-2" />
}

return (
Expand Down
1 change: 0 additions & 1 deletion frontend/src/components/MainMenu.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,6 @@ export const MainMenu = () => {
>
Re-install WASM Module
</MenubarItem>
<MenubarItem>Open Community Folder</MenubarItem>
</MenubarSubContent>
</MenubarSub>
<MenubarItem
Expand Down
12 changes: 6 additions & 6 deletions frontend/tests/Dashboard.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -773,10 +773,10 @@ test.describe("Community Feed tests", () => {
await expect(eventsFilterButton).toHaveCount(1)

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

await communityFilterButton.click()
await expect(feedItems).toHaveCount(3)
await expect(feedItems).toHaveCount(2)

await offersFilterButton.click()
await expect(feedItems).toHaveCount(1)
Expand All @@ -791,10 +791,10 @@ test.describe("Community Feed tests", () => {
}) => {
await dashboardPage.gotoPage()
const feedItems = page.getByTestId("community-feed-item")
await expect(feedItems).toHaveCount(6)
const offerItem = feedItems.nth(0)
await expect(feedItems).toHaveCount(5)
const offerItem = feedItems.nth(4)
const offerButton = offerItem.getByRole("button", {
name: "Vote for MobiFlight!",
name: "Subscribe",
exact: true,
})
await expect(offerButton).toBeVisible()
Expand All @@ -806,7 +806,7 @@ test.describe("Community Feed tests", () => {
await dashboardPage.mobiFlightPage.getTrackedCommands()
const lastCommand = postedCommands!.pop()
expect(lastCommand.key).toEqual("CommandOpenLinkInBrowser")
expect(lastCommand.payload.url).toEqual("https://tally.so/r/44rzv5")
expect(lastCommand.payload.url).toEqual("https://mobiflight.com/newsletter")
})

test("Confirm responsiveness small window size", async ({
Expand Down
Loading