Rafael dos Santos Silva
eacc4ed945
UX: Fix styling of AI Helper on quick edit ( #975 )
2024-11-28 13:06:48 -03:00
Keegan George
54ebbbe769
UX: Ensure suggestions are left aligned ( #971 )
...
This PR ensures that suggestions are aligned to the left. By default, they are center aligned which looks odd when there are long lines of text.
2024-11-27 20:53:30 -08:00
Keegan George
8b33ba3d19
FIX: Suggestion menus not showing in mobile ( #970 )
...
The suggestion menu z-index was not enough for mobile so it isn't being shown when it's used in `modalForMobile` bottom menus.
2024-11-27 19:51:03 -08:00
Keegan George
6b7d7c1179
REFACTOR: Helper suggestions ( #914 )
...
This PR adds some updates to the Helper suggestions to improve it's functionality and modernize some of the codebase.
2024-11-27 12:21:03 -08:00
chapoi
8cf1798afe
UX: AI composer helper z-index issue ( #809 )
2024-09-23 17:01:04 -04:00
Keegan George
513510d6d0
FIX: AI Helper not visible on iPads ( #805 )
...
This commit fixes an issue where the composer AI helper was not visible on iPad in DiscourseHub. This was due to the z-index being different for `reply-control` when Discourse Hub inserts its `footer-nav`
2024-09-17 16:43:15 -07:00
Keegan George
b16390ae2a
UX: Improve toast message location ( #800 )
2024-09-14 09:19:13 +10:00
Keegan George
9cd14b0003
DEV: Move composer AI helper to toolbar ( #796 )
...
Previously we had moved the AI helper from the options menu to a selection menu that appears when selecting text in the composer. This had the benefit of making the AI helper a more discoverable feature. Now that some time has passed and the AI helper is more recognized, we will be moving it back to the composer toolbar.
This is better because:
- It consistent with other behavior and ways of accessing tools in the composer
- It has an improved mobile experience
- It reduces unnecessary code and keeps things easier to migrate when we have composer V2.
- It allows for easily triggering AI helper for all content by clicking the button instead of having to select everything.
2024-09-13 11:59:30 -07:00
chapoi
22d1e71dc9
UX: AI post helper DMenu styling ( #770 )
2024-09-11 05:45:48 +02:00
Sam
f148452f4c
FEATURE: single click proofreading ( #769 )
...
Previously there was too much work proofreading text, new implementation
provides a single shortcut and easy way of proofreading text.
Co-authored-by: Martin Brennan <martin@discourse.org>
2024-08-26 15:43:40 +10:00
chapoi
324af23b72
UX: add dark-light mixin for better visibility in dark themes ( #764 )
2024-08-22 01:24:18 +02:00
Keegan George
da9e192949
FIX: Mobile composer helper trigger should work on Android and iOS ( #763 )
2024-08-21 16:19:25 -07:00
chapoi
10dae65740
UX: style & position AI helper in composer ( #758 )
...
Co-authored-by: Keegan George <kgeorge13@gmail.com>
2024-08-21 11:01:03 -07:00
Keegan George
a1eb1ba180
FIX: AI helper not being shown on mobile view ( #749 )
2024-08-12 15:32:49 -07:00
Keegan George
1254d7c7d0
REFACTOR: AI Composer Helper Menu ( #715 )
2024-08-06 10:57:39 -07:00
Keegan George
08355ea5d8
FEATURE: Show post helper as bottom modal on mobile ( #704 )
2024-07-10 11:01:05 -07:00
Kris
1a8532b91b
UX: improve composer suggestion button layout ( #678 )
2024-06-20 13:32:14 -04:00
Kris
59ed6d7b3e
UX: show image caption button on image hover ( #670 )
2024-06-20 08:58:19 +10:00
Keegan George
a1c649965f
FEATURE: Auto image captions ( #637 )
2024-05-27 10:49:24 -07:00
Keegan George
8444789974
UX: Update suggestion radii to accommodate for new default ( #564 )
2024-04-09 10:48:18 -07:00
Keegan George
35fbf5c836
FIX: Ask AI highlight fixes ( #562 )
2024-04-08 11:00:03 -07:00
Keegan George
55d6e1cdf8
UX: Update Ask AI highlight styling ( #560 )
2024-04-07 10:30:59 -07:00
Keegan George
cb4d438506
UX: Highlight AI post helper selection ( #520 )
2024-04-04 11:35:01 -07:00
Kris
0f761234f9
UX: minor adjustments for image caption size, behavior ( #484 )
2024-02-22 12:31:25 -05:00
Kris
d88dceb49d
UX: minor image caption style adjustments ( #482 )
2024-02-20 17:59:59 -05:00
Keegan George
a9b2d6a30a
FEATURE: AI image caption ( #470 )
...
This PR adds a new feature where you can generate captions for images in the composer using AI.
---------
Co-authored-by: Rafael Silva <xfalcox@gmail.com>
2024-02-19 14:56:28 -03:00
Keegan George
7b4710d5c9
FEATURE: Generate post illustrations ( #367 )
2023-12-19 11:17:34 -08:00
Keegan George
19a2949914
UX: Improve focus state of post options item by making full width ( #362 )
2023-12-15 12:11:29 -08:00
Keegan George
d674e47ca4
FEATURE: AI suggestion buttons in move-to-topic
modal ( #360 )
2023-12-15 12:11:14 -08:00
Keegan George
408d9f68eb
FEATURE: Proofread with post AI helper ( #359 )
2023-12-14 19:30:52 -08:00
Keegan George
74a7ac4a3d
FEATURE: Add custom prompts to post helper options ( #355 )
...
* FEATURE: Add custom prompts to post helper options
* 💄 Make pretty
* 💄 Make pretty!
2023-12-14 13:47:20 -03:00
Keegan George
6aaf1f002e
FEATURE: Add streaming to post AI helper's explain option ( #344 )
...
Co-authored-by: Rafael dos Santos Silva <xfalcox@gmail.com>
Co-authored-by: Roman Rizzi <roman@discourse.org>
2023-12-12 09:28:39 -08:00
Kris
0b9947771c
FIX: adjust tag composer input to avoid wrapping ( #324 )
2023-11-28 17:38:29 -05:00
Keegan George
d1f21c78f1
UX: Add copy button to generated suggestion ( #296 )
2023-11-17 09:25:41 -08:00
Ty Correll
3df6cb1ec9
UX: prevent suggestion button from wrapping ( #282 )
...
* UX: prevent suggestion button from wrapping
This PR addresses the visual bug where the suggestion button wraps on any screen size.
* UX: edge case screen size
This addition fixes screen size issues at specific screen sizes without affecting larger screen sizes, no media query necessary.
2023-11-04 12:52:51 -05:00
Keegan George
f6996a6ef0
DEV: Add wrapping classes and remove has()
usage ( #281 )
2023-11-03 11:41:57 -07:00
chapoi
c6d5c56033
UX: update border on AI topic helpers ( #276 )
...
Followup to e2d9117
2023-10-31 13:53:40 +01:00
Rafael dos Santos Silva
0e5764617a
FEATURE: AI helper on posts ( #244 )
...
Adds an AI Helper function when selecting text while viewing a topic.
---------
Co-authored-by: Keegan George <kgeorge13@gmail.com>
Co-authored-by: Roman Rizzi <roman@discourse.org>
2023-10-23 11:41:36 -03:00
Keegan George
2e5a39360a
FEATURE: Create custom prompts with composer AI helper ( #214 )
...
* DEV: Add icon support
* DEV: Add basic setup for custom prompt menu
* FEATURE: custom prompt backend
* fix custom prompt param check
* fix custom prompt replace
* WIP
* fix custom prompt usage
* fixes
* DEV: Update front-end
* DEV: No more custom prompt state
* DEV: Add specs
* FIX: Title/Category/Tag suggestions
Suggestion dropdowns broke because it `messages_with_user_input(user_input)` expects a hash now.
* DEV: Apply syntax tree
* DEV: Restrict custom prompts to configured groups
* oops
* fix tests
* lint
* I love tests
* lint is cool tho
---------
Co-authored-by: Rafael dos Santos Silva <xfalcox@gmail.com>
2023-09-25 15:12:54 -03:00
Keegan George
cf6a6ed9b8
FIX: AI Helper UX bugs ( #223 )
2023-09-13 09:53:19 -07:00
Keegan George
6295b16678
FEATURE: Add cancel button to loading context menu ( #213 )
2023-09-07 13:50:56 -07:00
Keegan George
087be9f4da
UX: Prevent input text from covering suggestion button ( #212 )
2023-09-07 11:52:00 -07:00
Keegan George
abe96d5533
DEV: Strip out old modal based AI helper ( #209 )
2023-09-06 13:28:47 -07:00
Rafael dos Santos Silva
43e485cbd9
FEATURE: Additional AI suggestion options ( #176 )
2023-09-01 17:10:58 -07:00
Keegan George
494964c51d
DEV: Dynamically set popper placement ( #174 )
2023-08-29 11:19:25 -07:00
Keegan George
7457feced8
FEATURE: Show suggested title prompt in new location ( #171 )
2023-08-29 09:45:53 -07:00
Keegan George
2c50791f26
UX: Prevent context menu overflow outside of container ( #168 )
2023-08-28 13:31:21 -07:00
Keegan George
6e01b2c334
UX: Improve styling and make button full width of context menu ( #167 )
2023-08-28 12:22:32 -07:00
Keegan George
7790313b1b
DEV: Add review menu state ( #159 )
2023-08-24 17:49:24 -07:00
Keegan George
6df850d473
FEATURE: AI Helper Context Menu ( #148 )
2023-08-23 10:35:40 -07:00