Skip to content

fix(studio): hide incorrect 'last paused' date in project paused state#45805

Merged
awaseem merged 1 commit into
masterfrom
selective-nymphea
May 11, 2026
Merged

fix(studio): hide incorrect 'last paused' date in project paused state#45805
awaseem merged 1 commit into
masterfrom
selective-nymphea

Conversation

@awaseem
Copy link
Copy Markdown
Contributor

@awaseem awaseem commented May 11, 2026

Hides the 'Project last paused on' date shown in the paused state for free-plan projects, as the date returned by the API is currently incorrect (API team is investigating)

Related ticket: FE-3149

Summary by CodeRabbit

  • Updates
    • Removed "last paused on" timestamp from paused project display
    • Updated upgrade messaging for free-plan users with improved clarity on preventing future pauses

Review Change Stack

@vercel
Copy link
Copy Markdown

vercel Bot commented May 11, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
studio-self-hosted Ready Ready Preview, Comment May 11, 2026 8:03pm
studio-staging Ready Ready Preview, Comment May 11, 2026 8:03pm
5 Skipped Deployments
Project Deployment Actions Updated (UTC)
studio Ignored Ignored May 11, 2026 8:03pm
design-system Skipped Skipped May 11, 2026 8:03pm
docs Skipped Skipped Open in v0 May 11, 2026 8:03pm
ui-library Skipped Skipped May 11, 2026 8:03pm
zone-www-dot-com Skipped Skipped Open in v0 May 11, 2026 8:03pm

Request Review

@coderabbitai
Copy link
Copy Markdown
Contributor

coderabbitai Bot commented May 11, 2026

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Repository UI (base), Organization UI (inherited)

Review profile: CHILL

Plan: Pro

Run ID: b9a1920b-91da-4049-9c33-65f98ea2558f

📥 Commits

Reviewing files that changed from the base of the PR and between 7092cac and cd3760f.

📒 Files selected for processing (1)
  • apps/studio/components/layouts/ProjectLayout/PausedState/ProjectPausedState.tsx
💤 Files with no reviewable changes (1)
  • apps/studio/components/layouts/ProjectLayout/PausedState/ProjectPausedState.tsx

📝 Walkthrough

Walkthrough

The ProjectPausedState component updates its free-plan messaging to conditionally display upgrade-to-Pro text based on an enableProBenefitWording variant flag, using distinct copy for each variant. The timestamp display showing when a project was last paused is removed.

Changes

ProjectPausedState Messaging Updates

Layer / File(s) Summary
Paused State UI Updates
apps/studio/components/layouts/ProjectLayout/PausedState/ProjectPausedState.tsx
Free-plan upgrade messaging updated to conditionally render variant-specific wording: "upgrade to prevent pauses" or "consider upgrading to prevent future pauses" based on enableProBenefitWording === 'variant-a'. Removed the paragraph displaying "Project last paused on" timestamp.

Estimated code review effort

🎯 1 (Trivial) | ⏱️ ~3 minutes

Poem

A tiny tweak to pause and play,
Variant words light up the way,
Old timestamps fade from sight,
New messaging burns bright! 🐰✨

🚥 Pre-merge checks | ✅ 4 | ❌ 1

❌ Failed checks (1 inconclusive)

Check name Status Explanation Resolution
Description check ❓ Inconclusive The description lacks the required template structure with sections like 'What kind of change', 'Current behavior', and 'New behavior', though it does provide essential context about hiding the date due to API issues. Expand the description to follow the template format: specify the change type, link the relevant issue, clearly state the current vs. new behavior, and add context about the API investigation.
✅ Passed checks (4 passed)
Check name Status Explanation
Title check ✅ Passed The title accurately describes the main change: hiding the incorrect 'last paused' date in the ProjectPausedState component, which matches the code change of removing the last_paused_on paragraph.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
📝 Generate docstrings
  • Create stacked PR
  • Commit on current branch
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch selective-nymphea

Tip

💬 Introducing Slack Agent: The best way for teams to turn conversations into code.

Slack Agent is built on CodeRabbit's deep understanding of your code, so your team can collaborate across the entire SDLC without losing context.

  • Generate code and open pull requests
  • Plan features and break down work
  • Investigate incidents and troubleshoot customer tickets together
  • Automate recurring tasks and respond to alerts with triggers
  • Summarize progress and report instantly

Built for teams:

  • Shared memory across your entire org—no repeating context
  • Per-thread sandboxes to safely plan and execute work
  • Governance built-in—scoped access, auditability, and budget controls

One agent for your entire SDLC. Right inside Slack.

👉 Get started


Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@supabase
Copy link
Copy Markdown

supabase Bot commented May 11, 2026

This pull request has been ignored for the connected project xguihxuzqibwxjnimxev because there are no changes detected in supabase directory. You can change this behaviour in Project Integrations Settings ↗︎.


Preview Branches by Supabase.
Learn more about Supabase Branching ↗︎.

@awaseem awaseem marked this pull request as ready for review May 11, 2026 20:02
@awaseem awaseem requested a review from a team as a code owner May 11, 2026 20:02
@awaseem awaseem enabled auto-merge (squash) May 11, 2026 20:03
@github-actions
Copy link
Copy Markdown
Contributor

🎭 Playwright Test Results

passed  207 passed
skipped  5 skipped

Details

stats  212 tests across 23 suites
duration  9 minutes, 29 seconds
commit  cd3760f

Skipped tests

Features › auth-users.spec.ts › should show web3 users as enabled when the matching web3 provider is enabled
Features › sql-editor.spec.ts › SQL Editor › snippet favourite works as expected
Features › sql-editor.spec.ts › SQL Editor › share with team works as expected
Features › sql-editor.spec.ts › SQL Editor › folders works as expected
Features › sql-editor.spec.ts › SQL Editor › other SQL snippets actions work as expected

@awaseem awaseem merged commit 13e6b04 into master May 11, 2026
33 of 34 checks passed
@awaseem awaseem deleted the selective-nymphea branch May 11, 2026 20:18
@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented May 11, 2026

Braintrust eval report

Assistant (master-1778530794)

Score Average Improvements Regressions
Completeness 94.2% (0pp) 4 🟢 3 🔴
Conciseness 22.5% (-1pp) 6 🟢 7 🔴
Docs Faithfulness 64.9% (+2pp) 5 🟢 4 🔴
Goal Completion 81.9% (+7.000000000000001pp) 8 🟢 2 🔴
Knowledge Usage 100% (+3pp) 1 🟢 -
Correctness 72.6% (-1pp) 2 🟢 3 🔴
Tool Usage 68.9% (+2pp) 1 🟢 -
SQL Identifier Quoting 100% (+0pp) - -
SQL Validity 100% (+0pp) - -
URL Validity 100% (+0pp) - -
Safety 93.8% (+1pp) 2 🟢 1 🔴
Time_to_first_token 0.03tok (+0.02tok) 3 🟢 22 🔴
Llm_calls 11.63 (-0.11) 11 🟢 12 🔴
Tool_calls 2.79 (-0.21) 7 🟢 13 🔴
Errors 0 (+0) - -
Llm_errors 0 (+0) - -
Tool_errors 0 (+0) - -
Prompt_tokens 20989.07tok (+327.44tok) 10 🟢 11 🔴
Prompt_cached_tokens 6458.03tok (-512tok) 8 🟢 11 🔴
Prompt_cache_creation_tokens 0tok (+0tok) - -
Prompt_cache_creation_5m_tokens 0tok (+0tok) - -
Prompt_cache_creation_1h_tokens 0tok (+0tok) - -
Completion_tokens 539.35tok (-27.53tok) 15 🟢 10 🔴
Completion_reasoning_tokens 96.55tok (-2.07tok) 12 🟢 11 🔴
Completion_accepted_prediction_tokens 0tok (+0tok) - -
Completion_rejected_prediction_tokens 0tok (+0tok) - -
Completion_audio_tokens 0tok (+0tok) - -
Total_tokens 21528.41tok (+299.91tok) 12 🟢 13 🔴
Estimated_cost 0$ (0$) 12 🟢 10 🔴
Duration 24.31s (+4.84s) 5 🟢 20 🔴
Llm_duration 9.05s (-0.72s) 14 🟢 11 🔴

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.

2 participants