-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add AUTHORIZED_FETCH disclaimer to Actor Profile error messages #19
Conversation
akhileshthite
commented
May 14, 2024
@@ -170,6 +170,7 @@ class DistributedActivity extends HTMLElement { | |||
displayUnimplemented () { | |||
const message = `Activity type ${this.activityType} is not implemented yet.` | |||
const messageElement = document.createElement('p') | |||
messageElement.classList.add('other-activity') |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
profile.html
Outdated
nextButton.addEventListener("click", () => outboxElement.nextPage()); | ||
} | ||
document.addEventListener('usernameUpdated', (event) => { | ||
document.title = `@${event.detail.username}`; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
select.appendChild(standardGroup) | ||
|
||
// Create and append the colorblind theme options within an optgroup | ||
const colorBlindGroup = document.createElement('optgroup') |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good other than the one comment.
pUserName.classList.add('profile-username') | ||
pUserName.href = db.getObjectPage(actorInfo) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why was this removed? Could we add it back? I find it useful to be able to navigate to accounts on their native web url.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Added back.
It was a mistake.
profile.html
Outdated
nextButton.addEventListener("click", () => outboxElement.nextPage()); | ||
} | ||
document.addEventListener('usernameUpdated', (event) => { | ||
document.title = `@${event.detail.username}`; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Instead of replacing can we do a +=
so we can still identify the tab as being part of the social reader?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good job! TY