Commit Graph

234 Commits

Author SHA1 Message Date
Ivan Semenov
7a0fd3d2bc [collab] simplify HTML panel construction
GitOrigin-RevId: 4046c7b70ca23431cc761a05a843eaa112b9db96
2023-04-18 18:31:48 +00:00
Ivan Semenov
12a9a4d866 [gitlab] update icons
GitOrigin-RevId: 790f81df3aa367959a6db8aa9a61df1b511d2ec2
2023-04-12 15:09:45 +00:00
Pavel Gromov
2a9f0e91c9 [collab] Rename RequestState to ReviewRequestState
GitOrigin-RevId: 3d6c74cacd1cba82e191858c93c0d8e28587f440
2023-04-06 14:51:40 +00:00
Pavel Gromov
b3a5dbea7c [collab/github/gitlab] Refactoring review CI statuses (IDEA-316657)
GitOrigin-RevId: cf9ba4a584bc402cd3dcfad282f044104cce658b
2023-04-06 14:51:37 +00:00
Pavel Gromov
3673e5ffda [collab] Move classes to associated package
GitOrigin-RevId: 23a14caa93da88f49a9aff76bdf83e4fe4ef0de4
2023-04-06 14:51:34 +00:00
Pavel Gromov
21866e5702 [gitlab] Fix an empty author entity from the API (IDEA-317200)
* Author value is null because GitLab can't match an email with GitLab user

GitOrigin-RevId: b35c727bb4c60978cca92eb80f45c416715299f2
2023-04-06 13:19:30 +00:00
Ivan Semenov
00848a160f [collab] rename methods according to convention
GitOrigin-RevId: 8582083727fd3e846f469d847858e66753eed3b1
2023-03-27 14:23:51 +00:00
Vladimir Krivosheev
6dbda83b26 use komihash for icon classes to align rasterized key with a runtime cache key (same algo)
GitOrigin-RevId: fec04acb91d4a69d5c50571d3408c9b0ce3fddd4
2023-03-24 15:49:56 +00:00
Alexey Merkulov
f9543d7bf4 Refactor showAsyncChooserPopup: remove popup menu state tracker and use just utility method
Asynchronous popup creation prevents from automatic button detection

IJ-CR-105123

GitOrigin-RevId: 9da53a7605d6dd269fba8dc4fbc8f40fef9316e5
2023-03-23 18:23:15 +00:00
Aleksandr Krasilnikov
2d4e56e8e8 [collab] Support placeholder for search field in popups
(cherry picked from commit 4f38d6a5b8a99899ab9effe31ddd320415aeb189)

IJ-MR-104863

GitOrigin-RevId: eb65765b818af09c1b5d635eaf662af3087104df
2023-03-21 14:35:17 +00:00
Aleksandr Krasilnikov
564d3f768e [collab] Support rounded selection for SimpleSelectablePopupItemRenderer
(cherry picked from commit d54882b0ac0b35e4ddf75e389c9a3476bcd62198)

IJ-MR-104863

GitOrigin-RevId: f5b5489ebc46089385e154df4b79d3eda0aafbbc
2023-03-21 14:34:58 +00:00
Aleksandr Krasilnikov
d5438dff2c [collab] Extract SimpleSelectablePopupItemRenderer
(cherry picked from commit f141a05d3a55c914a165259f0e9cb64db4501836)

IJ-MR-104863

GitOrigin-RevId: 56f7be5749b6a9c3551e0aeeb0e7d9195071f064
2023-03-21 14:34:55 +00:00
Aleksandr Krasilnikov
f3fa2d3c3d [collab] Extract and unify avatar size in different UI parts
(cherry picked from commit ffdc1e9a77df657484528790e34a3b28ed1e6036)

IJ-MR-104863

GitOrigin-RevId: 1488626fec0e5bec0292da95f2c4fdf152d4b7e9
2023-03-21 14:34:49 +00:00
Pavel Gromov
5f79877a86 [collab/github/gitlab] Refactoring review details actions panel
GitOrigin-RevId: 77b8052f2b175697382fb2aad042b5f823558ea4
2023-03-20 03:49:05 +00:00
Pavel Gromov
f8a60dab2a [github/gitlab/collab] Refactoring review details statuses panel
GitOrigin-RevId: 967ddcdb8b217b9abc0d34bec6e7dc17270c3f9e
2023-03-20 03:49:03 +00:00
Pavel Gromov
a5d837bfc8 [collab/github/gitlab] Refactoring review details commits popup panel
GitOrigin-RevId: c37b508dc9aaf6ce2b3e7f5f04d84ab2861080af
2023-03-20 03:49:00 +00:00
Pavel Gromov
94cf97923f [collab/github/gitlab] Refactoring review details commit information panel
GitOrigin-RevId: 5d7ea0f24bc990e5a6d7150229e81258be8b3de7
2023-03-20 03:48:58 +00:00
Pavel Gromov
61cec4689d [collab/github/gitlab] Refactoring review details description panel
GitOrigin-RevId: 2715bd99ffc0ad5f1198da233645889d5ff9b5b5
2023-03-20 03:48:56 +00:00
Pavel Gromov
23be011812 [collab/github/gitlab] Refactoring review details title panel
GitOrigin-RevId: 65d3f6cf526be35f02b3269b070bb1760233a1a7
2023-03-20 03:48:53 +00:00
Pavel Gromov
fc596ad152 [collab/github/gitlab] Use Gaps constants instead Int variables
GitOrigin-RevId: 07581671d3ea052db36ac0d5ea35682dfa89126a
2023-03-20 03:48:51 +00:00
Pavel Gromov
03d9e12069 [gitlab] Update review actions permissions
GitOrigin-RevId: 468dc947cddfc2c02e9cbbd50df1808a5ebaf65e
2023-03-18 13:11:37 +00:00
Pavel Gromov
1deb165e21 [gitlab] Wrap details panel with progress stripe
GitOrigin-RevId: f42f7a1afb928fb7da7e1a0561b29fd0ea252e31
2023-03-18 13:11:34 +00:00
Pavel Gromov
0cc1a524e9 [gitlab] Update refresh action
GitOrigin-RevId: 101bd7fa42f3c0bb76a4a0a51295bf331d52c9f2
2023-03-18 13:11:32 +00:00
Pavel Gromov
932b4bc732 [gitlab] Update schema.graphql
GitOrigin-RevId: eca29bbb68ea547a6803288158dc64c9b3ca26a4
2023-03-18 13:11:29 +00:00
Pavel Gromov
2bf3e51745 [github/gitlab] Fix blinking state when changes have not loaded
GitOrigin-RevId: a06c7c4c69225e91e29ce9651fc936030e00262e
2023-03-10 13:41:49 +00:00
Nikolay Chashnikov
b7d9fd5f82 [vcs] fix type in name and specify package for serviceUtil.kt (IDEA-315044)
GitOrigin-RevId: fceb22c5c77582f0a2e8590823a0e42a7161d864
2023-03-09 19:16:29 +00:00
Ivan Semenov
a6c9f398b4 [gitlab] fix MR details layout
GitOrigin-RevId: d9568508a40ae46a35249a34e6d95231af636822
2023-03-01 12:42:02 +00:00
Pavel Gromov
dd57f25447 [collab/github/gitlab] Show tooltip under review link (IDEA-312142)
GitOrigin-RevId: f903db004f7e847938fc48ed583f8ac0ffb6ffb4
2023-02-28 00:34:20 +00:00
Pavel Gromov
e3323c7ed6 [collab/github/gitlab] Refactoring CommitRenderer
GitOrigin-RevId: d00982dd6936f07d329b576685502b77c1a186dc
2023-02-20 13:36:13 +00:00
Pavel Gromov
ce9ec067e4 [github/gitlab] Show a presentable username if possible
GitOrigin-RevId: 788df169e43198a71d7d9466b43d179d7593a9a9
2023-02-20 13:36:10 +00:00
Ivan Semenov
773b0e3503 [gitlab] fix resolve link visibility
GitOrigin-RevId: 40d728fa07f802fed3b50d56ee8fc07c009749b3
2023-02-16 15:04:32 +00:00
Ivan Semenov
b07919f27f [collab/github/gitlab] fix line cutting when limiting textpane width
Actual line height scaling is different from font scaling in terms of rounding, so we have to compute line height on the fly

IDEA-311086 Fixed

GitOrigin-RevId: 04a6b36a356f37aa52480f3304abdd0b81bf2934
2023-02-15 19:05:38 +00:00
Ivan Semenov
e470f9c3c8 [gitlab] fix capitalization
GitOrigin-RevId: b8de4e4b7217dcdee64c42cd9ac7dffcfedb0fea
2023-02-15 12:55:03 +00:00
Ivan Semenov
dafa192818 [gitlab] fix repo/account selectors and details background
GitOrigin-RevId: 69d9137b8babcdd6d361036af0eb1a14a8e00e21
2023-02-14 17:14:40 +00:00
Ivan Semenov
0029948c8c [gitlab] show diff hunks for threads in timeline
GitOrigin-RevId: 74a0b56a1f6ca8f9e1fc21003ff50d8c84002f99
2023-02-14 14:32:52 +00:00
Ivan Semenov
1825fb68d0 [collab/github/gitlab] fix comment-diff mapping
Previously the lines were mapped with an algorithm which relied on a wrong logic of commit having its own patch
Now we switch to the correct way where patch sits BETWEEN two commits
Also previously we relied on the fact that a comment could only be created on either a pair of adjacent commits or a cumulative commit. GitLab allows commenting on a range between two commits, so we need to account for that as well

GitOrigin-RevId: d4777513a47e9f920b35a9c894ecaaa8c24987d6
2023-02-14 14:32:36 +00:00
Ivan Semenov
9c53749c81 [collab] rename file
GitOrigin-RevId: 6f35493f540c0f4a8895660d5f9b64f0aa01512e
2023-02-14 14:32:33 +00:00
Nikolay Rykunov
b7c1c7697c [gitlab] Use ! instead of # for review ids
GitOrigin-RevId: b9df662b87178f09652508125ed39391f420c0a0
2023-02-13 15:50:55 +00:00
Ivan Semenov
2637d2780d [gitlab] fix event parsing
GitOrigin-RevId: 8478535d313b7ad41d5cc6976d43b72cec409e50
2023-02-13 09:49:57 +00:00
Ivan Semenov
ae63ddba51 [gitlab] fix MR model re-creation
GitOrigin-RevId: 7d05c428266bf506a3e82889244b4b1216de4e58
2023-02-13 09:49:51 +00:00
Ivan Semenov
1d971c7ca1 [gitlab] fix DTO
date format is different for milestones, but we don't need those dates

GitOrigin-RevId: 2470f7a12987f192abc963a4763ad7df3d92826d
2023-02-13 09:49:47 +00:00
Pavel Gromov
9d6774e4ea [github/gitlab] Shorten description on review details panel
GitOrigin-RevId: 177ef0460930e260d4d7b9b3cda2742171e30100
2023-02-13 02:10:13 +00:00
Pavel Gromov
8e600a31d5 [gitlab] Add CI statuses on review details panel
GitOrigin-RevId: 73f8c527b2097fa1a5ef224e72c35c07e1360663
2023-02-13 01:55:09 +00:00
Pavel Gromov
d8aa1a3582 [gitlab] Implement review details branch popup
GitOrigin-RevId: 579c7a26f2d09d924fb24a5e76a2c6a6c89d6df6
2023-02-13 01:55:06 +00:00
Pavel Gromov
3841ab96d5 [gitlab] Update reviewers popup
GitOrigin-RevId: 2bfee0416b173e0f6ccd19d1460194356f9e30f9
2023-02-12 15:44:01 +00:00
Pavel Gromov
82e322ef9b [gitlab] Add author and date information about commit on a review details panel
GitOrigin-RevId: 5b5526917cb7e8b6f855561bc9771c43db64001d
2023-02-12 15:43:58 +00:00
Pavel Gromov
3987c7a622 [collab/github/gitlab] Extract code to collab package
GitOrigin-RevId: 25b902ce80c30781bb54d690ca016ae19aee1096
2023-02-12 15:43:56 +00:00
Pavel Gromov
40b45e5f66 [gitlab] Update a commit popup with two lines renderer
GitOrigin-RevId: 4edc0562ee35bee99aa8bb58a3ae421ab46fa3d7
2023-02-12 15:43:54 +00:00
Pavel Gromov
9fcd4c4640 [gitlab] Add commit message dialog for merge (and merge with squash) action
GitOrigin-RevId: 2f565fd29519c03c1b8771e584399fca7ffc9813
2023-02-12 15:43:52 +00:00
Pavel Gromov
9e265aca02 [gitlab] Update actions panel
* Correct reviewer role with associated actions
* Add merge with squash action

GitOrigin-RevId: 3ea43a107713f4457f57c96609ec117f3bff6baf
2023-02-12 15:43:45 +00:00