Nuno Góis
38bd50dc8a
refactor: introduce a highlight reusable component ( #8643 )
...
Follow-up to: https://github.com/Unleash/unleash/pull/8642
Introduces a reusable `Highlight` component that leverages the Context
API pattern, enabling highlight effects to be triggered from anywhere in
the application.
This update refactors the existing highlight effect in the event
timeline to use the new Highlight component and extends the
functionality to include the Unleash AI experiment, triggered by its
entry in the "New in Unleash" section.
2024-11-05 09:21:19 +00:00
Nuno Góis
2e99452645
chore: add Unleash AI to New in Unleash ( #8642 )
...
https://linear.app/unleash/issue/2-2910/add-unleash-ai-to-new-in-unleash
Adds a new "Unleash AI" item to the "New in Unleash" section.
We don’t have documentation to link to yet, as this is still an
experimental feature. However, I’m considering adding a “Check it out”
button that highlights the button, which I can introduce in a separate
PR.
![image](https://github.com/user-attachments/assets/520362b2-627c-415e-b0bb-296825d5d8ee )
2024-11-04 14:20:26 +00:00
Nuno Góis
ababe9fe75
chore: Unleash AI UX adjustments: placement, icon, color ( #8521 )
...
https://linear.app/unleash/issue/2-2870/ux-adjustments-following-the-breakathon-placement-on-demo-bot-icon-and
Post-breakathon UX adjustments, including:
- Properly positions the Unleash AI chat option to the left of the demo
steps, when the demo steps are visible.
- Replaces the bot icon with a friendlier, more upbeat version.
- Switches the chat purple color in the light theme to `primary.main`
for better accessibility.
Additionally, I’ve added the mode property to our themes for easier
future maintenance. This makes it simple to check the currently active
theme.
![image](https://github.com/user-attachments/assets/bc0c2f99-5460-4bc7-8aa0-e8d94156b669 )
2024-10-23 15:59:02 +01:00
Nuno Góis
c170580064
chore: add Plausible events to Unleash AI chat ( #8494 )
...
https://linear.app/unleash/issue/2-2856/add-plausible-tracking-in-unleash-ai-open-close-chat-send-message
Adds Plausible tracking to some Unleash AI chat events:
- Open chat
- Close chat
- Send message
2024-10-21 14:58:13 +01:00
Nuno Góis
0f3e7ec7e3
chore: Unleash AI chat UX bug fixes ( #8488 )
...
https://linear.app/unleash/issue/2-2859/small-ux-bug-fixes-on-the-unleash-ai-chat
Bug fixes:
- Up and down arrow keys not functioning in multiline input
- Multiline input expanding beyond the intended size limit
- Chat window failing to properly scroll to the bottom when opened
2024-10-21 08:38:28 +01:00
Nuno Góis
5b1e875131
chore: add an initial disclaimer to Unleash AI ( #8482 )
...
https://linear.app/unleash/issue/2-2853/add-a-disclaimer-to-the-unleash-ai-chat-window
Adds a small, initial disclaimer to Unleash AI chat.
![image](https://github.com/user-attachments/assets/0097bb92-9724-4cef-922e-4c97770fe8e1 )
2024-10-18 14:48:49 +01:00
Nuno Góis
ffcfe85575
chore: scroll-related UX adjustments in the Unleash AI chat ( #8478 )
...
https://linear.app/unleash/issue/2-2857/make-some-scroll-related-ux-adjustments-to-the-unleash-ai-chat
Introduces scroll-related UX enhancements to the Unleash AI chat,
providing a smoother and more refined user experience.
2024-10-18 14:38:46 +01:00
Nuno Góis
f2256423d5
chore: adapt UI to server-side Unleash AI chat ownership ( #8466 )
...
https://linear.app/unleash/issue/2-2847/adapt-unleash-ai-chat-logic-to-new-server-side-chat-ownership-logic
Adapts the Unleash AI chat logic on the UI to the new server-side chat
ownership logic.
2024-10-17 09:50:27 +01:00
Nuno Góis
9a98f86077
chore: make the Unleash AI chat resizable ( #8456 )
...
https://linear.app/unleash/issue/2-2840/make-the-unleash-ai-chat-window-resizable
This PR makes the Unleash AI chat resizable, providing users with a
flexible way to adjust the chat window's size.
Implements a reusable `Resizable` wrapper component that allows
configuration of:
- Minimum, maximum, and default sizes.
- Customizable resize handlers for each edge and corner of the
container.
- Optional resize event callbacks.
Double-clicking any resize handler maximizes the container along that
axis (or both, if it's a corner). If the container is already maximized,
double-clicking again will revert it to the default size.
2024-10-16 09:15:40 +01:00
Nuno Góis
8d4e84d6eb
fix: unleash AI chat message code not breaking to new line ( #8455 )
...
https://linear.app/unleash/issue/2-2841/fix-a-bug-where-code-does-not-break-to-new-lines-in-messages
Fixes a bug where code in an Unleash AI chat message would not break to
new lines.
### Before
<img width="451" alt="image"
src="https://github.com/user-attachments/assets/43023206-f6e9-48ef-bd22-cc0c0fe04668 ">
### After
<img width="404" alt="image"
src="https://github.com/user-attachments/assets/2f0bad32-8d40-4edd-bdbb-df0eb9ffb977 ">
2024-10-15 14:43:01 +00:00
Nuno Góis
d02443be95
chore: Unleash AI chat UI ( #8445 )
...
https://linear.app/unleash/issue/2-2792/create-the-aichat-component
Implements the Unleash AI chat UI.
This is essentially a polished version from the hackathon.
It will show up in the bottom right corner when the respective
prerequisites are met.
<img width="1508" alt="image"
src="https://github.com/user-attachments/assets/80da15a5-e638-4ccf-850b-508fcfd4991a ">
<img width="1507" alt="image"
src="https://github.com/user-attachments/assets/8690cd42-1106-4f42-b459-41e574ab282f ">
<img width="1506" alt="image"
src="https://github.com/user-attachments/assets/ea243828-ffcd-4243-b40c-6fa6357c3e70 ">
2024-10-15 08:14:04 +01:00