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 user badges to post preview #1765 #2555

Merged
merged 1 commit into from
Feb 10, 2021

Conversation

imorland
Copy link
Member

**Fixes flarum/issue-archive#248 **

Changes proposed in this pull request:

Reviewers should focus on:
For consistency, the user badges are added to the post preview, so that it cosmetically fits with the rest of the post stream

Screenshot
image

Confirmed

  • Frontend changes: tested on a local Flarum installation.
  • Backend changes: tests are green (run composer test).

@askvortsov1
Copy link
Member

Rebasing on origin/master should fix the failing tests

@imorland
Copy link
Member Author

Thanks! Done

@askvortsov1
Copy link
Member

Looks like some unrelated commits got in, perhaps you might have pushed instead of force pushed?

@imorland
Copy link
Member Author

Whoops

@askvortsov1
Copy link
Member

Would we want to include the full PostUser composer, so the user card shows up on hover?

@imorland
Copy link
Member Author

I did look at that. As things stand, the full PostUser also requires a post attr, which at this composing/preview state does not actually exist

@askvortsov1
Copy link
Member

Fair, another argument against PostUser would be that there's not that big a need for the current user to see more information about themselves.

@askvortsov1 askvortsov1 merged commit 95b021a into flarum:master Feb 10, 2021
KyrneDev pushed a commit that referenced this pull request Feb 20, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Feature] See user badge when reply
3 participants