Skip to content

feat(dashboard): Announce v16.50 to teams with v16 sites - #7708

Open
balamurali27 wants to merge 7 commits into
developfrom
feat/v16-50-banner
Open

balamurali27 wants to merge 7 commits into
developfrom
feat/v16-50-banner

Conversation

@balamurali27

@balamurali27 balamurali27 commented Oct 8, 2026 •

Copy link
Copy Markdown
Contributor

v16.50 is a large update to v16 (blog). This PR shows a dismissible banner to teams with an active site on a Version 16 bench group. The banner links to the blog and stops showing after 2026-10-15.

The banner is in code because a Team-scoped Dashboard Banner record needs one child row for each v16 team. get_user_banners adds it to the list it returns. It is marked is_global, so the dashboard keeps the dismissal in local storage and does not call dismiss_banner. Delete get_v16_50_release_banner after the end date.

I tested it with a unit test, and with a Playwright run against the real backend: the banner shows on the sites list, "Open help" opens the blog, and after a dismissal the banner stays hidden when the page reloads. v16-release-banner.test.ts covers the same steps in CI. It mocks get_user_banners, so it does not depend on the date or on v16 sites.

🤖 Generated with Claude Code

https://claude.ai/code/session_019oemKXCT6HRQ7cqxinsRUJ

v16.50 is a large update to v16. Teams with an active v16 site see a
banner that links to the release blog until 2026-10-15.

The banner is in code, not a Dashboard Banner record. Team scope needs
one child row for each team, and that is too many rows. is_global
makes the dashboard keep the dismissal in local storage, not in the DB.

https://frappe.io/blog/product-updates/announcing-framework-erpnext-and-hrms-v1650

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_019oemKXCT6HRQ7cqxinsRUJ
@balamurali27 balamurali27 added the backport-master For mergify backport to master label Oct 8, 2026
@mergify

mergify Bot commented Oct 8, 2026 •

Copy link
Copy Markdown
Contributor

This pull request does not currently match the merge queue conditions, so it cannot be queued from here. The box comes back if it matches again.

@greptile-apps

greptile-apps Bot commented Oct 8, 2026 •

Copy link
Copy Markdown
Contributor

RetriggerConfidence Score: 5/5

[Medium impact] No new blocking issue was found.

Reviews (6) · Last reviewed commit: "test(dashboard): Wait for banners to loa..." · Reviewed by Greptile

Comment thread press/api/tests/test_account.py Outdated
balamurali27 and others added 3 commits October 8, 2026 11:53
After 2026-10-15 the "no v16 site" assertion passed because the banner
had expired, not because of the team check. All assertions now run on
a fixed date.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_019oemKXCT6HRQ7cqxinsRUJ
Ubuntu removed redis-server 7.0.15-1ubuntu0.24.04.4 on 2026-10-08 after
the .5 security update. The runner image's stale index still asks for .4,
so the download 404s and cache-apt-pkgs saves an empty cache. Setup Bench
then fails with "redis-server: not found".

https://launchpad.net/ubuntu/+source/redis/+publishinghistory

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012dbdqJmSvyS3XntzHbxTaS
UI changes merged without a Playwright test, so a later change could
break them with no failing check.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_019oemKXCT6HRQ7cqxinsRUJ
@codecov-commenter

codecov-commenter commented Oct 8, 2026 •

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 93.75000% with 2 lines in your changes missing coverage. Please review.
✅ Project coverage is 63.91%. Comparing base (5f88329) to head (d639ade).
⚠️ Report is 15 commits behind head on develop.

Files with missing lines Patch % Lines
press/api/account.py 85.71% 2 Missing ⚠️
Additional details and impacted files
@@             Coverage Diff              @@
##           develop    #7708       +/-   ##
============================================
- Coverage    86.62%   63.91%   -22.71%     
============================================
  Files          158     1110      +952     
  Lines        29818   108270    +78452     
  Branches      1983     2014       +31     
============================================
+ Hits         25829    69205    +43376     
- Misses        3932    39006    +35074     
- Partials        57       59        +2     
Flag Coverage Δ
dashboard 86.66% <ø> (+0.03%) ⬆️

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.

The dashboard calls get_user_banners each time a list or overview page
opens, and each call ran the Site and Release Group join. The result is
now cached per team for an hour.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_019oemKXCT6HRQ7cqxinsRUJ
Comment thread press/api/account.py
AGENTS.md now asks for a UI test with each UI change. The test mocks
get_user_banners, so it does not depend on the date or on v16 sites,
and it still passes after the banner end date.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_019oemKXCT6HRQ7cqxinsRUJ
@balamurali27
balamurali27 requested a review from siduck as a code owner October 9, 2026 07:46
Comment thread dashboard/tests-e2e/tests/dashboard/v16-release-banner.test.ts
After the reload, the New Site button could appear before
get_user_banners returned. The hidden-banner check then passed even if
the dismissal was not kept.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_019oemKXCT6HRQ7cqxinsRUJ

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport-master For mergify backport to master

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants