Refactor and improve UI for library listings
>>> [!note] Migrated issue
<!-- Drupal.org comment -->
<!-- Migrated from issue #3545710. -->
Reported by: [balintbrews](https://www.drupal.org/user/613760)
Related to !105
>>>
<ol>
<li>Hide the Add new folder button under a feature flag, so it won't show up while <span class="drupalorg-gitlab-issue-link drupalorg-gitlab-link-wrapper"><a href="https://git.drupalcode.org/project/canvas/-/work_items/3540576" class="drupalorg-gitlab-link">https://git.drupalcode.org/project/canvas/-/work_items/3540576</a></span> is in development.</li>
<li>Move the "Add new" button from <em>Library</em> to <em>Manage library</em>.</li>
<li><del>Make sure that the active tab under <em>Manage library</em> switches to code after a new code component is added with the button.</del> already addressed in <span class="drupalorg-gitlab-issue-link drupalorg-gitlab-link-wrapper"><a href="https://git.drupalcode.org/project/canvas/-/work_items/3543804" class="drupalorg-gitlab-link">https://git.drupalcode.org/project/canvas/-/work_items/3543804</a></span></li>
<li>Bonus fix: Remove the "0" that appears under <em>Manage library</em> / <em>Code</em> when there are no folders created, and there are internal code components listed. The components should be displayed at the root level. . (Unless they belong to a folder, but that is not implemented yet for code components, unless <code>Folder</code> config entities are updated manually.)</li>
<li><del>Bonus fix 2: Remove the "@todo" that appears under <em>Library</em> for code components. The components should be displayed at the root level. (Unless they belong to a folder, but that is not implemented yet for code components, unless <code>Folder</code> config entities are updated manually.) </del> To be addressed in <span class="drupalorg-gitlab-issue-link drupalorg-gitlab-link-wrapper"><a href="https://git.drupalcode.org/project/canvas/-/work_items/3541364" class="drupalorg-gitlab-link">https://git.drupalcode.org/project/canvas/-/work_items/3541364</a></span></li>
</ol>
> Related issue: [Issue #3540576](https://www.drupal.org/node/3540576)
issue