Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
29 commits
Select commit Hold shift + click to select a range
893c24f
yolo(Thread view): remove checks for thread count
unenglishable Dec 22, 2023
01b615a
yolo(limits): Reduce limits for posts and threads per page
crod951 Jan 10, 2024
6092209
fix(rankdisplay): add check if metricToRankMaps exists to handle prox…
crod951 Jan 10, 2024
634dee6
fix(threads): Fix display bug for proxy data showing -1 replies to th…
crod951 Jan 10, 2024
b65c05f
refactor(api/index): increase timeout to 10k to reduce timeout errors
unenglishable Feb 16, 2024
fdff01a
Merge pull request #48 from epochtalk/server-migration
unenglishable May 28, 2024
5491f86
refactor(public/index): load backend url from $VUE_APP_BACKEND_URL in…
unenglishable Jun 27, 2024
2e720bc
Merge remote-tracking branch 'origin/server-migration' into proxy
unenglishable Sep 4, 2024
5825cd3
Merge pull request #53 from epochtalk/server-migration
unenglishable Sep 10, 2024
83c7f1a
Merge pull request #56 from epochtalk/server-migration
akinsey Sep 27, 2024
138ab01
fix(recent-threads-boards): decode html entities within board names
akinsey Sep 27, 2024
cbfa508
feat(user-attrs): show merit and title under posts
akinsey Oct 4, 2024
45d3279
Merge pull request #57 from epochtalk/server-migration
unenglishable Oct 4, 2024
93ab238
Merge remote-tracking branch 'origin/server-migration' into proxy
unenglishable Oct 15, 2024
00eb6b3
Merge pull request #59 from epochtalk/server-migration
unenglishable Oct 18, 2024
15736dc
feat(api/index): increase timeout to 15 seconds
unenglishable Oct 21, 2024
bce97af
Merge remote-tracking branch 'origin/server-migration' into proxy
unenglishable Oct 26, 2024
95085fd
feat(proxy-profile): update to make links to user profile functional
akinsey Nov 4, 2024
ef434d4
Merge remote-tracking branch 'origin/server-migration' into proxy
akinsey Nov 4, 2024
ac2bea9
feat(bug-form): Added link in header to bug submission form
crod951 Nov 5, 2024
f90c139
feat(last-seen): change last seen to last post
akinsey Nov 5, 2024
9174ace
feat(profile): update profile page to work with proxy
akinsey Nov 15, 2024
c9044b6
Merge remote-tracking branch 'origin/server-migration' into proxy
akinsey Nov 15, 2024
d3df955
fix(last-post-link): resolve linking to wrong profile in last post info
akinsey Nov 22, 2024
3c39cfc
Merge branch 'proxy' into server-migration
crod951 Nov 29, 2024
47d4be1
Revert "Merge branch 'proxy' into server-migration"
crod951 Dec 2, 2024
5d04042
style(user-posts): added more height to user posts in profile view to…
crod951 Dec 2, 2024
477765a
style(posts): Changed from 'Act' to 'Activity'; moved activity above …
crod951 Dec 2, 2024
a5ecd2a
style(profile): Reversed posts label and data to match other user-sta…
crod951 Dec 2, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/components/users/UserPosts.vue
Original file line number Diff line number Diff line change
Expand Up @@ -250,7 +250,7 @@ export default {
}
&.closed {
width: 100%;
max-height: 18px;
max-height: 2.25rem;
white-space: pre-wrap;
overflow: hidden;
text-overflow: ellipsis;
Expand Down
8 changes: 2 additions & 6 deletions src/views/Posts.vue
Original file line number Diff line number Diff line change
Expand Up @@ -138,8 +138,8 @@
<router-link class="hide-mobile" :to="{ path: '/profile/' + post.user.username.toLowerCase() }">
<div class="original-poster" v-if="post.user.original_poster">OP</div>
<div v-if="post.user.title" :title="('Title: ' + post.user.title)" class="user-activity"><span class="user-activity-value">{{post.user.title}}</span></div>
<div v-if="post.user.activity > -1" :title="('Activity: ' + post.user.activity)" class="user-activity">Activity: <span class="user-activity-value">{{post.user.activity}}</span></div>
<div v-if="post.user.merit > -1" :title="('Merit: ' + post.user.merit)" class="user-activity">Merit: <span class="user-activity-value">{{post.user.merit}}</span></div>
<div v-if="post.user.activity > -1" :title="('Activity: ' + post.user.activity)" class="user-activity">Act: <span class="user-activity-value">{{post.user.activity}}</span></div>
</router-link>
</router-link>

Expand Down Expand Up @@ -169,8 +169,8 @@
<router-link :to="{ path: '/profile/' + post.user.username.toLowerCase() }" class="user-activity-mobile">
<div class="original-poster" v-if="post.user.original_poster">OP</div>
<div v-if="post.user.title" :title="('Title: ' + post.user.title)" class="user-activity"><span class="user-activity-value">{{post.user.title}}</span></div>
<div v-if="post.user.activity > -1" :title="('Activity: ' + post.user.activity)" class="user-activity">Activity: <span class="user-activity-value">{{post.user.activity}}</span></div>
<div v-if="post.user.merit > -1" :title="('Merit: ' + post.user.merit)" class="user-activity">Merit: <span class="user-activity-value">{{post.user.merit}}</span></div>
<div v-if="post.user.activity > -1" :title="('Activity: ' + post.user.activity)" class="user-activity">Act: <span class="user-activity-value">{{post.user.activity}}</span></div>
</router-link>
<div class="timestamp">
<span>{{humanDate(post.created_at)}}</span>
Expand Down Expand Up @@ -1707,10 +1707,6 @@ ad-viewer {
width: $postWidth__mobile;
}
}

@include break-mobile-sm {
padding-bottom: 3rem;
}
}

.thread-title {
Expand Down
47 changes: 30 additions & 17 deletions src/views/Profile.vue
Original file line number Diff line number Diff line change
Expand Up @@ -68,16 +68,16 @@

<div class="profile-user-stats">
<div class="stats">
<span class="label">Posts </span>
<span class="stat-text">{{ user.post_count || 0 }}</span>
<span class="label">Posts</span>
</div>
<div class="stats">
<span class="label">Last Seen </span>
<span class="stat-text-sm">{{ humanDate(user.last_active, true) }}</span>
<div v-if="user.last_active" class="stats">
<span class="label">Last Active </span>
<span class="stat-text">{{ humanDate(user.last_active, true) }}</span>
</div>
<div class="stats">
<span class="label">Created </span>
<span class="stat-text-sm">{{ humanDate(user.created_at, true) }}</span>
<span class="stat-text">{{ humanDate(user.created_at, true) }}</span>
</div>
</div>
</div>
Expand Down Expand Up @@ -492,7 +492,7 @@ export default {
a { color: $text-gray-med; text-decoration: underline; }
}
}
.signature-block { display: flex; margin-bottom: 1rem; }
.signature-block { display: grid; margin-bottom: 1rem; }
.signature {
@include truncate-ellipsis;
font-size: $font-size-xs;
Expand All @@ -507,7 +507,11 @@ export default {
}
.profile-user-stats {
display: flex;
margin-bottom: 2rem;
margin-bottom: 1rem;
column-gap: 0.5rem;
@include break-mobile-med {
justify-content: center;
}
.stats {
border: $border;
border-radius: 6px;
Expand All @@ -516,31 +520,36 @@ export default {
flex-direction: column;
align-items: center;
justify-content: center;
margin-right: 1rem;
padding: 0.5rem;
text-align: center;
width: 100px;
max-width: 120px;
.label { font-size: $font-size-xs; }
width: auto;
white-space: nowrap;
@include break-mobile-med {
width: 100px;
max-width: 120px;
white-space: normal;
}
.label {
margin-bottom: 0.25rem;
font-size: $font-size-xs;
}
.stat-text {
font-size: 2rem;
font-size: $font-size-lg;
font-weight: 600;
margin-bottom: 0.25rem;
&-sm { font-size: 21px; font-weight: 600; }
}
}
}
@include break-mobile-med {
align-items: center;
flex-direction: column;
.profile-avatar {
margin-bottom: 3rem;
margin-right: 0;
}
.profile-user-details {
.profile-user-name-role {
flex-direction: column;
margin-bottom: 1.5rem;
margin-bottom: 1rem;
h1, .username-screen, .user-role {
margin-bottom: 0.25rem;
}
Expand All @@ -550,12 +559,16 @@ export default {
.trust-profile { .trust-link { white-space: nowrap; } }
}
}
.profile-threads-posts { grid-area: main; }
.profile-threads-posts {
grid-area: main;
@include break-mobile-med {
border-top: $border;
}
}
.profile-sidebar {
color: $text-gray-dark;
grid-area: sidebar;
.actions-panel {
border-bottom: $border;
line-height: 1.5;
margin-bottom: 1rem;
padding-bottom: 1rem;
Expand Down
Loading