Skip to content

feat: Adjust UX of extension installs in V2 settings#1836

Merged
alexhancock merged 2 commits intomainfrom
alexhancock/extension-install-ux
Mar 24, 2025
Merged

feat: Adjust UX of extension installs in V2 settings#1836
alexhancock merged 2 commits intomainfrom
alexhancock/extension-install-ux

Conversation

@alexhancock
Copy link
Collaborator

Adjustments to extension install UX in settings v2

  • Modal disappears immediately after confirming install
  • Renders a loading state modal
  • Renders success confirmation using new modal
  • Renders failure state using new modal + a copy error button, similar to V1 UX
Screenshot 2025-03-24 at 15 51 12 Screenshot 2025-03-24 at 15 53 53

Copy link
Contributor

@lily-de lily-de left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

gorge

Copy link
Contributor

@matthewdiamant matthewdiamant left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍 Great!

closeToast?: () => void;
}

export const ErrorMsg: React.FC<ErrorMsgProps> = ({ extensionName, errorMessage, closeToast }) => (
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this file still needed? I don't see ErrorMsg used, and instead ToastError is used below.

title: name,
msg: errorMessage,
errorMessage: data.message,
toastOptions: { autoClose: false },
Copy link
Contributor

@matthewdiamant matthewdiamant Mar 24, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

FYI, ToastError will automatically be autoClose: false if there is an errorMessage passed in.
This is to allow for people to be able to have time to copy the error! Otherwise, the timeout is 5 seconds.

@alexhancock
Copy link
Collaborator Author

@matthewdiamant Thanks!

Feedback addressed. I had just forgotten to remove that file and didn't know about the automatic autoClose. Nice!

@alexhancock alexhancock merged commit dcec85f into main Mar 24, 2025
6 checks passed
@alexhancock alexhancock deleted the alexhancock/extension-install-ux branch March 24, 2025 20:32
tcollier added a commit to tcollier/goose that referenced this pull request Mar 24, 2025
* origin/main:
  feat: Adjust UX of extension installs in V2 settings (block#1836)
  fix: goose modes styling (block#1833)
  New toasts (block#1777)
  feat: bring back install-link-generator which was lost in the extensions-site revamp (block#1832)
  feat: settings v2 extension add refactor (block#1815)
  fix: Update link color in chat view for user messages (block#1717) (block#1754)
  fix windows native uvx (block#1775)
  fix: correct deep link install link format (block#1830)
  fix(cli): multiselect visibility for light themes (block#1716)
  docs: Update styling (block#1831)
  Refactor top bar (block#1829)
  Docs: Revamp extensions site (block#1260)
  fix: extension site not rendering servers (block#1824)
  feat: add pdf reader (block#1818)
  fix: fix allowing multiple selectors in goosebench (block#1814)
  Fix chat width issues (block#1813)
cbruyndoncx pushed a commit to cbruyndoncx/goose that referenced this pull request Jul 20, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants