mirror of
https://github.com/wassname/talk.git
synced 2026-08-02 13:10:23 +08:00
[CORL-423] Rearrange client files and folder (#2352)
* chore: reorganize account * chore: reorganize install * chore: reorganize auth files * chore: reorganize admin files * fix: graphql naming * chore: adapt account routing
This commit is contained in:
@@ -346,14 +346,14 @@ exports[`renders community 1`] = `
|
||||
className="ButtonPadding-root"
|
||||
>
|
||||
<span
|
||||
className="RoleText-root"
|
||||
className="UserRoleText-root"
|
||||
>
|
||||
Admin
|
||||
</span>
|
||||
</div>
|
||||
</td>
|
||||
<td
|
||||
className="TableCell-root UserRow-roleColumn TableCell-body"
|
||||
className="TableCell-root UserRow-statusColumn TableCell-body"
|
||||
>
|
||||
<div
|
||||
className="ButtonPadding-root"
|
||||
@@ -409,7 +409,7 @@ exports[`renders community 1`] = `
|
||||
>
|
||||
<button
|
||||
aria-label="Change role"
|
||||
className="BaseButton-root Button-root RoleChange-button Button-sizeSmall Button-colorRegular Button-variantRegular"
|
||||
className="BaseButton-root Button-root UserRoleChange-button Button-sizeSmall Button-colorRegular Button-variantRegular"
|
||||
onBlur={[Function]}
|
||||
onClick={[Function]}
|
||||
onFocus={[Function]}
|
||||
@@ -419,7 +419,7 @@ exports[`renders community 1`] = `
|
||||
type="button"
|
||||
>
|
||||
<span
|
||||
className="RoleText-root"
|
||||
className="UserRoleText-root"
|
||||
>
|
||||
Moderator
|
||||
</span>
|
||||
@@ -446,7 +446,7 @@ exports[`renders community 1`] = `
|
||||
</div>
|
||||
</td>
|
||||
<td
|
||||
className="TableCell-root UserRow-roleColumn TableCell-body"
|
||||
className="TableCell-root UserRow-statusColumn TableCell-body"
|
||||
>
|
||||
<div
|
||||
className="ButtonPadding-root"
|
||||
@@ -502,7 +502,7 @@ exports[`renders community 1`] = `
|
||||
>
|
||||
<button
|
||||
aria-label="Change role"
|
||||
className="BaseButton-root Button-root RoleChange-button Button-sizeSmall Button-colorRegular Button-variantRegular"
|
||||
className="BaseButton-root Button-root UserRoleChange-button Button-sizeSmall Button-colorRegular Button-variantRegular"
|
||||
onBlur={[Function]}
|
||||
onClick={[Function]}
|
||||
onFocus={[Function]}
|
||||
@@ -512,7 +512,7 @@ exports[`renders community 1`] = `
|
||||
type="button"
|
||||
>
|
||||
<span
|
||||
className="RoleText-root"
|
||||
className="UserRoleText-root"
|
||||
>
|
||||
Staff
|
||||
</span>
|
||||
@@ -539,7 +539,7 @@ exports[`renders community 1`] = `
|
||||
</div>
|
||||
</td>
|
||||
<td
|
||||
className="TableCell-root UserRow-roleColumn TableCell-body"
|
||||
className="TableCell-root UserRow-statusColumn TableCell-body"
|
||||
>
|
||||
<div
|
||||
className="ButtonPadding-root"
|
||||
@@ -595,7 +595,7 @@ exports[`renders community 1`] = `
|
||||
>
|
||||
<button
|
||||
aria-label="Change role"
|
||||
className="BaseButton-root Button-root RoleChange-button Button-sizeSmall Button-colorRegular Button-variantRegular"
|
||||
className="BaseButton-root Button-root UserRoleChange-button Button-sizeSmall Button-colorRegular Button-variantRegular"
|
||||
onBlur={[Function]}
|
||||
onClick={[Function]}
|
||||
onFocus={[Function]}
|
||||
@@ -605,7 +605,7 @@ exports[`renders community 1`] = `
|
||||
type="button"
|
||||
>
|
||||
<span
|
||||
className="RoleText-root RoleText-commenter"
|
||||
className="UserRoleText-root UserRoleText-commenter"
|
||||
>
|
||||
Commenter
|
||||
</span>
|
||||
@@ -632,7 +632,7 @@ exports[`renders community 1`] = `
|
||||
</div>
|
||||
</td>
|
||||
<td
|
||||
className="TableCell-root UserRow-roleColumn TableCell-body"
|
||||
className="TableCell-root UserRow-statusColumn TableCell-body"
|
||||
>
|
||||
<div
|
||||
className="Popover-root"
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
import React from "react";
|
||||
|
||||
import EntryContainer from "coral-admin/containers/EntryContainer";
|
||||
import App from "coral-admin/App";
|
||||
import { GQLResolver } from "coral-framework/schema";
|
||||
import {
|
||||
createTestRenderer,
|
||||
@@ -8,5 +8,5 @@ import {
|
||||
} from "coral-framework/testHelpers";
|
||||
|
||||
export default function create(params: CreateTestRendererParams<GQLResolver>) {
|
||||
return createTestRenderer<GQLResolver>("admin", <EntryContainer />, params);
|
||||
return createTestRenderer<GQLResolver>("admin", <App />, params);
|
||||
}
|
||||
|
||||
@@ -190,7 +190,7 @@ exports[`renders empty stories 1`] = `
|
||||
>
|
||||
<button
|
||||
aria-label="Change status"
|
||||
className="BaseButton-root Button-root StatusChange-button Button-sizeSmall Button-colorRegular Button-variantRegular"
|
||||
className="BaseButton-root Button-root StoryStatusChange-button Button-sizeSmall Button-colorRegular Button-variantRegular"
|
||||
onBlur={[Function]}
|
||||
onClick={[Function]}
|
||||
onFocus={[Function]}
|
||||
@@ -200,7 +200,7 @@ exports[`renders empty stories 1`] = `
|
||||
type="button"
|
||||
>
|
||||
<span
|
||||
className="StatusText-root StatusText-open"
|
||||
className="StoryStatusText-root StoryStatusText-open"
|
||||
>
|
||||
Open
|
||||
</span>
|
||||
@@ -259,7 +259,7 @@ exports[`renders empty stories 1`] = `
|
||||
>
|
||||
<button
|
||||
aria-label="Change status"
|
||||
className="BaseButton-root Button-root StatusChange-button Button-sizeSmall Button-colorRegular Button-variantRegular"
|
||||
className="BaseButton-root Button-root StoryStatusChange-button Button-sizeSmall Button-colorRegular Button-variantRegular"
|
||||
onBlur={[Function]}
|
||||
onClick={[Function]}
|
||||
onFocus={[Function]}
|
||||
@@ -269,7 +269,7 @@ exports[`renders empty stories 1`] = `
|
||||
type="button"
|
||||
>
|
||||
<span
|
||||
className="StatusText-root StatusText-open"
|
||||
className="StoryStatusText-root StoryStatusText-open"
|
||||
>
|
||||
Open
|
||||
</span>
|
||||
@@ -493,7 +493,7 @@ exports[`renders stories 1`] = `
|
||||
>
|
||||
<button
|
||||
aria-label="Change status"
|
||||
className="BaseButton-root Button-root StatusChange-button Button-sizeSmall Button-colorRegular Button-variantRegular"
|
||||
className="BaseButton-root Button-root StoryStatusChange-button Button-sizeSmall Button-colorRegular Button-variantRegular"
|
||||
onBlur={[Function]}
|
||||
onClick={[Function]}
|
||||
onFocus={[Function]}
|
||||
@@ -503,7 +503,7 @@ exports[`renders stories 1`] = `
|
||||
type="button"
|
||||
>
|
||||
<span
|
||||
className="StatusText-root StatusText-open"
|
||||
className="StoryStatusText-root StoryStatusText-open"
|
||||
>
|
||||
Open
|
||||
</span>
|
||||
@@ -562,7 +562,7 @@ exports[`renders stories 1`] = `
|
||||
>
|
||||
<button
|
||||
aria-label="Change status"
|
||||
className="BaseButton-root Button-root StatusChange-button Button-sizeSmall Button-colorRegular Button-variantRegular"
|
||||
className="BaseButton-root Button-root StoryStatusChange-button Button-sizeSmall Button-colorRegular Button-variantRegular"
|
||||
onBlur={[Function]}
|
||||
onClick={[Function]}
|
||||
onFocus={[Function]}
|
||||
@@ -572,7 +572,7 @@ exports[`renders stories 1`] = `
|
||||
type="button"
|
||||
>
|
||||
<span
|
||||
className="StatusText-root StatusText-open"
|
||||
className="StoryStatusText-root StoryStatusText-open"
|
||||
>
|
||||
Open
|
||||
</span>
|
||||
|
||||
Reference in New Issue
Block a user