forked from meltylabs/melty
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* [via melty] ci: Add stable-macos workflow for building and releasing * [via melty] feat: Enhance Tasks component with ASCII art and workspace creation option * [via melty] feat: Add Ascii component for animated text display * [by melty] feat: Add createAndOpenWorkspace functionality * [via melty] feat: Add 'createAndOpenWorkspace' to RpcMethod type * [by melty] feat: Implement user-selected workspace creation * [via melty] feat: Simplify workspace creation process * [by melty] feat: Prevent workspace save prompt when opening new folder * [by melty] feat: Add OnboardingSection component and integrate into Tasks * [via melty] refactor: Remove Onboarding component and update Tasks view * [via melty] chore: Comment out OnboardingSection component in Tasks.tsx * [by melty] refactor: Simplify OnboardingSection component structure * feat: Uncomment OnboardingSection component in Tasks.tsx * fix: Improve time formatting in Tasks component * [via melty] feat: Enhance OnboardingSection with interactive buttons * [by melty] feat: Add onClick handlers to OnboardingSection buttons * refactor: Improve OnboardingSection layout and styling * [by melty] feat: Add navigation bar and help page * help * remove spaces * [via melty] style: Remove unnecessary blank line in Tasks component * [by melty] feat: Add onboarding flow to Melty extension * [via melty] feat: Update onboarding process and add new RPC methods * [by melty] feat: Enhance keyboard interaction feedback in Onboarding component * [via melty] feat: Enhance onboarding flow and user experience * [by melty] feat: Implement onboarding status methods in HelloWorldPanel * [by melty] refactor: Move onboarding status methods to MeltyExtension class * add type * [via melty] feat: Update onboarding flow and add logging * [by melty] feat: Implement automatic redirection after onboarding completion * [via melty] refactor: Update onboarding flow and UI elements * [by melty] fix: Improve onboarding flow and add loading state * choose * remove workflow
- Loading branch information
Showing
11 changed files
with
334 additions
and
114 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
41 changes: 41 additions & 0 deletions
41
extensions/spectacular/webview-ui/src/components/Ascii.tsx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
import React, { useState, useEffect } from 'react'; | ||
|
||
const Ascii = () => { | ||
const [text, setText] = useState(''); | ||
const fullText = ` _ _ | ||
_ __ ___ ___| | |_ _ _ | ||
| '_ \` _ \\ / _ \\ | __| | | | | ||
| | | | | | __/ | |_| |_| | | ||
|_| |_| |_|\\___|_|\\__|\\__, | | ||
|___/`; | ||
|
||
useEffect(() => { | ||
let index = 0; | ||
const timer = setInterval(() => { | ||
setText((prev) => prev + fullText[index]); | ||
index++; | ||
if (index === fullText.length) { | ||
clearInterval(timer); | ||
} | ||
}, 5); // Adjust this value to control the speed | ||
|
||
return () => clearInterval(timer); | ||
}, []); | ||
|
||
return ( | ||
<pre | ||
style={{ | ||
fontFamily: 'monospace', | ||
whiteSpace: 'pre', | ||
display: 'block', | ||
padding: '1em', | ||
borderRadius: '4px', | ||
lineHeight: '1', | ||
}} | ||
> | ||
{text} | ||
</pre> | ||
); | ||
}; | ||
|
||
export default Ascii; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
import React from 'react'; | ||
|
||
export const Help: React.FC = () => { | ||
return ( | ||
<div className="prose mx-auto"> | ||
<h3>Need some help? Noticed a bug? Have a cool idea?</h3> | ||
|
||
<p>Just text me! I'd love to help. You're one of our early users, so your feedback is really helpful for us.</p> | ||
|
||
<p>You can reach Charlie (CEO) at +1 646-761-1319.</p> | ||
<p>Or, email us at [email protected]</p> | ||
</div > | ||
); | ||
}; |
28 changes: 28 additions & 0 deletions
28
extensions/spectacular/webview-ui/src/components/NavBar.tsx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
import React from 'react'; | ||
import { Link, useLocation } from 'react-router-dom'; | ||
import { HelpCircle } from 'lucide-react'; | ||
|
||
export const NavBar: React.FC = () => { | ||
const location = useLocation(); | ||
|
||
return ( | ||
<nav className="mb-6 mt-4 mx-3 relative"> | ||
<ul className="flex justify-between"> | ||
<li></li> | ||
<li> | ||
<Link to="/"> | ||
<h1 className="text-3xl font-extrabold tracking-tighter text-center"> | ||
melty | ||
</h1> | ||
</Link> | ||
</li> | ||
<li> | ||
</li> | ||
</ul> | ||
|
||
<Link to="/help" className="absolute right-4 top-2"> | ||
<HelpCircle /> | ||
</Link> | ||
</nav> | ||
); | ||
}; |
Oops, something went wrong.