Skip to content

Commit

Permalink
v0.4.0 (#331)
Browse files Browse the repository at this point in the history
* Update icons

* Setup input textbox and use in cookie top bar

* Update clear icon

* Update input width

* Remove unused component

* Update input for light mode

* Improve border handling on input focus changes

* increase clear icon size

* Update icon filename

* Add component story

* Update fontsize class

* Fix: MaxListenerExceedWarning when analyzing sitemap (#260)

* Fix:MaxListenersExceededWarning with tech analysis

* fix: MaxListenerExceedWarning

* Enhancement: add interface use CSV file in CLI. (#274)

* enhancement: add interface use CSV file in CLI

* refactor: refactor cli routine and spinner behaviour

* enhancement:add check for content in CSV file

* fixing issue #294 for hovering input field on dark mode (#295)

* Enhancement: CLI analyze sites with local sitemap (#271)

* enhancement: add interface use CSV file in CLI

* refactor: refactor cli routine and spinner behaviour

* enhancement:add check for content in CSV file

* enhancement:add sitemap parsing

* fix:dashboard path

* Refactor: Move dashboard's data processing to utils (#192)

* Move data processing to utils

* Move cookie reshaping to utils

* Update icons

* Setup input textbox and use in cookie top bar

* Move extractCookies into separate file

* Update Input -> TextInput

* Add test cases

* Change function param name

* Remoce jest-dom

* Change TextInput -> SearchInput

* fix:attribute cookie of frame about:blank to unknown frames

* Update unknown frame with constant

* fix: frame cookies parsing loop

* Make frameurl string array for dashboard

* Fix test

* Update frameUrl to frameUrls

---------

Co-authored-by: ayushnirwal <[email protected]>

* Fix: Affected cookies csv output (#308)

* fix: cookie affected value in downloaded reports

* refactor:remove cookie affected column

* fix:invalid csv record output

* chore: move types to the types file

* Feature: Controlling cookie from extension (#278)

* Add method to delete cookie from application tab.

* Stabalise useContext selector.

* Add checkbox component for httponly samesite modification

* Modify all properties except expiry

* Modfiy checkbox look to match devtools.

* Move remove duplicate icons.

* Remove unnecessary code diff.

* Remove wrong merge files.

* Remove unnecessary code diff.

* Remove cookies landing.
Fix correct import.

* Resolve merge issues

* Remove empty line commits

* Fix bugs

* Add function to delete all cookies.

* Add delete all cookies method.

* Change title.

* Add UI/UX changes.

* Fix cookie deletion issue.

* Fix delete cookie data not being modified.

* Refactor useTable to accomodate cli-dashboard and extension

* Fix event keydown.

* Fix functionality of delete all cookies.

* Add exact behaviour as of application tab.

* Add hover color

* Fix broken UI.

* Add hover for clearing all cookies

* Fix broken UI and make hover unifrom

* Fix hoover white effect.

* Fix cookie hover effect.

* Handle enter key code.

* Cookie modification false value handling.

* Cookie modification false value handling.

* Add escape key functionality and color red on error.

* Fix cookie modification.

* Fix tsc error.

* Fix cookie modification functionality

* Prettify code and refactor some parts to make it look better.

* Remove console.log.

* Fix cookie modification values and add console log for error

* Fix cookie hover issue.

* Add the feature to add parity between application tab deletion.

* Fix error when toggling visiblity.

* Fix focus while modification of cookie.

* Make checkbox centered.

* Fix error of undefined on null on cookie deletion.

* Update badgeText on deleting cookie.

* Add colors for hover effect.

* By default select next row to be deleted

* Disable icon on selecting empty row.

* Don not open when console.

* Fix cookie deletion method.

* Fix dark mode UI.

* Disable cookie delete button once frame changes.

* Add cookie modification capability for expiry.

* Cancel editing once focus is removed.

* Disable cookie editing when value changes.

* Stop propogation in editable component

* Keeping highlighting logic inside Table container

* Remove unrequired declaration

* Add condition for expiryDate.

* Remove border from input field.

* Fix failing tests.

* Fix cookie filter for strict.

* Add proper color for cookie highlight.

* Fix session empty values.
Fix color of the row.

* Fix name not defined.

* Fix failing test.

* Revert empty name value fix.
trim out spaces in value.

* Fix minor UI issue.

* Fetch JS cookies first.

* Disable if cookie key changes.

* Add changes to code as suggested.

* Change changed key to keyToChange

* Prettify data.

* Change divRef to inputRef.

* Remove unnecessary comment.

* Only keep span instead of p tag.

* Rename function to be generic and reuse function.

* Update getCookieKey function.

* Remove unneded changes.

* Add suggested feedbacks.

* Update variable name.

* Update variable name.

* Fix flash of old value.

* Move dependencies to correct place.

* Add early return for code readability.

* Add comment to indicate why bruteforce is being done.

---------

Co-authored-by: Mayank Rana <[email protected]>
Co-authored-by: ayushnirwal <[email protected]>

* Fix: Report generation in cli-dashboard (#318)

* refactor:report generation in cli-dashboard

* fix: unhandled case for falsy arguments

* enhancement: update keys in the report csv file

* fix: testing errors

* fix: testing errors

* code-quality: capitalize constants; use map size to get total cookies

* Feature: Add custom sidebar hook and component (#193)

* Move data processing to utils

* Move cookie reshaping to utils

* Add sidebar hook and component

* Add sidebar data

* Use sidebar component and component

* Update import

* Move sidebar folder

* Select first sidebar item by default

* Implement new sidebar in site report component

* Move sidebar child out and UI changes

* Put FrameUrls into useMemo

* Change max width for sidebars and css changes

* UI changes

* Update icons

* Change message box text

* Update unknown frame(s)

* Update icons

* Setup input textbox and use in cookie top bar

* Move sidebar to design-system

* Move extractCookies into separate file

* Update Input -> TextInput

* Add test cases

* Change function param name

* Remoce jest-dom

* Change TextInput -> SearchInput

* fix:attribute cookie of frame about:blank to unknown frames

* Update unknown frame with constant

* Export sidebar

* Remove style

* Pass data to hook

---------

Co-authored-by: ayushnirwal <[email protected]>
Co-authored-by: Ayush Nirwal <[email protected]>

* Feature: Implement keyboard navigation inside sidebar (#266)

* Move data processing to utils

* Move cookie reshaping to utils

* Add sidebar hook and component

* Add sidebar data

* Use sidebar component and component

* Update import

* Move sidebar folder

* Select first sidebar item by default

* Implement new sidebar in site report component

* Move sidebar child out and UI changes

* Put FrameUrls into useMemo

* Change max width for sidebars and css changes

* UI changes

* Update icons

* Change message box text

* Update unknown frame(s)

* Update icons

* Setup input textbox and use in cookie top bar

* Move sidebar to design-system

* Change sidebar data to obj from arr

* Add keyboard navigation and move functions to utils

* Don't allow autofocus on intial render

* Move extractCookies into separate file

* Update Input -> TextInput

* Add test cases

* Change function param name

* Remoce jest-dom

* Change TextInput -> SearchInput

* fix:attribute cookie of frame about:blank to unknown frames

* Update unknown frame with constant

* Export sidebar

* Refactor util and callback

* fix:remove redundent useEffect

* fix:remove unintended style change

---------

Co-authored-by: ayushnirwal <[email protected]>

* Feature: Implement generic filtering and search capabilities (#289)

* Move data processing to utils

* Move cookie reshaping to utils

* Add sidebar hook and component

* Add sidebar data

* Use sidebar component and component

* Update import

* Move sidebar folder

* Select first sidebar item by default

* Implement new sidebar in site report component

* Move sidebar child out and UI changes

* Put FrameUrls into useMemo

* Change max width for sidebars and css changes

* UI changes

* Update icons

* Change message box text

* Update unknown frame(s)

* Update icons

* Setup input textbox and use in cookie top bar

* Move sidebar to design-system

* Change sidebar data to obj from arr

* Add keyboard navigation and move functions to utils

* Don't allow autofocus on intial render

* Restructure table directory

* Add filtering and search hooks in table

* Add Chips and filter sidebar and modified props

* Add Top bar view

* Update folder names

* Update condition when no keys provided

* Move extractCookies into separate file

* Update Input -> TextInput

* Add test cases

* Change function param name

* Remoce jest-dom

* Change TextInput -> SearchInput

* fix:attribute cookie of frame about:blank to unknown frames

* Update unknown frame with constant

* Export sidebar

* Refactor util and callback

* fix:remove unintended style change

* fix:add types and other minor changes

---------

Co-authored-by: ayushnirwal <[email protected]>

* Feature: Integrate filtering and searching capability to cli dashboard (#290)

* Move data processing to utils

* Move cookie reshaping to utils

* Add sidebar hook and component

* Add sidebar data

* Use sidebar component and component

* Update import

* Move sidebar folder

* Select first sidebar item by default

* Implement new sidebar in site report component

* Move sidebar child out and UI changes

* Put FrameUrls into useMemo

* Change max width for sidebars and css changes

* UI changes

* Update icons

* Change message box text

* Update unknown frame(s)

* Update icons

* Setup input textbox and use in cookie top bar

* Move sidebar to design-system

* Change sidebar data to obj from arr

* Add keyboard navigation and move functions to utils

* Don't allow autofocus on intial render

* Restructure table directory

* Add filtering and search hooks in table

* Add Chips and filter sidebar and modified props

* Add Top bar view

* Update folder names

* Update condition when no keys provided

* Move extractCookies into separate file

* Update Input -> TextInput

* Add test cases

* Add filters for dashboard, update filter logic flow and ui change

* Update filters comparator and static values

* Update key in filters data

* Update search keys for dashboard & minor logic + UI change

* Move columns, filerts, searchKeys to cookieListing from tableContainer

* Modify affected cookies table to be reusable

* Retrieve cookies from store

* Add filters and search to affected cookies table

* Add filters and search to technology table

* Change function param name

* Remoce jest-dom

* Change TextInput -> SearchInput

* Update filter value calculation logic

* fix:attribute cookie of frame about:blank to unknown frames

* Update unknown frame with constant

* Export sidebar

* Refactor util and callback

* ignore one key

---------

Co-authored-by: ayushnirwal <[email protected]>

* Feature: Implement persistent settings for table  (#291)

* Move data processing to utils

* Move cookie reshaping to utils

* Add sidebar hook and component

* Add sidebar data

* Use sidebar component and component

* Update import

* Move sidebar folder

* Select first sidebar item by default

* Implement new sidebar in site report component

* Move sidebar child out and UI changes

* Put FrameUrls into useMemo

* Change max width for sidebars and css changes

* UI changes

* Update icons

* Change message box text

* Update unknown frame(s)

* Update icons

* Setup input textbox and use in cookie top bar

* Move sidebar to design-system

* Change sidebar data to obj from arr

* Add keyboard navigation and move functions to utils

* Don't allow autofocus on intial render

* Restructure table directory

* Add filtering and search hooks in table

* Add Chips and filter sidebar and modified props

* Add Top bar view

* Update folder names

* Update condition when no keys provided

* Move extractCookies into separate file

* Update Input -> TextInput

* Add test cases

* Add filters for dashboard, update filter logic flow and ui change

* Update filters comparator and static values

* Update key in filters data

* Update search keys for dashboard & minor logic + UI change

* Move columns, filerts, searchKeys to cookieListing from tableContainer

* Modify affected cookies table to be reusable

* Retrieve cookies from store

* Add filters and search to affected cookies table

* Add filters and search to technology table

* Change function param name

* Remoce jest-dom

* Change TextInput -> SearchInput

* Update filter value calculation logic

* fix:attribute cookie of frame about:blank to unknown frames

* Update unknown frame with constant

* Add function to handle data extraction

* Add storage updation mechanism

* Handle persistence with custom hook

* Handle table settings persistence across all hooks

* Export sidebar

* Refactor util and callback

* Add props for table persistence and disabling filtering

* Update frameUrl prop and persistence key creation

* Handle size change inside Dispatch callback

* Update useTable's internal hooks to set empty values

* Update filters persistence logic

* Reset filter values on options change

* Handle persistence for visibility:

* Handle resizing persistence of columns

* Change saving visibility data's trigerr

* Update resizing logic based on visibility and table changes

* Handle sorting persistence

* Update filters persistence mechanism

* Handle search value on persistence

* Update storage utils for saving and extracting persitent settings of table

* Update useTable for persistence

* Update filter count calculation logic

* Handle sorting of filter values

* Update persistence keys and props for table

* Sort keys and access the object

* Use a commonKey for resizing, visbility, sorting

* Move to landing page on site change

* Use context selector for persistence

* Update saving of column sizing mechanism

* Flex technology table

* Show filter title even when no filter available

* Add logic to handle negative width diff

* Update selectedSite

---------

Co-authored-by: ayushnirwal <[email protected]>

* Feature: Implement generic sidebar for extension (#306)

* Move data processing to utils

* Move cookie reshaping to utils

* Add sidebar hook and component

* Add sidebar data

* Use sidebar component and component

* Update import

* Move sidebar folder

* Select first sidebar item by default

* Implement new sidebar in site report component

* Move sidebar child out and UI changes

* Put FrameUrls into useMemo

* Change max width for sidebars and css changes

* UI changes

* Update icons

* Change message box text

* Update unknown frame(s)

* Update icons

* Setup input textbox and use in cookie top bar

* Move sidebar to design-system

* Change sidebar data to obj from arr

* Add keyboard navigation and move functions to utils

* Don't allow autofocus on intial render

* Restructure table directory

* Add filtering and search hooks in table

* Add Chips and filter sidebar and modified props

* Add Top bar view

* Update folder names

* Update condition when no keys provided

* Move extractCookies into separate file

* Update Input -> TextInput

* Add test cases

* Add filters for dashboard, update filter logic flow and ui change

* Update filters comparator and static values

* Update key in filters data

* Update search keys for dashboard & minor logic + UI change

* Move columns, filerts, searchKeys to cookieListing from tableContainer

* Modify affected cookies table to be reusable

* Retrieve cookies from store

* Add filters and search to affected cookies table

* Add filters and search to technology table

* Change function param name

* Remoce jest-dom

* Change TextInput -> SearchInput

* Update filter value calculation logic

* fix:attribute cookie of frame about:blank to unknown frames

* Update unknown frame with constant

* Add function to handle data extraction

* Add storage updation mechanism

* Handle persistence with custom hook

* Handle table settings persistence across all hooks

* Export sidebar

* Refactor util and callback

* Add props for table persistence and disabling filtering

* Update findItem uitl search logic

* Update findItem util working

* Create sidebarData and use custom sidebar hook & component

* Keep auto open and text change

* Handle frame selection

* Add title to node

* Add ux for focus change on clicks

* Handle null case for selected frame

* Add inspect button inside cookies sidebar item

* Handle selectedFrame change from frame overlay

* Hide inspect button when tab not analysed

* Handle selected sidebar item persistence

* Update frameUrl prop and persistence key creation

* Handle size change inside Dispatch callback

* Update useTable's internal hooks to set empty values

* Update filters persistence logic

* Reset filter values on options change

* Handle persistence for visibility:

* Handle resizing persistence of columns

* Change saving visibility data's trigerr

* Update resizing logic based on visibility and table changes

* Handle sorting persistence

* Update filters persistence mechanism

* Handle search value on persistence

* Update storage utils for saving and extracting persitent settings of table

* Update useTable for persistence

* Update filter count calculation logic

* Handle sorting of filter values

* Update persistence keys and props for table

* Sort keys and access the object

* Use a commonKey for resizing, visbility, sorting

* Move to landing page on site change

* Remove top padding

* Remove old sidebar, accordion and old test cases

* Use context selector for persistence

* Update saving of column sizing mechanism

* Add dark mode colors

* Flex technology table

* Show filter title even when no filter available

* Handle change of selectedFrame on redirection

* Add logic to handle negative width diff

* Handle sidebar item storage and retrieval

* Updare use tabID for data extraction

* Update left value for extra interface in sidebar title

* Decrease left value

* Update condition with optional chaining

* Make inspect button vertically align

* Handle unnecessary re-render

* minor refactoring

---------

Co-authored-by: ayushnirwal <[email protected]>

* Feature: Use Floating UI for tooltip positioning (#276)

* Fix tooltip positioning.

* Add tooltip to main frame.

* Fix unknown and hidden frame tooltip.

* Fix arrow overflowing from tooltip.

* Fix tooltip for hidden frames and unknown frames when scrolling.

* Fix scrollIntoView

* Fix angular bottom of tooltip

* Handle error messaging.

* code-quality:remove JSDoc types

* code-quality:add early return and change catch comment

* code-quality:replace bind with arrow functions

---------

Co-authored-by: ayushnirwal <[email protected]>

* Update quick links order and add new item (#329)

* Feature: Extract information and show it on settings page for reporting bugs in the extension. (#307)

* Add a part for information display in settings page.

* change border to underline.

* Add copy button and change tab active styling.

* Add copy button to the settings page.

* Refactor remove useRef and useEffect

* Change the heading and add some UI improvements to information page.

* style-enhancement:Setting page design changes

* fix: tab selector border

---------

Co-authored-by: ayushnirwal <[email protected]>

* Feature: Add context menu to copy network filter string to filter network requests (#333)

* Add the capability to copy network filter string.

* Add conditional opening of contextmenu.

* Remove isExtension

* Fix condition.

* style-fix: table body cell context menu

---------

Co-authored-by: ayushnirwal <[email protected]>

* reorder column as per new sequence.

* Feature: Implements generic filtering and searching capabilities inside the extension (#323)

* Move data processing to utils

* Move cookie reshaping to utils

* Add sidebar hook and component

* Add sidebar data

* Use sidebar component and component

* Update import

* Move sidebar folder

* Select first sidebar item by default

* Implement new sidebar in site report component

* Move sidebar child out and UI changes

* Put FrameUrls into useMemo

* Change max width for sidebars and css changes

* UI changes

* Update icons

* Change message box text

* Update unknown frame(s)

* Update icons

* Setup input textbox and use in cookie top bar

* Move sidebar to design-system

* Change sidebar data to obj from arr

* Add keyboard navigation and move functions to utils

* Don't allow autofocus on intial render

* Restructure table directory

* Add filtering and search hooks in table

* Add Chips and filter sidebar and modified props

* Add Top bar view

* Update folder names

* Update condition when no keys provided

* Move extractCookies into separate file

* Update Input -> TextInput

* Add test cases

* Add filters for dashboard, update filter logic flow and ui change

* Update filters comparator and static values

* Update key in filters data

* Update search keys for dashboard & minor logic + UI change

* Move columns, filerts, searchKeys to cookieListing from tableContainer

* Modify affected cookies table to be reusable

* Retrieve cookies from store

* Add filters and search to affected cookies table

* Add filters and search to technology table

* Change function param name

* Remoce jest-dom

* Change TextInput -> SearchInput

* Update filter value calculation logic

* fix:attribute cookie of frame about:blank to unknown frames

* Update unknown frame with constant

* Add function to handle data extraction

* Add storage updation mechanism

* Handle persistence with custom hook

* Handle table settings persistence across all hooks

* Export sidebar

* Refactor util and callback

* Add props for table persistence and disabling filtering

* Update findItem uitl search logic

* Update findItem util working

* Create sidebarData and use custom sidebar hook & component

* Keep auto open and text change

* Handle frame selection

* Add title to node

* Add ux for focus change on clicks

* Handle null case for selected frame

* Add inspect button inside cookies sidebar item

* Handle selectedFrame change from frame overlay

* Hide inspect button when tab not analysed

* Handle selected sidebar item persistence

* Update frameUrl prop and persistence key creation

* Handle size change inside Dispatch callback

* Update useTable's internal hooks to set empty values

* Update filters persistence logic

* Reset filter values on options change

* Handle persistence for visibility:

* Handle resizing persistence of columns

* Change saving visibility data's trigerr

* Update resizing logic based on visibility and table changes

* Handle sorting persistence

* Update filters persistence mechanism

* Handle search value on persistence

* Update storage utils for saving and extracting persitent settings of table

* Update useTable for persistence

* Update filter count calculation logic

* Handle sorting of filter values

* Update persistence keys and props for table

* Sort keys and access the object

* Use a commonKey for resizing, visbility, sorting

* Move to landing page on site change

* Remove top padding

* Remove old sidebar, accordion and old test cases

* Remove old fiters, serach and preference in extension

* Pass cookies in frameOverlay

* Update testcases

* Remove unused type

* Create columns, filters and serach for table

* Remove filter & preference store related code

* Use props for showing extra interface in topbar

* Use filter state to extract cookies for frameoverlay

* Use context selector for persistence

* Update saving of column sizing mechanism

* Add dark mode colors

* Flex technology table

* Show filter title even when no filter available

* Handle change of selectedFrame on redirection

* Update saving of column sizing mechanism

* Add dark mode colors

* Flex technology table

* Show filter title even when no filter available

* Handle change of selectedFrame on redirection

* Add table persistent settings provider

* Add logic to handle negative width diff

* Use utils for frame Filtered cookies

* Handle sidebar item storage and retrieval

* Updare use tabID for data extraction

* Update left value for extra interface in sidebar title

* Decrease left value

* Update condition with optional chaining

* Implement promise queue for persistence

* Update sorting condition

* Declare pq inside provider

* Make inspect button vertically align

* Update props for disabling filter button

* Update editable components location

* change opacity when disabled

* Increase margin

* Delay the keyboard navigation if key hold

* Put portRef in try catch

* Remove unrequired setState callback

* Move state to custom hook for better manipulation

* Update selectedFrame when inspecting stops

* post message to content script about inspecting stopped

* fix:add p-queue to be transformed when runnig tests

* chore:skip tests

* style-fix: filter chips style

---------

Co-authored-by: ayushnirwal <[email protected]>

* Feature: Use Chrome DevTools Protocol to extract extra information (#270)

* Add method to attach debugger.

* Add baseline CDP support

* Add types to the cookie debugger listener.

* Fix place for cookiePartitionKey

* Show blocked reasons for all cookies.

* Show cookie blocked reason for all cookie blocked reason.

* Add filtering with priority

* Add filter using size.

* Fix filter value sorting.

* Add a toggle switch to enable usage of CDP

* Fix broken tests.

* Add cookie exclusion and warning reason.

* Use audits to get cookie blocked reasons.

* Move common functions to common package.

* Fix flickering issue in table.

* Handle adding reasons

* Add listener for onChange of CDP debugger.

* Prettify the reasons.
Add samesite lax as default is not specified..

* Add lax as default and use set to deduplicate values of blocked reasons

* Fix blocked cookies reasoning in 3pcd environment.

* Fix failing test

* Remove cookie blocked and blocked reasons column.
Add row background color for blocked cookie.

* Fix add correct partitionKey
Fix undefined blockedReasons.

* Handle if no cookie is present in blocked cookie.

* Fix cookie dates issue.

* Fix date calculation

* Add size column

* Fix failing tests.

* Add cookie blocked and cookie blocked reason in frame overlays.

* Fix date parsing.

* Fix failing test.

* Add cookie warnings.

* Preserve cookie warning reason.

* Filter cookie correctly.

* Merge develop and fix issues.

* Revert commit.

* Make cookie card scrollable.

* Fix cookie partitonKey attribute issue

* Fix GRECAPTCHA domain warning reasoning

* Fix domain and URL mapper.

* Bug fixes for cookie blocked reason.

* Fix failing tests.

* Fix color of the highlighted item.

* Fix cookie blocked editing.

* Add handler for error.

* Add Blocked cookies header and description in landing page.

* Fix error for the request url fetcher.

* Fix text color name in tailwind config.

* Fix text color name in tailwind config.

* Only show those issues which are actually present.

* Fix regression change.

* Fix key errors.

* Fetch cookies from the cdp request.

* Fix failing tests.

* Fix mockdata add blocked data and legend.

* Fix cookie count.

* Fix broken UI.

* Fix cookie fetcher for document.cookie

* Fix column sorting.

* Add provision for cli-dashbboard to skip blocked section.

* Fix flicker of third-party and first party issue.

* Fix count of extension and the popup.

* Add description to ExcludeSameSiteUnspecifiedTreatedAsLax

* Fix information overlap.

* Add spacing between warning reason and blocked reason.

* Calculate size of the cookie.

* Add cookie reasoning.

* Fix formatting of ExcludeSameSiteUnspecifiedTreatedAsLax

* Fix expanded view.

* Fix failing tests.

* Convert cookie blocked to cookie blocked reasons.

* Move legend data to constants.

* Add modularity for cookies landing section.

* Fix color coding in legend.

* Fix code structure.

* Fix HTML content.

* Fix UI responsiveness.

* Silence errors.

* Add line spacing for blocked reason.

* Fix the font sizes.

* Fix the font sizes.

* Fix cookie coloring.

* Fix column sorting and disable and enable cdp switch issue.

* Fix failing tests.

* Add colors for frames piechart.

* Remove bottom border for last 2 elements of matrix.

* Add piechat for frames.

* Add more readability to service worker.

* Remove duplicate color_map declaration.

* Rename prepareFrameStateComponent to prepareFrameStatsComponent

* Fix samesite lax flicker.

* Rename cookie blockages to blocked reasons.

* Change CDP toggle switch dimesnions.

* Add frame type matrix.

* Add line breaks in reasoning.

* Fix un-needed changes.

* Add padding to message box

* Change color in unblocked reason.

* Add color to frames.

* Fix margin-top and single quote issue.

* refactor: address feedback.
- remove moment and date-fns.
- refactor conditions.
- prettify domain and url declaration.

* Move cookie issue details into data folder inside common package.

* Move prepareCookieStats, prepareFrameStats and prepareCookiesCount to design-system.

* Sweep left over references.

* Refactor code to remove custom types and use devtools-package.

* Change outermost frame to top frame.

* Spelling correction.

* Refactor:
Add theme folder in design-system.
Change references for COLOR_MAP.

* Simplify prepareFrameStatsComponent.

* Refactor: add early return in cookietopbar.

* refactor: fix unneeded change in tsconfig.json.

* refactor: move condition before update is done.

* Change Top Frame to Topmost Frame.

* Add early exit and increase code readability.

* Fix failing test and convert reason names to colors.

* Dont show blocked reason legend when no blocked reason.

* Fix errors.

* Add overlay fix.

* Fix failing test.

* Fix merge conflicts.

* remove ts lint.

* Fix runtime lasterror.

---------

Co-authored-by: ayushnirwal <[email protected]>

* Reorder columns.

* fix: add missing type (#340)

* Update type isCookieSet -> isBlocked inside cli dashboard

* fix:type and cookie affected value

* fix:affected cookies highlighting in cli dashboard

* Use extra condition to hide filters sidebar

* Always show chips bar

* Update filter icon disabling condition

* Add condition to change icon on unfocus

* Updat test

* Add priority and size filters

* Add comments

* Fix: Regression testing for 0.4 release. (#346)

* Update type isCookieSet -> isBlocked inside cli dashboard

* fix:type and cookie affected value

* fix:affected cookies highlighting in cli dashboard

* Use extra condition to hide filters sidebar

* Always show chips bar

* Update filter icon disabling condition

* Add condition to change icon on unfocus

* Updat test

* Add priority and size filters

* Add comments

---------

Co-authored-by: ayushnirwal <[email protected]>

* Update url colors

* fix:update filtering function (#341)

* Dont show scrollbar

* Dont show scrollbar

* Update tailwind config

* Update app.css for dashboard with tailwind

* Remove blocked reason heading in dashboard

* Update sidebar focused condition

* Add storage update listener to auto select cookie tab when current tab unanalysed

* Fix: Issues generated in regression testing for 0.4 release. (#343)

* Fix the frameoverlay icon loading issue.

* Fix: disable cookie when no row is selected.

* Fix the frameoverlay icon loading issue.

* Fix the flow of the debugger.

* Fix cookie type.

* Fix frame overlay button on initial page load.

* fix: rename cookie accepted to cookie affected

* Fix: Regression testing for 0.4 release. (#348)

* Update type isCookieSet -> isBlocked inside cli dashboard

* fix:type and cookie affected value

* fix:affected cookies highlighting in cli dashboard

* Use extra condition to hide filters sidebar

* Always show chips bar

* Update filter icon disabling condition

* Add condition to change icon on unfocus

* Updat test

* Add priority and size filters

* Add comments

* Update url colors

* Dont show scrollbar

* Dont show scrollbar

* Update tailwind config

* Update app.css for dashboard with tailwind

* Remove blocked reason heading in dashboard

* Update sidebar focused condition

* Add storage update listener to auto select cookie tab when current tab unanalysed

* fix: rename cookie accepted to cookie affected

---------

Co-authored-by: ayushnirwal <[email protected]>

* Remove period

* Use runtime message listeners for updating tab to listen

* Remove old tab data when store data changes

* Add try catch to fail silently

* Remove size filter

* revert: cookie modification and deltion (#347)

* Remove reload from popup sync cookie store

* Add pq clearing mechanism and cover few callbacks (#353)

* Chore: Update version numbers

* chore: update changelog

* chore: package-lock update

* Refactor: Update Chrome and OS info format (#358)

* ref: Create platform os enum

* ref: Update Chrome and OS info format

* Enhancements: CLI interface updates and column reordering (#362)

* chore:reorder table coloums in cli dashboard

* feat: add flag to omit prompts

* feat:add flag to skip technology assesment

* feat: Dont show tech table if no data available

* fix: Show frames horizontal count component

* Revert "feat: Dont show tech table if no data available"

This reverts commit 79b3ca7.

* feat: Move tech table to bottom and don't show if no data available

* feat: add argument to pass no of urls to be analyzed

* fix: url limit

* fix:ignore creating technologies csv file

---------

Co-authored-by: Mayank Rana <[email protected]>

* Fix: Update CDP analysis flow and related UI elements (#357)

* Detach debugger from old tabs and only attach to tab being analysed

* Uncomment onBeforeNavigate callback

* Remove chrome:// protocol

* Move debugger attaching before addData function

* Fix blocked cookies count and remove promise queue clearing.

* Remove making auto entry on tab creation and attaching debugger before navigation

* fix:add filter

* Remove popup badge text

* Revert "Fix blocked cookies count and remove promise queue clearing."

This reverts commit 3db0c50.

* Don't add data on tab creation

* Remove onNavigate event

* Add flag for listening to cdp

* Detach old tab from debugger

* fix: CDP toggling routine

* fix: domain calculation with tldts library

* fix: popup badge text cleanup

* fix: Update event type

* Fix blocked cookie count in landing page.

* ref: Move blocked reasons and warnings above value

* ref: Make fenced frame part of legend

* fix: Add space between count and description

* Process multitab processing for CDP.
Add single tab CDP processing with default analyse of first tab.
Reload tabs on switching to unlimited tab processing.
Remove toggling of CDP state and remove toggle switch from popup.

* Add fenced frames definition.

* fix: test cases

* fix: Add Invalid domain desc

* Fix cookie count in popup.
Fix flickering effect in sidebar.

* Update details heading color

* fix: Update font bold class for description

* Make svg fill currentColor and add classes

* Fix: Add unknown frames in extension. (#361)

* Add unknown frames to the frame url list.

* Fix blocked cookies count in frae overlay.

* Fix prettier problem and address feedback.

* fix: Add conditional check for frameIdsMap assignment

* Make the getDomain a function.

* Update package-lock.json

* Refactor: Update Chrome and OS info format (#358)

* ref: Create platform os enum

* ref: Update Chrome and OS info format

* Enhancements: CLI interface updates and column reordering (#362)

* chore:reorder table coloums in cli dashboard

* feat: add flag to omit prompts

* feat:add flag to skip technology assesment

* feat: Dont show tech table if no data available

* fix: Show frames horizontal count component

* Revert "feat: Dont show tech table if no data available"

This reverts commit 79b3ca7.

* feat: Move tech table to bottom and don't show if no data available

* feat: add argument to pass no of urls to be analyzed

* fix: url limit

* fix:ignore creating technologies csv file

---------

Co-authored-by: Mayank Rana <[email protected]>

* Add comment in file as well.

* Move Platform os enum to index

* Update enum var name

---------

Co-authored-by: Amoghavarsha Kudaligi <[email protected]>
Co-authored-by: ayushnirwal <[email protected]>
Co-authored-by: Ayush Nirwal <[email protected]>

* fix:reorder colums in affected cookies table

* fix: remove unknown frames from total frame count

* chore:update cookie db count

* chore:RWS json data

* fix: update order in output csv files

* fix: update order in output csv files

---------

Co-authored-by: Mayank Rana <[email protected]>
Co-authored-by: Mohammad Sayed <[email protected]>
Co-authored-by: Fellyph Cintra <[email protected]>
Co-authored-by: Mayank Rana <[email protected]>
Co-authored-by: Kudaligi Amoghavarsha <[email protected]>
  • Loading branch information
6 people authored Dec 26, 2023
1 parent 3ae02e4 commit ff2f187
Show file tree
Hide file tree
Showing 243 changed files with 17,922 additions and 14,782 deletions.
31 changes: 30 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -145,4 +145,33 @@
## Privacy Sandbox API
* Update `RWS` submission steps text https://github.com/GoogleChromeLabs/ps-analysis-tool/pull/229
* Fix: opaque origin error when using in https://github.com/GoogleChromeLabs/ps-analysis-tool/pull/235
* Refactor: Make functional components in landing page non-collapsible https://github.com/GoogleChromeLabs/ps-analysis-tool/pull/232
* Refactor: Make functional components in landing page non-collapsible https://github.com/GoogleChromeLabs/ps-analysis-tool/pull/232


# v0.4.0

## CLI
* Fix: MaxListenerExceedWarning when analyzing sitemap https://github.com/GoogleChromeLabs/ps-analysis-tool/pull/260
* Fix: Affected cookies csv output https://github.com/GoogleChromeLabs/ps-analysis-tool/pull/308
* Fix: Report generation in cli-dashboard https://github.com/GoogleChromeLabs/ps-analysis-tool/pull/318
* Enhancement: add interface use CSV file in CLI. https://github.com/GoogleChromeLabs/ps-analysis-tool/pull/274
* Enhancement: CLI analyze sites with local sitemap https://github.com/GoogleChromeLabs/ps-analysis-tool/pull/271
* Feature: Add custom sidebar hook and component https://github.com/GoogleChromeLabs/ps-analysis-tool/pull/193
* Feature: Implement keyboard navigation inside sidebar https://github.com/GoogleChromeLabs/ps-analysis-tool/pull/266
* Feature: Implement generic filtering and search capabilities https://github.com/GoogleChromeLabs/ps-analysis-tool/pull/289
* Feature: Integrate filtering and searching capability to cli dashboard https://github.com/GoogleChromeLabs/ps-analysis-tool/pull/290
* Feature: Implement persistent settings for table https://github.com/GoogleChromeLabs/ps-analysis-tool/pull/291
* Feature: Implement generic sidebar for extension https://github.com/GoogleChromeLabs/ps-analysis-tool/pull/306
* Feature: Implements generic filtering and searching capabilities inside the extension https://github.com/GoogleChromeLabs/ps-analysis-tool/pull/323
* Refactor: Move dashboard's data processing to utils https://github.com/GoogleChromeLabs/ps-analysis-tool/pull/192

## PSAT Extension
* Fixing hover input state in dark mode https://github.com/GoogleChromeLabs/ps-analysis-tool/pull/295
* Feature: Use Floating UI for tooltip positioning https://github.com/GoogleChromeLabs/ps-analysis-tool/pull/276
* Update tools input field inline to devtools's UI https://github.com/GoogleChromeLabs/ps-analysis-tool/pull/243
* Feature: Use Chrome DevTools Protocol to extract extra information https://github.com/GoogleChromeLabs/ps-analysis-tool/pull/270
* Feature: Extract information and show it on settings page for reporting bugs in the extension. https://github.com/GoogleChromeLabs/ps-analysis-tool/pull/307
* Feature: Add context menu to copy network filter string to filter network requests https://github.com/GoogleChromeLabs/ps-analysis-tool/pull/333
* Enhancement: Reorder column to get important data at https://github.com/GoogleChromeLabs/ps-analysis-tool/pull/337
* Update quick links on landing pages https://github.com/GoogleChromeLabs/ps-analysis-tool/pull/329

200 changes: 200 additions & 0 deletions data/related_website_sets.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,29 @@
{
"sets": [
{
"contact": "[email protected]",
"primary": "https://nacion.com",
"associatedSites": [
"https://lateja.cr",
"https://elfinancierocr.com"
],
"rationaleBySite": {
"https://lateja.cr": "Newspaper owned by Grupo Nación",
"https://elfinancierocr.com": "Newspaper owned by Grupo Nación"
}
},
{
"contact": "[email protected]",
"primary": "https://wp.pl",
"associatedSites": [
"https://money.pl",
"https://autokult.pl"
],
"rationaleBySite": {
"https://money.pl": "Special Interest Website - news and information on the stock market, currencies, business and economics",
"https://autokult.pl": "Special Interest Website - automotive"
}
},
{
"contact": "[email protected]",
"primary": "https://cafemedia.com",
Expand Down Expand Up @@ -88,6 +112,18 @@
"https://landyrev.ru": "Same publisher's website in a different region"
}
},
{
"contact": "[email protected]",
"primary": "https://jagran.com",
"associatedSites": [
"https://gujaratijagran.com",
"https://punjabijagran.com"
],
"rationaleBySite": {
"https://gujaratijagran.com": "News Website for Gujarati audience",
"https://punjabijagran.com": "News Website for Punjabi audience"
}
},
{
"contact": "[email protected]",
"primary": "https://mercadolibre.com",
Expand Down Expand Up @@ -151,6 +187,170 @@
"https://tucarro.com.ve"
]
}
},
{
"contact": "[email protected]",
"primary": "https://joyreactor.cc",
"associatedSites": [
"https://reactor.cc",
"https://cookreactor.com"
],
"rationaleBySite": {
"https://reactor.cc": "Domain for fandomes, old version of site and mirror",
"https://cookreactor.com": "Cooking fandome"
},
"ccTLDs": {
"https://joyreactor.cc": [
"https://joyreactor.com"
]
}
},
{
"contact": "[email protected]",
"primary": "https://unotv.com",
"associatedSites": [
"https://clarosports.com"
],
"serviceSites": [
"https://cmxd.com.mx"
],
"rationaleBySite": {
"https://clarosports.com": "Member of AMX Contenido websites, as unotv",
"https://cmxd.com.mx": "Used for personalization purposes across AMX Contenido websites."
}
},
{
"contact": "[email protected]",
"primary": "https://idbs-cloud.com",
"associatedSites": [
"https://idbs-dev.com",
"https://idbs-staging.com",
"https://idbs-eworkbook.com",
"https://eworkbookcloud.com",
"https://eworkbookrequest.com"
],
"rationaleBySite": {
"https://idbs-dev.com": "Dev version of main application IDBS-cloud",
"https://idbs-staging.com": "Staging version of main application IDBS-cloud",
"https://idbs-eworkbook.com": "E-workbook services part of IDBS-cloud product",
"https://eworkbookcloud.com": "E-workbook services part of IDBS-cloud product",
"https://eworkbookrequest.com": "E-workbook request part of IDBS-cloud product"
}
},
{
"contact": "[email protected]",
"primary": "https://mightytext.net",
"serviceSites": [
"https://textyserver.appspot.com",
"https://mighty-app.appspot.com"
],
"rationaleBySite": {
"https://textyserver.appspot.com": "API service for mightytext.net",
"https://mighty-app.appspot.com": "alternative domain for API service for mightytext.net"
}
},
{
"contact": "[email protected]",
"primary": "https://vwo.com",
"associatedSites": [
"https://wingify.com"
],
"rationaleBySite": {
"https://wingify.com": "Alias"
}
},
{
"contact": "[email protected]",
"primary": "https://wildix.com",
"associatedSites": [
"https://wildixin.com"
],
"rationaleBySite": {
"https://wildixin.com": "Wildix PBX's domain"
}
},
{
"contact": "[email protected]",
"primary": "https://timesinternet.in",
"associatedSites": [
"https://indiatimes.com",
"https://timesofindia.com",
"https://economictimes.com",
"https://samayam.com",
"https://cricbuzz.com"
],
"serviceSites": [
"https://growthrx.in",
"https://clmbtech.com",
"https://tvid.in"
],
"rationaleBySite": {
"https://indiatimes.com": "Indiatimes.com is primary domain for Times Internet which publish stories on Indian Lifestyle, Culture, Relationships, Food, Travel, Entertainment, News and New Technology News",
"https://timesofindia.com": "Times of India (TOI) is Indias largest and most influential news publisher in English. Its digital platform timesofindia.com is powered by Times Internet Limited",
"https://economictimes.com": "Economic Times is India's top business news platform, providing comprehensive coverage of the economy, stock markets, and personal finance to inspire and empower business leaders and entrepreneurs. This digital platform is powered by Times Internet Limited",
"https://samayam.com": "Samayam is a Regional News publisher powered by Times Internet Limited",
"https://cricbuzz.com": "Cricbuzz is an Indian cricket news & live score platform owned by Times Internet Limited",
"https://growthrx.in": "GrowthRx is a customer engagement platform powered by Times Internet",
"https://clmbtech.com": "This is a times-internet data and customer management platform for managing publisher data.",
"https://tvid.in": "TVID is an in-house video management platform powered by Times Internet"
}
},
{
"contact": "[email protected]",
"primary": "https://hc1.com",
"associatedSites": [
"https://hc1.global"
],
"serviceSites": [
"https://hc1cas.com",
"https://hc1cas.global"
],
"rationaleBySite": {
"https://hc1.global": "hc1 Insights Lab platform for UK.",
"https://hc1cas.com": "hc1 Insights Lab platform authentication service for US.",
"https://hc1cas.global": "hc1 Insight Lab platform authentication service for UK."
}
},
{
"contact": "[email protected]",
"primary": "https://kgmedia.id",
"associatedSites": [
"https://kompas.com",
"https://kompasiana.com"
],
"rationaleBySite": {
"https://kompas.com": "KG Media - General News provider",
"https://kompasiana.com": "KG Media - Online blog and publication platform"
}
},
{
"contact": "[email protected]",
"primary": "https://journaldesfemmes.com",
"associatedSites": [
"https://commentcamarche.net",
"https://linternaute.com",
"https://journaldunet.com",
"https://phonandroid.com",
"https://commentcamarche.com"
],
"rationaleBySite": {
"https://commentcamarche.net": "Centralized account for redactors, forums & real-time messages",
"https://linternaute.com": "Centralized account for redactors, forums & real-time messages",
"https://journaldunet.com": "Centralized account for redactors, forums & real-time messages",
"https://phonandroid.com": "Centralized account for redactors, forums & real-time messages",
"https://commentcamarche.com": "Centralized account for redactors, forums & real-time messages"
},
"ccTLDs": {
"https://journaldesfemmes.com": [
"https://journaldesfemmes.fr"
],
"https://linternaute.com": [
"https://linternaute.fr"
],
"https://journaldunet.com": [
"https://journaldunet.fr"
]
}
}
]
}
Loading

0 comments on commit ff2f187

Please sign in to comment.