Skip to content

[7651] Data-farm > Applications 2 - store + first consumer - #8021

Merged
n-lark merged 4 commits into
mainfrom
7651-df-applications-store
Aug 3, 2026
Merged

[7651] Data-farm > Applications 2 - store + first consumer#8021
n-lark merged 4 commits into
mainfrom
7651-df-applications-store

Conversation

@n-lark

@n-lark n-lark commented Jul 31, 2026

Copy link
Copy Markdown
Contributor

Description

  • Adds data-farm-applications Pinia store as the single source of truth for team applications.
  • Team Applications list now reads from the store behind a skeleton loader; drops its local Map + spinner. ensure-guard skips refetch on app→app nav.
  • Routes create, update, and delete through the store so mutations upsert/remove — fixes the same-session "created it → appears without reload" bug.

Live updates will be in a follow up PR under: Applications 3 - subscriber #7652

See test plan: #7651 (comment)

Related Issue(s)

Resolves #7651

Checklist

  • I have read the contribution guidelines
  • Suitable unit/system level tests have been added and they pass
  • Documentation has been updated
    • Upgrade instructions
    • Configuration details
    • Concepts
  • Changes flowforge.yml?
    • Issue/PR raised on FlowFuse/helm to update ConfigMap Template
    • Issue/PR raised on FlowFuse/CloudProject to update values for Staging/Production
  • Link to Changelog Entry PR, or note why one is not needed.

Labels

  • Includes a DB migration? -> add the area:migration label

@n-lark
n-lark requested review from andypalmi, cstns and hardillb July 31, 2026 18:46
@n-lark n-lark self-assigned this Jul 31, 2026
@codecov

codecov Bot commented Jul 31, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 76.14%. Comparing base (c011853) to head (f241f06).

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #8021   +/-   ##
=======================================
  Coverage   76.14%   76.14%           
=======================================
  Files         439      439           
  Lines       23562    23562           
  Branches     6276     6276           
=======================================
  Hits        17942    17942           
  Misses       5620     5620           
Flag Coverage Δ
backend 76.14% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@n-lark n-lark changed the title Centralize team applications in a data-farm store, migrate the list +… [7651] Data-farm > Applications 2 - store + first consumer Jul 31, 2026
Base automatically changed from 7650-df-applications-be to main August 3, 2026 13:37
@n-lark n-lark linked an issue Aug 3, 2026 that may be closed by this pull request
3 tasks

@hardillb hardillb left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'll approve this to move things forward but it's all vue stuff that I really don't have a good enough handle on.

And I've also just noticed it failed the types check, so that needs fixing first

@hardillb
hardillb self-requested a review August 3, 2026 14:17

@hardillb hardillb left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sorry, reverting approval until Types stuff fixed

@hardillb hardillb left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

All the tests look to be passing now

@n-lark
n-lark merged commit bdedb68 into main Aug 3, 2026
36 of 38 checks passed
@n-lark
n-lark deleted the 7651-df-applications-store branch August 3, 2026 16:06
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.

Applications 2 - store + first consumer

2 participants