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: Cookie table settings should be made persistent #134

Merged
merged 50 commits into from
Oct 4, 2023

Conversation

amovar18
Copy link
Collaborator

@amovar18 amovar18 commented Sep 5, 2023

Description

In the application tab, the cookies table settings like column-sizing, column-sorting, frame selected etc. are persistent i.e. they are still applied once the user closes the devtools and then reopens it. We want to apply that same functionality to our tool.

Relevant Technical Choices

  • Storing the tab cookie table settings along with the cookies in the storage.

Testing Instructions

  • Open the terminal and run npm I && npm run dev.
  • Open aljazeera.com and go to the Privacy Sandbox tab.
  • Now open the cookies drop-down and select a frame.
  • Play around in the cookie table and select different sorting methods, toggle columns etc.
  • Close the DevTools.
  • Now reopen the DevTools Navigate to the Privacy Sandbox tab you should see the Tab will be the same way as you left when you closed the DevTools.

Screenshot/Screencast

Screen.Recording.2023-09-05.at.1.58.09.PM.mov

Fixes #74

Update its usage.
Add columnSizing persistence.
@amovar18 amovar18 marked this pull request as ready for review October 3, 2023 07:22
@amovar18 amovar18 self-assigned this Oct 4, 2023
@amovar18 amovar18 requested review from mohdsayed and amedina October 4, 2023 03:49
@amovar18 amovar18 linked an issue Oct 4, 2023 that may be closed by this pull request
5 tasks
Copy link
Collaborator

@mohdsayed mohdsayed left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good

@mohdsayed mohdsayed merged commit e44ca37 into develop Oct 4, 2023
4 checks passed
@mohdsayed mohdsayed deleted the feat/persistent-settings branch October 4, 2023 04:47
@mohdsayed mohdsayed mentioned this pull request Oct 11, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Make cookies table preferences persistent
2 participants