Skip to content

Commit

Permalink
Add launchdarkly extension (raycast#16155)
Browse files Browse the repository at this point in the history
* LaunchDarkly extension  initial version

* fix ci failures and also remove extra text in the enviroments list

* Update launchdarkly extension

- fix ci failures and also remove extra text in the enviroments list
- fix ci failures and also remove extra text in the enviroments list

* fixing ordering, cache was overriding itself

* Update CHANGELOG.md

* Update package.json

* Update CHANGELOG.md and optimise images

---------

Co-authored-by: Per Nielsen Tikær <[email protected]>
Co-authored-by: raycastbot <[email protected]>
  • Loading branch information
3 people authored Jan 10, 2025
1 parent 80f9381 commit 0351328
Show file tree
Hide file tree
Showing 30 changed files with 6,282 additions and 0 deletions.
4 changes: 4 additions & 0 deletions extensions/launchdarkly/.eslintrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"root": true,
"extends": ["@raycast"]
}
13 changes: 13 additions & 0 deletions extensions/launchdarkly/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
# See https://help.github.com/articles/ignoring-files/ for more about ignoring files.

# dependencies
/node_modules

# Raycast specific files
raycast-env.d.ts
.raycast-swift-build
.swiftpm
compiled_raycast_swift

# misc
.DS_Store
4 changes: 4 additions & 0 deletions extensions/launchdarkly/.prettierrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"printWidth": 120,
"singleQuote": false
}
10 changes: 10 additions & 0 deletions extensions/launchdarkly/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
# Launchdarkly Changelog

## [Initial Version] - 2025-01-10

- 🔍 Search through all your feature flags
- 🏷️ View flag details including variations, targeting rules, and prerequisites
- 🌍 Manage multiple environments
- 👥 See maintainer and team information
- 🔄 Quick toggle between flag names and keys
- 🏃 Fast navigation with keyboard shortcuts
59 changes: 59 additions & 0 deletions extensions/launchdarkly/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,59 @@
# LaunchDarkly Extension for Raycast

> **Note**: This is an unofficial extension and is not affiliated with LaunchDarkly.
Quickly access and manage your LaunchDarkly feature flags directly from Raycast. View flag details, environments, and targeting rules without leaving your keyboard.

## Features

- 🔍 Search through all your feature flags
- 🏷️ View flag details including variations, targeting rules, and prerequisites
- 🌍 Manage multiple environments
- 👥 See maintainer and team information
- 🔄 Quick toggle between flag names and keys
- 🏃 Fast navigation with keyboard shortcuts

## Setup

1. Get your LaunchDarkly API Access Token:
- Log in to LaunchDarkly
- Go to Account Settings
- Navigate to Authorization
- Create a new API token with `reader` role

2. Configure the Extension:
- Open Raycast
- Find "LaunchDarkly" extension
- In the list of actions, select "Configure extension" (no need to open the extension)
- Add your API token
- (Optional) Set your default project key

## Usage

### List Feature Flags View
- Use `⌘ + Space` to open Raycast
- Type "ld" or "feature flags" to find the extension
- Search through your flags using the search bar
- Filter flags by state using the dropdown (Live/Deprecated/Archived)

Quick Actions in List View:
- `` View flag details
- `⌘ + ↵` Open flag in LaunchDarkly web UI
- `⌘ + S` Toggle between showing flag names or keys
- `⌘ + F` Focus search

### Flag Details View
View complete flag information including:
- Current state and variations
- Environment-specific settings
- Targeting rules
- Prerequisites
- Maintainer information

Quick Actions in Details View:
- `⌘ + ⇧ + ↑/↓` Reorder environments
- `⌘ + ↵` Open current environment in LaunchDarkly web UI
- `esc` Return to list view



Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading

0 comments on commit 0351328

Please sign in to comment.