issues
search
connormaglynn
/
save-pinned-tabs-browser-plugin
This repository is managed in Terraform
1
stars
0
forks
source link
♻ Refactor Browser Storage Interaction Into `GroupRepository`
#4
Closed
connormaglynn
closed
4 months ago
connormaglynn
commented
4 months ago
👀 Purpose
To centralise and increase the consistency of Group persistence
♻️ What's changed
Added a
GroupRepository
Class with supporting
GroupEntity
and
GroupModel
Classes
Refactored all browser storage interaction into the
GroupRepository
Class
Refactored to use optional chaining over
&&
chaining
Fixed a bug, preventing Group Tabs from opening the tabs when group is clicked (introduced here
https://github.com/connormaglynn/save-pinned-tabs-browser-plugin/pull/3/files#diff-3c22697f71643bb8287c56e99e71595d2253122520883f9319e9b27140da5019R237
)
📝 Notes
This change also supports the future migration to an improved data structure to optimise storage usage
👀 Purpose
♻️ What's changed
GroupRepository
Class with supportingGroupEntity
andGroupModel
ClassesGroupRepository
Class&&
chaining📝 Notes