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

(frontend)[AGE 1444]: Enhance documentation for Frontend repo, and include best practices #2356

Merged
merged 7 commits into from
Dec 11, 2024

Conversation

ardaerzin
Copy link
Contributor

@ardaerzin ardaerzin commented Dec 9, 2024

closes AGE-1444
closes AGE-1445
closes AGE-1446

What has changed?

  • added editor setup tips for having better eslint & prettier support while working on the Frontend code
  • added an example for the new proposed folder structure
  • added a section with examples on unification & simplification of our data operations
  • added a section on data memoization to prevent & eliminate some issues I've seen in the codebase

This'll be a living document, but this iteration should be enough to give a better structure to upcoming PRs. Looking forward to your feedback

Copy link

vercel bot commented Dec 9, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
agenta ✅ Ready (Inspect) Visit Preview 💬 Add feedback Dec 9, 2024 2:55pm
agenta-documentation ✅ Ready (Inspect) Visit Preview 💬 Add feedback Dec 9, 2024 2:55pm

Copy link
Member

@mmabrouk mmabrouk left a comment

Choose a reason for hiding this comment

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

Thanks @ardaerzin not the expert but it's very clear to me.
One point that's still open is ee/ -> Saw your comment

@dosubot dosubot bot added the lgtm This PR has been approved by a maintainer label Dec 9, 2024
Copy link
Member

@aybruhm aybruhm left a comment

Choose a reason for hiding this comment

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

LGTM!

@ardaerzin ardaerzin marked this pull request as ready for review December 9, 2024 15:11
@dosubot dosubot bot added size:L This PR changes 100-499 lines, ignoring generated files. documentation Improvements or additions to documentation Frontend labels Dec 9, 2024
Copy link
Collaborator

@ashrafchowdury ashrafchowdury left a comment

Choose a reason for hiding this comment

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

How about FE testing??

Copy link
Contributor

@jp-agenta jp-agenta left a comment

Choose a reason for hiding this comment

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

💯

@bekossy
Copy link
Member

bekossy commented Dec 10, 2024

Thank you for the PR, @ardaerzin. LGTM! One thought: should we consider adding a section to discuss when and why to import a component dynamically?

Copy link
Collaborator

@aakrem aakrem left a comment

Choose a reason for hiding this comment

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

lgtm

@ardaerzin
Copy link
Contributor Author

Thank you for the PR, @ardaerzin. LGTM! One thought: should we consider adding a section to discuss when and why to import a component dynamically?

will add a follow up ticket this week, and make sure it includes the additional topics mentioned here. Thanks for the feedback 🙏

@ardaerzin
Copy link
Contributor Author

How about FE testing??

We're already discussing this topic. once it is a refined more, will share with the team and include them in an updated version of this

@ardaerzin ardaerzin merged commit 03a38ca into main Dec 11, 2024
9 checks passed
@ardaerzin ardaerzin deleted the AGE-1444/enhance-working-with-frontend-documentation branch December 11, 2024 09:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation Frontend lgtm This PR has been approved by a maintainer size:L This PR changes 100-499 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

7 participants