<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.webkit.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4.1"
          urlbase="https://bugs.webkit.org/"
          
          maintainer="admin@webkit.org"
>

    <bug>
          <bug_id>270595</bug_id>
          
          <creation_ts>2024-03-06 12:50:17 -0800</creation_ts>
          <short_desc>Web Inspector: FolderizedTreeElement doesn&apos;t need to remember expansion states anymore since FolderTreeElement already does the job</short_desc>
          <delta_ts>2024-03-19 11:29:12 -0700</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>Web Inspector</component>
          <version>WebKit Nightly Build</version>
          <rep_platform>All</rep_platform>
          <op_sys>All</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>InRadar</keywords>
          <priority>P2</priority>
          <bug_severity>Enhancement</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Qianlang Chen">qianlangchen</reporter>
          <assigned_to name="Qianlang Chen">qianlangchen</assigned_to>
          <cc>inspector-bugzilla-changes</cc>
    
    <cc>webkit-bug-importer</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>2019151</commentid>
    <comment_count>0</comment_count>
    <who name="Qianlang Chen">qianlangchen</who>
    <bug_when>2024-03-06 12:50:17 -0800</bug_when>
    <thetext>In the inspector&apos;s frontend, the FolderizedTreeElement component currently has the duty of listening to its child FolderTreeElement&apos;s change of expanded state and recording that with a local WI.Setting. (See https://github.com/WebKit/WebKit/blob/c31beeb0aa293d11b9d23a4c6f2f70cfda461dbe/Source/WebInspectorUI/UserInterface/Views/FolderizedTreeElement.js#L310-L318)

The PR https://github.com/WebKit/WebKit/pull/25370 adds this recording functionality to FolderTreeElement directly, which is used in a few more places in the inspector&apos;s frontend (like in the Storage tab).

So, FolderizedTreeElement no longer needs to have that duty anymore, and all it needs to do is pass the id of the tree element to its child FolderTreeElement to let it do the recording job.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2019153</commentid>
    <comment_count>1</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2024-03-06 12:50:45 -0800</bug_when>
    <thetext>&lt;rdar://problem/124158713&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2022208</commentid>
    <comment_count>2</comment_count>
    <who name="EWS">ews-feeder</who>
    <bug_when>2024-03-19 11:29:10 -0700</bug_when>
    <thetext>Committed 276357@main (3cc63f452ee1): &lt;https://commits.webkit.org/276357@main&gt;

Reviewed commits have been landed. Closing PR #26080 and removing active labels.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>