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

UX: use group full name, add settings for description & ordering #1

Open
wants to merge 5 commits into
base: main
Choose a base branch
from

Conversation

awesomerobot
Copy link
Member

Adds an additional request to get the full name, and optional settings for showing the group description and changing the group order.

image

}
}
@if $capitalize-names == "true" {
&:first-letter {
Copy link

Choose a reason for hiding this comment

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

"technically correct is the best correct" 😄

Suggested change
&:first-letter {
&::first-letter {

import AboutPageUsers from "discourse/components/about-page-users";
import ConditionalLoadingSpinner from "discourse/components/conditional-loading-spinner";

export default class AdditionalAboutGroups extends Component {
@service store;
@service site;

Copy link

Choose a reason for hiding this comment

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

🙏😄 (I do appreciate that 😃)

async loadGroupMembers(groupName) {
try {
const response = await fetch(
`/groups/${groupName}/members.json?offset=0&order=&asc=true`
`/g/${groupName}/members.json?offset=0&order=&asc=true`
Copy link

Choose a reason for hiding this comment

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

I'm pretty sure those args are the default

Suggested change
`/g/${groupName}/members.json?offset=0&order=&asc=true`
`/g/${groupName}/members.json`

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants