Skip to content

Feature/user comment #19

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

Merged
merged 15 commits into from
Sep 6, 2020
Merged

Feature/user comment #19

merged 15 commits into from
Sep 6, 2020

Conversation

sjeguedes
Copy link
Owner

@sjeguedes sjeguedes commented Sep 6, 2020

This branch creates trick comment creation form process (with trick comment deletion process) and trick comment list display on single page.
This merge aims at testing better workflow with development and features branches added to master. No issue is referenced for this pull request.

This branch treated expected changes and "fixed" issue: #17

  • Added trick comment creation form action, and displayed this form on single trick page

  • Added trick comment deletion action with AJAX confirmation modal without form but with CSRF token and DELETE request

  • Added comment author or admin deletion authorization control

  • Listed trick comments in descending order with parent/children list hierarchy as possible reply(ies)

  • Added JS "reply" select drop down pre-fill action with individual button, to make use of comment creation form more efficient

  • Added comment list sequential AJAX loading with effect and replies JS toggle functionality

  • Reorganized Twig templates structure to be more readable

  • Made several improvements on application to make UX better and fixed a few bugs

  • Cleaned some PHP and JS scripts and phpDoc

These pages or functionalities need to be tested to limit possible bugs, despite the use of xdebug on branch.

Message: please accept this merge and be conscious some little changes can be made later.

…ted necessary other entities with migration file
… - updated necessary other entities with migration file
…to list trick comments on single trick page with their potential hierarchy due to possible parent comments
…rchy as concerns replies with descending order - adapted trick comment creation form parent comment field if no previous comment is available
…omment creation form using smooth scroll behaviour - managed parent comment to reply select dropdown value update with this process to prefill the field before validation
…reach comment creation form using smooth scroll behaviour - managed parent comment to reply select dropdown value update with this process to prefill the field before validation
…ons, AJAX action and particular confirmation modal
…ss - improved also home AJAX trick list process - fixed message string formatting as concerns JS notification function for toast display
@sjeguedes
Copy link
Owner Author

Merge accepted!

Please note that:

It's time to finish project development as soon as possible!
Adding more unit tests would be a good choice to strengthen application!
Caution: composer.json file has to be updated to upgrade Symfony from 4.2.12 to version 4.3/4.4 to reach a LTS one.

@sjeguedes sjeguedes merged commit 052671b into develop Sep 6, 2020
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.

1 participant