105 Commits

Author SHA1 Message Date
Tan Nhu
b628a85b72 Replace PR full diff menu options with icons (#1098) 2024-03-05 00:57:40 +00:00
Tan Nhu
d3d28ea3ae Refactoring Pull Request page to improve performance (#985) 2024-01-29 19:39:05 +00:00
vardan.bansal@harness.io vardan
c2e4dda84b feat: [CI-10562]: Introduce embedded annotations in YAML for update of Pipeline Entities (#849) 2023-11-30 22:06:16 +00:00
Dharun Kumar
93b6f9cedf
fix-path-traversal-vulnerability (#3399) 2023-10-06 09:08:01 -07:00
Tan Nhu
ecfe2b5cff Leverage requestAnimationFrame to schedule logs rendering / Render 100k lines of log without lagging (#603) 2023-09-22 18:35:26 +00:00
Tan Nhu
efa4643205 Update Semantic Flow to adapt with new design / Add ctrl-k hotkey to trigger Search (#564) 2023-09-20 09:08:22 +00:00
Tan Nhu
deccb62555 Align UI with design and feedback per bugbash (#541) 2023-09-19 17:36:41 +00:00
Tan Nhu
1572618093 Pipeline Checks refactoring and bug fixes (#515) 2023-09-18 20:52:38 +00:00
Vardan Bansal
c4a211f5f5 minor revert 2023-09-11 16:10:57 -07:00
Vardan Bansal
48a76ae1d5 Merge branch 'main' into add-pipeline-editor 2023-09-11 16:02:56 -07:00
Tan Nhu
ef84e6085f Use typed-scss-modules to generate SCSS module .d.ts files (#425) 2023-09-10 23:39:23 +00:00
Vardan Bansal
94e4cca4d6 Merge branch 'main' into add-pipeline-editor 2023-09-08 21:27:59 -07:00
Tan Nhu
4b36713c0d Update Monaco lib / Fix Git Blame font (#417) 2023-09-08 18:44:52 +00:00
Vardan Bansal
1553cce698 Schema integration for Editor 2023-09-07 04:06:14 -07:00
Tan Nhu
645ec8e30e Remove unused dependencies (#403) 2023-09-05 22:37:52 +00:00
Tan Nhu
96ac05789a Migrate UICore to version 4 to support Gitness fully open source (#338) 2023-08-22 06:25:45 +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
7d000706f0 Implement PR Checks (#289) 2023-08-08 08:50:50 +00:00
Tan Nhu
5bb6084b68 Initial commit to support Gitness standalone shell (#174) 2023-07-14 17:14:36 +00: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
24b3ec9fe9 feat: [code-288]: file commit history 2023-06-05 15:52:15 -06:00
calvin
0f4b58adcb feat: [code-286]: add tag create, list and delete 2023-05-21 21:50:26 -06: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”
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”
1873bf57d6 Resolve Editor slowness by replacing Editor React wrapper lib 2023-04-24 12:41:42 -07:00
“tan-nhu”
ae906126e9 Add Git Blame UI + API integration 2023-04-02 22:50:52 -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
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
a96ed98e5d Handle markdown links and videos (#357) 2023-02-27 11:15:57 -08:00
Calvin Lee
a50e95b8ad feat: [CODE-133]: add sort filters and active state (#347) 2023-02-16 16:40:32 -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
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
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
8ac12ee341 API integration for Conversation comments (#153) 2023-01-02 16:14:51 -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
17c93350ae feat: [SCM-36]: Refactor SCM to CODE (#92) 2022-11-23 16:39:41 -08:00
Tan Nhu
7116c2fbe4 Implement Create Branch (#78)
* Update new icons

* Implement Create Branch
2022-11-17 00:16:57 -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
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
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
c8b978a6ed API integrations + simplify design (#46) 2022-10-25 03:25:46 -07:00