diff --git a/src/lib/components/molecules/History.svelte b/src/lib/components/molecules/History.svelte new file mode 100644 index 0000000..e81fa19 --- /dev/null +++ b/src/lib/components/molecules/History.svelte @@ -0,0 +1,136 @@ + + + + +{#each Object.entries(groupCommitsByDateAndProject(commitsMap)) as commitsByDateAndProject} + {#each Object.entries(commitsByDateAndProject[1]) as commitsByProject} + +
  • + +
    + + +
    + + + + + + + {$date(new Date(commitsByDateAndProject[0]))} - {$_( + 'page.profile.history.activities.commits.number', + { values: { number: commitsByProject[1].length } } + )} + + + {followingsMap.find((following) => following.id === commitsByProject[0]).name} + + +
    + + +
    +
  • + {/each} +{/each} diff --git a/src/lib/components/templates/Profile.svelte b/src/lib/components/templates/Profile.svelte index 7ec864a..2bda41d 100644 --- a/src/lib/components/templates/Profile.svelte +++ b/src/lib/components/templates/Profile.svelte @@ -13,19 +13,13 @@ You should have received a copy of the GNU Affero General Public License along w
    @@ -224,93 +193,7 @@ You should have received a copy of the GNU Affero General Public License along w