<commit_before><component name="org.nuxeo.ecm.favorites.actions">

  <require>org.nuxeo.ecm.platform.actions</require>


  <extension target="org.nuxeo.ecm.platform.actions.ActionService"
    point="actions">

    <action id="Favorites" link="user_center_fragment.xhtml" label="user.center.favorites"
      order="80" icon="/icons/favorite_tab.png">
      <category>USER_CENTER</category>
      <properties>
        <property name="alwaysDisplaySubTabs">true</property>
      </properties>
      <filter-id>not_anonymous</filter-id>
    </action>

    <action id="favoritesContent" link="/incl/favorites_content_listing.xhtml"
      label="user.center.favorites" order="0">
      <category>Favorites_sub_tab</category>
      <filter-id>not_readonly</filter-id>
    </action>

    <action id="addToFavoritesAction" order="0" label="label.addToFavorites"
      link="#{favoritesActions.addCurrentDocumentToFavorites()}" icon="/icons/pin.png">
      <category>DOCUMENT_UPPER_ACTION</category>
      <filter-id>canAddToFavorites</filter-id>
    </action>

    <action id="removeFromFavoritesAction" order="0"
      label="label.removeFromFavorites" link="#{favoritesActions.removeCurrentDocumentFromFavorites()}"
      icon="/icons/pinned.png"><commit_msg>NXP-13916: temporary disable user center favorites menu<commit_after><component name="org.nuxeo.ecm.favorites.actions">

  <require>org.nuxeo.ecm.platform.actions</require>


  <extension target="org.nuxeo.ecm.platform.actions.ActionService"
    point="actions">

    <!-- action id="Favorites" link="user_center_fragment.xhtml" label="user.center.favorites"
      order="80" icon="/icons/favorite_tab.png"> <category>USER_CENTER</category> <properties>
      <property name="alwaysDisplaySubTabs">true</property> </properties> <filter-id>not_anonymous</filter-id>
      </action> <action id="favoritesContent" link="/incl/favorites_content_listing.xhtml"
      label="user.center.favorites" order="0"> <category>Favorites_sub_tab</category> <filter-id>not_readonly</filter-id>
      </action -->

    <action id="addToFavoritesAction" order="0" label="label.addToFavorites"
      link="#{favoritesActions.addCurrentDocumentToFavorites()}" icon="/icons/pin.png">
      <category>DOCUMENT_UPPER_ACTION</category>
      <filter-id>canAddToFavorites</filter-id>
    </action>

    <action id="removeFromFavoritesAction" order="0"
      label="label.removeFromFavorites" link="#{favoritesActions.removeCurrentDocumentFromFavorites()}"
      icon="/icons/pinned.png">
{'fraction_non_alphanumeric': 0.15234685759745425, 'fraction_numerical': 0.0059665871121718375, 'mean_word_length': 5.002386634844869, 'pattern_counts': {'":': 0, '<': 57, '<?xml version=': 0, '>': 57, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '685990', 'n_tokens_mistral': 842, 'n_tokens_neox': 810, 'n_words': 89}