Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
701 commits
Select commit Hold shift + click to select a range
fc44129
fix: updated connector infos under meta (#1776)
harish-viswa Jun 17, 2025
e334579
Fix icons used in portal (#1773)
praneshg239 Jun 17, 2025
155155e
bump ui pkg to 0.0.77 (#1777)
harish-viswa Jun 17, 2025
2497024
Icon size update (#1764)
praneshg239 Jun 17, 2025
955746c
Adopt table v2 component (#1767)
sans-harness Jun 17, 2025
99761d3
Add suffix to Select (#1765)
vivek-harness Jun 18, 2025
60cea71
Update portal code UI and add line numbers (#1778)
praneshg239 Jun 18, 2025
56e9ee2
fix: add custom class name props for root and trigger Select componen…
pixel-buba Jun 18, 2025
0cab7be
Bump UI package to 0.0.78 (#1780)
vivek-harness Jun 18, 2025
a62ca2a
feat: added temporary field utils for forms (#1783)
harish-viswa Jun 19, 2025
29a8383
chore: updated pkg for forms and ui pkg (#1784)
harish-viswa Jun 19, 2025
a1ecc28
add suffix to input reference (#1786)
vivek-harness Jun 19, 2025
c3868c7
Update package.json (#1788)
vivek-harness Jun 19, 2025
61ac290
Improve accordion form input (#1785)
srdjan-harness Jun 19, 2025
00fc9f6
add portal container (#1787)
srdjan-harness Jun 20, 2025
f4c0208
Update Button component default size and Add disabled state for Split…
praneshg239 Jun 20, 2025
46a7411
fix: migrate text tags to Text component (#1790)
pixel-buba Jun 20, 2025
bf5da03
Confirm exit - dirty check (#1791)
srdjan-harness Jun 20, 2025
fefaa97
Bump ui version (#1792)
srdjan-harness Jun 20, 2025
2adb119
add icon colors and support icon color in dropdown menu for multitype…
vivek-harness Jun 20, 2025
2084e9c
Bump UI package to 0.0.82 (#1794)
vivek-harness Jun 20, 2025
3b47703
fix link icon size (#1796)
ankormoreankor Jun 23, 2025
73482d6
new size added (#1797)
cxramina Jun 23, 2025
e42c3f8
Tabs design migration (#1739)
ankormoreankor Jun 23, 2025
e6e2f12
add popover design migration (#1775)
ankormoreankor Jun 23, 2025
d323503
Add component ButtonGroup (#1782)
3em Jun 24, 2025
4fc0971
Design system updates (#1800)
vivek-harness Jun 24, 2025
4df06ad
Add draggable card component (#1798)
sans-harness Jun 24, 2025
587dbe5
Editing tokens (#1801)
cxramina Jun 25, 2025
e7e6319
fix (#1802)
cxramina Jun 25, 2025
21bb403
fixes (#1804)
cxramina Jun 25, 2025
936cca7
fix: add size support for Select and Textarea components (#1803)
pixel-buba Jun 25, 2025
6ab0d2e
Template: header and ViewOnly entity (#1806)
3em Jun 25, 2025
3c03c27
Icon component and documentation updates (#1805)
vivek-harness Jun 25, 2025
c7b8084
fix: injected raw styles under portal container for mfe (#1807)
harish-viswa Jun 25, 2025
a1c93e0
chore: rebase (#1810)
sans-harness Jun 25, 2025
d7ca1cc
chore: bump ui (#1811)
sans-harness Jun 25, 2025
bd41162
Ds migration scroll area (#1733)
pixel-buba Jun 26, 2025
4d1e076
Editing tokens (#1808)
cxramina Jun 26, 2025
017747a
sidebar paddings update (#1813)
cxramina Jun 26, 2025
16c1022
Migrate Diff component to the new design system and restructure UI st…
vivek-harness Jun 26, 2025
11d88f5
Fix PR comment box editor buttons (#1781)
jake-bassett Jun 26, 2025
c32eb43
Update Icon and Installation page with proper components (#1817)
praneshg239 Jun 27, 2025
269d008
fix: added support for loader and icons (#1820)
harish-viswa Jun 27, 2025
e9df05b
Card Select grid layout and other minor updates (#1819)
vivek-harness Jun 27, 2025
72f1742
fix: forms transform for accordion inputs (#1821)
shaurya-harness Jun 27, 2025
70db245
feat: add cel support for visible ui prop (#1772)
shaurya-harness Jun 27, 2025
f0b0355
fix: bump ui version (#1822)
shaurya-harness Jun 27, 2025
33be1e7
Tokens rename (#1818)
cxramina Jun 30, 2025
43696cb
Toast tokens (#1825)
cxramina Jun 30, 2025
f33fee7
Multiselect size migration (#1827)
vivek-harness Jun 30, 2025
752af78
updated typography core line-height values (#1826)
cxramina Jun 30, 2025
68b5f4c
fix: bugs from bugbash (#1829)
sans-harness Jul 1, 2025
71f3df8
handle undefined (#1830)
vardanbansal-harness Jul 1, 2025
402956c
Scroll area fix width full default value (#1824)
pixel-buba Jul 1, 2025
8b19c91
horizontal input label max-width added (#1828)
cxramina Jul 1, 2025
137a286
Toggle and ToggleGroup migration to new api (#1815)
pixel-buba Jul 1, 2025
2872b1a
fix: blame editor time ago format (#1834)
shaurya-harness Jul 1, 2025
1b61c2d
Bugbash fixes (#1833)
vivek-harness Jul 1, 2025
9b08ea8
fix: Updated connector related bug fixes (#1835)
harish-viswa Jul 1, 2025
f3b1925
chore: bump ui version to 0.0.87 (#1836)
harish-viswa Jul 1, 2025
1acf239
Secrets fixes (#1823)
sans-harness Jul 1, 2025
65ab689
Fix theme and language modal and repo created time display (#1837)
praneshg239 Jul 1, 2025
c71b2f2
fix: minor bug fixes (#1838)
sans-harness Jul 2, 2025
2a6cbd5
fix: git commit modal, branch selector (#1841)
shaurya-harness Jul 2, 2025
33d8ca6
Bugbash issues (#1843)
vivek-harness Jul 2, 2025
7ddffda
feat: add fn to list all input types (#1845)
abhinavrastogi-harness Jul 3, 2025
fb8baa4
feat: add 'xs' size support to Drawer component and enhance scroll ar…
pixel-buba Jul 3, 2025
dc74beb
fix: remove border styling for last accordion item (#1842)
pixel-buba Jul 3, 2025
4f0d9a9
ui-0.0.88 (#1846)
abhinavrastogi-harness Jul 3, 2025
2549b7e
feat: Conditional handling of `deploy/template` key (#1831)
vardanbansal-harness Jul 4, 2025
ebae56d
fix side bar theme switch in mfe (#1852)
vivek-harness Jul 4, 2025
6207421
make sure diff styles load for all themes (#1848)
vivek-harness Jul 4, 2025
2f6e5ca
TimeAgoCard design migration (#1851)
pixel-buba Jul 4, 2025
1b01f2d
Templates widgets (#1832)
3em Jul 7, 2025
90a45a3
fix: stage drawer - remove scroll workaround (#1856)
shaurya-harness Jul 7, 2025
91d1f2b
Fix Toggle types (#1857)
3em Jul 7, 2025
19ba1e3
Fix manage navigation modal (#1853)
praneshg239 Jul 7, 2025
bf01bce
Fix code highlight issue in MFE (#1858)
vivek-harness Jul 7, 2025
0b07e97
Fix multiple minor issues (#1854)
sans-harness Jul 7, 2025
a3dfdaa
Update DelegateConnectivityList and DelegateSelectorForm for correct …
pixel-buba Jul 8, 2025
c9b6248
fix: input ui config and forms default value collection for group/acc…
shaurya-harness Jul 8, 2025
d924725
fix: bump ui version (#1861)
shaurya-harness Jul 8, 2025
4189c4d
Code and Blame editor theme switch (#1863)
vivek-harness Jul 8, 2025
cc1cfa3
Bug bash fixes (#1864)
sans-harness Jul 8, 2025
a2411dc
fix: updated drawer to handle nested drawers without specifying manua…
harish-viswa Jul 9, 2025
8653054
Pipeline studio - Split view POC (#1591)
srdjan-harness Jul 9, 2025
0e4b76c
fix: added minor issue fixes in ui pkg (#1862)
harish-viswa Jul 9, 2025
6848185
chore: ui pkg bump to 0.0.90 (#1865)
harish-viswa Jul 9, 2025
ac1b3de
fix commit messages overflow (#1839)
jake-bassett Jul 9, 2025
7c3f990
Fix bugbash issues (#1867)
praneshg239 Jul 10, 2025
bbb44bc
manually add and remove 'select' event handler for pr comment box edi…
jake-bassett Jul 10, 2025
1bc3baf
feat: add disable link on table-cell, fix: entity renderer (#1872)
sans-harness Jul 11, 2025
1c2ebfa
typography line-height logic update (#1874)
praneshg239 Jul 11, 2025
523da5a
sidebar-fade (#1875)
cxramina Jul 11, 2025
4454919
reduce focus spread (#1878)
cxramina Jul 11, 2025
0e27bb1
body line-height changed from normal to snug (#1879)
cxramina Jul 11, 2025
ed592b7
Sidebar design migration (#1799)
ankormoreankor Jul 11, 2025
913b079
feat: updated drawer to not have drag to close (#1877)
harish-viswa Jul 11, 2025
14ac691
feat: Pipeline Studio split view followup changes (#1873)
vardanbansal-harness Jul 11, 2025
17d82bf
Bug bash issue fixes (#1881)
praneshg239 Jul 12, 2025
ff171e5
feat: Accordion Card Variant (#1876)
shaurya-harness Jul 14, 2025
c25307c
fix: Fix usability issues on Step drawer (#1882)
vardanbansal-harness Jul 14, 2025
b6d1fd1
Refactor time formatting across components to use TimeAgoCard (#1860)
pixel-buba Jul 14, 2025
7fbc66c
chore: bump ui version (#1883)
shaurya-harness Jul 14, 2025
4e0e3fc
fix: default options from options/items/enum and connectorTypes from …
shaurya-harness Jul 14, 2025
fc7fa37
Bug fixes (#1885)
praneshg239 Jul 14, 2025
d70f606
feat: Turn off split view by default in Pipeline Studio (#1886)
vardanbansal-harness Jul 14, 2025
21c6fb2
Update package.json (#1888)
vardanbansal-harness Jul 14, 2025
2d83777
fix targets for repos and repo managment nav items (#1889)
jake-bassett Jul 14, 2025
4bda247
fix: minor change to entity ref compare (#1891)
sans-harness Jul 14, 2025
2b2b70d
fix: ui and gitness shared dependencies sharing fix (#1890)
abhinavrastogi-harness Jul 14, 2025
d3055ca
chore: bump ui (#1892)
sans-harness Jul 14, 2025
16f10fe
Add Horizontal layout to Form Inputs (#1868)
3em Jul 15, 2025
6919a98
Revert "fix: ui and gitness shared dependencies sharing fix (#1890)" …
shaurya-harness Jul 15, 2025
4f70b7a
typography multiplier and toast update (#1894)
cxramina Jul 15, 2025
d1939d0
fix: disable link on cells connectors (#1896)
sans-harness Jul 15, 2025
c26cbc0
fix: correct bodyProps definition in DelegateSelectorForm (#1897)
pixel-buba Jul 16, 2025
3cf967b
feat: [RM-272]: export canvas (#1899)
abhishekbaneharness Jul 16, 2025
eadec40
Fix badge issue (#1898)
praneshg239 Jul 16, 2025
2a66b19
feat: [RM-272]: update version of pipeline-grpah (#1900)
abhishekbaneharness Jul 16, 2025
d75c7ce
chore: Restoring changes from PR #1890 (#1904)
vardanbansal-harness Jul 16, 2025
ea064c1
chore: bump ui (#1905)
sans-harness Jul 16, 2025
f8d7487
Fix comment add button view at gittDiff (#1902)
pixel-buba Jul 17, 2025
71ac1a7
multi canvas global state (#1908)
srdjan-harness Jul 17, 2025
0361f08
caption strong typography style added (#1901)
cxramina Jul 17, 2025
184dda1
bump pipeline graph version (#1909)
srdjan-harness Jul 17, 2025
b027b71
fix: added minor updated to filters (#1910)
harish-viswa Jul 17, 2025
23e12e5
fix: input output transform and default inputs for pipeline inputs (#…
shaurya-harness Jul 17, 2025
f52114c
Fix mfe navbar (#1903)
sans-harness Jul 17, 2025
3bd46d3
fix: pr conversation routing (#1914)
sans-harness Jul 17, 2025
d93c35d
Revert "Fix mfe navbar (#1903)" (#1915)
vardanbansal-harness Jul 17, 2025
3b91137
fix: improve layout and styling with min-width, margin adjustments an…
harish-viswa Jul 18, 2025
1c1ea46
fix: bump ui package (#1916)
shaurya-harness Jul 18, 2025
f2ca3fe
Bug fixes in PR description and icon color (#1918)
praneshg239 Jul 18, 2025
df50e61
More PR comment box improvements (#1887)
jake-bassett Jul 18, 2025
156e361
Fix a few PR page issues (#1922)
vivek-harness Jul 18, 2025
7018a2e
Architectural changes for highlight.js (#1923)
vivek-harness Jul 18, 2025
93ccf95
Branch selector persistence using path params (#1880)
vivek-harness Jul 18, 2025
8a2c5ca
updated colors for brand set (#1924)
cxramina Jul 18, 2025
0900d35
upd (#1926)
cxramina Jul 18, 2025
5ca9bc6
fix: input output transform for key-value-pairs (#1925)
shaurya-harness Jul 18, 2025
e17821f
fix: bump ui package (#1927)
shaurya-harness Jul 18, 2025
5a97948
Fix mfe navbar (#1903) (#1930)
sans-harness Jul 18, 2025
8a8656e
feat: add Token Search page (#1928)
abhinavrastogi-harness Jul 18, 2025
6b0711c
feat: add regex search and repo-scope search support (#1932)
abhinavrastogi-harness Jul 19, 2025
7b7b420
Bug bash 2 (#1933)
sans-harness Jul 19, 2025
d16123c
Add regex icon and Add regex icon to search page regex toggle (#1934)
praneshg239 Jul 21, 2025
4eab699
Add portal for tooltip component (#1935)
praneshg239 Jul 21, 2025
85db33b
feat: Add Project Pull Requests List page (#1936)
vardanbansal-harness Jul 21, 2025
71e08bc
Light mode colors update (#1929)
cxramina Jul 21, 2025
e04755d
fix: update styles for new diff line widgets and adjust layout in pul…
pixel-buba Jul 21, 2025
5ecf897
Sidebar submenus to drawer migration (#1866)
ankormoreankor Jul 21, 2025
2c18e52
Fix tab highlight while creating or editing a file (#1939)
vivek-harness Jul 21, 2025
96a6418
fix: code owners and default code review text for system activities (…
shaurya-harness Jul 21, 2025
6fe7c14
fix: minor enhancements on PR page and commit listing (#1937)
rkapoor10 Jul 21, 2025
0d9a98c
fix: synced filters with query-params (#1941)
harish-viswa Jul 21, 2025
c0e2e17
feat: [Parity] added rules to block branch update, block force push (…
rkapoor10 Jul 21, 2025
d56d18d
fix editor button colors look disabled (#1931)
jake-bassett Jul 21, 2025
fd396cf
fix: create folder in nested routes (#1946)
sans-harness Jul 21, 2025
8c57817
Search followup 1 (#1947)
abhinavrastogi-harness Jul 21, 2025
cb88d95
refactor: move branch rules to new page (#1949)
sans-harness Jul 21, 2025
8c9437f
Bug - Fixed Create a New Repo styles as per Figma (#1952)
radhakrishna68 Jul 22, 2025
aeac3f2
fix: search with new urls (#1950)
abhinavrastogi-harness Jul 22, 2025
1754dc1
auto hide group if no inputs visible (#1945)
srdjan-harness Jul 22, 2025
26548d8
red color correction (#1948)
cxramina Jul 22, 2025
b205a4f
Add copy file path feature to repo files breadcrumbs (#1955)
praneshg239 Jul 22, 2025
da52426
fix search modal icon color (#1940)
ankormoreankor Jul 22, 2025
c2f6929
feat: Enhance branch info display with pluralized commit counts (#1942)
pixel-buba Jul 22, 2025
52f304e
fix empty page max height (#1943)
ankormoreankor Jul 22, 2025
a7fd8d1
Implement Markdown preview functionality in file editor and viewer (#…
pixel-buba Jul 22, 2025
f75b867
fixed type errors after updating code service client (#1960)
vivek-harness Jul 22, 2025
4b34185
feat: Add Repo favorite (#1951)
vardanbansal-harness Jul 22, 2025
faf5398
feat: labels page parity gaps (#1964)
sans-harness Jul 23, 2025
82b7ec8
feat: Add tag rules CRUD (#1961)
sans-harness Jul 23, 2025
cf383f4
fix success toast vertical alignment (#1959)
ankormoreankor Jul 23, 2025
b4fb524
fix: added missing gap variants for layout (#1705)
harish-viswa Jul 23, 2025
b7c8f51
Container spacing (#1956)
cxramina Jul 23, 2025
7524b7b
fix: add border bottom as default for Tabs underlined variant (#1957)
pixel-buba Jul 23, 2025
d65f14a
add sidebar item icon fallback (#1917)
ankormoreankor Jul 23, 2025
49035cc
updated layout values (#1968)
cxramina Jul 23, 2025
45602bb
fix multiple UI issues on Summary page (#1954)
ankormoreankor Jul 23, 2025
db1a32a
add default color for headings (#1958)
ankormoreankor Jul 23, 2025
12667a7
Add commit message during squash and merge (#1969)
vivek-harness Jul 23, 2025
de6c28e
Add pr link in the title - commit listing page (#1967)
srdjan-harness Jul 23, 2025
bb019f2
feat: PR Banner support (#1966)
rkapoor10 Jul 23, 2025
61f5a8f
fix: followup to tag rules PR (#1965)
sans-harness Jul 23, 2025
c5cf8e4
Add yellow correct color to icons (#1971)
praneshg239 Jul 23, 2025
94aebcc
Create repository add option to choose default branch (#1975)
jake-bassett Jul 23, 2025
b33f8c9
feat: settings parity gaps (#1976)
sans-harness Jul 23, 2025
ffed5f4
Error display for maximum token limit and apply styles to link text. …
radhakrishna68 Jul 24, 2025
8fdb7ac
feat: add rule for auto adding codeowners and service account support…
rkapoor10 Jul 24, 2025
80cc549
feat: add search filters support (#1978)
abhinavrastogi-harness Jul 24, 2025
8a051e5
feat: Add tag rules for acc / org / proj scope (#1980)
sans-harness Jul 24, 2025
ea9bf97
refactor: move components to components-v2 and pages to pages-v2 (#1972)
shaurya-harness Jul 24, 2025
284a194
fix: migrated cmdk to dropdown for combo-box (#1979)
harish-viswa Jul 24, 2025
e8cc7a5
feat: Integrate "favorite" filter on Repo listing page, few other mis…
vardanbansal-harness Jul 24, 2025
74c192a
Add target branch to edit pull request dialog (#1986)
vivek-harness Jul 24, 2025
0bc2217
adjust dialog component to design (#1985)
ankormoreankor Jul 24, 2025
5bc24d6
feat: add git-lfs settings support (#1973)
abhinavrastogi-harness Jul 24, 2025
f97a5b7
Blame editor fixes (#1984)
srdjan-harness Jul 24, 2025
8936cb1
bump yaml-editor version (#1988)
srdjan-harness Jul 24, 2025
f85a9fd
feat: PR conversation panel default reviewers and avatar with tooltip…
shaurya-harness Jul 24, 2025
e2ffe52
blame editor updates (#1990)
srdjan-harness Jul 24, 2025
8a3cae8
Revert Pull Request (#1989)
vivek-harness Jul 24, 2025
cf3bb4f
feat: add vulnerability scanning checkbox with api (#1991)
sans-harness Jul 24, 2025
a4eccb8
feat: add fields to webhooks (#1992)
sans-harness Jul 24, 2025
6182f12
feat: semantic search (#1993)
abhinavrastogi-harness Jul 24, 2025
7ddcbc3
feat: show rules from parent scope checkbox, filters for rules (#1996)
sans-harness Jul 25, 2025
aadede0
extend layout component gap properties (#1981)
ankormoreankor Jul 25, 2025
e29f9f1
feat: added default reviewers support (#1994)
rkapoor10 Jul 25, 2025
15ae116
Skeleton (#1987)
cxramina Jul 25, 2025
1864e28
feat: replace Input with TextInput for HTTP and SSH clone URLs on rep…
pixel-buba Jul 25, 2025
011a8c0
add repo summary design review (#2001)
ankormoreankor Jul 25, 2025
e136513
default pr description from template (#2000)
srdjan-harness Jul 25, 2025
a98e025
Add minimum height for Monaco editor and diff editor (#2002)
pixel-buba Jul 25, 2025
b8d1816
feat: Add "Scope" filter in Repository List page (#1997)
vardanbansal-harness Jul 25, 2025
4a27af9
fix: pull request panel checks section (#2004)
shaurya-harness Jul 25, 2025
a9d323d
fix: routing into rule-details from parent scope (#2008)
sans-harness Jul 26, 2025
9223af6
add input to create repo form for default branch (#2006)
jake-bassett Jul 26, 2025
e1fc101
feat: Miscellaneous changes on Repository Listing page (#2007)
vardanbansal-harness Jul 26, 2025
46eec37
Displaying PR Title and Commit message (#1995)
radhakrishna68 Jul 28, 2025
d568cc8
fix: search page states, error handling, semantic search visbility (#…
sans-harness Jul 28, 2025
e0965d7
Disabled tab access for empty repo (#2015)
radhakrishna68 Jul 28, 2025
506f1eb
feat: add simple sort component and enhance select with custom trigge…
harish-viswa Jul 28, 2025
ecc50b7
Pull request comment user mentions (#2013)
praneshg239 Jul 28, 2025
dda1b1f
Pull request ai summary button (#2009)
jake-bassett Jul 28, 2025
59e5490
Update codeowner file (#2016)
hitesharinga Jul 28, 2025
fadeaa5
feat: match br page to pixel point (#2018)
sans-harness Jul 29, 2025
f14bc92
feat: match commits list to figma (#10003)
sans-harness Jul 29, 2025
51e1375
diff colors for text added (#2018)
cxramina Jul 29, 2025
1d060ab
feat: added user group support for branch and tag rules (#10002)
rkapoor10 Jul 29, 2025
3c5fe1c
Updated selected state for Toggle (transparent variant) (#2020)
3em Jul 29, 2025
8342a0e
fix: suggestion content on PR conversation and PR changes + (#10005)
shaurya-harness Jul 29, 2025
0e70742
Repo summary design review (#2005)
ankormoreankor Jul 29, 2025
5c17f25
Tags page design changes based to match the mocks (#10007)
vivek-harness Jul 29, 2025
d245880
feat: added advanced filters in project level pr-list-filters (#2014)
harish-viswa Jul 29, 2025
a120c0b
Fixed squash merge button truncate issue (#10001)
radhakrishna68 Jul 29, 2025
c87d8fc
fix: Properly encode URI components in route utils function (#10009)
vardanbansal-harness Jul 29, 2025
643a65d
feat: Adding "Scope" filter on Pull Request List page (#10004)
vardanbansal-harness Jul 29, 2025
12a91d2
feat: fixes to branch list page (#10011)
sans-harness Jul 29, 2025
060cd9a
Design match - Commits list page (#10010)
radhakrishna68 Jul 30, 2025
0c7643b
Fix design issues in PR screen comment, labels and reviewers section …
praneshg239 Jul 30, 2025
5c61b6c
shadow color correction (#2021)
cxramina Jul 30, 2025
5d537dc
branch selector design update (#2019)
ankormoreankor Jul 30, 2025
ad087c3
design fix: pr diff changes tab (#10015)
rkapoor10 Jul 30, 2025
bfbf778
fix: PR changes section filter layout
shaurya-harness Jul 30, 2025
d1510ff
design fix: pr diff changes tab (#10015) (#10017)
rkapoor10 Jul 30, 2025
6105feb
fix: PR changes section
shaurya-harness Jul 30, 2025
31dbd36
fix: PR changes tab filters
shaurya-harness Jul 30, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
108 changes: 108 additions & 0 deletions .eslintrc.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,108 @@
/* eslint-disable @typescript-eslint/no-var-requires */
const { classNameRules } = require('./eslint/rules.js')

module.exports = {
root: true,
env: {
browser: true,
es2021: true,
node: true
},
parser: '@typescript-eslint/parser',
parserOptions: {
ecmaFeatures: {
jsx: true
},
ecmaVersion: 'latest',
sourceType: 'module'
},
extends: [
'eslint:recommended',
'plugin:import/recommended',
'plugin:import/typescript',
'plugin:@typescript-eslint/recommended',
'plugin:i18next/recommended',

'plugin:react/recommended',
'plugin:react-hooks/recommended',
'plugin:jsx-a11y/recommended',
'plugin:tailwindcss/recommended',

'prettier'
],
plugins: ['@typescript-eslint', 'tailwindcss', 'react', 'react-hooks', 'import', 'prettier', 'i18next'],
settings: {
react: {
version: 'detect'
},
'import/resolver': {
typescript: true,
node: true
}
},
rules: {
'tailwindcss/no-contradicting-classname': 'error',
'import/no-unresolved': 'off',
'react/prop-types': 'off',
'react/react-in-jsx-scope': 'off',

/**
* Soon it will be converted to "error"
* once all the old variants are removed
*/
'no-restricted-syntax': ['warn', ...classNameRules],

'jsx-a11y/click-events-have-key-events': 'warn',
'jsx-a11y/no-autofocus': 'off',
'i18next/no-literal-string': [
'warn',
{
mode: 'jsx-only',
'jsx-attributes': {
exclude: ['className', 'data-testid', 'id', 'type', 'size', 'name', 'variant', 'style', 'href', 'target']
}
}
],

'@typescript-eslint/no-unused-vars': [
'error',
{
argsIgnorePattern: '^_',
varsIgnorePattern: '^_',
caughtErrorsIgnorePattern: '^_'
}
],

'@typescript-eslint/no-explicit-any': 'warn',

'tailwindcss/no-custom-classname': 'off'
},
ignorePatterns: ['**/dist/**'],
overrides: [
{
files: [
'packages/ui/**/*.{ts,tsx}',
'packages/filters/**/*.{ts,tsx}',
'packages/forms/**/*.{ts,tsx}',
'packages/pipeline-graph/**/*.{ts,tsx}',
'packages/core-design-system/**/*.{ts,tsx}',
'packages/yaml-editor/**/*.{ts,tsx}'
],
rules: {
'no-restricted-imports': 'off',
'@typescript-eslint/no-restricted-imports': [
'error',
{
paths: [
{
name: 'react-router-dom',
message: 'Please use only type imports from react-router-dom.',
allowTypeImports: true
}
]
}
]
}
}
]
}
72 changes: 0 additions & 72 deletions .eslintrc.json

This file was deleted.

27 changes: 26 additions & 1 deletion .github/workflows/build-and-deploy-storybook.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
name: PR Checks
on:
push:
pull_request_target:
types:
- opened
Expand All @@ -10,6 +9,21 @@ on:
- main

jobs:
CheckCleanGitTree:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v4
with:
ref: ${{ github.event.pull_request.head.sha }}
- uses: pnpm/action-setup@v4
- run: pnpm deps
- run: pnpm build
- name: Check for uncommitted changes
run: |
# Show only the names of changed files
echo "Changed files:"
git diff --name-only HEAD --exit-code || (echo "Error: There are uncommitted changes in the working tree. Please commit or revert these changes." && exit 1)

Lint:
runs-on: ubuntu-22.04
steps:
Expand Down Expand Up @@ -52,3 +66,14 @@ jobs:
- run: pnpm deps
- run: pnpm build
- run: pnpm test

Build_Microfrontend:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v4
with:
ref: ${{ github.event.pull_request.head.sha }}
- uses: pnpm/action-setup@v4
- run: pnpm install
- run: pnpm build
- run: pnpm -r -F ./apps/gitness build:webpack
26 changes: 26 additions & 0 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: Publish Packages to npm

on: workflow_dispatch

jobs:
publish:
runs-on: ubuntu-latest

steps:
- name: Checkout repository
uses: actions/checkout@v4

- name: Setup pnpm
uses: pnpm/action-setup@v4

- name: Install and build dependencies
run: |
pnpm install
pnpm build

- name: Authenticate to npm
run: |
echo "//registry.npmjs.org/:_authToken=${{ secrets.NPM_PUBLISH_TOKEN }}" > ~/.npmrc

- name: Publish packages to npm
run: pnpm publish:all
5 changes: 4 additions & 1 deletion .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,8 @@
"[ignore]": {
"editor.defaultFormatter": "foxundermoon.shell-format"
},
"prettier.trailingComma": "none"
"prettier.trailingComma": "none",
"workbench.editorAssociations": {
"*.svg": "default"
}
}
27 changes: 23 additions & 4 deletions CODEOWNERS
Original file line number Diff line number Diff line change
@@ -1,4 +1,23 @@
packages/canary @knagurski
packages/views @knagurski
packages/ui @knagurski
apps/design-system @knagurski
# Global configs
.github/ abhinav.rastogi@harness.io kevin.nagurski@harness.io vardan.bansal@harness.io
.eslintrc.js abhinav.rastogi@harness.io kevin.nagurski@harness.io vardan.bansal@harness.io
.prettierrc.yml abhinav.rastogi@harness.io kevin.nagurski@harness.io vardan.bansal@harness.io

# Common ownership for shared config files
/packages/*/package.json abhinav.rastogi@harness.io kevin.nagurski@harness.io vardan.bansal@harness.io
/apps/*/package.json abhinav.rastogi@harness.io kevin.nagurski@harness.io vardan.bansal@harness.io
/packages/*/vite.config.ts abhinav.rastogi@harness.io kevin.nagurski@harness.io vardan.bansal@harness.io
/apps/*/vite.config.ts abhinav.rastogi@harness.io kevin.nagurski@harness.io vardan.bansal@harness.io

# Apps
/apps/gitness/* abhinav.rastogi@harness.io vardan.bansal@harness.io
/apps/portal/* kevin.nagurski@harness.io pranesh.g@harness.io abhinav.rastogi@harness.io vardan.bansal@harness.io

# Packages with shared ownership
/packages/ui/* abhinav.rastogi@harness.io kevin.nagurski@harness.io vardan.bansal@harness.io pranesh.g@harness.io

# Packages with individual owners
/packages/forms/* srdjan.arsic@harness.io
/packages/unified-pipeline/* srdjan.arsic@harness.io
/packages/yaml-editor/* srdjan.arsic@harness.io
/packages/core-design-system/* pranesh.g@harness.io
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM node:20-slim AS base
FROM us-west1-docker.pkg.dev/gar-setup/docker/node:20-slim AS base
ENV PNPM_HOME="/pnpm"
ENV PATH="$PNPM_HOME:$PATH"
# install pnpm
Expand All @@ -16,7 +16,7 @@ RUN --mount=type=cache,id=pnpm,target=/pnpm/store pnpm install --frozen-lockfile
# build all the packages and apps except portal and design-system
RUN pnpm --filter \!portal --filter \!design-system run build

FROM alpine:3.21 AS final
FROM us-west1-docker.pkg.dev/gar-setup/docker/alpine:3.21 AS final
COPY --from=build /canary/apps/gitness/dist /canary-dist
WORKDIR /canary-dist

Expand Down
4 changes: 2 additions & 2 deletions Dockerfile.mfe
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM node:20-slim AS base
FROM us-west1-docker.pkg.dev/gar-setup/docker/node:20-slim AS base
ENV PNPM_HOME="/pnpm"
ENV PATH="$PNPM_HOME:$PATH"
# install pnpm
Expand All @@ -20,7 +20,7 @@ WORKDIR /canary/apps/gitness
RUN rm -rf dist
RUN pnpm run build:webpack

FROM alpine:3.21 AS final
FROM us-west1-docker.pkg.dev/gar-setup/docker/alpine:3.21 AS final
COPY --from=build /canary/apps/gitness/dist /canary-dist
WORKDIR /canary-dist

Expand Down
1 change: 0 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ Welcome to the Harness Canary monorepo! This repository contains multiple projec
# Projects

- [@harnessio/canary](./packages/canary/) - Harness Canary UI components library built on top of [Radix UI](https://www.radix-ui.com/) and [ShadCN UI](https://ui.shadcn.com/).
- [@harnessio/views](./packages/views/) - Harness Unified UI View Fragments.

# Getting Started

Expand Down
2 changes: 2 additions & 0 deletions apps/design-system/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,11 @@
"typecheck": "tsc -b"
},
"dependencies": {
"@harnessio/forms": "workspace:*",
"@harnessio/pipeline-graph": "workspace:*",
"@harnessio/ui": "workspace:*",
"@harnessio/yaml-editor": "workspace:*",
"@tanstack/react-table": "^8.21.3",
"@types/lodash-es": "^4.17.12",
"clsx": "^2.1.1",
"lodash-es": "^4.17.21",
Expand Down
39 changes: 13 additions & 26 deletions apps/design-system/src/App.tsx
Original file line number Diff line number Diff line change
@@ -1,44 +1,31 @@
import { FC } from 'react'
import {
createBrowserRouter,
Link,
Navigate,
NavLink,
Outlet,
RouterProvider,
useMatches,
useSearchParams
} from 'react-router-dom'
import { createBrowserRouter, Navigate, RouterProvider } from 'react-router-dom'

import ComponentPage from '@/pages/component-page'
import ViewPreview from '@/pages/view-preview/view-preview'
import DocsLayout from '@components/docs-layout/docs-layout'
import { useThemeStore } from '@utils/theme-utils'

import { RouterContextProvider, ThemeProvider } from '@harnessio/ui/context'
import { ThemeProvider, TranslationProvider } from '@harnessio/ui/context'

import AppRouterProvider from './AppRouterProvider'

const router = createBrowserRouter([
{ path: '/view-preview/*', element: <ViewPreview /> },
{ path: '/docs/*', element: <DocsLayout />, children: [{ path: 'components/*', element: <ComponentPage /> }] },
{ path: '/*', element: <Navigate to="/docs" /> }
{
element: <AppRouterProvider />,
children: [
{ path: '/view-preview/*', element: <ViewPreview /> },
{ path: '/*', element: <Navigate to="/view-preview" /> }
]
}
])

const App: FC = () => {
const themeStore = useThemeStore()

return (
<ThemeProvider {...themeStore}>
<RouterContextProvider
Link={Link}
NavLink={NavLink}
Outlet={Outlet}
navigate={router.navigate}
location={{ ...window.location, state: {}, key: '' }}
useSearchParams={useSearchParams}
useMatches={useMatches}
>
<TranslationProvider>
<RouterProvider router={router} />
</RouterContextProvider>
</TranslationProvider>
</ThemeProvider>
)
}
Expand Down
Loading