Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[GEN-1794]: fix "new/first" text for nodeType=add #1871

Merged
merged 241 commits into from
Nov 27, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
241 commits
Select commit Hold shift + click to select a range
c25c631
Merge pull request #1 from odigos-io/main
BenElferink Oct 20, 2024
12046ba
Refactor old ui to new product design (#1605)
alonkeyval Oct 21, 2024
6037f4c
Merge remote-tracking branch 'odigos/new-ui' into gen-1511-new-ui
BenElferink Oct 21, 2024
62934de
[GEN-1539] Refactor action api to gql (#1606)
alonkeyval Oct 22, 2024
d456363
[GEN-1540] Add update action mutation (#1607)
alonkeyval Oct 22, 2024
02682f9
Merge branch 'new-ui' of https://github.com/odigos-io/odigos into gen…
BenElferink Oct 22, 2024
522e782
feat(frontend): added actions form, and fixed bugs: empty inputs, sea…
BenElferink Oct 22, 2024
f435deb
[GEN-1541] Add delete action mutation (#1609)
alonkeyval Oct 22, 2024
9dbdc21
Lint rules (#1610)
alonkeyval Oct 22, 2024
a55f35b
fix: KeyValueInputsList would not always call onChange
BenElferink Oct 22, 2024
619bb6d
feat: custom fields with state management
BenElferink Oct 22, 2024
389fc46
fix: semicolon
BenElferink Oct 22, 2024
2487549
fix: docs link
BenElferink Oct 22, 2024
9e5224b
fix: frament & imports
BenElferink Oct 22, 2024
e4a8350
fix: MONITORING_OPTIONS from global consts
BenElferink Oct 22, 2024
a908130
fix: use const, not string
BenElferink Oct 22, 2024
38e862f
Merge pull request #2 from BenElferink/gen-1515-dynamic-action-form
BenElferink Oct 22, 2024
31f1db3
fix: dynamic signals for actions
BenElferink Oct 22, 2024
bc3bad3
fix: drawer & modal widths
BenElferink Oct 22, 2024
f1ac07b
[GEN-1546] Add delete attr new api (#1612)
alonkeyval Oct 22, 2024
254427a
[GEN-1546] Add pii masking new api (#1613)
alonkeyval Oct 22, 2024
c769731
[GEN-1513]: actions modal form (#1608)
BenElferink Oct 22, 2024
89a6594
fix: stringify for graphql
BenElferink Oct 22, 2024
9d260f4
Merge remote-tracking branch 'odigos/new-ui' into gen-1515-fix-string…
BenElferink Oct 22, 2024
19eb1fe
[GEN-1515]: fix stringify for graphql (#1615)
BenElferink Oct 27, 2024
446c37a
Merge branch 'main' into new-ui
BenElferink Oct 27, 2024
f97a5a1
Merge pull request #4 from odigos-io/new-ui
BenElferink Oct 27, 2024
944480f
[GEN-1547] Add error sampler api (#1629)
alonkeyval Oct 27, 2024
2637c1e
[GEN-1555] Add new latency sampler api (#1630)
alonkeyval Oct 27, 2024
4cedea9
[GEN-1557] Add prod sampler new api (#1631)
alonkeyval Oct 27, 2024
40f2215
[GEN-1559] Add new gql api for rename attr action (#1634)
alonkeyval Oct 27, 2024
2d4b1bb
[GEN-1517]: actions add via gql (#1635)
BenElferink Oct 27, 2024
afa1268
Merge branch 'new-ui' of https://github.com/odigos-io/odigos
BenElferink Oct 27, 2024
eff6d90
[GEN-1529]: latency sampler (#1644)
BenElferink Oct 28, 2024
536f32f
Merge branch 'new-ui' of https://github.com/odigos-io/odigos
BenElferink Oct 28, 2024
1ea39de
[GEN-1521]: update action - AddClusterInfo (#1646)
BenElferink Oct 28, 2024
fa352be
Merge branch 'new-ui' of https://github.com/odigos-io/odigos
BenElferink Oct 28, 2024
f3c1a26
[GEN-1579]: button outline (#1647)
BenElferink Oct 28, 2024
3bb2338
[GEN-1580]: useKeyDown hook fixed (#1648)
BenElferink Oct 28, 2024
a4f03d8
Merge branch 'new-ui' of https://github.com/odigos-io/odigos
BenElferink Oct 28, 2024
2a83b84
[GEN-1591]: make "add action" in overview functional (#1650)
BenElferink Oct 29, 2024
b3fa682
Merge branch 'new-ui' of https://github.com/odigos-io/odigos
BenElferink Oct 29, 2024
9ac0d13
[GEN-1583]: fix validations for "add actions" custom fields (#1651)
BenElferink Oct 29, 2024
f0a397f
Merge branch 'new-ui' of https://github.com/odigos-io/odigos
BenElferink Oct 29, 2024
33cb867
[GEN-1521]: update actions (#1652)
BenElferink Oct 29, 2024
2c13a75
Merge branch 'new-ui' of https://github.com/odigos-io/odigos
BenElferink Oct 29, 2024
d42c32b
[GEN-1593]: upgraded "status" component (#1655)
BenElferink Oct 29, 2024
3ab5c0c
Merge branch 'new-ui' of https://github.com/odigos-io/odigos
BenElferink Oct 29, 2024
c15a6ba
[GEN-1574]: delete actions (#1657)
BenElferink Oct 30, 2024
977c57b
Merge branch 'new-ui' of https://github.com/odigos-io/odigos
BenElferink Oct 30, 2024
fa609c3
[GEN-1592] Add instrumentation rules to gql (#1659)
alonkeyval Oct 30, 2024
78eda6e
[GEN-1582]: UI tweaks (#1658)
BenElferink Oct 30, 2024
6a91aba
[GEN-1603]: add rules column to overview (#1661)
BenElferink Oct 30, 2024
d95b6fe
Merge branch 'new-ui' of https://github.com/odigos-io/odigos
BenElferink Oct 30, 2024
fa5c457
fix: autocompleted notification type (#1664)
BenElferink Oct 31, 2024
cde9bdd
Merge branch 'new-ui' of https://github.com/odigos-io/odigos
BenElferink Oct 31, 2024
93bbe30
[GEN-1604]: create & get rules (#1665)
BenElferink Oct 31, 2024
7ca44f7
Merge branch 'new-ui' of https://github.com/odigos-io/odigos
BenElferink Oct 31, 2024
c270e78
[GEN-1616] Add delete destination to gql (#1669)
alonkeyval Nov 3, 2024
9358337
[GEN-1601]: refetch after create/update destination (#1668)
BenElferink Nov 3, 2024
29d2e0d
Merge branch 'new-ui' of https://github.com/odigos-io/odigos
BenElferink Nov 3, 2024
08eacfe
[GEN-1581]: lists auto-focus & disable delete (#1670)
BenElferink Nov 3, 2024
240730f
[GEN-1613]: delete destination (#1672)
BenElferink Nov 3, 2024
5647431
Merge branch 'new-ui' of https://github.com/odigos-io/odigos
BenElferink Nov 3, 2024
9748362
[GEN-1620] Add metrics to gql (#1675)
alonkeyval Nov 3, 2024
8d22beb
Merge branch 'new-ui' of https://github.com/odigos-io/odigos
BenElferink Nov 3, 2024
a4a5d34
[GEN-1584]: fix close modal & animations (#1676)
BenElferink Nov 3, 2024
d933798
[GEN-1536]: scramble secret values (#1677)
BenElferink Nov 3, 2024
e53746d
Merge branch 'new-ui' of https://github.com/odigos-io/odigos
BenElferink Nov 3, 2024
2c9c79b
[GEN-1621]: add cancel modal & breakdown overview-drawer files (#1682)
BenElferink Nov 4, 2024
0dab5bd
[GEN-1626]: add mockup for overview filters (#1683)
BenElferink Nov 4, 2024
6fa1955
Merge branch 'new-ui' of https://github.com/odigos-io/odigos
BenElferink Nov 4, 2024
702e71a
[GEN-1641]: added UI for metrics (#1688)
BenElferink Nov 5, 2024
a6b6ec2
Merge branch 'new-ui' of https://github.com/odigos-io/odigos
BenElferink Nov 5, 2024
577ef58
[GEN-1646] Add destination condition and type (#1692)
alonkeyval Nov 5, 2024
746f560
Merge branch 'new-ui' of https://github.com/odigos-io/odigos
BenElferink Nov 5, 2024
0c39a29
[GEN-1642]: get metrics from API (with mockup for dev mode) (#1693)
BenElferink Nov 5, 2024
5c55719
Merge branch 'new-ui' of https://github.com/odigos-io/odigos
BenElferink Nov 5, 2024
a816fda
[GEN-1624]: refactor existing components in preparation for notificat…
BenElferink Nov 6, 2024
c790156
[GEN-1670]: kill redux, use new toasts (#1699)
BenElferink Nov 6, 2024
d9292ff
[GEN-1671]: toast animations + enriched messages (#1701)
BenElferink Nov 6, 2024
834e5ed
Merge branch 'new-ui' of https://github.com/odigos-io/odigos
BenElferink Nov 6, 2024
e15ea9a
[GEN-1672]: add logic for "go to details" button of toast notificatio…
BenElferink Nov 7, 2024
8f1cd3e
Merge branch 'new-ui' of https://github.com/odigos-io/odigos
BenElferink Nov 7, 2024
9f25eb4
[GEN-1668]: add handling for "dirty forms" (#1704)
BenElferink Nov 7, 2024
f4435c0
Merge branch 'new-ui' of https://github.com/odigos-io/odigos
BenElferink Nov 7, 2024
f596073
[GEN-1665]: formatting with prettier instead of eslint (#1705)
BenElferink Nov 10, 2024
b3b5007
[GEN-1629]: boolean store (isPolling) (#1706)
BenElferink Nov 10, 2024
1cd0a4b
Merge branch 'new-ui' of https://github.com/odigos-io/odigos
BenElferink Nov 10, 2024
0bbd34b
[GEN-1679]: added useSourceCRUD hook (#1720)
BenElferink Nov 10, 2024
eec5074
Merge branch 'new-ui' of https://github.com/odigos-io/odigos
BenElferink Nov 10, 2024
d9e8582
[GEN-1669] delete unused files (#1721)
alonkeyval Nov 10, 2024
c94d982
Merge branch 'new-ui' of https://github.com/odigos-io/odigos
BenElferink Nov 10, 2024
f32923b
[GEN-1680]: added new "toggle buttons" component (#1723)
BenElferink Nov 10, 2024
8771192
[GEN-1691] load styled on server (#1725)
alonkeyval Nov 10, 2024
5e3bb02
[GEN-1694]: search overview entities (#1731)
BenElferink Nov 11, 2024
fed3d84
Merge branch 'new-ui' of https://github.com/odigos-io/odigos
BenElferink Nov 11, 2024
b24e7c1
feat: UI tweaks in prep for overview filters
BenElferink Nov 11, 2024
5e078a4
feat: add filter action buttons
BenElferink Nov 11, 2024
5cf7fdd
feat: filter overview by namespace
BenElferink Nov 11, 2024
5cdb31e
feat: filter overview by "kind"
BenElferink Nov 11, 2024
3a371f7
feat: filter over by metrics
BenElferink Nov 11, 2024
d0748e9
feat: add logic for dropdown mutli-select
BenElferink Nov 11, 2024
d7ec9fb
fix: temporary labels for multi select
BenElferink Nov 11, 2024
b42215d
fix: dropdown smaller components
BenElferink Nov 11, 2024
80bb335
feat: multi-labels with remove buttons
BenElferink Nov 11, 2024
d10a8fd
fix: minor edits
BenElferink Nov 11, 2024
ad8323c
fix: filters is now a container
BenElferink Nov 11, 2024
29a9b27
perf: re-use styled components
BenElferink Nov 11, 2024
704e86d
fix: button alignment
BenElferink Nov 11, 2024
51bf1d3
fix: smaller components
BenElferink Nov 11, 2024
5130970
fix: continued cleanup
BenElferink Nov 11, 2024
9e3b772
feat: prepare component for error messages dropdown
BenElferink Nov 11, 2024
c868eab
feat: filter overview by error messages
BenElferink Nov 11, 2024
5f88f86
fix: toggle & dropdown
BenElferink Nov 12, 2024
52a7065
Merge branch 'odigos-ui-beta' of https://github.com/odigos-io/odigos …
BenElferink Nov 12, 2024
b6f71fa
Odigos UI beta (#1739)
alonkeyval Nov 12, 2024
d1674a5
Merge branch 'odigos-ui-beta' of https://github.com/odigos-io/odigos …
BenElferink Nov 12, 2024
2abe0e4
fix: duplicates
BenElferink Nov 12, 2024
4e19e69
fix: dropdown
BenElferink Nov 12, 2024
b553cda
[GEN-1695]: overview filtering (#1740)
BenElferink Nov 12, 2024
7a5d4b6
Fixed conf with filters (#1742)
alonkeyval Nov 12, 2024
6d2af50
Merge branch 'odigos-ui-beta' of https://github.com/odigos-io/odigos …
BenElferink Nov 12, 2024
89ab764
Merge pull request #5 from BenElferink/gen-1695
BenElferink Nov 12, 2024
a109419
Fixed conf with filters (#1743)
alonkeyval Nov 12, 2024
4b9b73a
merge dev (#1745)
alonkeyval Nov 12, 2024
bebba92
Merge dev (#1746)
alonkeyval Nov 12, 2024
5959df5
merge dev (#1747)
alonkeyval Nov 13, 2024
80df692
[GEN-1705]: fast-select for sources (#1749)
BenElferink Nov 14, 2024
539888b
[GEN-1666]: multi-source control (delete many) (#1750)
BenElferink Nov 14, 2024
05f0b0d
Merge branch 'odigos-ui-beta' of https://github.com/odigos-io/odigos
BenElferink Nov 14, 2024
735ff63
[GEN-1709]: added a notification manager (#1753)
BenElferink Nov 17, 2024
484280a
[GEN-1715]: cleared all errors from styled-components (#1763)
BenElferink Nov 17, 2024
e24f361
Merge branch 'odigos-ui-beta' of https://github.com/odigos-io/odigos
BenElferink Nov 17, 2024
34c2c74
[GEN-1702] Add odigos UI beta flag (#1760)
alonkeyval Nov 17, 2024
ed0080c
[GEN-1717]: Action header-node border width (#1764)
BenElferink Nov 17, 2024
1bafe47
[GEN-1720]: Fixed modal layout (#1766)
BenElferink Nov 17, 2024
7098118
[GEN-1721]: Close search & filter on press ESCAPE (#1767)
BenElferink Nov 17, 2024
e9fa5d7
[GEN-1722]: Filter button weird focus-UI (#1768)
BenElferink Nov 17, 2024
a8f6655
[GEN-1718]: Notification icon BG (as per Figma) (#1765)
BenElferink Nov 17, 2024
9b886ba
Merge branch 'odigos-ui-beta' of https://github.com/odigos-io/odigos
BenElferink Nov 17, 2024
293949a
[GEN-1716]: fixed ReactFlow "fit to view" (#1769)
BenElferink Nov 17, 2024
4b7fc72
Fixed ui broken (#1771)
alonkeyval Nov 17, 2024
7776a8f
Merge branch 'odigos-ui-beta' of https://github.com/odigos-io/odigos
BenElferink Nov 17, 2024
82cec8e
[GEN-1726]: fix $props for Text component (#1772)
BenElferink Nov 17, 2024
b6be431
Merge branch 'odigos-ui-beta' of https://github.com/odigos-io/odigos
BenElferink Nov 17, 2024
eb960d0
Odigos UI main merge (#1774)
alonkeyval Nov 18, 2024
1b029d6
[GEN-1683]: warning modal - warn again (#1773)
BenElferink Nov 18, 2024
410ab64
[GEN-1732] UI texts (#1777)
alonkeyval Nov 18, 2024
660c915
[GEN-1734]: remove previous notifications of deleted entity (#1775)
BenElferink Nov 18, 2024
a320b6f
[GEN-1699]: update dependencies (#1779)
BenElferink Nov 18, 2024
7eca746
[GEN-1735]: fix header buttons for destination modal (#1780)
BenElferink Nov 18, 2024
a96b706
[GEN-1719]: drawer titles & tooltips (#1781)
BenElferink Nov 18, 2024
887f4b4
Merge current main (#1783)
alonkeyval Nov 19, 2024
4a1b6e4
Merge branch 'main' into odigos-ui-beta
alonkeyval Nov 19, 2024
47da6bc
Merge branch 'odigos-ui-beta' of https://github.com/odigos-io/odigos
BenElferink Nov 19, 2024
aa65e0b
Merge current main (#1784)
alonkeyval Nov 19, 2024
7ab5c25
Merge branch 'odigos-ui-beta' of https://github.com/odigos-io/odigos
BenElferink Nov 19, 2024
95a3bb3
Merge current main (#1785)
alonkeyval Nov 19, 2024
0fc748b
Merge branch 'odigos-ui-beta' of https://github.com/odigos-io/odigos
BenElferink Nov 19, 2024
0a5b64d
fix: YAML parse error
BenElferink Nov 19, 2024
c666fab
e2e test fixes (#1787)
alonkeyval Nov 19, 2024
5250dbd
Merge current main (#1788)
alonkeyval Nov 19, 2024
68a0600
fix: YAML parse error (#1786)
BenElferink Nov 19, 2024
6fdba36
Fix tests timeouts (#1789)
BenElferink Nov 19, 2024
a8063a1
Merge branch 'main' into odigos-ui-beta
BenElferink Nov 19, 2024
86c1d84
Merge branch 'main' of https://github.com/odigos-io/odigos
BenElferink Nov 19, 2024
8a3dc3f
Merge branch 'odigos-ui-beta' into main
BenElferink Nov 19, 2024
8d97ab5
fix tests YAML syntax (#1790)
BenElferink Nov 19, 2024
c40fa7f
fix: remove non-existant files from tests
BenElferink Nov 19, 2024
cb4b96c
Merge branch 'odigos-ui-beta' into main
BenElferink Nov 19, 2024
e32f7d9
fix: remove again
BenElferink Nov 19, 2024
3fdab6c
Merge branch 'main' of https://github.com/odigos-io/odigos
BenElferink Nov 19, 2024
155a1a5
Merge branch 'main' of https://github.com/odigos-io/odigos
BenElferink Nov 20, 2024
dbd5690
Merge branch 'main' of https://github.com/odigos-io/odigos
BenElferink Nov 20, 2024
0c68c8c
Merge branch 'main' of https://github.com/odigos-io/odigos
BenElferink Nov 20, 2024
ed87a46
Merge branch 'main' of https://github.com/odigos-io/odigos
BenElferink Nov 20, 2024
a5de5e9
Merge branch 'main' of https://github.com/odigos-io/odigos
BenElferink Nov 20, 2024
def460c
Merge branch 'main' of https://github.com/odigos-io/odigos
BenElferink Nov 20, 2024
7a64bd9
fix: state of "recordedRows" in "monitors" checkbox list
BenElferink Nov 21, 2024
2a43875
[GEN-1774]: fix text in "SectionTitle" of add-action-form (#1813)
BenElferink Nov 21, 2024
a1d4e66
[GEN-1786]: fix max value for "ErrorSampler" (#1815)
BenElferink Nov 21, 2024
195e50a
[GEN-1781]: fix state of "recordedRows" in "monitors" checkbox list (…
BenElferink Nov 21, 2024
191e834
[GEN-1775]: fix initial values for input lists (#1817)
BenElferink Nov 21, 2024
6ef2a04
[GEN-1776]: re-categorize actions in add-action-form (#1814)
BenElferink Nov 21, 2024
12584d9
Merge branch 'ui-bugs-party' of https://github.com/odigos-io/odigos
BenElferink Nov 21, 2024
28c3eee
[GEN-1772]: fix "Transition" re-renders (#1819)
BenElferink Nov 21, 2024
42ea556
[GEN-1767]: fix test-connection (#1821)
BenElferink Nov 21, 2024
cbbf379
Merge branch 'ui-bugs-party' of https://github.com/odigos-io/odigos
BenElferink Nov 21, 2024
c0939f7
[GEN-1758]: fix adding destinations (onboard/overview) (#1832)
BenElferink Nov 25, 2024
85508e1
Merge branch 'ui-bugs-party' of https://github.com/odigos-io/odigos
BenElferink Nov 25, 2024
bcd3245
fix: add comment
BenElferink Nov 25, 2024
86640da
fix: padding for text-area
BenElferink Nov 25, 2024
c924ecb
fix: text area resize
BenElferink Nov 25, 2024
05e6aa4
feat: start polling CP on 1st mount
BenElferink Nov 25, 2024
abc6d68
fix: service.name tooltip text
BenElferink Nov 25, 2024
ee8e996
fix: scrollbar issues
BenElferink Nov 25, 2024
4c3d532
fix: tooltip UI & behavior
BenElferink Nov 25, 2024
5e47dc5
chore: change text in actions modal
BenElferink Nov 25, 2024
edee989
fix: code review
BenElferink Nov 25, 2024
92b3456
[GEN-1796]: fix padding for text-area (#1844)
BenElferink Nov 25, 2024
bfbae2f
[GEN-1788] start polling CP on 1st mount (#1845)
BenElferink Nov 25, 2024
077617c
[GEN-1770]: changed text for service.name tooltip (#1846)
BenElferink Nov 25, 2024
186b890
[GEN-1746]: fix scrollbar issues (#1848)
BenElferink Nov 25, 2024
6cda9b3
[GEN-1782]: fix tooltip UI & behavior (#1849)
BenElferink Nov 25, 2024
7e2e4f1
[GEN-1777]: change text in actions modal (#1850)
BenElferink Nov 25, 2024
b182223
Merge branch 'main' into ui-bugs-party
BenElferink Nov 25, 2024
182e564
Merge branch 'ui-bugs-party' of https://github.com/odigos-io/odigos i…
BenElferink Nov 25, 2024
64c379c
feat: do not close drawer on update
BenElferink Nov 25, 2024
5f2b990
[GEN-1748]: fix backend error - failed to fetch potential destination…
BenElferink Nov 25, 2024
17bb492
Merge branch 'ui-bugs-party' of https://github.com/odigos-io/odigos i…
BenElferink Nov 25, 2024
91d6d54
Merge branch 'ui-bugs-party' of https://github.com/odigos-io/odigos i…
BenElferink Nov 26, 2024
da54cfe
Merge branch 'gen-1796' of https://github.com/BenElferink/odigos into…
BenElferink Nov 26, 2024
ce74b1e
Fixed broken refresh for production build (#1855)
BenElferink Nov 26, 2024
5714346
Sync upstream (#1856)
BenElferink Nov 26, 2024
504e61a
Merge branch 'main' into ui-bugs-party
BenElferink Nov 26, 2024
1fd0c4a
Merge branch 'ui-bugs-party' of https://github.com/odigos-io/odigos i…
BenElferink Nov 26, 2024
c503b3c
feat: handle drawer for actions
BenElferink Nov 26, 2024
a620369
feat: handle rules drawer
BenElferink Nov 26, 2024
c97b87d
feat: handle destination drawer
BenElferink Nov 26, 2024
612eb27
chore: OG drawer-item as 3rd param for buildDrawerItem() functions
BenElferink Nov 26, 2024
209770f
feat: handle source drawer
BenElferink Nov 26, 2024
8d8a8e0
fix: drawer titles
BenElferink Nov 26, 2024
9804008
chore: re-order some card info
BenElferink Nov 26, 2024
affa1d2
Merge branch 'main' of https://github.com/odigos-io/odigos into gen-1797
BenElferink Nov 26, 2024
4a597a8
fix: bump
BenElferink Nov 26, 2024
48a9988
fix: text for action monitors
BenElferink Nov 26, 2024
3248f71
fix: GEN-1773 text for "MultiSourceControl"
BenElferink Nov 26, 2024
bd18485
fix: auto-focus for input lists
BenElferink Nov 26, 2024
db2856a
fix: preserve filters-state for destinations modal
BenElferink Nov 26, 2024
43c30db
feat: display source & destination errors in drawer
BenElferink Nov 26, 2024
9acb48e
fix: text for warning modals
BenElferink Nov 26, 2024
3f56a16
fix: styles for disabled button type="primary"
BenElferink Nov 26, 2024
f6b7dc4
Merge branch 'ui-bugs-party' of https://github.com/odigos-io/odigos i…
BenElferink Nov 26, 2024
0207b80
Merge branch 'ui-bugs-party' of https://github.com/odigos-io/odigos i…
BenElferink Nov 26, 2024
f14e3c8
feat: add filters by programming language
BenElferink Nov 27, 2024
3dc53a0
fix: show total counts when filters are active
BenElferink Nov 27, 2024
83cdbf7
fix: allow re-usability of length values
BenElferink Nov 27, 2024
9993bf2
fix: "new/first" text for nodeType=add
BenElferink Nov 27, 2024
cfa38d6
fix: build error
BenElferink Nov 27, 2024
a7fe536
Merge branch 'ui-bugs-party' into gen-1794
BenElferink Nov 27, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 7 additions & 3 deletions frontend/webapp/app/(overview)/overview/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,17 @@
import React from 'react';
import dynamic from 'next/dynamic';

const OverviewDataFlowContainer = dynamic(() => import('@/containers/main/overview/overview-data-flow'), {
ssr: false,
});
const ToastList = dynamic(() => import('@/components/notification/toast-list'), { ssr: false });
const AllDrawers = dynamic(() => import('@/components/overview/all-drawers'), { ssr: false });
const AllModals = dynamic(() => import('@/components/overview/all-modals'), { ssr: false });
const OverviewDataFlowContainer = dynamic(() => import('@/containers/main/overview/overview-data-flow'), { ssr: false });

export default function MainPage() {
return (
<>
<ToastList />
<AllDrawers />
<AllModals />
<OverviewDataFlowContainer />
</>
);
Expand Down
4 changes: 4 additions & 0 deletions frontend/webapp/components/notification/index.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
export * from './notification-manager';
import ToastList from './toast-list';

export { ToastList };
2 changes: 0 additions & 2 deletions frontend/webapp/components/notification/index.tsx

This file was deleted.

4 changes: 3 additions & 1 deletion frontend/webapp/components/notification/toast-list.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ const Container = styled.div`
min-width: 600px;
`;

export const ToastList: React.FC = () => {
const ToastList: React.FC = () => {
const { notifications } = useNotificationStore();

return (
Expand Down Expand Up @@ -59,3 +59,5 @@ const Toast: React.FC<Notification> = (props) => {
/>
);
};

export default ToastList;
Original file line number Diff line number Diff line change
@@ -1,10 +1,7 @@
import React from 'react';
import { useDrawerStore } from '@/store';
import { SourceDrawer } from '../../sources';
import { ActionDrawer } from '../../actions';
import { OVERVIEW_ENTITY_TYPES } from '@/types';
import { DestinationDrawer } from '../../destinations';
import { RuleDrawer } from '../../instrumentation-rules';
import { ActionDrawer, DestinationDrawer, RuleDrawer, SourceDrawer } from '@/containers';

const AllDrawers = () => {
const selected = useDrawerStore(({ selectedItem }) => selectedItem);
Expand Down
Original file line number Diff line number Diff line change
@@ -1,10 +1,7 @@
import React from 'react';
import { useModalStore } from '@/store';
import { ActionModal } from '../../actions';
import { OVERVIEW_ENTITY_TYPES } from '@/types';
import { DestinationModal } from '../../destinations';
import { RuleModal } from '../../instrumentation-rules';
import { AddSourceModal } from '../../sources/choose-sources/choose-source-modal';
import { ActionModal, AddSourceModal, DestinationModal, RuleModal } from '@/containers';

const AllModals = () => {
const selected = useModalStore(({ currentModal }) => currentModal);
Expand Down
6 changes: 6 additions & 0 deletions frontend/webapp/components/overview/index.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
export * from './add-entity';
import AllDrawers from './all-drawers';
import AllModals from './all-modals';
export * from './monitors-legend';

export { AllDrawers, AllModals };
2 changes: 0 additions & 2 deletions frontend/webapp/components/overview/index.tsx

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { deriveTypeFromRule } from '@/utils';
import { PayloadCollectionType, type InstrumentationRuleInput, type InstrumentationRuleSpec } from '@/types';
import { type InstrumentationRuleSpec, type InstrumentationRuleInput, PayloadCollectionType } from '@/types';

const buildDrawerItem = (id: string, formData: InstrumentationRuleInput, drawerItem: InstrumentationRuleSpec): InstrumentationRuleSpec => {
const { ruleName, notes, disabled, payloadCollection } = formData;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import React, { Fragment, useMemo, useState } from 'react';
import theme from '@/styles/theme';
import styled from 'styled-components';
import { OVERVIEW_ENTITY_TYPES } from '@/types';
import { OVERVIEW_ENTITY_TYPES, WorkloadId } from '@/types';
import { AbsoluteContainer } from '../../styled';
import { getEntityIcon, getEntityLabel } from '@/utils';
import { buildSearchResults, type Category } from './builder';
Expand Down Expand Up @@ -35,7 +35,7 @@ export const SearchResults = ({ searchText, onClose }: Props) => {
const { actions } = useActionCRUD();
const { destinations } = useDestinationCRUD();
const { instrumentationRules } = useInstrumentationRuleCRUD();
const { handleNodeClick } = useNodeDataFlowHandlers({ rules: instrumentationRules, sources, actions, destinations });
const { handleNodeClick } = useNodeDataFlowHandlers();

const { categories, searchResults } = useMemo(
() =>
Expand Down Expand Up @@ -72,6 +72,7 @@ export const SearchResults = ({ searchText, onClose }: Props) => {
label={getEntityLabel(item, category as OVERVIEW_ENTITY_TYPES, { extended: true })}
onClick={() => {
const id = item.id || item.ruleId || { kind: item.kind, name: item.name, namespace: item.namespace };
// @ts-ignore
handleNodeClick(null, { data: { type: category, id } });
onClose();
}}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,17 +1,12 @@
'use client';
import React, { useMemo } from 'react';
import dynamic from 'next/dynamic';
import styled from 'styled-components';
import { ToastList } from '@/components';
import MultiSourceControl from '../multi-source-control';
import { OverviewActionMenuContainer } from '../overview-actions-menu';
import { buildNodesAndEdges, NodeBaseDataFlow } from '@/reuseable-components';
import { useComputePlatform, useContainerSize, useMetrics, useNodeDataFlowHandlers } from '@/hooks';

const AllDrawers = dynamic(() => import('../all-drawers'), { ssr: false });
const AllModals = dynamic(() => import('../all-modals'), { ssr: false });

export const OverviewDataFlowWrapper = styled.div`
const OverviewDataFlowWrapper = styled.div`
width: 100%;
height: calc(100vh - 176px);
position: relative;
Expand Down Expand Up @@ -44,10 +39,6 @@ export default function OverviewDataFlowContainer() {
<OverviewActionMenuContainer />
<MultiSourceControl />
<NodeBaseDataFlow nodes={nodes} edges={edges} nodeWidth={NODE_WIDTH} onNodeClick={handleNodeClick} />

<AllDrawers />
<AllModals />
<ToastList />
</OverviewDataFlowWrapper>
);
}
3 changes: 2 additions & 1 deletion frontend/webapp/containers/main/sources/index.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
export * from './choose-sources';
export * from './source-drawer-container';
export * from './choose-sources/choose-source-modal';
export * from './choose-sources/choose-sources-body';
export * from './source-drawer-container';
export * from './update-source-body';
8 changes: 4 additions & 4 deletions frontend/webapp/hooks/overview/useNodeDataFlowHandlers.ts
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
// src/hooks/useNodeDataFlowHandlers.ts
import { useCallback } from 'react';
import { type Node } from '@xyflow/react';
import { useSourceCRUD } from '../sources';
import { useActionCRUD } from '../actions';
import { useDestinationCRUD } from '../destinations';
import { useDrawerStore, useModalStore } from '@/store';
import { OVERVIEW_ENTITY_TYPES, OVERVIEW_NODE_TYPES, WorkloadId } from '@/types';
import { useInstrumentationRuleCRUD } from '../instrumentation-rules';
import { Node } from '@xyflow/react';
import { OVERVIEW_ENTITY_TYPES, OVERVIEW_NODE_TYPES, WorkloadId } from '@/types';

export function useNodeDataFlowHandlers() {
const { sources } = useSourceCRUD();
Expand All @@ -19,13 +19,13 @@ export function useNodeDataFlowHandlers() {

const handleNodeClick = useCallback(
(
_: React.MouseEvent,
_: React.MouseEvent | null,
object: Node<
{
id: string | WorkloadId;
type: OVERVIEW_ENTITY_TYPES | OVERVIEW_NODE_TYPES;
},
'add'
'id'
>,
) => {
const {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ export const buildNodesAndEdges = ({ computePlatform, computePlatformFiltered, m
type: OVERVIEW_NODE_TYPES.ADD_RULE,
status: STATUSES.HEALTHY,
title: 'ADD RULE',
subTitle: 'Add first rule to modify the OpenTelemetry data',
subTitle: `Add ${!!nonFilteredLengths['rules'] ? 'a new' : 'first'} rule to modify the OpenTelemetry data`,
}),
);
} else {
Expand All @@ -150,7 +150,7 @@ export const buildNodesAndEdges = ({ computePlatform, computePlatformFiltered, m
type: OVERVIEW_NODE_TYPES.ADD_SOURCE,
status: STATUSES.HEALTHY,
title: 'ADD SOURCE',
subTitle: 'Add first source to collect OpenTelemetry data',
subTitle: `Add ${!!nonFilteredLengths['sources'] ? 'a new' : 'first'} source to collect OpenTelemetry data`,
}),
);
} else {
Expand Down Expand Up @@ -183,7 +183,7 @@ export const buildNodesAndEdges = ({ computePlatform, computePlatformFiltered, m
type: OVERVIEW_NODE_TYPES.ADD_ACTION,
status: STATUSES.HEALTHY,
title: 'ADD ACTION',
subTitle: 'Add first action to modify the OpenTelemetry data',
subTitle: `Add ${!!nonFilteredLengths['actions'] ? 'a new' : 'first'} action to modify the OpenTelemetry data`,
}),
);
} else {
Expand Down Expand Up @@ -234,7 +234,7 @@ export const buildNodesAndEdges = ({ computePlatform, computePlatformFiltered, m
type: OVERVIEW_NODE_TYPES.ADD_DESTIONATION,
status: STATUSES.HEALTHY,
title: 'ADD DESTIONATION',
subTitle: 'Add first destination to monitor OpenTelemetry data',
subTitle: `Add ${!!nonFilteredLengths['destinations'] ? 'a new' : 'first'} destination to monitor OpenTelemetry data`,
}),
);
} else {
Expand Down
4 changes: 2 additions & 2 deletions frontend/webapp/types/compute-platform.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import type { K8sActualSource } from './sources';
import type { ActualDestination } from './destinations';
import type { ActionData, ActionDataParsed } from './actions';
import type { InstrumentationRuleSpec, InstrumentationRuleSpecMapped } from './instrumentation-rules';
import type { InstrumentationRuleSpec } from './instrumentation-rules';

export type K8sActualNamespace = {
name: string;
Expand All @@ -26,7 +26,7 @@ export type ComputePlatform = {

interface ComputePlatformDataMapped extends ComputePlatformData {
actions: ActionDataParsed[];
instrumentationRules: InstrumentationRuleSpecMapped[];
instrumentationRules: InstrumentationRuleSpec[];
}

export type ComputePlatformMapped = {
Expand Down
1 change: 1 addition & 0 deletions frontend/webapp/types/instrumentation-rules.ts
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,7 @@ export enum RulesSortType {
export interface InstrumentationRuleSpec {
ruleId: string;
ruleName: string;
type?: InstrumentationRuleType; // does not come from backend, it's derived during GET
notes: string;
disabled: boolean;
workloads?: PodWorkload[];
Expand Down
Loading