Skip to content
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

Merged
merged 8 commits into from
May 27, 2024

Conversation

akhileshthite
Copy link
Collaborator

Screenshot 2024-05-15 at 12 00 32 AM

@akhileshthite akhileshthite added the enhancement New feature or request label May 14, 2024
@akhileshthite akhileshthite self-assigned this 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')
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Screenshot 2024-05-14 at 11 43 58 PM

profile.html Outdated
nextButton.addEventListener("click", () => outboxElement.nextPage());
}
document.addEventListener('usernameUpdated', (event) => {
document.title = `@${event.detail.username}`;
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Screenshot 2024-05-16 at 11 55 33 PM

select.appendChild(standardGroup)

// Create and append the colorblind theme options within an optgroup
const colorBlindGroup = document.createElement('optgroup')
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Screenshot 2024-05-16 at 11 53 17 PM

Copy link
Contributor

@RangerMauve RangerMauve left a 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)
Copy link
Contributor

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.

Copy link
Collaborator Author

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}`;
Copy link
Contributor

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?

actor-profile.js Outdated Show resolved Hide resolved
Copy link
Contributor

@RangerMauve RangerMauve left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good job! TY

@RangerMauve RangerMauve merged commit 3e099c6 into main May 27, 2024
1 check passed
@RangerMauve RangerMauve deleted the disclaimer branch May 27, 2024 14:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants