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

260 ra posts createedit markdown preview #346

Merged
merged 7 commits into from
Apr 13, 2024

Conversation

vgeffer
Copy link
Contributor

@vgeffer vgeffer commented Apr 13, 2024

No description provided.

@vgeffer vgeffer linked an issue Apr 13, 2024 that may be closed by this pull request
Copy link
Collaborator

@rtrembecky rtrembecky left a comment

Choose a reason for hiding this comment

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

dobree, pohodicka. len stylisticke zmeny asi

<FormDataConsumer>
{({formData}) => {
return (
<>
Copy link
Collaborator

Choose a reason for hiding this comment

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

nadbytocny fragment

Comment on lines 15 to 16
{({formData}) => {
return (
Copy link
Collaborator

Choose a reason for hiding this comment

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

da sa tiez zbavit curly brackets

Comment on lines 31 to 33
openDetail={() => {
openDetail(true)
}}
Copy link
Collaborator

Choose a reason for hiding this comment

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

tiez by som sa zbavil curly.. ale to su nitpick komentare co by som nemal ani pisat 😄

Comment on lines 18 to 21
<Grid container>
<Grid xs={6}>
<Stack gap={5}>
<Post
Copy link
Collaborator

Choose a reason for hiding this comment

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

aasi ok... vravim si, ked pozeram na ten Posts.tsx, ze by sa dalo extrahovat viac, cele UI postov, a v arrayi posts by si tam tuto poslal jeden element. ale asi to teraz nestoji za dalsi effort

import {theme} from '@/theme'

export const PostPreview: FC = () => {
const [isDetailOpen, openDetail] = useState<boolean>()
Copy link
Collaborator

Choose a reason for hiding this comment

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

dalsi nit: pisal by som useState(false), aby to nezacinalo na undefined, a typ si to inferuje. doesn't matter really

@vgeffer vgeffer merged commit 2c79fbd into master Apr 13, 2024
1 check passed
@vgeffer vgeffer deleted the 260-ra-posts-createedit-markdown-preview branch April 13, 2024 19:25
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.

RA - Posts - Create/Edit - Markdown preview
2 participants