Commit Graph

981 Commits

Author SHA1 Message Date
Dmitry Pogrebnoy
8fb9084d94 [Feedback] Migrate OnboardingFeedbackForm to the new feedback sending method
IJ-CR-112831

GitOrigin-RevId: 0a738760b25dfc65f3573858ef5f9825cc8ca3d4
2023-08-17 17:40:43 +00:00
Vladimir Krivosheev
8dd13764a9 IDEA-326151 update hash algo for icons
GitOrigin-RevId: bb8f3acd0314190362619afb86151270b893f082
2023-08-09 14:46:20 +00:00
Dmitry Pogrebnoy
6b79544fd9 [Feedback] Move dialog ui blocks from impl and add experimental annotations
IJ-CR-110796

GitOrigin-RevId: 911d16a0b0a5b63fa13587479236030c9d2eab79
2023-08-09 10:55:26 +00:00
Dmitry Pogrebnoy
e21ea86967 [Feedback] Move existing surveys and impl staff to platform.feedback package
IJ-CR-110796

GitOrigin-RevId: 689d3a1fa47a6a14ce08e4317ff96776dce9b412
2023-08-09 10:55:16 +00:00
Dmitry Pogrebnoy
c0d817eea8 [Feedback] Introduce In-IDE Feedback Surveys API
The goal of this API is to allow plugins to easily create and perform feedback polls inside and outside the IDE.

For now, this API will only work for JetBrains plugins. In the future we may expand availability for all plugins (or not).

One important API goal I would like to achieve is to strictly limit the types of surveys (com.intellij.feedback.common.openapi.FeedbackSurveyType) and for each type define a specific behavior that can be customized in a limited way using a configuration object (com.intellij.feedback.common.openapi.FeedbackSurveyConfig).

IJ-CR-110796

GitOrigin-RevId: 3f3b0c25f5bd85d0c073db01120f823b5ae1e587
2023-08-09 10:55:04 +00:00
anna.gromova
0e84c689b9 [IFT] Fix several typos and remove unused line
IFT-487

GitOrigin-RevId: 385d9a6bb2e3d71165eb6af9f603d871e6a7a739
2023-08-07 14:46:06 +00:00
Roman Shevchenko
386eee00be [project] replacing custom Path extensions with stdlib/JRE calls
GitOrigin-RevId: 521524062de528211d495d08b32afcd2132d7ebd
2023-08-04 17:11:22 +00:00
Alexey Merkulov
480add4d34 IDEA-305303 Log run/debug invokes from the context (e.g. gutter) for onboarding tips
GitOrigin-RevId: 501733482054c0a4c51e1318e107941ab1dba245
2023-08-02 11:24:30 +00:00
Alexey Merkulov
a401518832 IDEA-305303 Unwrap actions before trying to report about onboarding tips usages
Also fix possible NPE

GitOrigin-RevId: 443a6b2b9b7d19d2ff008613b76698256d07c26a
2023-08-02 11:24:27 +00:00
Yuriy Artamonov
4d92f1c14b [statistics] IDEA-326820 Enable counter usage collectors to be regular Kotlin object
GitOrigin-RevId: 75be9604970c01b314eaa6969fd29069c4589035
2023-07-30 14:18:19 +00:00
Jakub Chrzanowski
318bfbc9d2 MP-3107 Use "JetBrains Marketplace" name, fixed Marketplace URLs
GitOrigin-RevId: 0eb90b9b8a96ceea3e2cc95c337ceba1284878d2
2023-07-28 12:12:53 +00:00
Vladimir Krivosheev
44bb3924c6 bring back intellij.platform.diagnostic module
GitOrigin-RevId: 7c3c0f0bccc96d030412506d927597d9cb21fde3
2023-07-26 20:57:44 +00:00
Konstantin Hudyakov
e981100e09 IFT-468 Do not show onboarding banner when feedback notification is available
GitOrigin-RevId: cdb966a82e5c4f239c494fdc750d73c9c5580019
2023-07-26 17:16:40 +00:00
Konstantin Hudyakov
bc7e60be9c IFT-469 Fix feedback notification position on the Welcome Screen
`locationComponent` should be set in the `balloonLayout` as early as possible to show the notification automatically after Welcome screen opening.

GitOrigin-RevId: 7beb9b248423efc8af4fefd100ea14add246d46e
2023-07-26 17:16:38 +00:00
Konstantin Hudyakov
74a6de34f7 [IFT] Return back the missed string to the bundle
Accidentally removed in `e3d798e5b37c8306c509751e8b520ac70dc62c54`

GitOrigin-RevId: 953115cc19d875378e3f82054a6eb25f2891c3ee
2023-07-26 17:16:34 +00:00
Konstantin Hudyakov
c1d2faa12e IFT-482 Fix debugger tool window step in onboarding lessons
GitOrigin-RevId: 04f7e1349d67a30b54cf15dd7b271da146d614fe
2023-07-18 12:29:38 +00:00
Maxim.Banaev
c1def9b976 CPP-34239 Add more lessons to Feature trainer plugin.
* Context actions
* Expand and shrink the code selection
* Comment lines and blocks of code
* Surround and unwrap

#CPP-30369 Add Feature Training plugin to CLion

#apply review remarks

GitOrigin-RevId: e3d798e5b37c8306c509751e8b520ac70dc62c54
2023-07-18 11:02:51 +00:00
Maxim Banaev
c85f05c5ea CPP-30369 Add Feature Training plugin to CLion
#Add intellij.clion.featureTrainer module.

#CPP-30369 Add Promoter of Feature Training plugin to CLion

#Add intellij.clion.ide.featureTrainer module.

#resolve rebasing conflicts

#CPP-30369 Add .idea for test project

#CPP-30369 Complete lesson steps of the onboarding tour

#CPP-30369 Add .idea for test project

GitOrigin-RevId: a483a9eeb29662f2b6fb9118926eaaf3c539e7a1
2023-07-18 11:02:45 +00:00
Alexey Merkulov
70f44ac83e IFT-474 Fix Java and Python run configuration lessons
GitOrigin-RevId: 464a69b468271921ccfbc896578686da9a462240
2023-07-17 17:28:05 +00:00
Konstantin Hudyakov
f268185a00 IFT-478 Fix Declarations and Usages lesson for Python and Ruby
GitOrigin-RevId: 5b8aacb292c8be1adc7dde27ae807b16936c5dc9
2023-07-14 09:17:20 +00:00
Konstantin Hudyakov
9740ad0e80 IFT-478 Fix unexpected restore in Declarations and usages lesson
Simplify the check because the current check was not executed enough times to catch current file change.

GitOrigin-RevId: 65bf0e27ba3064e1fe337dd38958c17d067345d5
2023-07-13 16:49:49 +00:00
Konstantin Hudyakov
f965a02e7b [IFT] Fix unexpected restores in the navigation lessons
File is opened asynchronously, but restore check is executed after any event. There is no way except of adding the delay for restore.
Fixed IFT-475, IFT-476 and IFT-477.

GitOrigin-RevId: 4090bb9db067135a791a0a72c2f434060bc108eb
2023-07-13 16:49:44 +00:00
Konstantin Hudyakov
a1f7186460 IFT-470 Fix absence of sample file in onboarding lessons
The problem occurs only after rewriting the whole learning project in `ProjectUtils.importOrOpenProject` in case of major IDE version change or manual removal of the learning project from disk.
There was no VFS refresh after the rewriting, so VFS said that sample file exists, but there was no file in the real file system, so we didn't create it in the lesson script.
As a solution, I added the refresh before each project lesson start. I think it will be more reliable.

GitOrigin-RevId: 1b4941f53feaaab12c06ef6d672546ebb43d194d
2023-07-13 09:35:29 +00:00
Konstantin Hudyakov
34afeb0fe6 IFT-471 Do not show the learning project in Welcome screen
GitOrigin-RevId: 5510ec01aad685b8606132d536df6c0bc7e9dac3
2023-07-12 17:01:06 +00:00
Konstantin Hudyakov
65a9677d66 IFT-473 Do not show onboarding banner if the user has passed the lesson
GitOrigin-RevId: eeb274d6d8a310d314dec8721501086ad700713b
2023-07-12 16:36:02 +00:00
Konstantin Hudyakov
a76a288463 IFT-472 Do not show onboarding feedback notification in Welcome screen in 2023.2
Will be enabled back in 2023.2.1 when all related issues will be fixed.

GitOrigin-RevId: 23ce79867e171270fedcfcb88b8be49ebb5337fe
2023-07-12 16:35:58 +00:00
Vladimir Krivosheev
9a42390622 introduce ToolWindowFactory.isApplicableAsync - later will be used for VCS and other heavy checks (when we will implement platform-level caching for returned value)
This commit introduces several changes to improve the consistencies in APIs and readability of the codebase. Essentially, "isApplicable" method in ToolWindowFactory interface has been updated to "isApplicableAsync" to support asynchronous operations. This modification is critical for preventing potential UI freezing.

Several classes like InternalToolWindowFactory, BookmarksViewFactory, WebInspectorToolWindowFactory, and others have been refactored for better readability and encapsulation. Changes include adjusting attributes' visibility, renaming variables for better understanding, and restructuring the conditions and returns for cleanliness.

Furthermore, some unnecessary imports and unused methods have been removed to reduce clutter.

GitOrigin-RevId: 1be02d71e9cdd36e20380979ca52c228dda7185b
2023-07-05 17:47:05 +00:00
Konstantin Hudyakov
a146d41a4e [IFT] Make possible to provide custom langName to get the feedback link
Sometimes feedback link suffix can differ from the language ID. For example, in C# language ID is 'C#', but link suffix is 'csharp'.

GitOrigin-RevId: 10305853a225c9bf10b5b133656137de5c1d61e0
2023-06-28 11:08:31 +00:00
Alexey Merkulov
982a0da7d8 Fix EA-772898 - NPE: NewProjectOnboardingTipsImplKt$installActionsListener$0.afterActionPerformed
Editor.getVirtualFile is not annotated as Nullable

GitOrigin-RevId: 4ba848e6e03f1b93f1da7680a841be32a701dd7c
2023-06-20 18:31:25 +00:00
Valentina Kiryushkina
8d3b7c411f EDU-5526 Create In Progress panel
GitOrigin-RevId: e65bf7a76316fde72592ecbf6c2fb63c044035b4
2023-06-19 08:57:24 +00:00
Valentina Kiryushkina
8e36bddfef EDU-5526 Extract isEnabled and disabledText from IFT to parent
GitOrigin-RevId: 0a90fdfe042fe1be09478cc852ab0a15db26f00c
2023-06-19 08:57:24 +00:00
Daniil Ovchinnikov
97f0a7fd3b migrate usages of ModalityState.NON_MODAL to ModalityState.nonModal
GitOrigin-RevId: fb4855bfa90dbf384fed24871e4b28ab803847bb
2023-06-09 21:58:50 +00:00
Alexey Merkulov
bf31a7f0c6 [IFT] Make Java to be the default IFT language for the Aqua also
GitOrigin-RevId: 59628cbb3691906264cb9dad81f2d7fb01e7fbd8
2023-06-08 18:39:51 +00:00
Gregory.Shrago
e6d8429fe4 enforce displayName in XML to avoid classloading
GitOrigin-RevId: 5a393cc7792fe6423fc7dda64bc87d06ef3bf38a
2023-06-07 22:52:30 +00:00
Alexey Merkulov
3a9c62244c IFT-461 Improve checks in select lesson and add workaround API for Rider implementation
GitOrigin-RevId: 00b476e1d0dd051fa814c7e313853b1c48d6d298
2023-06-06 19:30:20 +00:00
Vladimir Krivosheev
b5e9dc6c09 cleanup
GitOrigin-RevId: 8049bcc49d12bedf7b8a39a393774ab75e789fdf
2023-06-02 16:35:52 +00:00
Alexey Belkov
b6d93b8569 Apply Kotlin "Cascade if can be replaced with when" inspection on whole project
GitOrigin-RevId: ada0c39387c508fde4bf361a0f5b17765d9c0240
2023-05-24 16:04:41 +00:00
Alexey Merkulov
679fbbb636 IFT-464 Force edit mode before caret change in the DataSpell onboarding lesson
GitOrigin-RevId: 22540ab66786a2250dc79bdf3bd1bfdb2f0fb0e0
2023-05-16 18:49:51 +00:00
Alexey Merkulov
f72d8d557b Remove contrast run widget implementation and stop drop-down button
And fix IDEA-316847

GitOrigin-RevId: 13a8e8f717542bd5aaadb59f2c543323292624f3
2023-05-16 14:29:45 +00:00
Nikolay Chashnikov
19c6d4a21c [features trainer] API cleanup: remove unused deprecated API (IDEA-312594)
GitOrigin-RevId: 5759825ac550e80a4685233e6bd5cb6c0e3922b1
2023-05-15 13:56:19 +00:00
Vladimir Krivosheev
8e5d15040a convert ActionManagerImpl to modern language (part 2)
GitOrigin-RevId: 85083f6c1e18427446f0bca8bba8100e94559496
2023-05-14 17:42:14 +00:00
Dima Golovkov
9efc3a7c21 Update IDE Features Trainer icons for IntUI
GitOrigin-RevId: 01a5a3f0ec2e65067b6767fd559a4a0e72982702
2023-05-12 12:33:18 +00:00
Pavel Porvatov
9ded0f40bd IDEA-319893 Run widget: add keys for icons
GitOrigin-RevId: 3f3507bc3cd55949b196641f67b23020561aff20
2023-05-10 11:19:47 +00:00
Dmitry Matveev
916c8742f9 Feature trainer. Fix some typos
GitOrigin-RevId: 79d6900171b0ebc8a8b4d2b5fa80f82e113c8117
2023-05-03 09:30:26 +00:00
Alexey Merkulov
d522d9a0e9 Fix bug in statistics about onboarding tips
GitOrigin-RevId: a9b4e85b29315a56517c82954b976f3386172ab3
2023-04-26 14:32:56 +00:00
Vladimir Krivosheev
4d3c826ae7 TipOfTheDay - do not use invokeLater
GitOrigin-RevId: e05911507ae1cc5fd3d48a9059117de94ee5a1ab
2023-04-24 07:55:54 +00:00
Vladimir Krivosheev
b3e65f4e49 cleanup
GitOrigin-RevId: 74d12dffe4a1626de2c9b722ba0abd409bf21a8b
2023-04-24 07:55:40 +00:00
Dmitry Matveev
c5b0fccfc9 Proofread VCS lesson in the feature trainer
GitOrigin-RevId: c1d8eaf086a44e7992810772e8401097893744c6
2023-04-20 10:43:11 +00:00
Daniil Ovchinnikov
ed48f7d5e1 IJPL-124 inline QuickDocUtil.isDocumentationV2Enabled
GitOrigin-RevId: d5d9828f36b9c2e739cc519ea82a713a4de13c5b
2023-04-13 11:05:19 +00:00
Konstantin Hudyakov
bc56e3da3b IFT-455 Show GotIt tooltips during editor steps in onboarding lessons
GitOrigin-RevId: 7d7b2c7a32f1e7c1c01b28cd8b6401a38e7b08ca
2023-04-05 17:59:11 +00:00