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

Fix/vscode ux changes #342

Merged
merged 42 commits into from
Sep 29, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
42 commits
Select commit Hold shift + click to select a range
ad64327
(rel) 0.4.9
samyakkkk Jun 29, 2024
3cfdd51
Merge branch 'rel-0.4.9' into rel-0.5.0
samyakkkk Aug 19, 2024
308f830
(feat): rel 0.5.0
samyakkkk Aug 19, 2024
2a6cf59
Merge pull request #335 from CommandDash/web-app-ui-fixes
samyakkkk Aug 26, 2024
9120d90
fix(Toast): Made toast theme color more visible (#336)
wadhia-yash Aug 26, 2024
f6ac809
Merge branch 'rel-0.5.0' into develop
wadhia-yash Sep 9, 2024
036f96d
(rel)v0.5.1
wadhia-yash Sep 9, 2024
0b6560a
WIP: Private agent dialog
wadhia-yash Sep 11, 2024
2bb6a14
fix(Featured agents): Featured agents when thrown error is handled an…
wadhia-yash Sep 16, 2024
d5def36
Merge branch 'fix/feature-agents' into web-app
wadhia-yash Sep 16, 2024
1229f85
feat(create agent): create agent dialog where you can create private …
wadhia-yash Sep 16, 2024
d135c9f
fix(Create Agent, REST): Removed unnecessary fields from create agent…
wadhia-yash Sep 17, 2024
3facfbc
fix(github button): Show sign in with github when not logged in
wadhia-yash Sep 17, 2024
9121005
feat(Refresh token): Added refresh token api when the api gives 401 e…
wadhia-yash Sep 17, 2024
e28af53
feat(Custom agent): Added custom agent in the create agent dialog. Ag…
wadhia-yash Sep 18, 2024
102ef13
feat(Repo access): When creating agents if the repo is not accessible…
wadhia-yash Sep 18, 2024
c1b1ad8
feat(Create agent): Authenticate while creating quick agent, and allo…
wadhia-yash Sep 19, 2024
1f9ebea
fix(Github login): using reactive declaration to get the access token…
wadhia-yash Sep 19, 2024
f4d6a43
fix(Authentication): if the window origin has access token and refres…
wadhia-yash Sep 19, 2024
f9138b5
feat(Auth agent): Integrated auth agent api which will help to intera…
wadhia-yash Sep 19, 2024
3880b44
feat(Auth agent): Integrated auth agent api in /agent path
wadhia-yash Sep 19, 2024
5cf5e13
fix: Agent api giving 422 error since access token is null
wadhia-yash Sep 19, 2024
e65ff74
fix(Verify Github Access API): Verifying github access API integratio…
wadhia-yash Sep 20, 2024
43f053c
fix: API's auth token is now used based on the availablity of accessT…
wadhia-yash Sep 20, 2024
dad2b00
fix(Private Agent Dialog): resolved errors of unable to add data sour…
wadhia-yash Sep 20, 2024
c386768
(feat): passcode handling wip
samyakkkk Sep 21, 2024
57c824a
(feat): navigate custom agent to received ID
samyakkkk Sep 21, 2024
885383d
(feat): headers
samyakkkk Sep 21, 2024
5f766ab
(feat): production ready
samyakkkk Sep 22, 2024
a8a46bd
Merge private-agent-modal with web-app
wadhia-yash Sep 22, 2024
ccef137
feat(All agents): Removed double API for agents and fetching all agen…
wadhia-yash Sep 22, 2024
6422ca0
fix(Refresh token, Agent list section): When access token expires ref…
wadhia-yash Sep 22, 2024
e8573ba
fix(V2 agent API): Implementation of updated v2 API of agent list
wadhia-yash Sep 26, 2024
8b381b5
feat(Accordion): Added accordion on marketplace where you can minimiz…
wadhia-yash Sep 26, 2024
abc5c9b
fix(API Logic, Access token expiration): Moved api logic to one utils…
wadhia-yash Sep 26, 2024
70a0c18
fix: Fixed search issue of the marketplace. No we can query and get t…
wadhia-yash Sep 27, 2024
8fc7250
feat(Agents): Added chips at the bottom to remove and switch between …
wadhia-yash Sep 28, 2024
593f30b
fix(Agent chips): Made the chips as solid color
wadhia-yash Sep 28, 2024
4df0f00
feat(Agent list V2): Added v2 api for fetching the agent list
wadhia-yash Sep 28, 2024
3dfdf69
Prompt improvements
samyakkkk Sep 28, 2024
9226940
fix(Agents, UI): Removed local test agents, changed chips bg color an…
wadhia-yash Sep 29, 2024
a65a7a6
(feat): rel-0.5.2
samyakkkk Sep 29, 2024
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
14 changes: 14 additions & 0 deletions vscode/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,20 @@ All notable changes to the "commanddash" extension will be documented in this fi

Check [Keep a Changelog](http://keepachangelog.com/) for recommendations on how to structure this file.


## [0.5.2]
- Fixed UX issues when using agents

## [0.5.1]
- Replacing CLI with REST APIs to interact with model
- Crashing fixes

## [0.5.0]
- User Experience Improvements

## [0.4.9]
- Set minimum VSCode engine to 1.77.0

## [0.4.8]
- Don't ask for Gemini API Key
- Removed google generative ai package dependencies
Expand Down
12 changes: 6 additions & 6 deletions vscode/README.md
Original file line number Diff line number Diff line change
@@ -1,20 +1,20 @@
<div align="center">
<h3>Integrate APIs, SDKs or Packages with AI Agents</h3>
<h3>Integrate Packages and SDKs with AI Agents</h3>

[![VScode Downloads](https://img.shields.io/visual-studio-marketplace/d/WelltestedAI.fluttergpt)](https://marketplace.visualstudio.com/items?itemName=WelltestedAI.fluttergpt&ssr=false#overview) [![VScode version](https://img.shields.io/visual-studio-marketplace/v/WelltestedAI.fluttergpt)](https://marketplace.visualstudio.com/items?itemName=WelltestedAI.fluttergpt&ssr=false#overview) [![License: APACHE](https://img.shields.io/badge/License-APACHE%202.0-yellow)](/LICENSE)
</div>
<img src="/assets/docs/poster.jpg"></a>

-----------------
CommandDash is a marketplace of AI agents that are expert at integrating APIs and SDKs.
CommandDash is a marketplace of AI agents that are expert at integrating Packages and SDKs.

Dash Agents are trained on the latest documentation, examples and issues enabling you to integrate any library without reading its docs by generating integration code contextualized to your codebase.

##### ✨ Skip the documentation
##### 🤝 Supports all languages
##### 👨🏼‍💻 Free for every developer

Currently in Beta, CommandDash is being built in [open-sourced](https://github.com/CommandDash/commanddash) with the community.
CommandDash is being built in [open-sourced](https://github.com/CommandDash/commanddash) with the community.

-----------------

Expand Down Expand Up @@ -54,19 +54,19 @@ Note: Commands are optionally offered by agents depending on the usecase.

## Contributing

CommanDash is hub of AI agents on docs of any APIs, SDKs and more.
CommanDash is hub of AI agents on docs of any Packages, SDKs and Github Libraries.

You can suggest agents to add to the marketplace, or contribute to the VSCODE or IntelliJ extension or also to the shared [engine](https://github.com/CommandDash/packages).

- **File feature requests**: Suggest features that'll make your development process easier in the [issues board](https://github.com/CommandDash/commanddash//issues).

- **Pick up open issues**: Pick up and fix existing issues open to the community in [issues board](https://github.com/CommandDash/commanddash/issues).

- **Request agents in the marketplace**: You can submit requests to add agents for your most used APIs or SDKs. [Fill Form](https://airtable.com/app22SBaii3xYD5aR/shrLv4mDsEtnFjmtj).
- **Create agents in the marketplace**: You can create agents for any Packages or SDKs in one-click. [Create Here](https://app.commanddash.io/?create=true).

## Community

Do you love devtools but hate documentation? Join our community and help developers build without leaving their IDE: [Join Now](https://join.slack.com/t/welltested-ai/shared_invite/zt-25u09fty8-gaggH9HbmopB~4tialTrlA) 👋🏼
Do you love devtools but hate documentation? Join our community and help developers build without leaving their IDE: [Join Now](https://discord.gg/szUCAnrsHQ) 👋🏼

## License

Expand Down
12 changes: 3 additions & 9 deletions vscode/media/command-deck/command-deck.js
Original file line number Diff line number Diff line change
Expand Up @@ -99,8 +99,6 @@ class CommandDeck {
let options = [];
if (query.startsWith('@')) {
options = await this.resolveFn(query, 'at');
} else if (query.startsWith('/')) {
options = await this.resolveFn(query, 'slash');
}

if (options.length !== 0) {
Expand All @@ -127,17 +125,13 @@ class CommandDeck {
if (!option?.name.startsWith('/')) {
this.ref.textContent = '';
}
if (option?.name.startsWith('/')) {
const textContent = this.ref.innerHTML;
const atIndex = textContent.lastIndexOf('/');
this.ref.innerHTML = textContent.substring(0, atIndex) + textContent.substring(atIndex + 1);
}
if (option?.name.startsWith('@')) {
console.log('agents options', option?.metadata);
activeAgentAttach.style = "color: #497BEF; !important";

agentName = option?.metadata.display_name;
headerLogo.src = option.metadata.avatar_id;
headerLogo.classList.add("hidden");
headerAgentLogo.classList.remove("hidden");
headerAgentLogo.src = option.metadata.avatar_id;
headerText.classList.add("hidden");
headerAgentName.classList.remove("hidden");
headerAgentName.textContent = option?.metadata.display_name;
Expand Down
23 changes: 14 additions & 9 deletions vscode/media/market-place/market-place.js
Original file line number Diff line number Diff line change
Expand Up @@ -99,11 +99,14 @@ const formatGithubUrl = (url) => {
};

function formatText(url, maxLength) {
const { author, repo } = formatGithubUrl(url);
const formattedText = `${author}/${repo}`;
return formattedText.length > maxLength
? formattedText.slice(0, maxLength) + "..."
: formattedText;
if (!!url) {
const { author, repo } = formatGithubUrl(url);
const formattedText = `${author}/${repo}`;
return formattedText.length > maxLength
? formattedText.slice(0, maxLength) + "..."
: formattedText;
}
return "";
}

function renderAgentsList(_agents) {
Expand Down Expand Up @@ -185,9 +188,11 @@ function renderAgentsList(_agents) {
divAuthor.innerHTML = githubIcon;
divAuthor.appendChild(spanAuthor);

divRowInner.appendChild(divAuthor);
divRow.appendChild(divRowInner);

if (!!agent?.author?.source_url) {
divRowInner.appendChild(divAuthor);
divRow.appendChild(divRowInner);
}

innerDiv.appendChild(topDiv);
innerDiv.appendChild(pDescription);
innerDiv.appendChild(ul);
Expand Down Expand Up @@ -226,7 +231,7 @@ function loadOnErrorImage(agentImage) {
}

function handleSearchInput(event) {
const searchText = event.target.value;
const searchText = event.target.value.toLowerCase();
const agentList = document.querySelectorAll('.market-place-list-background');

agentList.forEach(agent => {
Expand Down
4 changes: 2 additions & 2 deletions vscode/media/onboarding/onboarding.html
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@
<div class="py-3 sticky top-0 z-[11] flex w-full px-5 flex-col justify-start" id="header">
<div class="flex flex-row justify-start items-center">
<img src="{{headerImageUri}}" class="w-18 h-11" id="header-logo" />
<img src="{{headerImageUri}}" class="w-18 h-11 hidden" id="header-logo-agent" />
<span class="ml-1 text-xl font-semibold hidden" id="header-agent-name"></span>
<svg width="300" height="46" viewBox="0 0 487 46" fill="none" xmlns="http://www.w3.org/2000/svg"
id="header-text">
Expand Down Expand Up @@ -123,8 +124,7 @@
<script src="{{agentUIBuilderUri}}"></script>
<script src="{{questionnaireUri}}"></script>
<script src="{{onboardingJsUri}}"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/showdown/2.1.0/showdown.min.js">
</script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/showdown/2.1.0/showdown.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/prism/1.25.0/prism.min.js"></script>
<script
src="https://cdnjs.cloudflare.com/ajax/libs/prism/1.25.0/plugins/autoloader/prism-autoloader.min.js"></script>
Expand Down
Loading