Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[ Quantumcast ] - New Command "Open Cloudflow API Docs" #6089

Merged
merged 6 commits into from
Apr 25, 2023
Merged
Show file tree
Hide file tree
Changes from 5 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
25 changes: 10 additions & 15 deletions extensions/quantumcast/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,23 +1,18 @@
# Quantumcast Changelog

## [0.0.2] - 2023-04-18

✨ New

- Adding new command `Open Cloudflow Workspace`
## [0.0.3] - 2023-04-21

💎 Improvements
- ✨ New - Adding new command `Open Cloudflow API Documentation`
- 💎 Improvements - Update package `quantumlib` to v0.0.9

- Update package `quantumlib` to v0.0.8
- Update package `@raycast/api` to v1.49.3
- Redesign the README

🐞 Fixes
## [0.0.2] - 2023-04-18

- Fixed some typos in list titles
- ✨ New - Adding new command `Open Cloudflow Workspace`
- 💎 Improvements - Update package `quantumlib` to v0.0.8
- 💎 Improvements - Update package `@raycast/api` to v1.49.3
- 💎 Improvements - Redesign the README
- 🐞 Fixes - Fixed some typos in list titles

## [0.0.1] - 2023-02-25

✨ New

- Initial release 🥳
- ✨ New - Initial release 🥳
Binary file modified extensions/quantumcast/metadata/quantumcast-01.png
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.
127 changes: 65 additions & 62 deletions extensions/quantumcast/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

12 changes: 10 additions & 2 deletions extensions/quantumcast/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@
"author": "jcgerhard",
"categories": [
"Developer Tools",
"Productivity"
"Productivity",
"Applications"
],
"license": "MIT",
"commands": [
Expand All @@ -24,6 +25,13 @@
"subtitle": "Quantumcast",
"description": "Open a Cloudflow workspace in the browser",
"mode": "view"
},
{
"name": "open-cloudflow-api-docs",
"title": "Open Cloudflow API Documentation",
"subtitle": "Quantumcast",
"description": "Open a Cloudflow API documentation in the browser",
"mode": "view"
}
],
"preferences": [
Expand All @@ -38,7 +46,7 @@
],
"dependencies": {
"@raycast/api": "^1.48.8",
"quantumlib": "^0.0.8"
"quantumlib": "^0.0.9"
},
"devDependencies": {
"@raycast/eslint-config": "^1.0.5",
Expand Down
25 changes: 25 additions & 0 deletions extensions/quantumcast/src/open-cloudflow-api-docs.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
import { List, Action, ActionPanel, getPreferenceValues } from '@raycast/api';
import { cloudflow } from 'quantumlib';

export default function Command() {
const { cloudflowBaseUrl } = getPreferenceValues();

return (
<List searchBarPlaceholder="Select a documentation to open in your default browser">
{cloudflow.getApiDocumentations(cloudflowBaseUrl).map((doc) => (
<List.Item
id={doc.name}
key={doc.name}
title={doc.name}
icon="quantumcast.png"
accessories={[{ text: doc.location }]}
actions={
<ActionPanel title="Quantumcast - API Documentation">
<Action.OpenInBrowser url={`${doc.url}`} />
</ActionPanel>
}
/>
))}
</List>
);
}
2 changes: 1 addition & 1 deletion extensions/quantumcast/src/open-cloudflow-workspace.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@ export default function Command() {
id={workspace.name}
key={workspace.name}
title={workspace.name}
subtitle={workspace.license}
icon="../assets/quantumcast.png"
accessories={[{ text: workspace.license }]}
actions={
<ActionPanel title="Quantumcast - Workspaces">
<Action.OpenInBrowser url={`${workspace.url}`} />
Expand Down