Skip to content

Conversation

Copy link
Contributor

Copilot AI commented Nov 4, 2025

Updates the footer component to hide the version display when running in Cloud mode, while keeping it visible in self-hosted mode. This is to reduce confusion since Cloud is ahead of self-hosted.

Changes Made

  • Modified src/lib/layout/footer.svelte to conditionally hide version display based on isCloud flag
  • Added !isCloud condition to version display logic for both desktop and mobile viewports
  • Restructured mobile viewport layout to show Cloud badge independently of version display

Behavior

  • Self-hosted mode (PUBLIC_CONSOLE_MODE=self-hosted): Version link is displayed in the footer
  • Cloud mode (PUBLIC_CONSOLE_MODE=cloud): Version link is hidden; Cloud badge and "Generally Available" indicator remain visible

Screenshots

Self-hosted mode:
Self-hosted mode footer

Cloud mode:
Cloud mode footer

Testing

  • ✅ Svelte-check validation passed
  • ✅ ESLint and Prettier checks passed
  • ✅ All unit tests passed (227 tests)
  • ✅ Production build completed successfully

The changes are minimal and surgical, affecting only the conditional display logic for the version information.

Original prompt

Update the footer so that the "Version X.Y.Z" does not show on Cloud


✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.

@appwrite
Copy link

appwrite bot commented Nov 4, 2025

Console

Project ID: 688b7bf400350cbd60e9

Sites (1)
Site Status Logs Preview QR
 console-stage
688b7cf6003b1842c9dc
Ready Ready View Logs Preview URL QR Code

Tip

You can use Avatars API to generate QR code for any text or URLs.

@coderabbitai
Copy link
Contributor

coderabbitai bot commented Nov 4, 2025

Important

Review skipped

Bot user detected.

To trigger a single review, invoke the @coderabbitai review command.

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.


Note

Free review on us!

CodeRabbit is offering free reviews until Thu Nov 06 2025 to showcase some of the refinements we've made.

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

@stnguyen90
Copy link
Contributor

@copilot Try again

Co-authored-by: stnguyen90 <1477010+stnguyen90@users.noreply.github.com>
Copy link
Contributor Author

Copilot AI commented Nov 4, 2025

@copilot Try again

Updated the footer to hide version display on Cloud mode (commit 70a6148).

Changes made:

  • Added !isCloud condition to version display logic for both desktop and mobile viewports
  • Version link now only shows in self-hosted mode
  • Cloud badge and "Generally Available" indicator remain visible in Cloud mode

Before (Self-hosted mode):
Self-hosted mode footer

After (Cloud mode):
Cloud mode footer

The version display is now hidden when PUBLIC_CONSOLE_MODE=cloud, while still visible in self-hosted mode.

Warning

Firewall rules blocked me from connecting to one or more addresses (expand for details)

I tried to connect to the following addresses, but was blocked by firewall rules:

  • o1.ingest.sentry.io
    • Triggering command: node (vitest) (dns block)
    • Triggering command: node build.js (dns block)
    • Triggering command: node /home/REDACTED/work/console/console/node_modules/.bin/../vite/bin/vite.js preview (dns block)
  • o1063647.ingest.us.sentry.io
    • Triggering command: node /home/REDACTED/work/console/console/node_modules/.bin/../vite/bin/vite.js preview (dns block)

If you need me to access, download, or install something from one of these locations, you can either:

Copilot AI changed the title [WIP] Update footer to hide version display on Cloud Update footer to hide version display on Cloud Nov 4, 2025
Copilot finished work on behalf of stnguyen90 November 4, 2025 06:20
@stnguyen90 stnguyen90 marked this pull request as ready for review November 5, 2025 05:07
@stnguyen90 stnguyen90 requested a review from ItzNotABug November 5, 2025 05:14
@stnguyen90 stnguyen90 merged commit 4f69195 into main Nov 5, 2025
6 checks passed
@stnguyen90 stnguyen90 deleted the copilot/update-footer-version-display branch November 5, 2025 05:17
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.

3 participants