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

Feature: Implement generic sidebar for extension #306

Merged
merged 124 commits into from
Dec 12, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
124 commits
Select commit Hold shift + click to select a range
839acc2
Move data processing to utils
mayan-000 Oct 16, 2023
8129152
Move cookie reshaping to utils
mayan-000 Oct 16, 2023
38194dd
Add sidebar hook and component
mayan-000 Oct 17, 2023
e0a8ac9
Add sidebar data
mayan-000 Oct 17, 2023
9ae70d6
Use sidebar component and component
mayan-000 Oct 17, 2023
e902f20
Update import
mayan-000 Oct 17, 2023
f99d3ed
Move sidebar folder
mayan-000 Oct 17, 2023
781c727
Select first sidebar item by default
mayan-000 Oct 17, 2023
a7abea6
Implement new sidebar in site report component
mayan-000 Oct 17, 2023
198db3f
Move sidebar child out and UI changes
mayan-000 Oct 17, 2023
f6543b8
Put FrameUrls into useMemo
mayan-000 Oct 17, 2023
0aa0e02
Merge branch 'develop' into ref/dashboard-1
mayan-000 Oct 20, 2023
b306228
Merge branch 'develop' into sidebar
mayan-000 Oct 23, 2023
f1d9f20
Change max width for sidebars and css changes
mayan-000 Oct 24, 2023
1e848ed
UI changes
mayan-000 Oct 24, 2023
66c412c
Update icons
mayan-000 Oct 24, 2023
6c20af7
Change message box text
mayan-000 Oct 24, 2023
4af7220
Update unknown frame(s)
mayan-000 Oct 24, 2023
662a990
Merge branch 'ref/dashboard-1' into sidebar
mayan-000 Oct 24, 2023
1feef18
Merge branch 'develop' into ref/dashboard-1
mayan-000 Oct 24, 2023
88798b5
Update icons
mayan-000 Nov 6, 2023
10a8386
Setup input textbox and use in cookie top bar
mayan-000 Nov 6, 2023
84a1d4c
Merge branch 'develop' into sidebar
mayan-000 Nov 8, 2023
0f95326
Merge branch 'develop' into ref/dashboard-1
mayan-000 Nov 8, 2023
0a3d84b
Merge branch 'ref/dashboard-1' into sidebar
mayan-000 Nov 8, 2023
bb843fb
Move sidebar to design-system
mayan-000 Nov 8, 2023
76c7af3
Change sidebar data to obj from arr
mayan-000 Nov 8, 2023
0759119
Add keyboard navigation and move functions to utils
mayan-000 Nov 8, 2023
9e0e5b1
Don't allow autofocus on intial render
mayan-000 Nov 10, 2023
6e87661
Restructure table directory
mayan-000 Nov 13, 2023
b8b5cab
Add filtering and search hooks in table
mayan-000 Nov 13, 2023
c65933d
Add Chips and filter sidebar and modified props
mayan-000 Nov 13, 2023
a1a6717
Add Top bar view
mayan-000 Nov 14, 2023
7bc5ad6
Update folder names
mayan-000 Nov 14, 2023
fa07a5b
Update condition when no keys provided
mayan-000 Nov 14, 2023
ab566ba
Move extractCookies into separate file
mayan-000 Nov 14, 2023
e27c560
Update Input -> TextInput
mayan-000 Nov 14, 2023
09f286c
Add test cases
mayan-000 Nov 14, 2023
fb63208
Merge branch 'sidebar-1' into filters
mayan-000 Nov 14, 2023
9c0d15f
Add filters for dashboard, update filter logic flow and ui change
mayan-000 Nov 15, 2023
4e53e30
Update filters comparator and static values
mayan-000 Nov 15, 2023
879d9b9
Update key in filters data
mayan-000 Nov 15, 2023
85d3714
Update search keys for dashboard & minor logic + UI change
mayan-000 Nov 15, 2023
71f8965
Move columns, filerts, searchKeys to cookieListing from tableContainer
mayan-000 Nov 15, 2023
ab0b297
Modify affected cookies table to be reusable
mayan-000 Nov 16, 2023
54ff9e0
Retrieve cookies from store
mayan-000 Nov 16, 2023
2048f0e
Add filters and search to affected cookies table
mayan-000 Nov 16, 2023
6e6de50
Add filters and search to technology table
mayan-000 Nov 16, 2023
247c532
Change function param name
mayan-000 Nov 16, 2023
bbdf49e
Remoce jest-dom
mayan-000 Nov 16, 2023
9573560
Change TextInput -> SearchInput
mayan-000 Nov 16, 2023
1dbfe65
Update filter value calculation logic
mayan-000 Nov 16, 2023
a997c25
fix:attribute cookie of frame about:blank to unknown frames
ayushnirwal Nov 17, 2023
e5bb9dc
Update unknown frame with constant
mayan-000 Nov 17, 2023
d5fadf1
Add function to handle data extraction
mayan-000 Nov 20, 2023
a2f579e
Add storage updation mechanism
mayan-000 Nov 20, 2023
cd2987b
Handle persistence with custom hook
mayan-000 Nov 20, 2023
ad0a4d6
Handle table settings persistence across all hooks
mayan-000 Nov 20, 2023
47463ca
Merge branch 'ref/dashboard-1' into sidebar
mayan-000 Nov 20, 2023
d661140
Export sidebar
mayan-000 Nov 20, 2023
2b1eb74
Refactor util and callback
mayan-000 Nov 20, 2023
8a55ba0
Merge branch 'develop' into ref/dashboard-1
mayan-000 Nov 20, 2023
3838680
Add props for table persistence and disabling filtering
mayan-000 Nov 20, 2023
a3c7371
Update findItem uitl search logic
mayan-000 Nov 21, 2023
2d3ec4c
Update findItem util working
mayan-000 Nov 21, 2023
3c89655
Create sidebarData and use custom sidebar hook & component
mayan-000 Nov 21, 2023
3166c2d
Keep auto open and text change
mayan-000 Nov 21, 2023
5a7581f
Handle frame selection
mayan-000 Nov 21, 2023
881b5bf
Add title to node
mayan-000 Nov 21, 2023
325208c
Add ux for focus change on clicks
mayan-000 Nov 22, 2023
f1cb827
Handle null case for selected frame
mayan-000 Nov 22, 2023
21907dc
Add inspect button inside cookies sidebar item
mayan-000 Nov 22, 2023
0a66555
Handle selectedFrame change from frame overlay
mayan-000 Nov 23, 2023
9dd4a38
Hide inspect button when tab not analysed
mayan-000 Nov 23, 2023
a1a62bb
Merge branch 'ref/dashboard-1' into sidebar
mayan-000 Nov 23, 2023
607552b
Merge branch 'sidebar' into sidebar-1
mayan-000 Nov 23, 2023
1ac9980
Merge branch 'sidebar-1' into filters
mayan-000 Nov 23, 2023
7d1d793
Merge branch 'filters' into filters-1
mayan-000 Nov 23, 2023
e1c4fa5
Merge branch 'filters-1' into filters-2
mayan-000 Nov 23, 2023
3dcef4a
Merge branch 'filters-2' into sidebar-2
mayan-000 Nov 23, 2023
188aa81
Handle selected sidebar item persistence
mayan-000 Nov 23, 2023
8a6c740
Update frameUrl prop and persistence key creation
mayan-000 Nov 27, 2023
0107023
Handle size change inside Dispatch callback
mayan-000 Nov 27, 2023
3d49b78
Update useTable's internal hooks to set empty values
mayan-000 Nov 27, 2023
38d849e
Update filters persistence logic
mayan-000 Nov 27, 2023
9a41d7c
Reset filter values on options change
mayan-000 Nov 27, 2023
975922d
Handle persistence for visibility:
mayan-000 Nov 28, 2023
b29e604
Handle resizing persistence of columns
mayan-000 Nov 28, 2023
59c742d
Change saving visibility data's trigerr
mayan-000 Nov 28, 2023
d096535
Update resizing logic based on visibility and table changes
mayan-000 Nov 28, 2023
01b4217
Handle sorting persistence
mayan-000 Nov 28, 2023
f4d8969
Update filters persistence mechanism
mayan-000 Nov 28, 2023
7e549f4
Handle search value on persistence
mayan-000 Nov 28, 2023
08778a1
Update storage utils for saving and extracting persitent settings of …
mayan-000 Nov 28, 2023
40ba91e
Update useTable for persistence
mayan-000 Nov 28, 2023
11fe077
Update filter count calculation logic
mayan-000 Nov 28, 2023
54b55a0
Handle sorting of filter values
mayan-000 Nov 28, 2023
ff61d77
Update persistence keys and props for table
mayan-000 Nov 28, 2023
a52be78
Sort keys and access the object
mayan-000 Nov 28, 2023
b209d2d
Use a commonKey for resizing, visbility, sorting
mayan-000 Nov 28, 2023
2ca0a8f
Move to landing page on site change
mayan-000 Nov 29, 2023
5e6dede
Remove top padding
mayan-000 Nov 29, 2023
086ac7a
Remove old sidebar, accordion and old test cases
mayan-000 Nov 29, 2023
7e3aed5
Merge branch 'filters-2' into sidebar-2
mayan-000 Nov 29, 2023
79da904
Use context selector for persistence
mayan-000 Nov 30, 2023
8bc0abe
Merge branch 'filters-2' into sidebar-2
mayan-000 Nov 30, 2023
e1a79d6
Update saving of column sizing mechanism
mayan-000 Nov 30, 2023
747cfe4
Merge branch 'filters-2' into sidebar-2
mayan-000 Nov 30, 2023
2931090
Add dark mode colors
mayan-000 Dec 1, 2023
13689e8
Flex technology table
mayan-000 Dec 1, 2023
fab8fec
Show filter title even when no filter available
mayan-000 Dec 1, 2023
7489be4
Merge branch 'filters-2' into sidebar-2
mayan-000 Dec 1, 2023
d7122eb
Handle change of selectedFrame on redirection
mayan-000 Dec 1, 2023
f1b5b92
Add logic to handle negative width diff
mayan-000 Dec 2, 2023
a429bdd
Merge branch 'filters-2' into sidebar-2
mayan-000 Dec 4, 2023
26c5f0f
Handle sidebar item storage and retrieval
mayan-000 Dec 4, 2023
b14ad68
Updare use tabID for data extraction
mayan-000 Dec 4, 2023
38ef404
Update left value for extra interface in sidebar title
mayan-000 Dec 4, 2023
17ed993
Decrease left value
mayan-000 Dec 4, 2023
7c1f741
Update condition with optional chaining
mayan-000 Dec 4, 2023
621bd6e
Make inspect button vertically align
mayan-000 Dec 5, 2023
c0a5ca2
Handle unnecessary re-render
mayan-000 Dec 12, 2023
b0543f2
Merge branch 'develop' into sidebar-2
mayan-000 Dec 12, 2023
08d004c
minor refactoring
ayushnirwal Dec 12, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
15,453 changes: 1 addition & 15,452 deletions package-lock.json

Large diffs are not rendered by default.

4 changes: 4 additions & 0 deletions packages/cli-dashboard/src/components/siteMapReport/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,8 @@ const SiteMapReport = ({
activePanel,
selectedItemKey,
sidebarItems,
isSidebarFocused,
setIsSidebarFocused,
updateSelectedItemKey,
onKeyNavigation,
toggleDropdown,
Expand Down Expand Up @@ -199,6 +201,8 @@ const SiteMapReport = ({
<Sidebar
selectedItemKey={selectedItemKey}
sidebarItems={sidebarItems}
isSidebarFocused={isSidebarFocused}
setIsSidebarFocused={setIsSidebarFocused}
onKeyNavigation={onKeyNavigation}
updateSelectedItemKey={updateSelectedItemKey}
toggleDropdown={toggleDropdown}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,8 @@ const Layout = ({ selectedSite }: LayoutProps) => {
activePanel,
selectedItemKey,
sidebarItems,
isSidebarFocused,
setIsSidebarFocused,
updateSelectedItemKey,
onKeyNavigation,
toggleDropdown,
Expand Down Expand Up @@ -147,6 +149,8 @@ const Layout = ({ selectedSite }: LayoutProps) => {
<Sidebar
selectedItemKey={selectedItemKey}
sidebarItems={sidebarItems}
isSidebarFocused={isSidebarFocused}
setIsSidebarFocused={setIsSidebarFocused}
onKeyNavigation={onKeyNavigation}
updateSelectedItemKey={updateSelectedItemKey}
toggleDropdown={toggleDropdown}
Expand Down
213 changes: 0 additions & 213 deletions packages/design-system/src/components/accordion/accordionChildren.tsx

This file was deleted.

137 changes: 0 additions & 137 deletions packages/design-system/src/components/accordion/index.tsx

This file was deleted.