Skip to content

[frontend/backend] feat(profile): add XTM Hub newsfeeds preferences (#2136)#15574

Draft
Antoine-Quintin wants to merge 3 commits intomasterfrom
issue/2136
Draft

[frontend/backend] feat(profile): add XTM Hub newsfeeds preferences (#2136)#15574
Antoine-Quintin wants to merge 3 commits intomasterfrom
issue/2136

Conversation

@Antoine-Quintin
Copy link
Copy Markdown

@Antoine-Quintin Antoine-Quintin commented Apr 20, 2026

Proposed changes

  • Add unsubscribed_news_feed_types field on User and MeUser GraphQL types
  • Add unsubscribed_news_feed_types to ME_USER_MODIFIABLE_ATTRIBUTES to allow editing via meEdit mutation
  • Add default resolver returning [] for users without existing preferences
  • Add XTM Hub Newsfeeds preferences section in user profile page with global toggle and per-type toggles

Related issues

Checklist

  • I consider the submitted work as finished
  • I tested the code for its functionality
  • I wrote test cases for the relevant uses case (coverage and e2e)
  • I added/update the relevant documentation (either on github or on notion)
  • Where necessary I refactored code to improve the overall quality

Further comments

This PR is part of the XTM Hub newsfeeds feature (FiligranHQ/xtm-hub#528).
The available_news_feed_types field on Settings will be added in a separate PR
(depends on FiligranHQ/xtm-hub#2135). The frontend card is already in place and will
activate automatically once that PR is merged and rebased.

@Antoine-Quintin Antoine-Quintin self-assigned this Apr 20, 2026
@Antoine-Quintin Antoine-Quintin added the filigran team use to identify PR from the Filigran team label Apr 20, 2026
@codecov
Copy link
Copy Markdown

codecov Bot commented Apr 20, 2026

Codecov Report

❌ Patch coverage is 26.66667% with 11 lines in your changes missing coverage. Please review.
✅ Project coverage is 33.66%. Comparing base (0f80aa4) to head (054a2b4).
⚠️ Report is 6 commits behind head on master.

Files with missing lines Patch % Lines
...src/private/components/profile/ProfileOverview.jsx 8.33% 11 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##           master   #15574      +/-   ##
==========================================
+ Coverage   33.55%   33.66%   +0.10%     
==========================================
  Files        3168     3174       +6     
  Lines      214731   215129     +398     
  Branches    39470    39574     +104     
==========================================
+ Hits        72060    72413     +353     
- Misses     142671   142716      +45     
Flag Coverage Δ
opencti-client-python 45.60% <ø> (ø)
opencti-front 2.94% <8.33%> (-0.01%) ⬇️
opencti-graphql 70.00% <100.00%> (+0.13%) ⬆️

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

☔ View full report in Codecov by Sentry.
📢 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.

@Antoine-Quintin Antoine-Quintin changed the title [frontend/backend] feat(profile): add XTM Hub newsfeeds preferences (#2136) [frontend/backend] feat(profile): add XTM Hub newsfeeds preferences (#2136) Apr 20, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

filigran team use to identify PR from the Filigran team

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant