zed/crates
Joseph T. Lyons 9f650dfa52
Prevent multiple submissions of the same feedback text (#2740)
Fixes:
https://linear.app/zed-industries/issue/Z-2416/improvements-to-feedback-submission

We get a lot of duplicate messages through our in-app feedback. My best
guess is that because we do not tell the user we are doing anything, and
because submission takes awhile, users are hitting the submission button
mutliple times. This PR blocks the submission code, once an initial
submission is sent. If the original submission fails, we unblock the
submission code. The submit button is disabled and enabled accordingly
as well.

Release Notes:

- N/A
2023-07-17 16:15:49 -04:00
..
activity_indicator Merge branch 'main' into fix-broken-lsp-installations 2023-06-28 16:46:06 -04:00
ai Merge branch 'main' into update-assistant-styles 2023-07-10 10:22:18 -04:00
audio Update collaboration sounds, add sounds to screensharing 2023-07-04 16:18:42 -04:00
auto_update
breadcrumbs
call Fix screen sharing panic introduced by call events 2023-07-12 16:12:07 -04:00
cli Prevent duplicate instances by coordinating via a socket 2023-07-07 14:19:44 -04:00
client Add call events 2023-07-11 13:58:55 -04:00
clock
collab feat(workspace): allow alternative actions to open files and symbols in split 2023-07-14 21:49:15 +02:00
collab_ui feat(workspace): allow alternative actions to open files and symbols in split 2023-07-14 21:49:15 +02:00
collections
command_palette feat(workspace): allow alternative actions to open files and symbols in split 2023-07-14 21:49:15 +02:00
context_menu Introduce a WindowContext::focus method that implies the window id 2023-07-05 09:39:04 +02:00
copilot Merge branch 'main' into fix-broken-lsp-installations 2023-06-28 16:46:06 -04:00
copilot_button Remove on_click_out handler from context menu 2023-06-29 17:10:51 -07:00
db Simplify db tests 2023-07-14 16:09:02 -07:00
diagnostics
drag_and_drop
editor feat(workspace): allow alternative actions to open files and symbols in split 2023-07-14 21:49:15 +02:00
feedback Prevent multiple submissions of the same feedback text 2023-07-17 16:10:34 -04:00
file_finder feat(workspace): allow alternative actions to open files and symbols in split 2023-07-14 21:49:15 +02:00
fs Perform only one git statuses call when reloading a git repo after it changes 2023-07-14 14:29:22 -07:00
fsevent
fuzzy
git
go_to_line Add Modal::has_focus and introduce a ModalHandle trait object 2023-07-05 09:39:56 +02:00
gpui Simplify NoAction filtering logic 2023-07-17 20:42:35 +03:00
gpui_macros
install_cli
journal
language Add randomized syntax map test with elixir within heex within elixir 2023-07-14 09:58:34 -07:00
language_selector feat(workspace): allow alternative actions to open files and symbols in split 2023-07-14 21:49:15 +02:00
language_tools Preserve serach index for multicaret selection editor events 2023-07-14 14:47:12 +03:00
live_kit_client chore: Replace lazy_static Mutex with const. (#2693) 2023-07-07 15:07:12 +02:00
live_kit_server
lsp Remove a flacky test, fix the failing one 2023-06-29 22:45:04 +03:00
media
menu feat(workspace): allow alternative actions to open files and symbols in split 2023-07-14 21:49:15 +02:00
node_runtime Reinstall Node whenever a NodeRuntime operation has serious error 2023-06-28 16:43:45 -04:00
outline feat(workspace): allow alternative actions to open files and symbols in split 2023-07-14 21:49:15 +02:00
picker feat(workspace): allow alternative actions to open files and symbols in split 2023-07-14 21:49:15 +02:00
plugin
plugin_macros
plugin_runtime
project Perform only one git statuses call when reloading a git repo after it changes 2023-07-14 14:29:22 -07:00
project_panel Require only a single click to split pane when using cmd in project panel 2023-07-14 18:27:40 -04:00
project_symbols feat(workspace): allow alternative actions to open files and symbols in split 2023-07-14 21:49:15 +02:00
recent_projects feat(workspace): allow alternative actions to open files and symbols in split 2023-07-14 21:49:15 +02:00
rope Simplify InlayMap::splice interface 2023-06-29 22:25:49 +03:00
rpc Post-rebase fixes 2023-06-29 22:39:33 +03:00
search Add a new button for the action 2023-07-14 17:32:10 +03:00
settings Accept null as a valid action, to disable a keystroke 2023-07-04 21:11:28 +03:00
snippet
sqlez
sqlez_macros
staff_mode
sum_tree Account for inlay biases when clipping a point 2023-06-29 22:25:50 +03:00
terminal Allow selecting all search matches in buffer 2023-07-14 14:47:12 +03:00
terminal_view Preserve serach index for multicaret selection editor events 2023-07-14 14:47:12 +03:00
text Remove excessive hint update queries 2023-06-30 22:03:21 +03:00
theme feat(workspace): add option for moving the tab close button to the left 2023-07-17 21:17:28 +02:00
theme_selector feat(workspace): allow alternative actions to open files and symbols in split 2023-07-14 21:49:15 +02:00
util Merge branch 'main' of github.com:zed-industries/zed into vector_store 2023-06-30 09:58:13 -04:00
vcs_menu feat(workspace): allow alternative actions to open files and symbols in split 2023-07-14 21:49:15 +02:00
vector_store feat(workspace): allow alternative actions to open files and symbols in split 2023-07-14 21:49:15 +02:00
vim vim: { } to navigate by paragraph (#2668) 2023-07-07 14:59:06 -06:00
welcome feat(workspace): allow alternative actions to open files and symbols in split 2023-07-14 21:49:15 +02:00
workspace feat(workspace): add option for moving the tab close button to the left 2023-07-17 21:17:28 +02:00
xtask
zed Make macOS application menu aware of which key bindings are disabled (#2735) 2023-07-17 11:20:41 -07:00
zed-actions