Commit Graph

1016 Commits

Author SHA1 Message Date
cal
87d5992a20 feat: [code-542]: update file view (#363) 2023-08-26 02:30:32 +00:00
cal
1803a76578 feat: [code-767]:fix scrolling on space popover (#359) 2023-08-25 16:24:06 +00:00
calvin
cd9e89e41a fix: [code-782]: hotfix for path details call 2023-08-24 18:04:15 -06:00
Calvin Lee
263cfc6551 feat: [code-543]: update folder icon (#350) 2023-08-24 20:40:43 +00:00
Calvin Lee
c618be294e feat: [CODE-769]: reduce stress on be for resource filtering (#352) 2023-08-23 23:09:12 +00:00
Tan Nhu
f564dbccb2 Fix API generation is broken for standalone Gitness (#351) 2023-08-23 21:59:42 +00:00
Tan Nhu
ae06520dad Fix Restful React generation missing /api/v1 (#348) 2023-08-23 18:54:02 +00:00
Calvin Lee
19d8119a22 feat: [code-542]: update file view page (#346) 2023-08-22 22:43:41 +00:00
Calvin Lee
889150ce57 feat: [code-712]: add toaster for update user status (#345) 2023-08-22 20:56:23 +00:00
Calvin Lee
36246a2fd6 feat: [code-415]: change cursor to hand (#343) 2023-08-22 20:46:02 +00:00
Dan Wilson
5829939ffb add new pipeline placeholder 2023-08-22 10:48:20 +01:00
Tan Nhu
96ac05789a Migrate UICore to version 4 to support Gitness fully open source (#338) 2023-08-22 06:25:45 +00:00
Tan Nhu
2313542658 Merge branch 'ui/small-css-position-fix' of _OKE5H2PQKOUfzFFDuD4FA/default/CODE/gitness (#337) 2023-08-21 18:53:49 +00:00
“tan-nhu”
0cbba4a878 Small CSS fix to adapt to keyboard navigation 2023-08-21 11:37:24 -07:00
calvin
a30803acbe fix: [code-682]: fix text 2023-08-17 16:16:32 -06:00
Calvin Lee
69730994d8 feat: [code-763]: fix html encode issue (#333) 2023-08-17 21:50:13 +00:00
Calvin Lee
7dd8c1d276 feat: [CODE-753]: make button names consistent and titles (#310) 2023-08-17 20:38:59 +00:00
Johannes Batzill
d6ee7820e2 [UI] Store PR activity filter + sorting order in local browser storage (#329) 2023-08-17 02:29:10 +00:00
Calvin Lee
bfea74dbe5 fix: [code-682]: fix bug in pr creation (#330) 2023-08-17 02:00:18 +00:00
Calvin Lee
8659a44226 fix: [code-682]: update useDownloadRawfile hook (#328) 2023-08-16 19:28:22 +00:00
Calvin Lee
f5eae579c6 feat: [code-742]: add token generation in empty repo page (#326) 2023-08-16 16:54:42 +00:00
Calvin Lee
225ca6332a feat: [code-741]: fix token generation links (#316) 2023-08-15 18:13:14 +00:00
Johannes Batzill
f8d1ca6460 [UI] Membership Add Is not filtering for Users (#317) 2023-08-15 03:41:23 +00:00
Calvin Lee
c6fa9c0218 fix: [code-754]: changing branch on file view doesnt change file content (#315) 2023-08-14 22:42:53 +00:00
Enver Bisevac
63145686f4 fix commit adn files changed counters 2023-08-14 17:17:08 +02:00
Dan Wilson
23422a10bc link secrets pipelines and executions to the backend 2023-08-14 10:58:58 +01:00
Calvin Lee
adbb106d8d fix: [code-738]: fix commit link in sidebar (#308) 2023-08-11 22:46:32 +00:00
Tan Nhu
f9f728debd Fix last commit info is not rendered when scrolling quickly (#303) 2023-08-11 17:10:00 +00:00
Calvin Lee
7b70f8c18d fix: [code-736]: make tag and branch pages consistent (#302) 2023-08-11 04:35:52 +00:00
Tan Nhu
e523966db8 Remove place-holder for PR status from PR listing page (#301) 2023-08-10 22:17:07 +00:00
Tan Nhu
8e3ff54b00 Improve accessibilty when browsing repository (#300) 2023-08-10 21:27:52 +00:00
Marko Gacesa
17f4a2832a Merge branch 'feature/last-commit' of _OKE5H2PQKOUfzFFDuD4FA/default/CODE/gitness (#298) 2023-08-10 19:03:02 +00:00
“tan-nhu”
d3fbb94be0 CODE-520: Stop fetching details when backend errors out 2023-08-10 11:17:57 -07:00
“tan-nhu”
11bd10f455 CODE-520: Fixed text wrapping on buttons in Compare page 2023-08-10 10:41:25 -07:00
“tan-nhu”
c1a23445dd CODE-520: FE: optimize loading of file lists for large repos 2023-08-10 10:17:49 -07:00
Marko Gaćeša
4f1767d512 dedicated api to get the last commit info 2023-08-10 18:42:10 +02:00
Tan Nhu
4e1c852a01 Improve PR Checks polling in case PR does not have any checks (#297) 2023-08-09 21:31:58 +00:00
Calvin Lee
92f1bdc8b6 fix: [code-682]: fix commit sha on conversation pr page (#294) 2023-08-09 20:59:50 +00:00
Calvin Lee
99f6e4334e feat: [CODE-677]: Commit Range Dropdown in PR Changes Tab (#235) 2023-08-08 23:39:39 +00:00
Tan Nhu
de4e26bb72 fix diff changes in web (#291) 2023-08-08 22:58:15 +00:00
Tan Nhu
7d000706f0 Implement PR Checks (#289) 2023-08-08 08:50:50 +00:00
“tan-nhu”
a8b48d228d CODE-688: All static assets must be served from the root path 2023-08-07 14:26:13 -07:00
Hitesh Aringa
2b6e75682d [fix] path compare changed to diff (#285) 2023-08-07 15:22:34 +00:00
calvin
faab869933 fix: [code-706]: fix color of hover 2023-08-04 18:39:48 -06:00
calvin
488ef60966 fix: [code-706]: fix ui issues on reviewer dropdown 2023-08-04 18:28:46 -06:00
calvin
fbc3705b4e fix: [code-706]: fix refetch 2023-08-04 17:46:05 -06:00
calvin
3e9a3948b0 fix: [code-706]: fix refetch 2023-08-04 17:14:45 -06:00
Calvin Lee
e83d64fac4 feat: [code-682]: hide draft option on merge state (#275) 2023-08-04 17:11:54 +00:00
Dan Wilson
b68e05bdba remove unused types 2023-08-04 16:31:59 +01:00
Dan Wilson
248ebeecc4 fix execution and pipeline routing in the UI 2023-08-04 16:29:33 +01:00
Dan Wilson
a60365823c disable feature flags that were enabled by mistake 2023-08-04 12:40:44 +01:00
Dan Wilson
b5a15b5ce1 Merge branch 'executions_skeleton' of _OKE5H2PQKOUfzFFDuD4FA/default/CODE/gitness (#271) 2023-08-04 09:10:58 +00:00
Dan Wilson
74532bbd1b fix routing reversion discussed with Tan 2023-08-03 21:14:27 +01:00
Calvin Lee
d3c70f0dfb fix: [code-682]: fix wrap on pr review box (#272) 2023-08-03 18:38:20 +00:00
Dan Wilson
23923f9653 add executions skeleton code to ui 2023-08-03 15:50:09 +01:00
Calvin Lee
3fa628307d feat: [code-696]: repo delete confirm box (#267) 2023-08-02 18:40:06 +00:00
Calvin Lee
8581d7e214 fix: [code-698]: fix validate dom nesting (#264) 2023-08-02 15:32:55 +00:00
Enver Bisevac
7546f2cd6b initial work - diff stats, (files changed) 2023-08-02 14:34:39 +02:00
Calvin Lee
70cf2df96a fix: [code-682]: fix overlapping issues in tables (#259) 2023-08-01 18:07:12 +00:00
Dan Wilson
02060ea4a7 implement ui feature flags and pipelines and secrets skeleton pages 2023-08-01 16:27:57 +01:00
Calvin Lee
1813c536a8 fix: [code-682]: ui fixes from bug bash (#254) 2023-07-31 18:12:55 +00:00
Calvin Lee
6bbf7bba5c fix: [code-659]: change commit on pr page to be a link (#255) 2023-07-31 18:12:38 +00:00
Dan Wilson
302ba2dd7e Merge branch 'CODE-681' of _OKE5H2PQKOUfzFFDuD4FA/default/CODE/gitness (#251) 2023-07-31 17:16:58 +00:00
Dan Wilson
62e175ef34 feat: [CODE-681]: fix Tan PR comment 2023-07-31 10:02:29 +01:00
“tan-nhu”
afca55f9d8 [CODE-687]: Export NewRepoModalButton for CI integration 2023-07-28 12:07:30 -07:00
Dan Wilson
43b2df1b91 feat: [CODE-681]: delete space modal 2023-07-28 16:30:58 +01:00
rajarshee.chatterjee@harness.io
25031d113a feat: [CODE-649]: Users Dropdown in Add New Member Dialog (#248) 2023-07-27 12:32:13 +00:00
Johannes Batzill
43c8ee125d [PR] Allow PR Merge despite Unresolved Comments (#247) 2023-07-27 01:27:40 +00:00
Calvin Lee
ad12341776 fix: [code-682]: fix ui issues in standalone (#246) 2023-07-27 00:22:52 +00:00
Tan Nhu
02899b0a9c Merge branch 'ui/unauth-sourcemap' of _OKE5H2PQKOUfzFFDuD4FA/default/CODE/gitness (#245) 2023-07-27 00:16:47 +00:00
“tan-nhu”
4460ef86c7 Navigate to signin when hitting 403 + enable sourcemap by a env var 2023-07-26 17:13:00 -07:00
Johannes Batzill
9436855194 Proposal - Remove PR diff api and use repo API (#242) 2023-07-26 23:37:22 +00:00
Hitesh Aringa
30fc262c13 feat: [code-661]: add refetch on space popovver and user mem (#244) 2023-07-26 21:30:34 +00:00
rajarshee.chatterjee@harness.io
5232615e0a fix: [CODE-615]: Misc. UX Feedback (#240) 2023-07-26 18:14:31 +00:00
Calvin Lee
ea5ed851d1 feat: [code-661]: add space listing popover and space settings (#238) 2023-07-26 05:52:11 +00:00
Hitesh Aringa
ef9a0f28d4 feat: [CODE-615]: Show Token after Creation (#233) 2023-07-25 21:04:34 +00:00
“tan-nhu”
fe6f609e4f Fix page body height + webpack prod assets 2023-07-25 13:52:27 -07:00
rajarshee.chatterjee@harness.io
146c91bc00 feat: [CODE-649]: Space Membership UI (#223) 2023-07-25 01:32:15 +00:00
calvin
d3b04ba160 fix: [code-667]: fix error in standalone on commit diff 2023-07-24 18:12:42 -06:00
Calvin Lee
33cf26683d Merge branch 'code-645-ui2' of _OKE5H2PQKOUfzFFDuD4FA/default/CODE/gitness (#213) 2023-07-24 23:15:08 +00:00
Calvin Lee
04a9cc6585 Merge branch 'code-657' of _OKE5H2PQKOUfzFFDuD4FA/default/CODE/gitness (#219) 2023-07-24 23:10:51 +00:00
“tan-nhu”
763d3ab938 Fix space fetching for sub-space 2023-07-24 15:56:48 -07:00
“tan-nhu”
8e06f49017 [CODE-655]: Refactor Nav system to adapt with new design 2023-07-24 14:56:27 -07:00
Hitesh Aringa
bc5945f8ba [CODE-631]: parent ref changes (#214) 2023-07-24 21:10:45 +00:00
calvin
05c0c256c3 fix: [code-657]: fix page issue 2023-07-21 16:18:50 -06:00
calvin
6d90195afa fix: [code-645]: fix commit listing page sipacing 2023-07-19 16:34:27 -06:00
rajarshee.chatterjee@harness.io
7fb7e47560 feat: [CODE-615]: User Profile and Tokens (#211) 2023-07-19 17:09:12 +00:00
calvin
1a524ab0bc feat: [code-645]: fix signin page 2023-07-18 22:06:53 -06:00
rajarshee.chatterjee@harness.io
4b5ac6f8e2 feat: [CODE-628]: Admin User Management (#203) 2023-07-19 03:17:23 +00:00
Calvin Lee
4c1ba4a11c feat: [code-645]: fix signup and signin pages (#209) 2023-07-18 22:49:07 +00:00
Calvin Lee
a43c69465e feat: [code-644]: add .env file types (#208) 2023-07-18 22:49:01 +00:00
calvin
6a562f297a fix: [code-566]: fix routing 2023-07-17 19:07:50 -06:00
Calvin Lee
c49bc0f1be feat: [code-591]: add signup and signin page (#201) 2023-07-17 20:17:52 +00:00
Tan Nhu
6fb91bac47 Bypass build CSS warning (#200) 2023-07-14 21:03:43 +00:00
Tan Nhu
5bb6084b68 Initial commit to support Gitness standalone shell (#174) 2023-07-14 17:14:36 +00:00
Calvin Lee
99b3ac1c79 feat: [code-517]: fix branch copy icon (#184) 2023-07-12 05:40:54 +00:00
Calvin Lee
0b6403c902 Merge branch 'code-625' of _OKE5H2PQKOUfzFFDuD4FA/default/CODE/gitness (#183) 2023-07-11 19:35:02 +00:00
calvin
01838301c3 feat: [code-517]: remove import 2023-07-10 17:26:12 -06:00
Calvin Lee
cd5fe7c418 Revert "feat: [code-566]: fix routing for commit list and diff page (#177)"
This reverts commit 8cddf04706.
2023-07-10 16:39:01 -06:00
calvin
17f96a5c3a fix: [code-625]: fix url params on repo listing page 2023-07-10 15:43:43 -06:00
Calvin Lee
f8092fe117 feat: [code-517]: make pr branches copiable (#182) 2023-07-07 20:59:16 +00:00
Calvin Lee
8cddf04706 feat: [code-566]: fix routing for commit list and diff page (#177) 2023-07-05 19:26:07 +00:00
Calvin Lee
d6c7f41dd4 fix: [code-574]: active stale filter not working (#173) 2023-06-29 19:52:43 +00:00
Calvin Lee
dda81f3035 fix: [code-567]: filtering for active comments is incorrect (#172) 2023-06-28 21:40:00 +00:00
Johannes Batzill
90d0499bfa [UI] Fix typo in request changes activity (#171) 2023-06-28 18:09:33 +00:00
Calvin Lee
d6e6110ba0 feat: [code-475]: add delete reviewers (#169) 2023-06-28 18:06:40 +00:00
calvin
3735a0fedb fix: [code-568]: tag page is showing wrong user picture 2023-06-27 15:38:45 -06:00
“tan-nhu”
37286e478d [CODE-570]: [UI] Unable to Edit files + add extra text file types 2023-06-27 12:55:04 -07:00
Calvin Lee
5f78b82482 fix: [code-555]: list commits not working for non default branches (#161) 2023-06-23 22:54:16 +00:00
Calvin Lee
1adbc14a65 fix: [code-558]: tag list page error (#160) 2023-06-23 19:21:37 +00:00
Calvin Lee
3932275a1f fix: [code-477]: fix text in rename file history (#159) 2023-06-23 15:57:04 +00:00
calvin
22fe0baf96 Revert "fix: [code-477]: change text of rename commit history"
This reverts commit c77f6a28a4.
2023-06-22 16:59:51 -06:00
calvin
c77f6a28a4 fix: [code-477]: change text of rename commit history 2023-06-22 16:58:30 -06:00
Calvin Lee
6de0b47f91 fix: [code-536]: add breadcrumb on commit diff page (#158) 2023-06-22 22:32:54 +00:00
Calvin Lee
4d1160f224 feat: [code-475]: add pr reviewers in pr page (#155) 2023-06-22 21:54:58 +00:00
calvin
286e6e67d3 fix: [code-536]: add breadcrumb on commit diff page 2023-06-22 15:19:42 -06:00
Tan Nhu
2ba2d48f43 Add support for rendering pdf, video, image and other binary files (#151) 2023-06-19 22:36:01 +00:00
Calvin Lee
b6edadfd8e fix: [code-523]: commit diff history is empty when going from the tag page (#141) 2023-06-15 21:19:45 +00:00
Calvin Lee
af61112648 feat: [code-478]: keep commit history button in place (#136) 2023-06-15 17:58:40 +00:00
Calvin Lee
eb3cad3bec fix: [code-412]: fix commit message sorting (#135) 2023-06-14 21:12:03 +00:00
Calvin Lee
e6c35204a0 fix: [code-413]: Clone instructions are not based on default branch (#132) 2023-06-13 22:02:11 +00:00
Calvin Lee
e852c28940 feat: [code-482]: fix ui issues on tag page (#131) 2023-06-13 21:49:17 +00:00
Calvin Lee
62295da504 feat: [code-278]: add commit diff history (#130) 2023-06-13 20:46:52 +00:00
Calvin Lee
440048a047 Merge branch 'code-288-fix' of _OKE5H2PQKOUfzFFDuD4FA/default/CODE/gitness (#117) 2023-06-09 14:39:26 +00:00
calvin
76ed088c1b feat: [code-409]: add tag description and some checks and fixed create branch 2023-06-07 17:02:38 -06:00
calvin
c51cc4e2c4 Revert "feat: [code-409]: add tag description and some checks and fixed create branch"
This reverts commit e1cf542441.
2023-06-07 17:01:20 -06:00
calvin
e1cf542441 feat: [code-409]: add tag description and some checks and fixed create branch 2023-06-07 16:53:52 -06:00
calvin
d65d01b3d0 feat: [code-288]: fix endpoint and payloads 2023-06-07 14:44:17 -06:00
calvin
0a050a1845 feat: [code-288]: fix checks 2023-06-06 18:05:16 -06:00
calvin
4dcecafedf feat: [code-288]: file commit history 2023-06-06 17:26:35 -06:00
calvin
4bfe49ca43 feat: [code-288]: fix styling 2023-06-06 10:39:12 -06:00
calvin
993d653b8e feat: [code-288]: add css 2023-06-05 18:11:43 -06:00
calvin
057996811e feat: [code-288]: file commit history - p2 2023-06-05 15:53:32 -06:00
calvin
24b3ec9fe9 feat: [code-288]: file commit history 2023-06-05 15:52:15 -06:00
Calvin Lee
07c06137bb Merge branch 'code-421' of _OKE5H2PQKOUfzFFDuD4FA/default/CODE/gitness (#111) 2023-06-03 22:04:29 +00:00
calvin
ca47925d42 fix: [code-421]: addressed comment 2023-06-02 22:59:03 -06:00
Tan Nhu
6cd5d30c0d Merge branch 'ui/pr-optimizations' of _OKE5H2PQKOUfzFFDuD4FA/default/CODE/gitness (#112) 2023-06-03 00:31:48 +00:00
“tan-nhu”
404631a22d feat: Allow empty PR description 2023-06-02 17:21:32 -07:00
calvin
7a73d096b7 fix: [code-421]: addressed tans comment - p2 2023-06-02 17:11:01 -06:00
calvin
b1d65bb27a fix: [code-421]: addressed tans comment 2023-06-02 16:49:13 -06:00
calvin
742beda319 fix: [code-421]: fix image carousel and yarn checks 2023-06-02 14:34:06 -06:00
Tan Nhu
674dcc11d2 feat: Add some improvements into Pull Request creation flow (#110) 2023-06-02 17:44:10 +00:00
calvin
c3b945623b fix: [code-411]: addressed comments 2023-06-01 11:15:27 -06:00
calvin
8ef7a3f98a fix: [code-400]: User with only read permission is able to edit file 2023-05-31 16:23:29 -06:00
calvin
4442454940 fix: [code-411]: fix comment 2023-05-31 15:52:29 -06:00
calvin
ae38a54f9b fix: [code-411]: after creating new tag, page is empty 2023-05-31 15:09:38 -06:00
calvin
fe7f59eb10 feat: [code-286]: fix tag comments 2023-05-30 13:19:14 -06:00
calvin
0d838d815f fix: [code-390]: fix comments part 2 2023-05-30 12:49:05 -06:00
calvin
fef3a78bca fix: [code-390]: fix useeffect 2023-05-29 13:26:05 -06:00
calvin
7a6b24aa4c fix: [code-390]: fix comments 2023-05-29 13:26:05 -06:00
calvin
4f642a6d16 fix: [code-390]: fix state in url in repo pagination 2023-05-29 13:24:35 -06:00
calvin
05f53f7657 feat: [code-286]: add empty tag image 2023-05-28 17:04:15 -06:00
Tan Nhu
5e063bd729 Merge branch 'ui/pr-improvements' of _OKE5H2PQKOUfzFFDuD4FA/default/CODE/gitness (#95) 2023-05-25 16:19:04 +00:00
“tan-nhu”
3afec4c78b feat: [CODE-350]: Add some PR Comment improvements 2023-05-24 17:54:28 -07:00
calvin
070b739c6f feat: [code-286]: fix yarn checks 2023-05-21 22:07:16 -06:00
calvin
0f4b58adcb feat: [code-286]: add tag create, list and delete 2023-05-21 21:50:26 -06:00
Hitesh Aringa
158fcaaef6 Merge branch 'ui/pr-bugs' of _OKE5H2PQKOUfzFFDuD4FA/default/CODE/gitness (#72) 2023-05-16 23:13:58 +00:00
Enver Bisevac
25a0f31df6 rebase and merge implementation 2023-05-15 18:12:55 +02:00
Enver Bisevac
4c4035d1e3 Merge branch 'eb/code-174' of _OKE5H2PQKOUfzFFDuD4FA/default/CODE/gitness (#63) 2023-05-12 15:57:52 +00:00
Enver Bisevac
74c3c856a8 squash merge option added 2023-05-12 14:33:02 +02:00
“tan-nhu”
3a51f87fc4 feat: [CODE-307/308]: Remove unneccessary loading spinner 2023-05-10 17:23:25 -07:00
“tan-nhu”
993c31e5a2 feat: [CODE-307/308]: Submitting a PR review requires commit SHA + Resolve/Unresolve comments 2023-05-10 16:50:56 -07:00
“tan-nhu”
4e18c009bb feat: [CODE-298]: Code Comment API integration + Optimize PR polling + implement unchecked status 2023-05-10 02:13:52 -07:00
Tan Nhu
f3eed8ba00 Merge branch 'ui/CODE-276' of _OKE5H2PQKOUfzFFDuD4FA/default/CODE/gitness (#55) 2023-05-05 04:47:10 +00:00
“tan-nhu”
e9f7494c0c feat: [CODE-276]: Implement responsive file/folder path 2023-05-04 21:46:47 -07:00
“tan-nhu”
68feaa4d42 feat: [CODE-276]: Implement responsive file/folder path 2023-05-04 15:18:14 -07:00
calvin
1beac5ff12 fix: [code-289]: fix clone 2023-05-04 09:42:02 -06:00
calvin
e33de49983 fix: [code-289]: Pass CODE_REPOSITORY instead of CODE_REPO 2023-05-03 20:07:12 -06:00
“tan-nhu”
a1818991aa feat: [CODE-25]: Handle relative links to repository files inside a README 2023-05-02 13:32:53 -07:00
“tan-nhu”
e191bd1550 feat: Adjust file viewer height to adapt with NG parent container structure 2023-05-01 17:05:04 -07:00
Tan Nhu
db0fcbcde4 Merge branch 'ui/editor-dirty-check' of _OKE5H2PQKOUfzFFDuD4FA/default/CODE/gitness (#48) 2023-05-01 23:32:14 +00:00
“tan-nhu”
37940a4527 feat: Not showing confirmation when commit is done successfully 2023-05-01 16:31:32 -07:00
“tan-nhu”
e3e132967d feat: Implement Editor dirty check when moving away from pages 2023-05-01 15:26:37 -07:00
“tan-nhu”
2f81d18e08 feat: [CODE-285]: Show the warning message when user is editing in read only editor 2023-05-01 12:26:11 -07:00
“tan-nhu”
e146d2b15e Fix double scrollbar on fixed height Markdown editor 2023-05-01 11:00:08 -07:00
“tan-nhu”
3840b36285 feat: [CODE-263]: API integration for new PR Code Comment API 2023-04-28 14:59:04 -07:00
“tan-nhu”
821d79d53c Implememnt diff view in editing file 2023-04-28 10:23:12 -07:00
“tan-nhu”
dc15e6bb18 feat: [CODE-215]: Move GitBlame to a separate tab + UI tweaks per Design 2023-04-25 17:46:40 -07:00
“tan-nhu”
0ff7bfa5d8 Export AppWrapper to allow components to be rendered in a separate React root 2023-04-24 15:32:07 -07:00
“tan-nhu”
8ef722a57b Export AppWrapper to allow components to be rendered in a separate React root 2023-04-24 15:30:02 -07:00
calvin
033ca93df0 feat: [code-213]: fix pr checks 2023-04-24 16:01:02 -06:00
calvin
a9a3dbbce5 feat: [code-213]: add clone credentials 2023-04-24 14:41:08 -06:00
Calvin Lee
47bca44bc0 Merge branch 'code-213' of _OKE5H2PQKOUfzFFDuD4FA/default/CODE/gitness (#38) 2023-04-24 20:15:12 +00:00
Tan Nhu
e091e06a5d Merge branch 'ui/markdown-editor-slowness' of _OKE5H2PQKOUfzFFDuD4FA/default/CODE/gitness (#39) 2023-04-24 20:09:48 +00:00
“tan-nhu”
1873bf57d6 Resolve Editor slowness by replacing Editor React wrapper lib 2023-04-24 12:41:42 -07:00
calvin
077d4a5faf feat: [code-213]: clone credential dialog 2023-04-24 12:37:01 -06:00
calvin
7134529e12 fix: [code-241]: fix filtering and rbac on pr page 2023-04-19 17:33:45 -06:00
calvin
1e07de3109 fix: [code-240]: approving in changes tab throws error 2023-04-19 13:26:21 -06:00
Johannes Batzill
cd9b8f1413 add raw api to swagger and regenerate web/services 2023-04-18 12:17:22 -07:00
calvin
ad28fbebe7 feat: [code-217]: pr audit changes 2023-04-17 17:11:22 -06:00
calvin
f60e1e36c4 feat: [code-218]: pr review button 2023-04-10 15:06:50 -06:00
calvin
c6e41dcaee Revert "feat: [code-218]: pr review button"
This reverts commit c55cb3ae0a.
2023-04-10 15:05:20 -06:00
calvin
c55cb3ae0a feat: [code-218]: pr review button 2023-04-10 15:00:23 -06:00
“tan-nhu”
6e7d1e39fe Fix function name 2023-04-06 15:54:06 -07:00
“tan-nhu”
e22f4b9c34 Create Editor component to wrap CodeMirror 6 2023-04-06 15:48:58 -07:00
Tan Nhu
f1ffdadde7 Merge branch 'ui/editor-optimization' of _OKE5H2PQKOUfzFFDuD4FA/default/CODE/gitness (#23) 2023-04-06 21:51:25 +00:00
“tan-nhu”
1fd425d51e Performance improvement for GitBlame UI 2023-04-06 14:31:58 -07:00
Calvin Lee
99e1437e60 Merge branch 'code-216' of _OKE5H2PQKOUfzFFDuD4FA/default/CODE/gitness (#21) 2023-04-06 21:31:06 +00:00
calvin
112bf5945e feat: [code-214]: fix the onboarding documentation 2023-04-06 15:28:27 -06:00
calvin
5cfec3ad14 feat: [code-216]: pr listing audit 2023-04-06 14:17:32 -06:00
calvin
8dec407dc5 feat: [code-216]: pr listing view 2023-04-06 14:02:56 -06:00
“tan-nhu”
d0c7631720 Performance improvement for GitBlame UI 2023-04-06 12:33:20 -07:00
“tan-nhu”
bd35901bc2 Update Blame UI with new API types 2023-04-05 13:11:51 -07:00
calvin
9887d42685 feat: [code-181]: rbac 2023-04-03 10:14:56 -07:00
“tan-nhu”
ae906126e9 Add Git Blame UI + API integration 2023-04-02 22:50:52 -07:00
“tan-nhu”
092a878ba8 Implement CopyButton + link to file in DiffViewer 2023-03-16 13:24:41 -07:00
“tan-nhu”
a083cfc116 Ajust search input loading position + pass getString to ImageCarousel 2023-03-16 12:09:34 -07:00
“tan-nhu”
1ff1809990 Prototype for PR Checks UI 2023-03-16 11:00:10 -07:00
Tan Nhu
01abc39351 Downgrade useModal to 1.1.0 (#370)
Co-authored-by: “tan-nhu” <“tan@harness.io”>
2023-03-09 09:01:36 -08:00
Calvin Lee
5241762772 feat: [code-51]: image preview on conversation (#365) 2023-03-07 16:20:36 -07:00
Tan Nhu
6b5e1cfac3 Reduce number of output files in production build from 400+ to 100+ (#363)
Co-authored-by: “tan-nhu” <“tan@harness.io”>
2023-03-02 14:08:12 -08:00
Tan Nhu
888b643da9 Fix DefinePlugin __DEV__ conflict warning (#362)
Co-authored-by: “tan-nhu” <“tan@harness.io”>
2023-03-02 12:25:48 -08:00
Tan Nhu
5fcf8eb746 Fix all linting warnings (#361)
Co-authored-by: “tan-nhu” <“tan@harness.io”>
2023-03-02 00:27:20 -08:00
Tan Nhu
ddce5e817d Proper decoding UTF8 content to support Emoji / special UTF8 chars (#360) 2023-03-01 10:29:59 -08:00
Johannes Batzill
b44948bd97 [MISC] Expose Content Encoding as Enum across APIs (#359) 2023-02-27 18:50:52 -08:00
Tan Nhu
ba6645cdaa use useHistory inside MarkdownViewer (#358)
Co-authored-by: “Tan <“tan@harness.io”>
2023-02-27 12:04:49 -08:00
Tan Nhu
a96ed98e5d Handle markdown links and videos (#357) 2023-02-27 11:15:57 -08:00
Tan Nhu
a591567683 Disable lodash from share packages (#355)
Co-authored-by: Tan Nhu <tnhu@users.noreply.github.com>
2023-02-24 09:55:37 -08:00
Calvin Lee
f54c23055c feat: [code-101]: added dotted lines to conversation page (#354) 2023-02-24 10:02:24 -07:00
Tan Nhu
2b5b061ec2 feat: [CODE-130]: CDN support experiment for Code in QA (#351) 2023-02-23 18:25:32 -08:00
Calvin Lee
cc4c753971 feat: [code-101]: fix icons on system update (#348) 2023-02-21 10:57:35 -07:00
Calvin Lee
a50e95b8ad feat: [CODE-133]: add sort filters and active state (#347) 2023-02-16 16:40:32 -07:00
Johannes Batzill
cbd9096a4e [WEB-SERVICES] generate latest (#343) 2023-02-14 20:27:33 -08:00
Calvin Lee
278ef7a496 fix: [code-132]: fix ui issues on empty repo page (#337) 2023-02-14 16:50:59 -07:00
Tan Nhu
bfdadfa87e Optimize merge button transition to reduce flickering (#333) 2023-02-14 13:39:03 -08:00
Tan Nhu
b809e6cb1a Integrate merge-check API (#331)
Co-authored-by: Tan Nhu <tnhu@users.noreply.github.com>
2023-02-14 10:49:26 -08:00
Calvin Lee
4d8f69184f fix: [code-126]: update pr listing page (#329) 2023-02-13 13:13:21 -07:00
Calvin Lee
d2fe64388c feat: [code-118]: update option menu colors and icons in pr page (#326) 2023-02-13 11:22:24 -07:00
Calvin Lee
4ce49f2555 feat: [code-126]: update the pr listing page (#324) 2023-02-10 19:02:01 -07:00
Calvin Lee
4c00e52107 feat: [code-127]: Fix the UI bugs on the PR conversation page (#322) 2023-02-10 10:30:48 -07:00
Calvin Lee
5cd22f0689 feat: [code-100]: pop-up panel for webhook on/off (#321) 2023-02-09 14:37:12 -07:00
Tan Nhu
5cc2b03156 Update some styling for Compare page (#320)
Co-authored-by: Tan Nhu <tnhu@users.noreply.github.com>
2023-02-09 12:39:07 -08:00
Calvin Lee
e179696678 feat: [code-120]: internal page refresh button (#316) 2023-02-09 13:00:44 -07:00
Calvin Lee
f2358bd4ec feat: [code-121]: add reviewers and tags sidebar (#317) 2023-02-08 16:27:10 -07:00
Tan Nhu
04702def71 Fix broken QA build due to lodash-es lib (#311)
Co-authored-by: Tan Nhu <tnhu@users.noreply.github.com>
2023-02-03 23:09:39 -08:00
Calvin Lee
eaaa825e67 feat: [scm-88]: fix spacing on toggle modal (#305) 2023-02-03 10:24:54 -07:00
Calvin Lee
29e12e3e2f feat: [scm-115]: Show error message with link to go to existing PR when creating one that exists (#294) 2023-02-02 17:47:48 -07:00
Calvin Lee
5277f4d707 feat: [scm-88]: confirmation dialog for enable/disable webhook toggle (#295) 2023-02-02 16:17:45 -07:00
Johannes Batzill
c5d92b498b [API] Add GetCommit API (#291) 2023-02-01 18:50:54 -08:00
Johannes Batzill
fe83493623 [API] Add GetBranch API (#290) 2023-02-01 18:13:27 -08:00
Tan Nhu
edef133aa8 Do not use qs library for now due to it's not loaded in QA environment (#288) 2023-02-01 16:40:57 -08:00
Johannes Batzill
83c24913d3 [Webhook] Add pullreq_created and pullreq_reopened webhook triggers (#283) 2023-02-01 13:52:36 -08:00
Tan Nhu
920d74ff5d Last attempt to fix Monaco not being loaded in QA (#276)
Co-authored-by: Tan Nhu <tnhu@users.noreply.github.com>
2023-01-31 22:21:32 -08:00
Calvin Lee
0f03bbb07d feat: [scm-56]: Crashing for file not found in Files View (#277) 2023-01-31 21:36:27 -07:00
Calvin Lee
2c6f2806a8 feat: [scm-81]: fix toggle on webhook page (#275) 2023-01-31 15:41:43 -07:00
Tan Nhu
5a170f9345 Disable shared monaco lib completely (#273)
Co-authored-by: Tan Nhu <tnhu@users.noreply.github.com>
2023-01-31 13:36:19 -08:00
Johannes Batzill
8f82c0ce4e [Webhook] Add Support for PR Branch Updated (#267) 2023-01-31 13:07:48 -08:00
Tan Nhu
c12775862b Disable Review button when PR is draft (#272)
Co-authored-by: Tan Nhu <tnhu@users.noreply.github.com>
2023-01-31 09:10:53 -08:00
Tan Nhu
77f1463f2c Add nullable check when rendering comment (#271)
Co-authored-by: Tan Nhu <tnhu@users.noreply.github.com>
2023-01-31 08:53:47 -08:00
Tan Nhu
a2cac1e82b API integration for different type of merges (#268)
Co-authored-by: Tan Nhu <tnhu@users.noreply.github.com>
2023-01-31 08:41:46 -08:00
Calvin Lee
443394b964 feat: [scm-81]: restyle webhook page (#266) 2023-01-30 16:53:41 -07:00
Calvin Lee
d445cf6f72 feat: [scm-81]: restyle webhook list page (#261) 2023-01-27 16:02:33 -07:00
Calvin Lee
7e98f4828b feat: [scm-73]: fix empty repo page (#258) 2023-01-27 15:57:17 -07:00
Calvin Lee
001d706998 feat: [scm-73]: Update repo empty state with new design (#254) 2023-01-26 17:21:43 -07:00
Johannes Batzill
2227e13e7d [MISC] Fix Swagger and Regenerate WEB Services (#246) 2023-01-24 15:46:49 -08:00
Tan Nhu
b700603fef Sort PR activities + add animation when creating a new comment (#243)
Co-authored-by: Tan Nhu <tnhu@users.noreply.github.com>
2023-01-23 23:48:37 -08:00
Tan Nhu
16487667aa Render PR diff snapshot in the first thread comment (#239)
Co-authored-by: Tan Nhu <tnhu@users.noreply.github.com>
2023-01-22 12:32:31 -08:00
Tan Nhu
48c6802a9f Finalize PR Code Comment integration (#237) 2023-01-20 15:29:11 -08:00
Tan Nhu
56a6dba484 Implement PR code commenting using payload field (#235) 2023-01-19 16:29:38 -08:00
Tan Nhu
230fed6a52 Consolidate page spinner across UI codebase (#229) 2023-01-18 16:31:06 -08:00
Tan Nhu
e4b529d32d Consolidate NoResultCard + styling for tabs (#227) 2023-01-18 05:45:06 -08:00
Tan Nhu
09e3c89657 Add empty state for Compare and PR views (#225) 2023-01-17 17:12:53 -08:00
Tan Nhu
eed7b2c29b Consolidate logic to show No Result (#223)
* Add no result search view into repo listing view

* Consolidate logic to show No Result
2023-01-17 16:11:39 -08:00
Tan Nhu
1aa1123bd2 Consolidate pagination for the whole codebase + Use SearchInputWithSpinner component (#222)
* Remove center layout for empty repo info - hard to read

* Consolidate pagination for the whole codebase

* Use SearchInputWithSpinner component

* Use SearchInputWithSpinner component
2023-01-17 14:59:56 -08:00
Tan Nhu
a611a2c038 Remove center layout for empty repo info - hard to read (#219) 2023-01-16 12:34:59 -08:00
Tan Nhu
fd5bbc6904 Fix small git url typo (#218) 2023-01-16 12:26:41 -08:00
Tan Nhu
92c82f5c44 Disable branch creation when committing first new file into an empty repo (#217) 2023-01-16 12:20:09 -08:00
Tan Nhu
797e339e02 Implement flow to create a new file when repo is empty (#216)
* Implement flow to create a new file when repo is empty

* Implement flow to create a new file when repo is empty

* Fix edit file does not show content
2023-01-16 11:51:00 -08:00
Tan Nhu
bbae67299c Finish API integration for PR review box (#212) 2023-01-13 13:41:07 -08:00
Tan Nhu
c31c315459 Add ability to edit PR title (#211) 2023-01-13 12:17:24 -08:00
Tan Nhu
3b5542a61d Add Pagination for Diff view (#208) 2023-01-13 09:23:10 -08:00
Johannes Batzill
c827fa5e66 [MISC] Webhook Creation Default To Secure, Fix PR/Compare Commit Listing, Fix Merge Commit Message (#203)
This change is fixing a few things on both UI and backend side:
- update webhook creation screen to default to enable ssl verification (secure by default should always be the move)
- fix pr/compare commit listing to show correct diffs the head branch is ahead of the base branch (NOTE: THIS ONLY SHOWS THE LATEST 20 COMMITS - NO PAGINATION ADDED)
- fix merge commit message to contain the correct head branch, source repo path and pr numbers (similar'ish to github)
2023-01-13 02:49:39 -08:00
Johannes Batzill
d9a01ef9a3 [MISC] Update UI webhook creation to enable secure by default (#202) 2023-01-13 01:40:15 -08:00
Johannes Batzill
eabdf2ab86 [MISC] Show merged after PR got merged (#201) 2023-01-13 00:35:41 -08:00
Johannes Batzill
65c59d0b5b [MISC] Fix review bugs, regenerate swagger from latest service, fix webhook.has_secret in swagger (#198)
This change contains the following changes:
- allow submitting reviews without comment for approve
- fix openapi for /reviews api and fix UI calls for submitting reviews
- fix recently broken openapi for webhook (it removed has_secret field as part of openapi refactor)
- fix fatal submit review bug (we passed repo.UID not repo.GitUID to gitrpc - not sure how that ever worked?)
- add missing merge pr activity to list of all pr activity enum values
- return all PR states by default
- show Open PRs by default (instead of all) and fix state filtering query
- regenerate code services based on latest swagger
- fix UI code to work with regenerated code service
2023-01-12 22:39:38 -08:00
Tan Nhu
b7e0f6cce5 Minor change to disable Review changes button (#197)
* Minor change to disable Review changes button

* Update PR listing icons
2023-01-12 21:04:08 -08:00
Johannes Batzill
517166965b [UI] Add Tag Events, Enable All Events, Fix Empty Secret (#196)
* webhook edit from only show SECRET_MASK if webhook has a secret

* Add tag events, support 'all events', hide 'push events'
2023-01-12 18:24:37 -08:00
Tan Nhu
73bc9a55f7 Implement PR review changes flow (#195) 2023-01-12 12:45:31 -08:00
Tan Nhu
38fb97b8e2 Add placeholder for Review changes (#193) 2023-01-12 09:56:01 -08:00
Tan Nhu
1c5a588a83 Hide Review button when PR is merged + Fix PR.id issue (#191)
* Replace all references of PR.id by PR.number

* Hide Review button when PR is merged
2023-01-12 04:20:27 -08:00
Tan Nhu
b2bf061679 Replace all references of PR.id by PR.number (#190) 2023-01-12 02:18:16 -08:00
Tan Nhu
eb8d125f8b Minor text change (#189) 2023-01-12 02:05:50 -08:00
Tan Nhu
86bf9cb0c4 Render PR activity system type (#188) 2023-01-12 01:46:29 -08:00
Tan Nhu
6719e11c09 Add styling for two PR states (#187)
* Refresh activities after merging

* Fix activities API call using wrong PR number

* Update logic to submit webhook secret

* Update webhook with new fields (display_name, desc)

* Add styling for two PR states
2023-01-12 01:14:26 -08:00
Johannes Batzill
5b55f48772 [Tags] Adding EVENT and WEBHOOK Support For Tags (#185)
Adding tagcreated, tagupdated, and tagdeleted events.
Adding tag_created, tag_updated, and tag_deleted webhooks
2023-01-11 20:56:00 -08:00
Johannes Batzill
d4d74f0f44 [SWAGGER] update swagger with latest webhook changes and re-render web services (#184) 2023-01-11 17:41:01 -08:00
Tan Nhu
79318bd522 Fix activities API call using wrong PR number (#179)
* Refresh activities after merging

* Fix activities API call using wrong PR number
2023-01-11 12:02:22 -08:00
Tan Nhu
f7962785aa Add minor webhook edit flow improvements (#178) 2023-01-11 09:10:59 -08:00
Tan Nhu
abd132fdf6 Implement Webhook CRUD (#177) 2023-01-11 08:44:50 -08:00
Johannes Batzill
777eaadba7 regenerate web services to update to latest set of webhook triggers (#166) 2023-01-06 02:53:16 -08:00
Tan Nhu
1c769238f1 Small optimization when editing PR description (#165) 2023-01-06 02:12:01 -08:00
Tan Nhu
4938718aca Add Changes integration into PR Compare view (#164) 2023-01-06 01:56:37 -08:00
Tan Nhu
4c6c2b3b56 Fix service generation bug + fix reply to comment thread rendering (#162) 2023-01-05 23:08:39 -08:00
Tan Nhu
b2c4de4751 Full API integration for PR Conversation tab (#161) 2023-01-05 21:26:50 -08:00
Tan Nhu
8ac12ee341 API integration for Conversation comments (#153) 2023-01-02 16:14:51 -08:00
Tan Nhu
58a2d90973 Redirect to Compare when editing a file with new branch created (#149) 2022-12-29 22:41:43 -08:00
Marko Gaćeša
a79e187a88 DB & API refactor: Use snake case (#144)
Update DB and API to follow Harness Standard
2022-12-29 13:53:08 -08:00
Tan Nhu
e4ae2b269b Implement components to support PR commenting (#146) 2022-12-28 15:58:02 -08:00
Johannes Batzill
1337f729e7 [Webhook] Add Swagger (#145)
This change adds webhook APIs to swagger and regenerates the web service clients based on the latest swagger.
2022-12-28 14:42:13 -08:00
Tan Nhu
23792ab2f5 Add Diff view Line Break configuration (#135)
* Add Diff view Line Break configuration

* Minor string change
2022-12-23 00:57:56 -08:00
Johannes Batzill
63c3740e58 [UI] Consume Latest OpenAPI Specs (#134)
* regenerate CODE service code to match latest API specs

* update readme
2022-12-22 21:58:38 -08:00
Tan Nhu
9da9aa42b5 Remove bad tick from icons package (#133) 2022-12-22 15:48:00 -08:00
Tan Nhu
97e70cd581 Implement commenting thread (#132)
* Implement commenting thread

* Add extra comment example
2022-12-22 15:06:56 -08:00
Tan Nhu
da3bfc9bd0 Implement PR commenting prototype (#131)
* Remove unused packages

* Remove some unused packages

* Height adjustment calculation for DiffViewer with CommentBox inside

* Add logic to render existing comments

* Improve rendering performance

* Remove optimization that makes things slow

* Use 'auto' to boost re-layout performance

* Fix wrong height calculation when 'auto' is being sent

* Fix CommentBox height adjustment when comments got changed
2022-12-22 13:34:54 -08:00
Tan Nhu
43c7e94e06 Add markdown editor into commenting (#128)
* Small refactoring

* Refactoring: Make it a bit easier for DOM manipulation

* Add markdown editor into commenting
2022-12-20 11:28:56 -08:00
Tan Nhu
0d49ef1d69 Prototyping for diff annotations (#127) 2022-12-16 09:57:52 -08:00
Tan Nhu
619fd2c9de Add PR listing page + Commits tab for PR detail page (#123)
* Add PR listing page + Commits tab for PR detail page

* Add commits place-holder in Compare view

* Add commits place-holder in Compare view

* Correct PR number after creation

* Minor CSS improvement

* Add diff sample

* Diff side by side (3.4.2 is better than latest)

* Big PR diff example

* Implement diff view

* Scrolling optimization

* Add placeholder to allow click at line number
2022-12-12 16:39:14 -08:00
Tan Nhu
d898f4edb7 Add placeholders for PR page (#113)
* Add placeholders for PR page

* Add placeholders for PR page
2022-12-05 10:44:47 -08:00
Tan Nhu
225199b008 feat: Add Create Git Pull Request flow (#111) 2022-12-02 21:32:42 -08:00
Sahithi Kolichala
7c4fe6292f feat: [SCM-42]: added tabs to settings page (#108)
* feat: [SCM-42]: added setting tabs

* feat: [SCM-42]: added settingtabs

* feat: [SCM-42]: added tabs to the settings page

* feat: [SCM-42]: fixed review comments
2022-12-02 21:08:03 -08:00
Sahithi Kolichala
4c8323584b feat: [SCM-42]: fixed the reposetings content (#107) 2022-12-01 13:59:04 -08:00
Sahithi Kolichala
caea272046 feat: [SCM-42]: added listing page (#106) 2022-12-01 13:55:04 -08:00
Tan Nhu
edb6baabc6 Refactor to use shorter names + initial code for PR (#104) 2022-12-01 11:21:25 -08:00
Enver Bisevac
7a54ef9d65 fix with file content on commit, fix linter, removed unused provider 2022-11-30 22:36:01 +01:00
Sahithi Kolichala
08f8c14055 feat: [SCM-42]: added createwebhook form (#103)
* feat: [SCM-42]: added createwebhook form

* fix: [SCM-42]: mdified the string

* fix: [SCM-42]: use strings for strings
2022-11-30 11:02:42 -08:00
Tan Nhu
6e5147578b Minor padding improvements (#102) 2022-11-29 20:01:13 -08:00
Sahithi Kolichala
e410681739 fix: [SCM-42]: fixed the webhook page header (#101) 2022-11-29 14:09:50 -08:00
Tan Nhu
a567a6ce76 Fix highlighting not enable at root level (#97) 2022-11-29 03:11:27 -08:00
Tan Nhu
a90fc1c59e Fix 500 exception when editing a file (#96) 2022-11-29 02:48:37 -08:00
Tan Nhu
505d72049b Finalize API integration for commits (#95) 2022-11-29 02:21:23 -08:00
Sahithi Kolichala
b8cc24c491 feat: [SCM-42]: added route for createwebhook (#93)
* feat: added route for createwebhook

* feat: added createwebhook route
2022-11-28 14:48:30 -08:00
Tan Nhu
17c93350ae feat: [SCM-36]: Refactor SCM to CODE (#92) 2022-11-23 16:39:41 -08:00
Sahithi Kolichala
bb6850f13f added settings empty flow (#90) 2022-11-23 13:38:03 -08:00
Tan Nhu
68de8e236b Fix branches pagination (#88) 2022-11-23 02:53:51 -08:00
Tan Nhu
cc6fbbf58d Resolve cicular dependency (#87) 2022-11-22 14:12:16 -08:00
Tan Nhu
362137440f Use new BranchTagSelect in creating a new branch modal (#84)
* Use new BranchTagSelect in creating a new branch modal

* Use new BranchTagSelect in creating a new branch modal
2022-11-22 03:16:24 -08:00
Tan Nhu
49736b308c Add BranchTagSelect component (#83)
* Fix message encoding

* Add prototype for BranchTagSelect component

* Finish BranchAndTag component
2022-11-22 02:35:18 -08:00
Tan Nhu
e5fe4b67fe Fix message encoding (#81) 2022-11-17 03:03:50 -08:00
Tan Nhu
21eb0f61b6 Fix branch sorting (#80)
* Implement Branch item actions

* Implement Branch item actions

* Fix sorting
2022-11-17 02:02:26 -08:00
Tan Nhu
6d8c979e7c Implement Branch item actions (#79)
* Implement Branch item actions

* Implement Branch item actions
2022-11-17 01:48:48 -08:00
Tan Nhu
7116c2fbe4 Implement Create Branch (#78)
* Update new icons

* Implement Create Branch
2022-11-17 00:16:57 -08:00
Johannes Batzill
60f0ea969d [API] Add API For Commit Divergence Calulation (#77)
This commit contains the following changes:
- Add `commits/calculate_divergence` API to calculate commit divergence of reference pairs
- Rename `serviceAccounts` to `service_accounts` to follow REST best practices
2022-11-16 16:53:31 -08:00
Tan Nhu
f204a5a2f8 Fix double ? in API URL (#75) 2022-11-15 13:21:31 -08:00
Tan Nhu
782c6f2bd7 Refactor type system + add flow to copy/edit/delete a file (#73)
* Fix double query

* Add file toolbar buttons + wire up copy, delete, etc...

* Refactor type system
2022-11-15 02:42:59 -08:00
Enver Bisevac
07a630c40b repoStore findref fixed 2022-11-14 13:08:28 +01:00
Tan Nhu
5ab69952e2 Disable caching and sniffing via HTTP headers for UI main entry resources (#72) 2022-11-13 20:18:07 -08:00
Johannes Batzill
681e1f1c14 [SWAGGER] Add create/delete branch swagger, fix existing swagger (#71)
This change includes the following:
- add swagger for create / delete branch api
- remove `json` tag from fields of swagger objects that only occur in the path
2022-11-10 21:21:38 -08:00
Tan Nhu
81040d0453 Fix double query (#69) 2022-11-10 17:46:07 -08:00
Tan Nhu
31a58e3172 Add routingId to support Harness gateway + Prototype for Commit modal (#68)
* Implement file path edit input

* Implement file path edit input - cont

* Prototype for Commit modal

* Add routingId to support Harness gateway
2022-11-10 15:17:55 -08:00
Tan Nhu
b93c0ce103 Update git clone URL (#65) 2022-11-08 19:45:38 -08:00
Tan Nhu
a418e5e94f Add some debugging info for PR deployment (#62)
* Add some debugging info for PR deployment

* Add some debugging info for PR deployment
2022-11-08 17:07:49 -08:00
Tan Nhu
93dbc6005f Correct API URL path + minor code editor change (#61)
* autoFocus editor

* Correct API URL path
2022-11-08 16:37:13 -08:00
Tan Nhu
073154eebb Update clone URL + minor code refactoring (#60)
* FileEditor improvements

* Update clone URL + minor code refactoring
2022-11-08 14:34:43 -08:00
Johannes Batzill
8fe80ab811 Remove Identifier from UI - Replace with original Name (#59)
* remove identifier from UI and replace it with original 'Name'
* extend uid to length 100
* allow repo name of length 1
2022-11-07 14:37:50 -08:00
Tan Nhu
c7f852cbf4 Flow for edit file (#58) 2022-11-07 11:35:48 -08:00
Johannes Batzill
3ba0f75c8d Introduce UIDs for Space / Repo / Tokens, Add Custom Harness Validation, ... (#57)
This change adds the following:
- Space UID + Custom harness validation (accountId for top level space, harness identifier for child spaces)
- Repo UID + Custom harness validation (harness identifier)
- Store Unique casing of space / repo path and add Path.ValueUnique (with Unique index) to allow for application layer controlling the case sensitivity (case insensitive standalone vs partially case sensitive harness)
- Token UID (unique index over ownertype + ownerID + tokenUID)
- Add DisplayName for principals (replaces Name to avoid confustion)
- Store Unique casing of principal UID and add Principal.ValueUnique (with unique index) to allow for application layer, per principal type control of case sensitivity (required in embedded mode)
- Generate serviceAccount UID (+Email) Randomly (sa-{space|repo}-{ID}-{random}) - Allows to have a unique UID across all principals while reducing likelyhood of overlaps with users + avoid overlap across spaces / repos.
- Sync casing of space names (accountId orgId projectId) when creating spaces on the fly (to ensure case sensitivity of - harness code) or use the existing space to update casing.
- Update serviceaccount client to match updated NG Manager API
- in embedded mode create spaces for harness resources owning the service account
2022-11-06 23:14:47 -08:00
Tan Nhu
2fe8669119 Add clone tooltip (#56) 2022-11-06 12:39:14 -08:00
Tan Nhu
0d5771d706 Implement Branches page (#55) 2022-11-04 00:22:21 -07:00
Tan Nhu
23e597758a Refactor: abstract parameters into hooks + add placeholders for branches and settings (#54) 2022-11-03 15:48:55 -07:00
Tan Nhu
0bdae50be2 API integration for Commits page (#52) 2022-11-01 20:38:42 -07:00
Tan Nhu
3f7fc109d0 Branch search and styles (#50)
* Add LatestCommit component

* Add branches search

* Proper link for root
2022-11-01 00:53:46 -07:00
Tan Nhu
c21b860e46 Refactor: Use types from SCM Service (#48) 2022-10-27 00:57:20 -07:00
Tan Nhu
c8b978a6ed API integrations + simplify design (#46) 2022-10-25 03:25:46 -07:00
Enver Bisevac
00647d7d1b [MAINT] golangci-lint config changed (#31)
* goheader linter added

* file header consistency
2022-10-13 14:39:15 +02:00
Tan Nhu
6cadb048ba Initial skeleton for Repository Resource View flow (#30)
* API integration for Repos listing page

* Add custom branch when creating a repo

* Skeleton for Repository Resource View flow
2022-10-11 23:54:10 -07:00
Tan Nhu
788ee30ba3 Add prototyping for Repos page (#24) 2022-10-03 12:06:27 -07:00
Tan Nhu
2ccfb74a51 Rename SCM to Gitness 2022-08-29 14:28:46 -07:00
Tan Nhu
bad786e769 Add typing improvements 2022-08-26 15:57:05 -07:00
Tan Nhu
f2b65c7f77 Clean up unused files (cont) 2022-08-22 17:04:21 -07:00
Tan Nhu
88dff819c9 Clean up unused files 2022-08-22 16:44:07 -07:00
Tan Nhu
7f5a783416 Merge pull request #3 from harness/ui-template-improved
Simplify routing system
2022-08-22 16:04:37 -07:00
Tan Nhu
6d3d3d62f6 Simplify routing system 2022-08-22 16:04:00 -07:00
Johannes Batzill
813d343f6a Rename module to github.com/harness/scm. Fix web/dist.go 2022-08-18 15:15:50 -07:00
Tan Nhu
7c6da77a27 Sync UI template with latest updates 2022-08-18 11:44:33 -07:00
Tan Nhu
66fea2a730 Sync UI template with latest updates 2022-08-12 12:09:57 -07:00
Tan Nhu
5891818ce1 Initial commit 2022-08-09 12:37:37 -07:00