Skip to content

Update Appwrite extension - Show Sites, Deployments, Variables - #22754

Merged
raycastbot merged 6 commits into
raycast:mainfrom
xmok:ext/appwrite
Nov 8, 2025
Merged

raycastbot merged 6 commits into
raycast:mainfrom
xmok:ext/appwrite

Conversation

@xmok

@xmok xmok commented Nov 8, 2025 •

Copy link
Copy Markdown
Contributor

Description

  • In Collections:
    1. show createdAt, updatedAt
  • In Documents:
    1. show record in metadata
  • In Sites:
    1. view sites, deployments, variables

Screencast

appwrite-251107.mp4

Checklist

@raycastbot raycastbot added extension fix / improvement Label for PRs with extension's fix improvements extension: appwrite Issues related to the appwrite extension platform: macOS OP is author The OP of the PR is the author of the extension labels Nov 8, 2025
@raycastbot

ghost commented Nov 8, 2025

Copy link
Copy Markdown
Collaborator

Thank you for the update! 🎉

You can expect an initial review within five business days.

@xmok
xmok marked this pull request as ready for review November 8, 2025 14:22

ghost 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.

Greptile Overview

Greptile Summary

This PR enhances the Appwrite extension with comprehensive site management features and improved metadata display. The changes add new functionality to show creation/update timestamps for Collections, display document metadata in a detailed view, and provide full Sites management including viewing deployments and environment variables. The extension integrates two new dependencies - dayjs for date formatting and filesize for file size display. The implementation follows established Raycast patterns with proper data fetching using useCachedPromise, optimistic updates for mutations, and appropriate error handling.

Important Files Changed

Filename Score Overview
extensions/appwrite/package.json 5/5 Updated dependencies to support new features including dayjs and filesize packages
extensions/appwrite/CHANGELOG.md 5/5 Added properly formatted changelog entry with {PR_MERGE_DATE} template
extensions/appwrite/src/users.tsx 4/5 Updated type definitions and API calls to align with newer Appwrite SDK version
extensions/appwrite/src/sites/variables.tsx 4/5 New component for managing site environment variables with CRUD operations
extensions/appwrite/src/sites.tsx 4/5 Enhanced from simple listing to comprehensive site management with deployments view
extensions/appwrite/src/databases.tsx 4/5 Added metadata display for Collections and Documents with detailed views

Confidence score: 4/5

  • This PR is generally safe to merge with some minor considerations around error handling and type safety
  • Score reflects solid implementation following Raycast patterns but with potential issues in icon handling, type definitions, and error state management that could cause minor runtime issues
  • Pay close attention to src/sites.tsx for icon handling and src/users.tsx for type compatibility with the updated SDK

6 files reviewed, 3 comments

Edit Code Review Agent Settings | Greptile

Comment thread extensions/appwrite/src/sites.tsx Resolved
Comment thread extensions/appwrite/src/sites.tsx Resolved
Comment thread extensions/appwrite/src/databases.tsx Resolved

ghost 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.

Looks good to me, approved 🔥

@raycastbot
raycastbot merged commit 7af3159 into raycast:main Nov 8, 2025
@github-actions

ghost commented Nov 8, 2025

Copy link
Copy Markdown
Contributor

@raycastbot

ghost commented Nov 8, 2025

Copy link
Copy Markdown
Collaborator

🎉 🎉 🎉

We've rewarded your Raycast account with some credits. You will soon be able to exchange them for some swag.

@xmok
xmok deleted the ext/appwrite branch November 9, 2025 20:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

extension: appwrite Issues related to the appwrite extension extension fix / improvement Label for PRs with extension's fix improvements OP is author The OP of the PR is the author of the extension platform: macOS

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants