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

Fixed language switch #3588

Closed

Conversation

KunalSewal
Copy link

@KunalSewal KunalSewal commented Feb 12, 2025

What kind of change does this PR introduce?

Handles cases when userId is not available: If userId is not available, you should still allow the language change without updating the backend.
So this PR updates the language even if userId is not available.

Issue Number:

Fixes #3586

Snapshots/Videos:

mp4.mp4

If relevant, did you update the documentation?

No

Summary

This is my first open source contribution. I have tested the changes locally.
The issue of not being able to change the language is being resolved through this PR.

Does this PR introduce a breaking change?

No

Checklist

CodeRabbit AI Review

  • I have reviewed and addressed all critical issues flagged by CodeRabbit AI
  • I have implemented or provided justification for each non-critical suggestion
  • I have documented my reasoning in the PR comments where CodeRabbit AI suggestions were not implemented

Test Coverage

  • I have written tests for all new changes/features
  • I have verified that test coverage meets or exceeds 95%
  • I have run the test suite locally and all tests pass

Have you read the contributing guide?

Yes

Summary by CodeRabbit

  • New Features

    • Expanded multi-language support with fresh translations in English, French, Hindi, Spanish, and Chinese.
    • Introduced new GraphQL schema with enhanced types and directives for improved API functionality.
    • New configuration files for various tools and services, including Babel and Vite, for better development experience.
  • Documentation

    • Comprehensive updates to installation guides, tutorials, and community resources for improved onboarding.
    • Revamped documentation website with clear, structured content and enhanced navigation.
    • Added new sections for managing documentation versions and translating the site.
  • Chores

    • Modernized build, test, and deployment workflows to boost performance and stability.
    • Introduced new scripts for health checks, code coverage validation, and linting to ensure code quality.

DangaRanga and others added 30 commits May 23, 2021 12:21
Updated CONTRIBUTING.md with new branching strategy
…arn/dns-packet-1.3.4

Bump dns-packet from 1.3.1 to 1.3.4
* Update authorized-changes-detection.yml

* Code Coverage @ 87.1%

* Update .gitignore

* Delete codecov

This executable should not be in the repo

* added translation hint text in placeholders (#487)

* Update pull-requests.yml

* Create DOCUMENTATION.md

* Rename issue-guidelines.md to ISSUE_GUIDELINES.md

* Update CONTRIBUTING.md

* Update issue.yml

* Rename PR-guidelines.md to PR_GUIDELINES.md

* Update CONTRIBUTING.md

* Update pull-request-target.yml

* Delete PULL_REQUEST_TEMPLATE.md

* Delete ISSUE_TEMPLATE.md

* Rename Code_Style.md to CODE_STYLE.md

* added removeMember mutation (#491)

* added removeMember mutation

* changed mutation name

* remove contributions from router (#502)

* Fixed Settings page Header (#501)

* fixed cani-use lite warning

* fixed the alignments for smaller screens and also added spacing on places where it was needed

* fixed the linting errors

* ran prettier to remove styling errors

* made the orgSetting title dynamic

* linted the code and made the settings header as required and also made the settings page navbar responsive

* linted code and made necessary changes

* errors fixed

* Added dropdown for Applanguage in UserUpdation form (#498)

* Added dropdown for Applanguage in UserUpdation form

* App language code changed to Default language

* Change the Scalar Types [Provides relevant client side changes for #1085 in Talawa-API] (#500)

* Change typedefs

* Fix date parsing

* Move ID to ObjectID scalar

* Client changes for Adding GraphQL Scalars (#511)

* Change typedefs

* Fix date parsing

* Move ID to ObjectID scalar

* Revert ObjectID to ID

* Change ObjectID to ID

* modal closed after organization creation (#516)

* most recently added Org displays at the top (#515)

* Add Husky (#520)

* updated contributing (#521)

* Display and choose Organisation image (#512)

* upload image working for createOrganisation

* Organisation image showing everywhere

* Testcase failure fixed

* Linting fixed

* convertToBase64 func made and tests for it

* CI/CD error fixed

* tests added for AdminNavbar & OrganisationDashboard

* Linting fixed

* fixed translation on the plugin tab (#510)

* added OrgName to the Navbar (#525)

* Fix create event mutation [Fixes part of #1101 in Talawa-API] (#523)

* Add format fix

* Fix updation of posts

* Test coverage improved for organizationPeople.tsx (#526)

* Update INSTALLATION.md

* Update INSTALLATION.md

* Update INSTALLATION.md

* Update stale.yml

* Remove tags (#532)

* Fixed navbar added tests (#534)

* Fixed navbar added tests

* Fixed the translation of All orgnaizations btn in AdminNavbar

* Fix the updateOrg page, and made it to create mutation request [Fixes #531] (#536)

* fix orgUpdate system

* fix translations

* Update CONTRIBUTING.md

* Code Coverage @ 88%

* Fixes #478 : Implemeneted calendar to the Event tab (#537)

* calendar-implemented

* calendar-implemented

* fixed tests

* Added post-merge hook using husky (#541)

* Added post-merge hook using husky

* made required changes to installation.md

* make changes to documentation for husky

* made the required changes in installation guide

* Update pull-requests.yml

* Fixed yarn installation instructions (#584)

* organization sorting for all organization (#619)

* removed redundant notification (#577)

* Profile Page for Members (#543)

* Initial member page made

* Changed query added Org and Events section

* Homescreen ready

* initial translation added for Profile

* initial translation added for Profile

* Added translations

* Added translations

* Revised translation

* Fixed failing tests for components

* Link added to OrgAdminListCard

* Linting fixed for OrgPeopleListCard

* Added tests, removed logs

* Uniform design

* Fix:routing issue for orgdash page (#580)

* Fix:routing issue for orgdash page

* fix:failing test of SuperDashListCard

* Rectify Warnings: EventListCard.test.tsx (#595)

* Added logic to close modal after successful submission (#623)

* Feature Request: Position of the search bar.  (#631)

* Feature Request: Position of the search bar #614 resolved

* Feature Request: Position of the search bar #614 resolved

* fixes: #550 added test for the calendar (#552)

* added test for the calendar

* updates mocks

* Update Router Function [Fixes #636] (#638)

* Update Router Function

* Empty commit

* Fix about content overflow (#632)

Signed-off-by: Ekene Nwobodo <[email protected]>

* removed duplicate rows per page section in orgposts (#648)

* fixed :made card in organization dashboard interactive (#620)

* Implemented manage functionality for admin and super admin after login (#539)

* Implememnted manage functinality for admin/superadmin after login

* Update AdminDashListCard.module.css

* Some formatting issues with module file

* resolved workflow issues

* Added folding feature to posts (#581)

* added folding feature to posts

* added fold feature to posts

* brought code under code coverage

* added tests

* added tests for remainging uncovered lines

* brought code coverage to 100% for the changes

* Code coverage @87.2%

* Fix User Update Details Page and Add Update Password Page [Fixes #530] (#657)

* fixed updateuser logic

* update translations

* fix lint

* lint fix 2

* fix tests

* fixed:move orgLocation & remove duplicate orgName (#655)

* fixed:move orgLocation & remove duplicate orgName

* Dummy commit

* fixes - [#597] - Navbar navlinks hover and button styles  (#603)

* fixed: #585 - Password error showing. Tested

* fix: #590 - fixed navbar hover issues

* fix: #590 - fixed navbar hover issues

* Code Coverage 87.4%

* fixes 599 (#653)

* fixed errors and removed window.replace

* written test case for ensure window.location.replace

* written test case for ensure window.location.replace

* added useHistory to keep track of routing behind the scenes

* fixed merge conflicts and errors

* updated comments for file changes

* Added warning comments for routing

---------

Co-authored-by: Adepeju <adepeju.kayode@gmail>

* fix org search location (#682)

Signed-off-by: Ekene Nwobodo <[email protected]>

* fixed the issue of validate the input before submit #674 (#678)

* Adds required tests for OrganizationEvents.tsx and Fixes a minor bug in Calendar (#527)

* adds tests for organization events

* removes the unrequired branch from OrganizationEvents.tsx

* fixes failing tests

* fixes failing lint tests

* Update password preview feature with coverage tests (#629)

* Fix to the issue #585 (#607)

* [fix]- fixed the password error warning

* [fix]- fixed the password error warning

* [fix]- fixed the password error warning

* [fix]-fixed the password error warning

* [fix]-fixed the password error warning

* [fix]-fixed the password error warning

* [fix]-fixed the password error warning

* [feat]-added test cases for password error warning

* [feat]- added test cases for password error warning

* [feat]- added test cases for password error warning

* [fix]- fixed the linting

* Improve test coverage for calendar.tsx (#679)

* Improve test coverage for calendar.tsx

* Restore previous tests

* remove --coverage

* i rebased my codebase and resolved the initial issue (#669)

* fixed the issue use of toast in place of window.alert #645 (#687)

* Update ISSUE_GUIDELINES.md

* fixed the static time data under Organization card in the Organization List tab (#689)

* fixed the static time in org card

* formatted the date to MM D, YYYY

---------

Co-authored-by: thesaaddevloper <[email protected]>

* Fixed the pagination alignment issue (#702)

* [fix]- fixed the password error warning

* [fix]- fixed the password error warning

* [fix]- fixed the password error warning

* [fix]-fixed the password error warning

* [fix]-fixed the password error warning

* [fix]-fixed the password error warning

* [fix]-fixed the password error warning

* [feat]-added test cases for password error warning

* [feat]- added test cases for password error warning

* [feat]- added test cases for password error warning

* [fix]- fixed the linting

* [fix]- fixed the pagination alignment issue

* [fix]- fixed the pagination alignment issue

* [fix]- fixed the pagination alignment issue

* Removed overlapping (#675)

* changes input element to textarea and changes in test (#710)

* Code Coverage @90.7%

* Indicating active tabs (#691)

* added underline to active links in navbar

* fixed lint error

* fixed the org default image #688 and removed stock image (#695)

* fixed the org default image #688 and removed stock image

* removed eslint warning

* added new img as default org img

* Update INSTALLATION.md

* Added Clear Error and Warn Messages when API is unavailable (#670)

* Added error and warn messages

* Added tests & fixed inconsistency in mocks

* Lint fix LoginPage

* Lint Fix LoginPage.test

* minor fix

* Minor update to LoginPage

* Minor change to LoginPage.test

* Replaced toast.warn() with toast.error()

* Fixed test accordingly

* Lint Fix

* Minor fix

* Extra edge case handled

* code coverage fix

* Lint fix

* Update LoginPage

* Update LoginPage.test

* Lint fix

* improve test coverage for orgpost.tsx (#718)

* Improve test coverage for calendar.tsx

* Restore previous tests

* remove --coverage

* improve test for orgpost.tsx

* Implemented Proper Error Handling for all Screens [Fixes: #535] (#731)

* Handled error cases for all screens

* Some more fixes

* Some more fixes

* Added StaticMockLink to use Mocks multiple times [Fixes Multiple Issues] (#745)

* add StaticMockLink

* lint fix

* remove showWarning

* Added prompt to Register on Login Page (#628)

* Add prompt to Login page
- Add prompt in other languages: fr, sp, hi, zh.
- switch styling of Login Button with Reg Button

* format with prettier

* fixed event checkboxes to update (#707)

* Block/Unblock functionality for only members of the organization (#690)

* Implememnted manage functinality for admin/superadmin after login

* Update AdminDashListCard.module.css

* Some formatting issues with module file

* resolved workflow issues

* Updated block/unblock page preventing users who are not members of organiztion

* Update BlockUser.test.tsx to resolve failing tests

Modified the mocks fields according to the corresponding changes in BlockUser.tsx file.

* created a reusable postNotFound Component with responsive UI (#717)

* created a reusable postNotFound Component with responsive UI

* run test error solved

* added translation to the component and also created the test.tsx for the error component

* fixed the failing test and added the postNotFound reusable component for OrgList

---------

Co-authored-by: thesaaddevloper <[email protected]>

* fix: #601 modal responsive width (#621)

* added dynamic title to OrgPeople section (#704)

* added dynamic title to OrgPeople section

* fixed code coverage

* fixed code coverage

* uncommented the mistakenly added code

* Delete er

* Updated session timeout notification toast with already existing one (#734)

* Added a toast to notify users that session has expired and redirects to the login page

* Updated toast notification on session timeout  with already existing one

* eliminated the use of  magic numbers

* minor error correction on the timeout minutes

---------

Co-authored-by: TheoCathy <[email protected]>

* Fixed the empty space in the OrgList (#751)

* created a reusable postNotFound Component with responsive UI

* run test error solved

* added translation to the component and also created the test.tsx for the error component

* fixed the failing test and added the postNotFound reusable component for OrgList

* fixed the empty space in orgList

* fixed the failing test

* removed the unwanted files

---------

Co-authored-by: thesaaddevloper <[email protected]>

* align navbar items (#755)

* align navbar items

* replace More with a hamburger icon

* replace More with a hamburger icon to fix workflow error

* replace More with a hamburger icon to fix workflow error

* Fixes: toggle password for registration  (#758)

* added toggle-password

* updated

* formatting

* added icon for toggle password

* Super Admin Dashboard Error When Organizations Absent (#754)

* No Organization Warning on OrgList

* Minor Fix

* Fixed failing tests

* Added Warning on Roles and Request Pages

* Added Tests for OrgList

* Testing Fixes

* Added more tests

* Added Tests for Roles and Request Pages

* Code Coverage @ 91.0%

* Add link to dashboard admin card (#760)

* image upload made functional (#677)

* image upload made functional

* lint

* fixed failing test

* linting

* re run test , remove yarn.lock changes

* updateUser test cov

* OrgPost

* rerun tests

* Empty commit

* reverted last 2 commits changes

* re run code cov

* update userUpdate

* rerun code cov again

* revert last commit

* Update PR_GUIDELINES.md

* Implemented Search bar and the radio buttons in orgPost page that searches both title and text of post (#770)

* created a reusable postNotFound Component with responsive UI

* run test error solved

* added translation to the component and also created the test.tsx for the error component

* fixed the failing test and added the postNotFound reusable component for OrgList

* fixed the empty space in orgList

* fixed the failing test

* removed the unwanted files

* the one search bar which searches both text and title of post

* testing file

* orpost file testing

* code coverage is increased

* fixed the failing test

---------

Co-authored-by: thesaaddevloper <[email protected]>
Co-authored-by: saadabban76 <�[email protected]>

* center org image on mobile (#778)

Signed-off-by: Ekene Nwobodo <[email protected]>

* removed link for plugin dropdown toggle (#781)

* removed link for plugin dropdown toggle

* added id

* align superadmin nav items and fix failed tests (#766)

* changed the handleSearchByName function in searchByName in Roles page (#735)

* changed the handleSearchByName function to search using target's value instead of searchByName variable

* updated the file Roles.tsx to take care of useState lag

* changed tests for suiting searchByName

* changed tests for searchByName including backspaces

* added tests for paginationList and changing rowsPerPage

* added tests to increase coverage in Roles.tsx

* changed the package.json file's test command

* removed extra scrollbars (#800)

* Recently added Post displays at top (#773)

* Recently added Post displays at top

* reversed the posts as required in the query

* Increased the OrgList Code Coverage (#786)

* increased the orgList coverage to 95$

* increased the orgList Code Coverage

* increased the orgList Code Coverage

* increased the orgList Code Coverage

* fixed image rendering in orgPost page

* increased the code coverage for orgList Component

* increased code coverage to 97% in orgList Component

---------

Co-authored-by: saadabban76 <�[email protected]>

* Modify event visibility for non-admins (#796)

* Modify event visibility for non-admins

Signed-off-by: Ekene Nwobodo <[email protected]>

* Add test suites for events visibilty

---------

Signed-off-by: Ekene Nwobodo <[email protected]>

* Bug Fix: Drawer menu visibility (#794)

* Remove filter by event field (#807)

* increased the orgList coverage to 95$

* increased the orgList Code Coverage

* increased the orgList Code Coverage

* increased the orgList Code Coverage

* fixed image rendering in orgPost page

* increased the code coverage for orgList Component

* increased code coverage to 97% in orgList Component

* removed the filter by event section in orgPeople's component

* fixed the failing test

---------

Co-authored-by: saadabban76 <�[email protected]>

* Add image to post (#804)

* increased the orgList coverage to 95$

* increased the orgList Code Coverage

* increased the orgList Code Coverage

* increased the orgList Code Coverage

* fixed image rendering in orgPost page

* increased the code coverage for orgList Component

* increased code coverage to 97% in orgList Component

* added Image to the post's card

* replaced external links with codebase default image

* replaced external links with codebase default image

* replaced blank image with the default image

* fixed the failing test

---------

Co-authored-by: saadabban76 <�[email protected]>

* Update pull-request-target.yml

* Update pull-request-target.yml

* Update pull-request-target.yml

* Update pull-request-target.yml

* Update pull-request-target.yml

* Update pull-request-target.yml

* Upgrade Yarn to NPM in Talawa Admin Project (#802)

* npm upgrade

* remove package lock

* Update push.yml

* empty

* upgrade yarn to npm

* fix docs

* fix scripts

* empty

* stop watch mode

* fix ymls

* empty

* fix scripts

* empty commit

* update scripts

* Redirect to dashboard on organization update (#816)

* Redirect to dashboard on organization update

* Minor Change

* Proper Testing Of Pagination In All List Views (#797)

* install faker package used for mocks in tests

* Test init for pagination

* install dependencies needed to implement certain tests

* add a data-testid attribute to their markup for use in tests

* add data-testid attributes to its markup being referenced from tests

* add test to ensure the number of organization displayed on the page corresponds to the option selected from rowsPerPage

* add prop to allow rendering of component in test environment

* add data-testid attributes to their markup being referenced from tests

* add data-testid attributes to its markup being referenced from tests

* add test to affirm that the number of persons displayed on the webpage is same with the selected option from rowsPerPage

* install dependencies for certain tests

* fix lint errors

* tests fix

* remove unnecessary dependencies

* lint fix

* tests fix update

* restore file to previous state

* empty commit

* tests fix update

* lint fix

* Conditional Usage of Google reCAPTCHA [Fixes #798] (#820)

* conditonal recaptcha

* Update INSTALLATION.md

* add tests

* fixed the issue of Mismatched passwords validation #722 (#824)

* fixed the issue of Mismatched passwords validation #722

* fixed lint code error

* Code Coverage @ 92%

* Replace Talawa Portal with Talawa Admin Portal #817 (#821)

* Update website title to Talawa Admin Portal in en

* Update website title in fr json file

* Update website title in sp json file

* Update website title in zh json file

* Update website title in hi json file

* Update the test in ListNavbar file

* Update the test in LoginPage.test file

* Create a function for the tex macher to make test

* Fix lint errors in the LandingPage test file

* Remove console.log in LandingPage test file

* Upgrade to use npm instead of yarn

* Delete yarn.lock file

* Fix lint errors

* Fix lint errors

* Update the heading in hi.json file

* Remove unused codes

* Fix lint error in LanfingPage file

* Correct the talawa_portal value in Fr json file

* Correct the talawa_portal value in sp json file

* Remove anused package in package.json file

* Organization Form Redirect Issue Prevents User Navigation, Affecting User Experience.  Issue #808 (#815)

* addressing issue #808

* finished - requested changes

* addressing warning

* Added:  event preview modal to view event details (#772)

* added event preview model

* added event preview model

* fixed formatting

* added test

* added test

* added test

* failing tests

* test

* tests

* Update workflow (#832)

* Workflow fix (#833)

* Update pull-requests.yml

* Update pull-requests.yml

* Update pull-requests.yml

* Code Coverage @ 91.0%

* Feature: Separation of ADMIN and SUPERADMIN functionalities (#826)

* Initial changes

* Commit to sync repo

* Made changes to OrgList

* Some fixes

* Minor fix

* Added tests for OrgList

* Added tests for OrgList

* Coverage fix

* Required changes added

* Made changes to OrgList

* Some fix

* Some fixes

* fixes test for OrgList

* Some more fixes

* Empty commit

* Lint fix

* Fixed test

* Lint fix

* Added Whitespace Validation to Organization and Post create forms (#838)

* Added whitespace check in Org Create form

* Added Tests

* Added Empty String check to OrgPost Form

* Added Tests for OrgPost

* fixed the issue of Toast msg is not available in all languages #740 (#845)

* fixed the issue of Toast msg is not available in all languages #740

* format issue

* Empty-Commit

* Fixed Org Update (#843)

* Prevent Admins and Super Admins from downgrading their own roles (#840)

* Code Cleanup

* Disabled Super Admins from changing their roles

* Added Tests

* Added more tests

* Improved Code Quality

* Revert "Fixed Org Update (#843)" (#847)

This reverts commit 53c3fef28ef986d63b1eec45663acb7d07cf1b8d.

* Fixed Organization Update and Translation (#849)

* Fixed Organization Update

* Minor Changes

* Success message updated

* Fail tests on warning [Priority Needed] (#856)

* fix warnings

Signed-off-by: Ansh Goyal <[email protected]>

* fix warnings

Signed-off-by: Ansh Goyal <[email protected]>

* fix warnings

Signed-off-by: Ansh Goyal <[email protected]>

* fix warnings

Signed-off-by: Ansh Goyal <[email protected]>

* fix warnings

Signed-off-by: Ansh Goyal <[email protected]>

* restore addonregister

Signed-off-by: Ansh Goyal <[email protected]>

---------

Signed-off-by: Ansh Goyal <[email protected]>

* Code duplicacy removed (#852)

* Code duplicacy removed

* Tests added

* Added comments

* Fixed failing tests

* Code formatted

* Unused packages removed, flag icons package updated to latest version (#860)

* Unused packages removed, flag icons updated to latest version

* Empty commit

* Changes in package-lock.json

* Fixes #848: limiting mulitple toast (#851)

* limiting-toast

* added test

* Organization People Filters Improved (#855)

* Added Filters to Users and Organizations Query

* Added Last Name Filter on User, Member and Admin

* Added Translation

* Fixed Failing Tests

* Added Tests for Filters

* Fixed Failing Tests

* Code Cleanup

* Fixed Tests

* Added Translation

* remove graphql-boost dep (#866)

Signed-off-by: Ansh Goyal <[email protected]>

* added UserNotFound component to the Roles page and improved the search (#865)

* changed the handleSearchByName function to search using target's value instead of searchByName variable

* updated the file Roles.tsx to take care of useState lag

* changed tests for suiting searchByName

* changed tests for searchByName including backspaces

* added tests for paginationList and changing rowsPerPage

* added tests to increase coverage in Roles.tsx

* changed the package.json file's test command

* changed PostNotFound component to be used as a reusable one and added it in Roles section and set languages option in locales folder

* changed formatting in locales changed files

* removed comments in Roles.tsx

* Empty commit

* renamed the PostNotFound component and modifiied relevant files

* changed Roles.tsx filtering

* empty commit

* reverted changes in package.json

* Improved signupform validations (#828)

* Improved signupform validations

* updated signup form validation to show all messages at once

* improved test coverage for LoginPage

* Fixed failing test

---------

Co-authored-by: Joyce Malicha <[email protected]>

* added tests for Search Bar in the Organization List Page of SUPERADMIN #827 (#867)

* added tests for Search Bar in the Organization List Page of SUPERADMIN #827

* added tests for Search Bar in the Organization List Page of SUPERADMIN #827

* Added Tests Previews (#868)

* Installed jest-preview

* Automatic Setup

* Fiixed Failing Test Command

* Added Basic CSS

* Added PostCSS Module

* Fixed MUI Styling

* Minor Changes

* Added cross-env to support windows

* Adaptar for React 17 and CSS Modules Mock

* Added Mocked Styles to Tests

* Documentatin Updated

* Fixed Failing Tests

* Minorr change in documentation

* Jest is now Dev Dependency

* Workflow Test

* Jest Module Path Updates

* Module Path Tese 2

* Github Workflow Fixed

* Removed Legacy Test Command

* Added Documentation to Debug Tests

* Fixed Documentation

* Docs Image Added To Repo

* Images Reorganization

* Organized Images

* Revert "Improved signupform validations (#828)" (#875)

This reverts commit 5820dd9ec05256551b48470c8880fcdc05452fda.

* Restored SearchBar Test for OrgList Page (#878)

* Restored searchBar test

* Lint fix

* Coverage fix

* Lint fix

* Some fixes

* Some fixes

* fixed the issue of Users filter to fetch corresponding Users to Organisation #701 (#853)

* fixed the issue of Users filter to fetch corresponding Users to Organisation #701

* removedd uunused variable

* fixed failing text

* fixed merged issue

* fixed lint error

* swap variable

* Revert "Restored SearchBar Test for OrgList Page (#878)" (#879)

This reverts commit 3d39c524d54e81853490d2d8a1f844ce67252365.

* Fixed crashing on error in Block/Unblock page (#862)

* Website crash fixed

* lint fixed

* Added tests for empty response from server

* More tests added

* Rerun tests empty commit

* Redirect on error functioning

* Fixed failing tests

* Testcase and Title added when users not found

* Linting fixed

* Typo fixed

* Fixed failing tests

* Linting fixed

* Added NotFound component in OrgPeople and changed Roles.tsx  (#882)

* changed the handleSearchByName function to search using target's value instead of searchByName variable

* updated the file Roles.tsx to take care of useState lag

* changed tests for suiting searchByName

* changed tests for searchByName including backspaces

* added tests for paginationList and changing rowsPerPage

* added tests to increase coverage in Roles.tsx

* changed the package.json file's test command

* changed PostNotFound component to be used as a reusable one and added it in Roles section and set languages option in locales folder

* changed formatting in locales changed files

* removed comments in Roles.tsx

* Empty commit

* renamed the PostNotFound component and modifiied relevant files

* changed Roles.tsx filtering

* empty commit

* reverted changes in package.json

* added NotFound component in OrgPeople, made changes in the locales files and made some changes to Roles too

* added NotFound component to OrgPeople, changerd locales files and changed Roles.tsx

* minor change

* Restored Search-Bar Test for OrgList Page (#880)

* Restored searchBar test

* Lint fix

* Coverage fix

* Lint fix

* Some fixes

* Some fixes

* Fixed Org Dashboard Error (#873)

* Fixed TypeError

* Minor Change

* Fixed Tests

* Added back logo512

* Fixed auth header getting copied on login (#890)

* fix user update  (#876)

* fix user detials update

* remove userType from update-user page

* fix failed test for userUpdate.test.tsx

* Removed and Replaced Ant Design from the project (#891)

* Fixed auth header getting copied on login

* Removed/Replaced  Ant Design from the project

* Fixed failing tests

* Removed comment

* Add today functionality in calendar (#897)

* Update countline.py

* Update pull-requests.yml

* Updated countlines.py to cover .spec. files (#900)

Co-authored-by: Peter Harrison <[email protected]>

* fixed the Inability to set user roles for specific organizations #556 (#898)

* fixed the Inability to set user roles for specific organizations #556

* added all language translation

* Revert "fixed the Inability to set user roles for specific organizations #556 (#898)" (#901)

This reverts commit 891d898eb5543116bb9042a6386b5a12e474159c.

* Documentation updated, Redundant css files removed (#896)

* Doc updated unused files removed

* Removed unused css files from setup tests

* Added small calendar in the events #887  (#903)

* added small clanedar

* added small clanedar

* fixed Code Coverage: Create tests for OrgSettings.tsx #396 (#905)

* remove redundancy from orgPostCard (#906)

* Revert "remove redundancy from orgPostCard (#906)" (#910)

This reverts commit d5ce4aa27ee241b0687f7db3d6acd1b62339562f.

* Block/Unblock Page Improvements (#885)

* Added Radio Buttons

* Optimized Queries

* Optimized Query and Added Last Name Filter

* Radio Button Working

* Added Translations

* Fixed Filter Name

* Fixed Debounce

* Fixed Asynchronous Debounce

* Added Tests

* Better Error and Loading State Handline

* Fixed Loader

* Fixed Loader

* Modulrised Mock Data

* Minor Change

* Fixed Tests

* Increase Coverage

* User query replaced with OrgMemberConnection

* Fixed Tests

* Code Coverage Increase

* Code Cov

* Fixed Translations

* Fixed Failing Tests

* fix in failing test (#913)

* Improve and Standardize Automated Linting Tests (#916)

* added linting rules

* added linting rules

* added linting rules

* Rename `data` variables to more readable name [Fixes #829] (#835)

* Refactor screens

* Update components

* Fix test

* Fix typecheck errors

* Increase test coverage

* Merge latest adminUI-Redesign into Develop (#927)

* Updated CODE_STYLE.md

* Updated CODE_STYLE.md (#917)

* Updated CODE_STYLE.md

* Import section update

* Upgrade and Migrate from Bootstrap 4 to Bootstrap 5 (#925)

* Updated CODE_STYLE.md

* Latest Boostrap v5.3.0 & react-bootstrap v2.7.4 installed

* Buttons replaced from normal ones to Bootstrap ones

* Import section update

* Error fixed for Buttons

* Language dropdowns and Change language

* InputBoxes & Checkboxes fixed and imported from BS

* Removed unused package popper.js

* Replaced react-modal with Bootstrap one in Login Page

* Modals converted to React Bootstrap one

* Completely replaced react-modal with react-bootstrap/Modal from the project

* Removed react-modal from the project

* Removed classbased modal and unused images

* Notification navbar migrated

* Modal migration

* Modal migration

* Modal migration done for OrgPostCard

* Empty commit to make workflow run

* Empty commit to make workflow run

* Empty commit to run the workflow

---------

Co-authored-by: Anwer Sayeed <[email protected]>

* Introduces API versioning check in CI/CD (#924)

* a random change

* husky precommit

* one more try

* one more try

* one more try

* one more try

* one more try

* one more try

* second try

* removed unwanted deps

* removed unwanted deps

* resolved the error

* updated variable name

* rerun test

* rerun test

* added test to pull.yml

* removed push check

* resolved conflict

* Update stale.yml

* Update CONTRIBUTING.md

* Merge talawa-user-portal into develop (#935)

* Create login and register page for user portal

* Lint public locales

* Create tests for login page components

* Add react import in tests

* Create organizations screen for user portal

* Fix failing tests and lint code

* fix failing tests

* Add tests for organization screen and componenets

* Fix non-null assertions

* Fix non-null assertions in organizations test

* Fix bootstrap migration changes

* Merge latest Admin UI Redesign into Develop (#934)

* Updated CODE_STYLE.md

* Updated CODE_STYLE.md (#917)

* Updated CODE_STYLE.md

* Import section update

* Upgrade and Migrate from Bootstrap 4 to Bootstrap 5 (#925)

* Updated CODE_STYLE.md

* Latest Boostrap v5.3.0 & react-bootstrap v2.7.4 installed

* Buttons replaced from normal ones to Bootstrap ones

* Import section update

* Error fixed for Buttons

* Language dropdowns and Change language

* InputBoxes & Checkboxes fixed and imported from BS

* Removed unused package popper.js

* Replaced react-modal with Bootstrap one in Login Page

* Modals converted to React Bootstrap one

* Completely replaced react-modal with react-bootstrap/Modal from the project

* Removed react-modal from the project

* Removed classbased modal and unused images

* Notification navbar migrated

* Modal migration

* Modal migration

* Modal migration done for OrgPostCard

* Empty commit to make workflow run

* Empty commit to make workflow run

* Empty commit to run the workflow

* Sass filed added with documentation

* Linting fixed

* Fixed the folder structure and naming convention

* Customised Bootstrap  (#929)

* Sass filed added with documentation

* Linting fixed

* Fixed the folder structure and naming convention

* Assets typo fixed

* Typo fix

* Merge conflict error fixed

---------

Co-authored-by: Anwer Sayeed <[email protected]>

* test PR for API versioning check (#932)

* testPR

* test2

* testing the change

* testing it again

* test--no-verify

* test--no-verify

* echo token

* test-again

* test-again

* test

* test

* read-only

* clone

* clone

* redesigned newsfeed (#939)

* Revert "redesigned newsfeed (#939)" (#943)

This reverts commit a645eca7cf2ce1335374f48b52335a293e344580.

* Make Talawa-Admin mutations in sync with the backend (#946)

* Initial change

* Redundant Notification removed

* Fixed linting and other issues

* Tests fixed

* Add Home Screen And People Screen along with other components (#940)

* Create login and register page for user portal

* Lint public locales

* Create tests for login page components

* Add react import in tests

* Create organizations screen for user portal

* Fix failing tests and lint code

* fix failing tests

* Add tests for organization screen and componenets

* Fix non-null assertions

* Fix non-null assertions in organizations test

* Fix bootstrap migration changes

* Add Home Screen along with other components

* Fix failing tests

* Add required tests and Offcanvas navbar

* Remove unused variables from tests

* Sync the Mutations with talawa-api

* Merge AdminUI-Redesign into Develop (#947)

* Updated CODE_STYLE.md

* Updated CODE_STYLE.md (#917)

* Updated CODE_STYLE.md

* Import section update

* Upgrade and Migrate from Bootstrap 4 to Bootstrap 5 (#925)

* Updated CODE_STYLE.md

* Latest Boostrap v5.3.0 & react-bootstrap v2.7.4 installed

* Buttons replaced from normal ones to Bootstrap ones

* Import section update

* Error fixed for Buttons

* Language dropdowns and Change language

* InputBoxes & Checkboxes fixed and imported from BS

* Removed unused package popper.js

* Replaced react-modal with Bootstrap one in Login Page

* Modals converted to React Bootstrap one

* Completely replaced react-modal with react-bootstrap/Modal from the project

* Removed react-modal from the project

* Removed classbased modal and unused images

* Notification navbar migrated

* Modal migration

* Modal migration

* Modal migration done for OrgPostCard

* Empty commit to make workflow run

* Empty commit to make workflow run

* Empty commit to run the workflow

* Sass filed added with documentation

* Linting fixed

* Fixed the folder structure and naming convention

* Customised Bootstrap  (#929)

* Sass filed added with documentation

* Linting fixed

* Fixed the folder structure and naming convention

* Assets typo fixed

* Typo fix

* Initial login page work

* Merge conflict error fixed

* Theming modified and Added Loader over every screen

* Fixed UI issue for navbar and login

* Fixed production bug

* Removed unused variable

* Tests fixed

* Added Change Language Btn dropdown

* Merge conflict fixed, merge latest develop into adminUI-redesign (#938)

* Merge latest adminUI-Redesign into Develop (#927)

* Updated CODE_STYLE.md

* Updated CODE_STYLE.md (#917)

* Updated CODE_STYLE.md

* Import section update

* Upgrade and Migrate from Bootstrap 4 to Bootstrap 5 (#925)

* Updated CODE_STYLE.md

* Latest Boostrap v5.3.0 & react-bootstrap v2.7.4 installed

* Buttons replaced from normal ones to Bootstrap ones

* Import section update

* Error fixed for Buttons

* Language dropdowns and Change language

* InputBoxes & Checkboxes fixed and imported from BS

* Removed unused package popper.js

* Replaced react-modal with Bootstrap one in Login Page

* Modals converted to React Bootstrap one

* Completely replaced react-modal with react-bootstrap/Modal from the project

* Removed react-modal from the project

* Removed classbased modal and unused images

* Notification navbar migrated

* Modal migration

* Modal migration

* Modal migration done for OrgPostCard

* Empty commit to make workflow run

* Empty commit to make workflow run

* Empty commit to run the workflow

---------

Co-authored-by: Anwer Sayeed <[email protected]>

* Introduces API versioning check in CI/CD (#924)

* a random change

* husky precommit

* one more try

* one more try

* one more try

* one more try

* one more try

* one more try

* second try

* removed unwanted deps

* removed unwanted deps

* resolved the error

* updated variable name

* rerun test

* rerun test

* added test to pull.yml

* removed push check

* resolved conflict

* Sass filed added with documentation

* Linting fixed

* Fixed the folder structure and naming convention

* Update stale.yml

* Typo fix

* Update CONTRIBUTING.md

* Merge talawa-user-portal into develop (#935)

* Create login and register page for user portal

* Lint public locales

* Create tests for login page components

* Add react import in tests

* Create organizations screen for user portal

* Fix failing tests and lint code

* fix failing tests

* Add tests for organization screen and componenets

* Fix non-null assertions

* Fix non-null assertions in organizations test

* Fix bootstrap migration changes

* Merge conflict error fixed

---------

Co-authored-by: Anwer Sayeed <[email protected]>
Co-authored-by: Kanishka Bansode <[email protected]>
Co-authored-by: Peter Harrison <[email protected]>
Co-authored-by: Noble Mittal <[email protected]>

* Random checkout

* Design ready for homescreen

* Login page 100% code c=coverage

* Login page icon adjustment

* Added translations

* Fixed the failing tests

* Revert to older version of loader

* Animation added fixed warnings

* Fixed accessability

* Mutations and Tests foxed

* Fixed coloring in UserPortal

* Tests fixed and ChangeLanguageDropdown used in UserLoginPage

* Linting Fixed

---------

Co-authored-by: Anwer Sayeed <[email protected]>
Co-authored-by: Kanishka Bansode <[email protected]>
Co-authored-by: Peter Harrison <[email protected]>
Co-authored-by: Noble Mittal <[email protected]>

* Merge latest adminUI-Redesign (#950)

* Initial Organizations screen done

* Removed yellow scrollbar

* Linting fixed

* Replaced images with svgs for logos

* Styling done for btnsContainer

* Better typechecking and readability

* Animated Drawer working

* Responsive page ready

* OrgCard responsive

* Fixed navbar issue and added webkit keyframes

* LeftDrawer ready

* Translations added

* Added shimmer loading effect

* Styling issue fixed

* Failing tests fixed for OrgList

* Removed unused vars

* Tests done for LeftDrawer

* Succesfully made component without causing any breaking change

* 100% Code coverage achieved for Requests Screen

* Fix alignment

* Roles screen UI done

* Role screen fixed with 100% test coverage

* Changing screen activeness fixed

* Unused vars and Typos fixed

* Language support added

* Linting and typos fixed

* Fixed failing tests for LeftDrawer

* Completed tests of AdminDashListCard with 100% code coverage

* OrgListCard done

* Finalised tests

* Requests user search made functional again !

* Fixed loading on refetch and UX on all screens

* OrgList failing errors fixed

* Fixed all failing tests

* Achieved 100% code coverage for OrgList.tsx

* Wrote tests and mod LeftDrawer for admins

* Minor ui issue fixed

* Fixed failing test

* UI bug dropdown

* Frontend insync with Backend attempt 1

* Introspection fail fix 1

* Introspection error fix 3

* Introspection error fix another attempt

* Another attempt

* [Talawa-user-portal] Add Settings and Donate Screen, along with other UI fixes (#953)

* Create login and register page for user portal

* Lint public locales

* Create tests for login page components

* Add react import in tests

* Create organizations screen for user portal

* Fix failing tests and lint code

* fix failing tests

* Add tests for organization screen and componenets

* Fix non-null assertions

* Fix non-null assertions in organizations test

* Fix bootstrap migration changes

* Add Home Screen along with other components

* Fix failing tests

* Add required tests and Offcanvas navbar

* Remove unused variables from tests

* Sync the Mutations with talawa-api

* Add Settings and Donate Screen

* Add multilingual support for the screens

* Add Event Project and Volunteer Management (#961)

* Add screens for adding and updating event projects

* Add delete operation for event projects and debug update

* Remove yarn.lock

* Begin testing

* Add display of tasks and functionality to add tasks

* Add modal for edit task

* Add UpdateTaskModal

* Add Delete Task Modal and volunteers display

* Add test for DeleteEventProjectModal.tsx

* Add tests for add and update event project modal

* Add screen for managing volunteers

* Add option to assign and remove volunteers

* Add tests for AddTaskModal.tsx

* Add tests for TaskListItem.tsx and DeleteTaskModal.tsx

* Complete testing for all Task Modals

* Add completed display to tasks

* Add tests for event dashboard

* Restructure files

* Add attendee management modal

* Add testing for EventAttendeeModal

* Move to 100% testing and wrapper for attendees modal

* Add basic checkIn functionality for users

* Add testing for CheckIn modals

* Introduce the tag generation into the repository

* Update linting rule and fix errors

* Remove alloted seat and alloted room

* Fix testing

* Correct some tests

* Migrate from attendees to registrants

* Migrate Event Project modals to new design

* Migrate registrants modals and checkin modals to new design with 100% test coverage

* Move task modals to new styles

* Move to 100% test coverage

* Admin workflow completed with updated package.json (#960)

* Merge latest AdminUI Redesign into develop (#956)

* Initial Organizations screen done

* Removed yellow scrollbar

* Linting fixed

* Replaced images with svgs for logos

* Styling done for btnsContainer

* Better typechecking and readability

* Animated Drawer working

* Responsive page ready

* OrgCard responsive

* Fixed navbar issue and added webkit keyframes

* LeftDrawer ready

* Translations added

* Added shimmer loading effect

* Styling issue fixed

* Failing tests fixed for OrgList

* Removed unused vars

* Tests done for LeftDrawer

* Succesfully made component without causing any breaking change

* 100% Code coverage achieved for Requests Screen

* Fix alignment

* Roles screen UI done

* Role screen fixed with 100% test coverage

* Changing screen activeness fixed

* Unused vars and Typos fixed

* Language support added

* Linting and typos fixed

* Fixed failing tests for LeftDrawer

* Completed tests of AdminDashListCard with 100% code coverage

* OrgListCard done

* Finalised tests

* Requests user search made functional again !

* Fixed loading on refetch and UX on all screens

* OrgList failing errors fixed

* Fixed all failing tests

* Achieved 100% code coverage for OrgList.tsx

* Wrote tests and mod LeftDrawer for admins

* Minor ui issue fixed

* Fixed failing test

* UI bug dropdown

* Frontend insync with Backend attempt 1

* Introspection fail fix 1

* Introspection error fix 3

* Introspection error fix another attempt

* Another attempt

* Fixed Default Animation on Organizations Screen

* Fixed typo

* Loading data from localstorage functional

* Fixed name conventions

* Fixed typo

* UI Fix

* Changed screen name

* Table Loader added

* Added LeftOrg drawer and Organization screen comp to Screens

* routesReducer tests fixed

* Redundant adminNavbar removed from project

* MemberDetail issue fixed

* Achieved 100% code coverage for LeftDrawerOrg, Added Empty div in images

* Fixed failing tests

* Fix tests

* Fixed warnings

* Linting fixes

* Linting issues fixed

* Achieved 100% code coverage for CollapsibleDropdown

* Achieved 100% CC on IconComponent and removed useless imports

* Achieved 100% cc for LeftDrawer Component

* Achieved 100% CC on SuperAdminScreen Component

* Fixed typo

* Integrated Event Dashboard

* Failing tests for LeftDrawer LeftDrawerOrg OrgList screen fixed

* Removed redundant code

* Removed useless imports

* Linting fixed

* Removed LeftDrawerOrg

* Update documentation

* copy-docs -to-talawa branch update to develop

* removed dependance of code copying from generate segment

* Update push.yml (#969)

* Update push.yml (#970)

* Feature Request: Adding a dialog to go to plugin store after an organization is created by the admin (#951)

* Add/ test for OrgPost.tsx

* fix:  org post back to default

* Added Dialog 2

* Updated Dialog UI

* Removed Extra code

* Updated Plugin store

* fix: warnings and solves #951  & #948

* fix: warnings and solves #951  & #948

* fix: warnings and solves #951  & #948

* Fix: UI Redesign

* fix: merge

* fix

* Update AddOnStore.tsx

* Fixed Merge Errors

* Add test: for OrgEntry

* Test 3

* fix test 4

* Merge latest AdminUI Redesign into develop (#972)

* Initial Organizations screen done

* Removed yellow scrollbar

* Linting fixed

* Replaced images with svgs for logos

* Styling done for btnsContainer

* Better typechecking and readability

* Animated Drawer working

* Responsive page ready

* OrgCard responsive

* Fixed navbar issue and added webkit keyframes

* LeftDrawer ready

* Translations added

* Added shimmer loading effect

* Styling issue fixed

* Failing tests fixed for OrgList

* Removed unused vars

* Tests done for LeftDrawer

* Succesfully made component without causing any breaking change

* 100% Code coverage achieved for Requests Screen

* Fix alignment

* Roles screen UI done

* Role screen fixed with 100% test coverage

* Changing screen activeness fixed

* Unused vars and Typos fixed

* Language support added

* Linting and typos fixed

* Fixed failing tests for LeftDrawer

* Completed tests of AdminDashListCard with 100% code coverage

* OrgListCard done

* Finalised tests

* Requests user search made functional again !

* Fixed loading on refetch and UX on all screens

* OrgList failing errors fixed

* Fixed all failing tests

* Achieved 100% code coverage for OrgList.tsx

* Wrote tests and mod LeftDrawer for admins

* Minor ui issue fixed

* Fixed failing test

* UI bug dropdown

* Frontend insync with Backend attempt 1

* Introspection fail fix 1

* Introspection error fix 3

* Introspection error fix another attempt

* Another attempt

* Fixed Default Animation on Organizations Screen

* Fixed typo

* Loading data from localstorage functional

* Fixed name conventions

* Fixed typo

* UI Fix

* Changed screen name

* Table Loader added

* Added LeftOrg drawer and Organization screen comp to Screens

* routesReducer tests fixed

* Redundant adminNavbar removed from project

* MemberDetail issue fixed

* Achieved 100% code coverage for LeftDrawerOrg, Added Empty div in images

* Fixed failing tests

* Fix tests

* Fixed warnings

* Linting fixes

* Linting issues fixed

* Achieved 100% code coverage for CollapsibleDropdown

* Achieved 100% CC on IconComponent and removed useless imports

* Achieved 100% cc for LeftDrawer Component

* Achieved 100% CC on SuperAdminScreen Component

* Fixed typo

* Integrated Event Dashboard

* Failing tests for LeftDrawer LeftDrawerOrg OrgList screen fixed

* Removed redundant code

* Removed useless imports

* Linting fixed

* Removed LeftDrawerOrg

* Dashboard screen ui almost ready

* Org Dash ready

* Block/Unblock screen ready

* Organization settings page ready

* Lang changes

* Page refresh on updating org removed

* OrgUpdate tests done

* OrgUpdate 100% test coverage achieved

* OrgSettings Tests done

* Organization Dashboard Cards done

* Organization Dashboard achieved 100% CC

* 100% CC achieved for BlockUser screen

* Finalised changes

* Small change

* Tests fixed

* Separate OrgSettings component made

* Linting fixed

* Formatting fixed

* Events screen and Post Comment Modal for Talawa-user-portal  (#963)

* Create login and register page for user portal

* Lint public locales

* Create tests for login page components

* Add react import in tests

* Create organizations screen for user portal

* Fix failing tests and lint code

* fix failing tests

* Add tests for organization screen and componenets

* Fix non-null assertions

* Fix non-null assertions in organizations test

* Fix bootstrap migration changes

* Add Home Screen along with other components

* Fix failing tests

* Add required tests and Offcanvas navbar

* Remove unused variables from tests

* Sync the Mutations with talawa-api

* Add Settings and Donate Screen

* Add multilingual support for the screens

* Add events screen without calendar view

* Add multilingual support to Events screen

* Fix failing tests due to merge

* Add Post Comment functionality

* Refactor Events tests

* Deprecate event registrants from query

* Update README.md

* Add My Tasks screen and Fix UI bugs [User Portal] (#978)

* Create login and register page for user portal

* Lint public locales

* Create tests for login page components

* Add react import in tests

* Create organizations screen for user portal

* Fix failing tests and lint code

* fix failing tests

* Add tests for organization screen and componenets

* Fix non-null assertions

* Fix non-null assertions in organizations test

* Fix bootstrap migration changes

* Add Home Screen along with other components

* Fix failing tests

* Add required tests and Offcanvas navbar

* Remove unused variables from tests

* Sync the Mutations with talawa-api

* Add Settings and Donate Screen

* Add multilingual support for the screens

* Add events screen without calendar view

* Add multilingual support to Events screen

* Fix failing tests due to merge

* Add Post Comment functionality

* Refactor Events tests

* Deprecate event registrants from query

* Add my tasks screen for user portal

* Remove unnecessary comments from test files

* Add Feedback UI Components to Talawa Admin (#980)

* Add feedback component

* Add tests for feedback modal

* Add handling for empty feedback

* Add Average Rating and Reviews component

* Add testing for all the added cards

* Fix tests and move to 100% coverage

* Add bugfix

* Add merge function to fix failing tests

* Add key definitons

* Change merge policy

* Add custom merge policy to all the Event Stat tests

* remove cache

* Migrate to a single query in the parent

* Adding Plugin Logic to the Talawa Mobile Web App (#976)

* Add/ test for OrgPost.tsx

* fix:  org post back to default

* Added Dialog 2

* Updated Dialog UI

* Removed Extra code

* Updated Plugin store

* fix: warnings and solves #951  & #948

* fix: warnings and solves #951  & #948

* fix: warnings and solves #951  & #948

* Fix: UI Redesign

* fix: merge

* fix

* Update AddOnStore.tsx

* Fixed Merge Errors

* Add test: for OrgEntry

* Test 3

* fix test 4

* chores: version changes

* Add: Initial Websocket setup on talawa mobile web

* Add: plugin logic

* Add: plugin logic

* removed extra

* removed extra

* Added: Tests

* fix

* Add Side Navigation to Event Dashboard (#981)

* Create left drawer for event dashboard

* Add basic styles to the event dashboard

* Fix button styling

* Add testing

* Add testing for the left event drawer

* Add 100% line coverage for all components

* Increase timeout for tests

* Move maximum rating in feedback from 10 to 5 [Fixes #990] (#987)

* Move maximum rating in feedbacks from 10 to 5

* Fix failing tests

* Add chat screen to talawa-user-portal (#986)

* Create login and register page for user portal

* Lint public locales

* Create tests for login page components

* Add react import in tests

* Create organizations screen for user portal

* Fix failing tests and lint code

* fix failing tests

* Add tests for organization screen and componenets

* Fix non-null assertions

* Fix non-null assertions in organizations test

* Fix bootstrap migration changes

* Add Home Screen along with other components

* Fix failing tests

* Add required tests and Offcanvas navbar

* Remove unused variables from tests

* Sync the Mutations with talawa-api

* Add Settings and Donate Screen

* Add multilingual support for the screens

* Add events screen without calendar view

* Add multilingual support to Events screen

* Fix failing tests due to merge

* Add Post Comment functionality

* Refactor Events tests

* Deprecate event registrants from query

* Add my tasks screen for user portal

* Remove unnecessary comments from test files

* Add chat screen along with components

* Add mui/system package for x-chart support

* Add chat screen tests and fix other bugs

* Update issue.yml

* Update stale.yml

* Merge latest AdminUI Redesign into Master (#1006)

* Pagination Done for Orglist

* Fixed warnings

* Infinite scroll and search working for Requests screen

* Simplified the code

* Infinite scroll enabled and functioning on OrgList Requests and Users screen

* FIxed warning

* Fixed typo

* Fixed bug

* Joined and Blockedbyorgs screen and mdoal ready

* Tables ready !

* Remove user from organization functionality working well

* Update user role in organization feature ready

* Minor changes

* Done with tests on OrgList

* Done with testss of Requests screen

* 100% CC achieved for Users screen

* Main tests done for UserTableItem

* 100% Code Coverage Achieved for UserTableItem

* Removed Redundant Landing Page

* 100% CC achieved for TableLoader

* Translation added for Users Screen

* Translation done for Requests screen

* Translation done for dashboard screen

* Linting and warnings fixed

* Improved login page

* UI Done for Forgot Password Screen

* Forgot Password Screen Tests done!

* Fixed all pending tests

* Better message for btns and coloring

* Linting issues fixed

* Fixed code styles

* SUPPRESSED UNKNOWN ERROR

* Fixed formatting

* Updated typoed message

* Fixed failing tests accompanying typo

* fix createEvent to close modal and show events without refresh (#1014)

* fix: Ensure Full Visibility of Logo on 404 Error Page (#1018)

- Adjusted the positioning of the logo on the 404 error page to ensure full visibility.
- Implemented CSS modifications to prevent the logo from being covered or cut off.
- Tested the changes by navigating to various undefined endpoints, confirming that the logo is now displayed
  correctly on the 404 error page.

This commit addresses the bug by ensuring the proper display of the logo on the 404 error page,
enhancing the user experience.

Fixes #1016

Signed-off-by: Akhilender <[email protected]>

* Implemented featurs for Postfeed Management (#982)

* redesigned newsfeed

* added test

* newsfeed management

* pinned post

* postfeed management

* pin unpin tag and video control

* changes part 2

* newsfeed changes

* changes in Card Preview of newsfeed

* changes in Card Preview of newsfeed

* testing phase 1

* translation

* tests

* tests

* merged intto develop

* test

* Added query

* Update pull-requests.yml

* update and delete buttons of event modal are now working (#1051)

* update and delete buttons of event modal are now working

* fixed the naming conventions and style of the modal

* Dynamic dashboard Enhancements (#979)

* Dynamic Organization Dashboard

* Dynamic Organization Dashboard

* refined organization dashboard

* Update src/utils/handleLatestFeed.ts

Co-authored-by: Noble Mittal <[email protected]>

* fixed inconsistent casing

* fixed org dashboard test

* fixed org dashboard test

* revert previous commit

* final changes

* final changes

---------

Co-authored-by: Noble Mittal <[email protected]>

* Fix dashboard items (#1007)

* Dashboard items are working now.

* added variables for links -fix dashboard items

* Added variables for links -fix dashboard items.

* made the changes as said

* Removed : string from variable assignment.

* remove repititive code and resolved falling tests

* Fix repeating code and falling tests.

* Resolved some more falling tests

* write test for missed lines

* Fix event creation issue with white spaces. (#1025)

* fix event creation with white spaces

* Add test for empty input values

* chore: fix unit test (#1052)

* Fix layout distortion due to untruncated title description of events. (#1049)

* Fix layout distortion due to untruncated title description of events

* Add test

* add test for LeftDrawerEvent.tsx

* fixed some tests

* add test complete

* test: SecuredRouteForUser component 100% Test Coverage and fixed uncovered lines (#1048)

* SecuredRouteForUser test case added

* Fixed Linting Errors

* Update SecuredRouteForUser.test.tsx

* Update SecuredRouteForUser.test.tsx

* linting fix

* Update SecuredRouteForUser.test.tsx

* Update SecuredRouteForUser.test.tsx

* Fix incorrect toast Notification. (#1053)

* correct toast notification for TableRow.tsx with full test coverage

* Add correct toast with full code  coverage

* Add correct toast for deleteEventProjectModal.tsx with full test coverage

* Add correct toast for UpdateEventProjectModal.tsx with full test coverage

* Add correct toast for EventRegistrantsModal.tsx and full test  coverage.

* Add correct toast for AddTaskModal.tsx with full test coverage

* Add correct toast for UpdateTaskModal.tsx with full test coverage

* minor fix

* Add correct toast to EventRegistrantsModal.tsx

* fix EventRegitrantsModal.tsx

* created a return button on event dashboard (#1057)

* test: Loader Component 100% Test Coverage and Fix Uncovered Lines (#1047)

* test: Achieve 100% Test Coverage and Fix Uncovered Lines

- Improved the test coverage for the Loader component, addressing the previously uncovered lines and ensuring that all tests pass successfully.
- Added a test to ensure that the component renders correctly with a custom 'sm' size. I verified that both the spinner-wrapper and
  spinner elements are present and that the correct class is applied.
- Added a test to ensure that the component renders correctly with a 'lg' size. I verified that the spinner element has the appropriate class.
- Added a test to ensure that the component renders correctly with an 'xl' size. I verified that the spinner element has the correct class.

With these new tests, I now have 100% test coverage, and there are no more uncovered lines. The Loader component is thoroughly tested for
different size scenarios, and all tests pass successfully.

Signed-off-by: Akhilender <[email protected]>

* Fixed linting in Loader component

Signed-off-by: Akhilender <[email protected]>

* Test: Increasing the test level

- Trying to meet the code coverage level for Loader component.

Signed-off-by: Akhilender <[email protected]>

* Fixed Linting

Signed-off-by: Akhilender <[email protected]>

* fix: Linting

Signed-off-by: Akhilender <[email protected]>

* Improving test coverage for Loader Component

- Fixed lint errors

Signed-off-by: Akhilender <[email protected]>

* test: Improving the tests on the Loader Component

- Added a new aspect in the test-case1

Signed-off-by: Akhilender <[email protected]>

* Fixed: Removed runtime-generated classes from testing

- Eliminated all checks for classes associated with bootstrap components assigned at runtime.
- Recognized that validating classes assigned during runtime is inappropriate.

Signed-off-by: Akhilender <[email protected]>

---------

Signed-off-by: Akhilender <[email protected]>

* Simulated Test Database (#984)

* Dynamic Organization Dashboard

* Dynamic Organization Dashboard

* Sample Org Implementation

* removed unnecessary changes

* removed unnecessary svgs

* removed unnecessary import

* added appropriate button style

* fixed OrgListCard tests

* Fixed OrgList and OrgListCard Tests

* Removed Unnecessary 'container' Variable

* Added Missing Translations and removed unused variable

* Fixed event check in management not updating automatically bug (#1062)

* fixed the event checkIn bug

* fixed the failing test

* fixed the CheckInWrapper test

* Fix user profile buttons layout and added form validation (#1064)

* Fix user profile buttons layout and added form validation

* Fix falling tests and warnings

* Add test for missed lines

* fix falling tests

* test: Achieved 100% test coverage and fixed uncovered lines (#1068)

* test: Achieved 100% test coverage and fixed uncovered lines

- Improved the test coverage for the User-Password-Update component, addressing the previously uncovered lines and ensuring that all tests pass
  successfully.
- Added two new tests
  1. Empty Password Field Test:
   - The first test ensures that an error is displayed when attempting to save changes with an empty password field.

  2. Mismatched New and Confirm Passwords Test
   - The second test covers the scenario where the new and confirm password fields do not match.

With these new tests, I now have 100% test coverage, and there are no more uncovered lines.

Signed-off-by: Akhilender <[email protected]>

* Altered the formData

- Altered the formData to make sure all are related to the organization name.

Signed-off-by: Akhilender <[email protected]>

---------

Signed-off-by: Akhilender <[email protected]>

* created test for src/components/UserPortal/EventCard/EventCard.tsx (#1079)

* created test for eventCard of User portal

* corrected the start and end time

* Feature request: Adding advertisement screen (#994)

* Add/ test for OrgPost.tsx

* fix:  org post back to default

* Added Dialog 2

* Updated Dialog UI

* Removed Extra code

* Updated Plugin store

* fix: warnings and solves #951  & #948

* fix: warnings and solves #951  & #948

* fix: warnings and solve…
* Changes position and text of all organization button

* Made changes to the routesReducer.test file

* Made changes in IconComponent.test file

* Fetched changes from main repo

* Fixed unnecessary changes

---------

Co-authored-by: Aditya Agarwal <[email protected]>
* Added Base branch check to main

* Deleted all files in the main branch in anticipation of merging develop into main cleanly

* Merge develop to main

* Deleted all main files

* Merged develop into main
* Deleted all files in the main branch in anticipation of merging develop into main cleanly

* Merge develop into main
* Deleted all files in the main branch in anticipation of merging develop into main cleanly

* Merge develop into main

* Deleted all files in the main branch in anticipation of merging develop into main cleanly

* Merge develop into main
Bumps [follow-redirects](https://github.com/follow-redirects/follow-redirects) from 1.15.5 to 1.15.6.
- [Release notes](https://github.com/follow-redirects/follow-redirects/releases)
- [Commits](follow-redirects/follow-redirects@v1.15.5...v1.15.6)

---
updated-dependencies:
- dependency-name: follow-redirects
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps [tar](https://github.com/isaacs/node-tar) from 6.1.15 to 6.2.1.
- [Release notes](https://github.com/isaacs/node-tar/releases)
- [Changelog](https://github.com/isaacs/node-tar/blob/main/CHANGELOG.md)
- [Commits](isaacs/node-tar@v6.1.15...v6.2.1)

---
updated-dependencies:
- dependency-name: tar
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
)

Bumps [tj-actions/changed-files](https://github.com/tj-actions/changed-files) from 40 to 41.
- [Release notes](https://github.com/tj-actions/changed-files/releases)
- [Changelog](https://github.com/tj-actions/changed-files/blob/main/HISTORY.md)
- [Commits](tj-actions/changed-files@v40...v41)

---
updated-dependencies:
- dependency-name: tj-actions/changed-files
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps [express](https://github.com/expressjs/express) from 4.18.2 to 4.19.2.
- [Release notes](https://github.com/expressjs/express/releases)
- [Changelog](https://github.com/expressjs/express/blob/master/History.md)
- [Commits](expressjs/express@4.18.2...4.19.2)

---
updated-dependencies:
- dependency-name: express
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps [ejs](https://github.com/mde/ejs) from 3.1.9 to 3.1.10.
- [Release notes](https://github.com/mde/ejs/releases)
- [Commits](mde/ejs@v3.1.9...v3.1.10)

---
updated-dependencies:
- dependency-name: ejs
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* Deleted all files in the main branch in anticipation of merging develop into main cleanly

* Merge develop into main

---------

Co-authored-by: Peter Harrison <[email protected]>
* 20240727112607 Deleted all files in the main branch in anticipation of merging develop into main cleanly

* 20240727112842 Merge develop into main
* 20240929102850 Deleted all files in the main branch in anticipation of merging develop into main cleanly

* 20240929103238 Merge develop into main
)

Bumps [tj-actions/changed-files](https://github.com/tj-actions/changed-files) from 40 to 41.
- [Release notes](https://github.com/tj-actions/changed-files/releases)
- [Changelog](https://github.com/tj-actions/changed-files/blob/main/HISTORY.md)
- [Commits](tj-actions/changed-files@v40...v41)

---
updated-dependencies:
- dependency-name: tj-actions/changed-files
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
dependabot bot and others added 8 commits September 29, 2024 11:32
Bumps [rollup](https://github.com/rollup/rollup) from 4.21.3 to 4.22.5.
- [Release notes](https://github.com/rollup/rollup/releases)
- [Changelog](https://github.com/rollup/rollup/blob/master/CHANGELOG.md)
- [Commits](rollup/rollup@v4.21.3...v4.22.5)

---
updated-dependencies:
- dependency-name: rollup
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* 20241114065242 Deleted all files in the main branch in anticipation of merging develop into main cleanly

* 20241114065332 Merge develop into main
* 20250110082558 Deleted all files in the main branch in anticipation of merging develop into main cleanly

* 20250110082559 Merge develop into main
* 20250110084643 Deleted all files in the main branch in anticipation of merging develop-postgres into main cleanly

* 20250110084645 Merge develop-postgres into main
Copy link
Contributor

coderabbitai bot commented Feb 12, 2025

Warning

Rate limit exceeded

@KunalSewal has exceeded the limit for the number of commits or files that can be reviewed per hour. Please wait 4 minutes and 52 seconds before requesting another review.

⌛ How to resolve this issue?

After the wait time has elapsed, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

We recommend that you space out your commits to avoid hitting the rate limit.

🚦 How do rate limits work?

CodeRabbit enforces hourly rate limits for each developer per organization.

Our paid plans have higher rate limits than the trial, open-source and free plans. In all cases, we re-allow further reviews after a brief timeout.

Please see our FAQ for further information.

📥 Commits

Reviewing files that changed from the base of the PR and between 08688b6 and 059cc59.

📒 Files selected for processing (4)
  • .github/ISSUE_TEMPLATE/bug-report.md (2 hunks)
  • .github/workflows/check-tsdoc.js (1 hunks)
  • public/locales/sp/translation.json (1 hunks)
  • schema.graphql (1 hunks)

Walkthrough

This pull request makes extensive configuration and documentation updates across the repository. It introduces new configuration files (including a YAML language server config, Babel, Vite, Dependabot, and various workflow files) and removes legacy CI and Docker files. Multiple GitHub workflow definitions and shell/Python scripts are added or revised to enhance code quality checks, translation comparisons, merge conflict checks, and automated pull request handling. In addition, updates span ESLint/Prettier configurations, Git hooks, localization files for several languages, documentation guides, and a significant overhaul of the main package setup and GraphQL schema.

Changes

File(s) Change Summary
.coderabbit.yaml, .dockerignore, .env.example, .node-version, .prettierrc New configuration files added for YAML language server, Docker exclusions, environment variables template, Node version, and Prettier settings.
.eslintignore, .eslintrc.json, .lintstagedrc.json, .prettierignore ESLint and Prettier configurations updated with new rules, ignore patterns, and formatting tasks.
.github/ISSUE_TEMPLATE/bug-report.md, .github/ISSUE_TEMPLATE/feature-request.md, .github/pull_request_template.md GitHub issue and pull request templates updated with revised naming, sections, and additional fields (e.g., internship candidates).
.github/dependabot.yaml, multiple files in .github/workflows/ (e.g., auto-label.json5, check-tsdoc.js, codeql-codescan.yml, merge-conflict-check.yml, pull-request-target.yml, pull-request.yml, push-deploy-website.yml, push.yml, stale.yml) Numerous GitHub Actions workflows added, modified, or removed to automate dependency updates, code analysis, merge conflict checking, PR validations, deployment steps, and stale issue management.
.husky/post-merge, .husky/pre-commit Husky Git hooks added and updated to run dependency installs, auto-formatting, linting, and table-of-contents updates prior to commit.
Docker-related files in Docker_Container/ and Dockerfile Legacy Docker configuration files removed and a new Dockerfile introduced for a Node.js application (using Node 20.10.0, specifying build and serve commands and exposing port 4321).
Various shell and Python scripts (e.g., validate-coderabbit.sh, countline.py, eslint_disable_check.py, talawa_admin_md_mdx_format_adjuster.py, compare_translations.py, etc.) New scripts added for TSDoc validation, code coverage disable checks, translation file comparisons, file line counting, MDX conversion, and PR review validation.
Documentation and localization files (e.g., README.md, CONTRIBUTING.md, DOCUMENTATION.md, docs folder, and files under public/locales/) Extensive updates to documentation guides, installation instructions, code style guides, and localization files in English, French, Hindi, Spanish, and Chinese.
schema.graphql, jest-preview.config.ts, jest.config.js, package.json, and config/* GraphQL schema expanded with numerous new types and directives; new Jest and Babel/Vite configuration files added; main package.json updated (including dependency, script, and module type changes).
CODEOWNERS, CODE_OF_CONDUCT.md, CODE_STYLE.md, PR_GUIDELINES.md Administrative documents updated or added to clarify code ownership, community conduct, style guidelines, and PR submission processes.
A collection of mock files and test files in scripts/__mocks__/ and test configurations New Jest mock implementations added for external modules to support unit testing.

Sequence Diagram(s)

sequenceDiagram
    participant PR as "Pull Request"
    participant MCO as "Merge Conflict Check Workflow"
    participant API as "GitHub API"
    PR->>MCO: Trigger on PR event (open/reopen/sync)
    MCO->>API: Request mergeable status (with retries)
    API-->>MCO: Return mergeable status (true/false)
    MCO->>PR: Output merge conflict check result
Loading
sequenceDiagram
    participant PR as "Pull Request Target Event"
    participant PTW as "PR Target Workflow"
    participant Bot as "coderabbitai[bot]"
    PR->>PTW: Trigger pull_request_target
    PTW->>Bot: Post review policy comment and greeting
    Bot-->>PTW: Acknowledge and provide instructions
    PTW->>PR: Display guidelines and welcome message
Loading

Possibly related PRs

Suggested labels

ignore-sensitive-files-pr

Suggested reviewers

  • palisadoes
  • varshith257

Poem

I’m a little rabbit with joyful cheer,
Hopping through code, my paws so dear.
Configs and workflows now race in line,
With YAML dreams, everything shines.
Bugs get chased, and issues freeze,
Hop along with CodeRabbit with ease!
🐇✨ Happy coding, one hop at a time!


Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media?

❤️ Share
🪧 Tips

Chat

There are 3 ways to chat with CodeRabbit:

  • Review comments: Directly reply to a review comment made by CodeRabbit. Example:
    • I pushed a fix in commit <commit_id>, please review it.
    • Generate unit testing code for this file.
    • Open a follow-up GitHub issue for this discussion.
  • Files and specific lines of code (under the "Files changed" tab): Tag @coderabbitai in a new review comment at the desired location with your query. Examples:
    • @coderabbitai generate unit testing code for this file.
    • @coderabbitai modularize this function.
  • PR comments: Tag @coderabbitai in a new PR comment to ask questions about the PR branch. For the best results, please provide a very specific query, as very limited context is provided in this mode. Examples:
    • @coderabbitai gather interesting stats about this repository and render them as a table. Additionally, render a pie chart showing the language distribution in the codebase.
    • @coderabbitai read src/utils.ts and generate unit testing code.
    • @coderabbitai read the files in the src/scheduler package and generate a class diagram using mermaid and a README in the markdown format.
    • @coderabbitai help me debug CodeRabbit configuration file.

Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments.

CodeRabbit Commands (Invoked using PR comments)

  • @coderabbitai pause to pause the reviews on a PR.
  • @coderabbitai resume to resume the paused reviews.
  • @coderabbitai review to trigger an incremental review. This is useful when automatic reviews are disabled for the repository.
  • @coderabbitai full review to do a full review from scratch and review all the files again.
  • @coderabbitai summary to regenerate the summary of the PR.
  • @coderabbitai generate docstrings to generate docstrings for this PR. (Beta)
  • @coderabbitai resolve resolve all the CodeRabbit review comments.
  • @coderabbitai configuration to show the current CodeRabbit configuration for the repository.
  • @coderabbitai help to get help.

Other keywords and placeholders

  • Add @coderabbitai ignore anywhere in the PR description to prevent this PR from being reviewed.
  • Add @coderabbitai summary to generate the high-level summary at a specific location in the PR description.
  • Add @coderabbitai anywhere in the PR title to generate the title automatically.

Documentation and Community

  • Visit our Documentation for detailed information on how to use CodeRabbit.
  • Join our Discord Community to get help, request features, and share feedback.
  • Follow us on X/Twitter for updates and announcements.

Copy link

Our Pull Request Approval Process

Thanks for contributing!

Testing Your Code

Remember, your PRs won't be reviewed until these criteria are met:

  1. We don't merge PRs with poor code quality.
    1. Follow coding best practices such that CodeRabbit.ai approves your PR.
  2. We don't merge PRs with failed tests.
    1. When tests fail, click on the Details link to learn more.
    2. Write sufficient tests for your changes (CodeCov Patch Test). Your testing level must be better than the target threshold of the repository
    3. Tests may fail if you edit sensitive files. Ask to add the ignore-sensitive-files-pr label if the edits are necessary.
  3. We cannot merge PRs with conflicting files. These must be fixed.

Our policies make our code better.

Reviewers

Do not assign reviewers. Our Queue Monitors will review your PR and assign them.
When your PR has been assigned reviewers contact them to get your code reviewed and approved via:

  1. comments in this PR or
  2. our slack channel

Reviewing Your Code

Your reviewer(s) will have the following roles:

  1. arbitrators of future discussions with other contributors about the validity of your changes
  2. point of contact for evaluating the validity of your work
  3. person who verifies matching issues by others that should be closed.
  4. person who gives general guidance in fixing your tests

CONTRIBUTING.md

Read our CONTRIBUTING.md file. Most importantly:

  1. PRs with issues not assigned to you will be closed by the reviewer
  2. Fix the first comment in the PR so that each issue listed automatically closes

Other

  1. 🎯 Please be considerate of our volunteers' time. Contacting the person who assigned the reviewers is not advised unless they ask for your input. Do not @ the person who did the assignment otherwise.
  2. Read the CONTRIBUTING.md file make

Copy link

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

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

Congratulations on making your first PR! 🎊 If you haven't already, check out our Contributing Guidelines and PR Reporting Guidelines to ensure that you are following our guidelines for contributing and creating PR.

Copy link
Contributor

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

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

Actionable comments posted: 31

🧹 Nitpick comments (51)
docs/docs/tutorial-basics/markdown-features.mdx (2)

13-26: Use standard Markdown comment syntax.

The code example uses JavaScript-style comments (//) which is not standard in Markdown. Consider using HTML comments instead.

-// highlight-start
+<!-- highlight-start -->
 ---
 id: my-doc-id
 title: My document title
 description: My document description
 slug: /my-custom-url
 ---
-// highlight-end
+<!-- highlight-end -->

78-107: Consider using more professional terminology.

The word "awesome" in the tip example could be replaced with a more formal alternative.

 :::tip My tip

-Use this awesome feature option
+Use this powerful feature option

 :::
🧰 Tools
🪛 LanguageTool

[style] ~98-~98: Consider using a more formal and expressive alternative to ‘awesome’.
Context: ...erous ::: ``` :::tip My tip Use this awesome feature option ::: :::danger Take car...

(AWESOME)

public/locales/zh/common.json (1)

7-7: Remove trailing space in translation value.

The Chinese translation for "noResultsFoundFor" has a trailing space which might cause UI alignment issues.

-  "noResultsFoundFor": "没有找到结果 ",
+  "noResultsFoundFor": "没有找到结果",
.husky/pre-commit (2)

3-3: Consider uncommenting the lint:fix command.

The lint:fix command is commented out. If it's needed, consider uncommenting it. If it's not needed, consider removing it entirely to avoid confusion.


8-8: Consider being more selective with git add.

Using git add . might stage unintended files that were not modified by the pre-commit hook. Consider being more specific about which files to stage:

-git add .
+git add -u

This will only stage modified tracked files.

config/vite.config.ts (1)

24-30: Consider using environment variables for server configuration.

The server configuration has hardcoded values. Consider making the port configurable through environment variables for better flexibility across different environments.

   server: {
     // this ensures that the browser opens upon server start
     open: false,
     host: '0.0.0.0',
     // this sets a default port to 4321
-    port: 4321,
+    port: process.env.PORT ? parseInt(process.env.PORT, 10) : 4321,
   },
docs/src/pages/index.tsx (1)

24-37: Consider adding prop types for Layout component.

The code looks good, but consider adding explicit type definitions for the Layout component's props to improve type safety.

+ type LayoutProps = {
+   title: string;
+   description: string;
+ };

  export default function Home(): JSX.Element {
    const { siteConfig } = useDocusaurusContext();
    return (
      <Layout
        title={`Hello from ${siteConfig.title}`}
        description="Description will go into a meta tag in <head />"
      >
.github/workflows/check-tsdoc.js (2)

14-36: Enhance error handling in file search.

The function silently continues on errors. Consider propagating errors up or adding retry logic.

   async function findTsxFiles(dir) {
     let results = [];
     try {
       const list = await fs.readdir(dir);
       for (const file of list) {
         const filePath = path.join(dir, file);
-        const stat = await fs.stat(filePath);
+        let stat;
+        try {
+          stat = await fs.stat(filePath);
+        } catch (err) {
+          console.error(`Error getting stats for ${filePath}: ${err.message}`);
+          continue;
+        }
         if (stat.isDirectory()) {
           results = results.concat(await findTsxFiles(filePath));
         } else if (

50-67: Add summary statistics to run output.

Consider adding summary statistics about the number of files checked and the percentage with TSDoc comments.

   async function run() {
     const dir = process.argv[2] || './src';
     const files = await findTsxFiles(dir);
     const filesWithoutTsDoc = [];
+    let totalFiles = files.length;
 
     for (const file of files) {
       if (!await containsTsDocComment(file)) {
         filesWithoutTsDoc.push(file);
       }
     }
 
     if (filesWithoutTsDoc.length > 0) {
+      console.log(`TSDoc Coverage: ${((totalFiles - filesWithoutTsDoc.length) / totalFiles * 100).toFixed(2)}%`);
       filesWithoutTsDoc.forEach(file => {
         console.error(`No TSDoc comment found in file: ${file}`);
       });
       process.exit(1);
     }
+    console.log(`TSDoc Coverage: 100% (${totalFiles} files checked)`);
   }
docs/src/components/HomepageFeatures/index.tsx (1)

14-14: Consider optimizing SVG imports.

The current SVG imports using require().default could be optimized using direct imports with the ?react query suffix for better tree-shaking and bundle size.

-    Svg: require('@site/static/img/undraw_docusaurus_mountain.svg').default,
+    Svg: () => import('@site/static/img/undraw_docusaurus_mountain.svg?react'),

Also applies to: 24-24, 34-34

jest.config.js (1)

61-64: Consider enabling watch plugins for better development experience.

The commented out watch plugins could improve the development experience by providing better test filtering capabilities.

-  // watchPlugins: [
-  //   'jest-watch-typeahead/filename',
-  //   'jest-watch-typeahead/testname',
-  // ],
+  watchPlugins: [
+    'jest-watch-typeahead/filename',
+    'jest-watch-typeahead/testname',
+  ],
.github/workflows/scripts/talawa_admin_md_mdx_format_adjuster.py (1)

90-93: Add progress reporting for large directories.

When processing a large number of files, it would be helpful to show progress to the user.

+    total_files = sum(1 for _, _, files in os.walk(args.directory)
+                      for file in files if file.lower().endswith(".md"))
+    processed_files = 0
     for root, _, files in os.walk(args.directory):
         for file in files:
             if file.lower().endswith(".md"):
+                processed_files += 1
+                print(f"Processing file {processed_files}/{total_files}: {file}")
                 process_file(os.path.join(root, file))
.github/workflows/scripts/eslint_disable_check.py (3)

76-79: Simplify nested if statements.

The nested if statements can be combined for better readability.

-            if item.endswith(".ts") or item.endswith(".tsx"):
-                if has_eslint_disable(item):
-                    print(f"File {item} contains eslint-disable statement. Please remove them and ensure the code adheres to the specified ESLint rules.")
-                    eslint_found = True
+            if (item.endswith(".ts") or item.endswith(".tsx")) and has_eslint_disable(item):
+                print(f"File {item} contains eslint-disable statement. Please remove them and ensure the code adheres to the specified ESLint rules.")
+                eslint_found = True
🧰 Tools
🪛 Ruff (0.8.2)

76-77: Use a single if statement instead of nested if statements

(SIM102)


90-94: Fix multiline string formatting.

The multiline string in the print statement could be formatted better for readability.

-                            print(
-                                f"""File {file_path} contains eslint-disable
-                                statement."""
-                            )
+                            print(f"File {file_path} contains eslint-disable statement.")

29-30: Consider adding file extension constants.

The TypeScript file extensions are used in multiple places and could be defined as constants.

+TS_EXTENSIONS = (".ts", ".tsx")
+
 def has_eslint_disable(file_path):

Then use it in the code:

-            if item.endswith(".ts") or item.endswith(".tsx"):
+            if item.endswith(TS_EXTENSIONS):
.github/workflows/scripts/code_coverage_disable_check.py (1)

95-105: Simplify nested if statements.

The nested if statements can be combined using logical operators for better readability.

-        if os.path.isfile(item):
-            # If it's a file, check it directly
-            if (
-                item.endswith(".tsx")
-                or item.endswith(".ts")
-                and not item.endswith(".test.tsx")
-                and not item.endswith(".test.ts")
-                and not item.endswith(".spec.tsx")
-                and not item.endswith(".spec.ts")
-            ):
+        if os.path.isfile(item) and (
+            (item.endswith(".tsx") or item.endswith(".ts"))
+            and not any(item.endswith(ext) for ext in [".test.tsx", ".test.ts", ".spec.tsx", ".spec.ts"])
+        ):
🧰 Tools
🪛 Ruff (0.8.2)

95-105: Use a single if statement instead of nested if statements

(SIM102)


97-105: Use a single if statement instead of nested if statements

(SIM102)

.github/workflows/scripts/compare_translations.py (1)

134-136: Improve error handling in load_translation function.

Use raise ... from err to preserve the exception chain for better debugging.

-    except json.JSONDecodeError as e:
-        raise ValueError(f"Error decoding JSON from file {filepath}: {e}")
+    except json.JSONDecodeError as err:
+        raise ValueError(f"Error decoding JSON from file {filepath}: {err}") from err
🧰 Tools
🪛 Ruff (0.8.2)

135-135: Within an except clause, raise exceptions with raise ... from err or raise ... from None to distinguish them from errors in exception handling

(B904)

.github/workflows/scripts/countline.py (1)

255-255: Use UTF-8 encoding instead of latin-1.

Using latin-1 encoding might not handle all Unicode characters correctly. Consider using UTF-8 for better Unicode support.

-        with open(filepath, encoding="latin-1") as code:
+        with open(filepath, encoding="utf-8") as code:
Dockerfile (1)

1-15: Optimize the Dockerfile using multi-stage builds.

While the current Dockerfile follows best practices, it can be optimized further:

  1. The stage name "build" is unnecessary since there are no subsequent stages.
  2. Using a multi-stage build would reduce the final image size by excluding build dependencies.

Apply this diff to optimize the Dockerfile:

-FROM node:20.10.0 AS build
+FROM node:20.10.0-slim AS build
 
 WORKDIR /usr/src/app
 
 COPY package*.json ./
 
 RUN npm install
 
 COPY . .
 
 RUN npm run build
 
+FROM node:20.10.0-slim
+
+WORKDIR /usr/src/app
+
+COPY --from=build /usr/src/app/dist ./dist
+COPY package*.json ./
+
+RUN npm install --production
+
 EXPOSE 4321
 
 CMD ["npm", "run", "serve"]
docs/docs/tutorial-basics/deploy-your-site.md (1)

1-32: LGTM with a minor suggestion.

The deployment instructions are clear and well-structured.

Consider this minor improvement to avoid the intensifier "very":

-You can now deploy the `build` folder **almost anywhere** easily, **for free** or very small cost (read the **[Deployment Guide](https://docusaurus.io/docs/deployment)**).
+You can now deploy the `build` folder **almost anywhere** easily, **for free** or at minimal cost (read the **[Deployment Guide](https://docusaurus.io/docs/deployment)**).
🧰 Tools
🪛 LanguageTool

[style] ~31-~31: As an alternative to the over-used intensifier ‘very’, consider replacing this phrase.
Context: ...most anywhere** easily, for free or very small cost (read the **[Deployment Guide](htt...

(EN_WEAK_ADJECTIVE)

public/locales/hi/errors.json (1)

2-2: Remove trailing spaces from translations

There are unnecessary trailing spaces in the following translations:

  • Line 2: "तलवा-एपीआई सेवा उपलब्ध नहीं है! "
  • Line 5: "क्षमा मांगना! "
  • Line 8: "उफ़! "
-  "talawaApiUnavailable": "तलवा-एपीआई सेवा उपलब्ध नहीं है! ",
+  "talawaApiUnavailable": "तलवा-एपीआई सेवा उपलब्ध नहीं है!",
-  "notAuthorised": "क्षमा मांगना! ",
+  "notAuthorised": "क्षमा मांगना!",
-  "notFoundMsg": "उफ़! ",
+  "notFoundMsg": "उफ़!",

Also applies to: 5-5, 8-8

public/locales/fr/errors.json (1)

2-2: Remove trailing spaces from translations

There are unnecessary trailing spaces in the following translations:

  • Line 2: "Le service Talawa-API n'est pas disponible !. "
  • Line 5: "Désolé! "
-  "talawaApiUnavailable": "Le service Talawa-API n'est pas disponible !. ",
+  "talawaApiUnavailable": "Le service Talawa-API n'est pas disponible !",
-  "notAuthorised": "Désolé! ",
+  "notAuthorised": "Désolé!",

Also applies to: 5-5

public/locales/en/errors.json (1)

2-2: Fix grammar and punctuation consistency

There are a few issues to address:

  1. Line 2: Remove the period after exclamation mark
  2. Line 5: Capitalize "you" and fix "Authorised" to "Authorized" (US English)
  3. Line 10: Fix typo "occured" to "occurred"
-  "talawaApiUnavailable": "Talawa-API service is unavailable!. Is it running? Check your network connectivity too.",
+  "talawaApiUnavailable": "Talawa-API service is unavailable! Is it running? Check your network connectivity too.",
-  "notAuthorised": "Sorry! you are not Authorised!",
+  "notAuthorised": "Sorry! You are not Authorized!",
-  "errorLoading": "Error occured while loading {{entity}} data",
+  "errorLoading": "Error occurred while loading {{entity}} data",

Also applies to: 5-5, 10-10

docs/docs/tutorial-basics/congratulations.md (1)

7-7: Enhance readability with style improvements.

Consider these minor style enhancements:

  1. Line 7: Strengthen the wording by rephrasing to "You have successfully learned..."
  2. Line 13: Consider using a single exclamation mark for a more professional tone
- You have just learned the **basics of Docusaurus** and made some changes to the **initial template**.
+ You have successfully learned the **basics of Docusaurus** and made some changes to the **initial template**.
- Anything **unclear** or **buggy** in this tutorial? [Please report it!](https://github.com/facebook/docusaurus/discussions/4610)
+ Anything **unclear** or **buggy** in this tutorial? [Please report it](https://github.com/facebook/docusaurus/discussions/4610)

Also applies to: 13-13

🧰 Tools
🪛 LanguageTool

[style] ~7-~7: Consider rephrasing this to strengthen your wording.
Context: ...earned the basics of Docusaurus and made some changes to the initial template. Docusauru...

(MAKE_CHANGES)

.github/workflows/codeql-codescan.yml (2)

14-20: Fix trailing spaces in YAML.

Remove trailing spaces from lines 6, 17, and 20 to maintain consistent formatting.

-      - '**'  
+      - '**'
-      - '**'   
+      - '**'
🧰 Tools
🪛 YAMLlint (1.35.1)

[error] 17-17: trailing spaces

(trailing-spaces)


[error] 20-20: trailing spaces

(trailing-spaces)


21-30: Consider adding security enhancements to the CodeQL workflow.

  1. Add permissions field to limit the workflow's access scope
  2. Consider adding more languages to the matrix for comprehensive analysis
 jobs:
   CodeQL:
     if: ${{ github.actor != 'dependabot[bot]' }}
     name: Analyse Code With CodeQL
     runs-on: ubuntu-latest
+    permissions:
+      security-events: write
+      actions: read
+      contents: read
     strategy:
       fail-fast: false
       matrix:
-        language: [ 'javascript' ]
+        language: [ 'javascript', 'typescript', 'python' ]
docs/package.json (1)

39-43: Make browser versions more specific in development.

The current development browser versions could be more specific to ensure consistent behavior across environments.

   "development": [
-      "last 3 chrome version",
-      "last 3 firefox version",
-      "last 5 safari version"
+      "last 3 chrome versions",
+      "last 3 firefox versions",
+      "last 5 safari versions"
   ]
.github/workflows/scripts/validate-coderabbit.sh (1)

1-9: Add shellcheck directives and improve error handling.

Add shellcheck directives and handle potential API rate limiting.

 #!/bin/bash
+set -euo pipefail
+
+# shellcheck disable=SC2086
 
 echo "Step 1: Fetching all PR reviews..."
 
+# Check if required environment variables are set
+[[ -z "${GITHUB_TOKEN:-}" ]] && { echo "Error: GITHUB_TOKEN is not set"; exit 1; }
+[[ -z "${GITHUB_REPOSITORY:-}" ]] && { echo "Error: GITHUB_REPOSITORY is not set"; exit 1; }
+[[ -z "${PR_NUMBER:-}" ]] && { echo "Error: PR_NUMBER is not set"; exit 1; }
+
 response=$(curl -s -f -H "Authorization: token $GITHUB_TOKEN" \
   "https://api.github.com/repos/${GITHUB_REPOSITORY}/pulls/${PR_NUMBER}/reviews?per_page=1000") || {
+  if [[ $(echo "$response" | jq -r '.message // empty') == *"API rate limit exceeded"* ]]; then
+    echo "Error: GitHub API rate limit exceeded"
+  else
     echo "Error: Failed to fetch reviews from GitHub API"
+  fi
   exit 1
 }
DOCUMENTATION.md (1)

26-26: Capitalize "Markdown" as it's a proper noun.

-1. Add/modify the markdown documents to the `docs/` directory of the `talawa-docs` repository
+1. Add/modify the Markdown documents to the `docs/` directory of the `talawa-docs` repository
🧰 Tools
🪛 LanguageTool

[grammar] ~26-~26: Did you mean the formatting language “Markdown” (= proper noun)?
Context: ...ttp://localhost:3000/ 1. Add/modify the markdown documents to the docs/ directory of t...

(MARKDOWN_NNP)

.github/workflows/stale.yml (1)

6-6: Remove trailing spaces.

There are trailing spaces at the end of several lines that should be removed for consistency.

-# Please read the README.md file in this directory that defines what should 
+# Please read the README.md file in this directory that defines what should
-  pull-requests: write  
+  pull-requests: write
-  
+
-    name: Process Stale Issues and PRs 
+    name: Process Stale Issues and PRs

Also applies to: 20-21, 24-24

🧰 Tools
🪛 YAMLlint (1.35.1)

[error] 6-6: trailing spaces

(trailing-spaces)

.github/workflows/push-deploy-website.yml (1)

6-6: Remove trailing spaces.

There are trailing spaces at the end of several lines that should be removed for consistency.

-# Please read the README.md file in this directory that defines what should 
+# Please read the README.md file in this directory that defines what should
-      - 'develop-postgres'   
+      - 'develop-postgres'
-      
+
-  
+
-      # This "name" has to be the repos' branch that contains 
+      # This "name" has to be the repos' branch that contains
-      # menu. The branch "name" must match the branch in the 
+      # menu. The branch "name" must match the branch in the
- 
+

Also applies to: 17-18, 21-21, 29-29, 33-33, 57-57

🧰 Tools
🪛 YAMLlint (1.35.1)

[error] 6-6: trailing spaces

(trailing-spaces)

.github/workflows/merge-conflict-check.yml (1)

46-46: Remove trailing space.

There is a trailing space that should be removed for consistency.

-              
+
🧰 Tools
🪛 YAMLlint (1.35.1)

[error] 46-46: trailing spaces

(trailing-spaces)

.github/workflows/README.md (2)

24-24: Fix typo in the text.

Remove the duplicate word "to".

-      1. Place all actions related to to this in the `pull-request-target.yml` file.
+      1. Place all actions related to this in the `pull-request-target.yml` file.
🧰 Tools
🪛 LanguageTool

[duplication] ~24-~24: Possible typo: you repeated a word.
Context: ...ors: 1. Place all actions related to to this in the pull-request-target.yml f...

(ENGLISH_WORD_REPEAT_RULE)


35-35: Fix abbreviation format.

The abbreviation "eg." should be "e.g." with periods.

-1. Jobs only work correctly if they have a dedicated file (eg. `CodeQL`)
+1. Jobs only work correctly if they have a dedicated file (e.g. `CodeQL`)
🧰 Tools
🪛 LanguageTool

[uncategorized] ~35-~35: The abbreviation “e.g.” (= for example) requires two periods.
Context: ...orrectly if they have a dedicated file (eg. CodeQL) ## Scripts Follow these gui...

(E_G)

.github/workflows/issue.yml (1)

42-55: Simplify label addition logic.

The current implementation uses repeated code for label addition. Consider refactoring to reduce duplication.

-            if(labels.data.reduce((a, c)=>a||["dependencies"].includes(c.name), false))
-              await github.rest.issues.addLabels({
-                owner: context.repo.owner,
-                repo: context.repo.repo,
-                issue_number: context.issue.number,
-                labels: ["good first issue", "security"]
-              });
-            else if(labels.data.reduce((a, c)=>a||["security", "ui/ux"].includes(c.name), false))
-              await github.rest.issues.addLabels({
-                owner: context.repo.owner,
-                repo: context.repo.repo,
-                issue_number: context.issue.number,
-                labels: ["good first issue"]
-              });
+            const labelSets = {
+              'dependencies': ["good first issue", "security"],
+              'security,ui/ux': ["good first issue"]
+            };
+            
+            for (const [triggers, newLabels] of Object.entries(labelSets)) {
+              if (labels.data.some(label => triggers.split(',').includes(label.name))) {
+                await github.rest.issues.addLabels({
+                  ...apiParams,
+                  labels: newLabels
+                });
+                break;
+              }
+            }
.github/workflows/scripts/app_health_check.sh (2)

47-52: Add timeout to nc command.

The nc command should include a timeout to prevent hanging in case of network issues.

-  if nc -z localhost "${port}" 2>/dev/null; then
+  if nc -z -w 5 localhost "${port}" 2>/dev/null; then

68-70: Add container existence check before fetching logs.

Verify if the container exists before attempting to fetch logs to provide better error messages.

     echo "Fetching Docker container logs..."
-    if ! docker logs talawa-admin-app-container; then
-      echo "Error: Failed to fetch logs from container talawa-admin-app-container"
+    if ! docker ps -q -f name=talawa-admin-app-container >/dev/null; then
+      echo "Error: Container talawa-admin-app-container does not exist"
+    elif ! docker logs talawa-admin-app-container; then
+      echo "Error: Failed to fetch logs from container talawa-admin-app-container"
ISSUE_GUIDELINES.md (3)

5-5: Fix grammatical error in introduction.

Change "a issues reports" to "issue reports".

-In order to give everyone a chance to submit a issues reports and contribute to the Talawa project
+In order to give everyone a chance to submit issue reports and contribute to the Talawa project
🧰 Tools
🪛 LanguageTool

[misspelling] ~5-~5: Use “an” instead of ‘a’ if the following word starts with a vowel sound, e.g. ‘an article’, ‘an hour’.
Context: ...der to give everyone a chance to submit a issues reports and contribute to the Ta...

(EN_A_VS_AN)


29-29: Fix duplicate word in search instruction.

The line contains a duplicate "for" which affects readability.

-1. Your issue may have already been created. Search for duplicate open issues before submitting yours.for similar deficiencies in the code.duplicate issues are created.
+1. Your issue may have already been created. Search for duplicate open issues before submitting yours. Check for similar deficiencies in the code.

44-44: Capitalize "Slack" references.

The word "Slack" is a proper noun and should be capitalized.

-   2. Ask our contributors to assign it to you in `#talawa` slack channel.
+   2. Ask our contributors to assign it to you in `#talawa` Slack channel.
-1. Join our `#talawa-github` slack channel for automatic issue and pull request updates.
+1. Join our `#talawa-github` Slack channel for automatic issue and pull request updates.
-1. Discuss issues in our various slack channels when necessary
+1. Discuss issues in our various Slack channels when necessary

Also applies to: 57-57, 70-70

🧰 Tools
🪛 LanguageTool

[grammar] ~44-~44: Did you mean the communication tool “Slack” (= proper noun, capitalized)?
Context: ...butors to assign it to you in #talawa slack channel. Working on these types of exi...

(ON_SKYPE)

README.md (1)

56-56: Add hyphen to compound adjective.

Add a hyphen to "open source" when it's used as a compound adjective before "contributors".

-The "[Getting Started - Developers](https://www.youtube.com/watch?v=YpBUoHxEeyg&list=PLv50qHwThlJUIzscg9a80a9-HmAlmUdCF&index=1)" videos are extremely helpful for new open source contributors.
+The "[Getting Started - Developers](https://www.youtube.com/watch?v=YpBUoHxEeyg&list=PLv50qHwThlJUIzscg9a80a9-HmAlmUdCF&index=1)" videos are extremely helpful for new open-source contributors.
🧰 Tools
🪛 LanguageTool

[uncategorized] ~56-~56: If this is a compound adjective that modifies the following noun, use a hyphen.
Context: ...)" videos are extremely helpful for new open source contributors.

(EN_COMPOUND_ADJECTIVE_INTERNAL)

PR_GUIDELINES.md (2)

56-56: Improve clarity in reviewer assignment section.

Add a comma after "Therefore" and consider rephrasing to avoid the overused "very important".

-The quality of our code is very important to us. Therefore we make experienced maintainers of our code base review your code.
+The quality of our code is crucial to us. Therefore, we ensure experienced maintainers of our code base review your code.
🧰 Tools
🪛 LanguageTool

[style] ~56-~56: As an alternative to the over-used intensifier ‘very’, consider replacing this phrase.
Context: ...o be closed. The quality of our code is very important to us. Therefore we make experienced ma...

(EN_WEAK_ADJECTIVE)


[uncategorized] ~56-~56: A comma may be missing after the conjunctive/linking adverb ‘Therefore’.
Context: ...ty of our code is very important to us. Therefore we make experienced maintainers of our ...

(SENT_START_CONJUNCTIVE_LINKING_ADVERB_COMMA)


64-64: Improve clarity in notification section.

Add a comma before "and" in compound sentence and replace informal phrase.

-@mentioning someone just adds to the pile of notifications we get and it won't make us look at your issue faster.
+@mentioning someone just adds to the pile of notifications we get, and it won't expedite the review process.
🧰 Tools
🪛 LanguageTool

[style] ~64-~64: This expression is wordy and overused. Consider replacing it with a more concise and formal alternative.
Context: ...wer your questions, but we'll get to it sooner or later. @mentioning someone just adds to the p...

(SOONER_OR_LATER)


[uncategorized] ~64-~64: Use a comma before ‘and’ if it connects two independent clauses (unless they are closely connected and short).
Context: ...adds to the pile of notifications we get and it won't make us look at your issue fas...

(COMMA_COMPOUND_SENTENCE)

docs/README.md (1)

40-42: Fix code block language specifications.

Add language identifiers to code blocks for better syntax highlighting. For terminal commands, use bash or shell.

Example:

-```terminal
+```bash
$ yarn -version

Also applies to: 69-70, 82-83, 94-95, 107-108

🧰 Tools
🪛 markdownlint-cli2 (0.17.2)

41-41: Dollar signs used before commands without showing output
null

(MD014, commands-show-output)

CODE_STYLE.md (1)

58-62: Add language identifiers to code examples.

Specify the language for code blocks to enable syntax highlighting.

Example:

-```
+```jsx
<div className="myCustomClass">...</div>

Also applies to: 78-89

🧰 Tools
🪛 markdownlint-cli2 (0.17.2)

58-58: Fenced code blocks should have a language specified
null

(MD040, fenced-code-language)

docs/src/css/custom.css (1)

175-186: Consolidate duplicate button styles.

The youtube-button and github-button classes share identical styles. Consider creating a common base class.

+.social-button {
+  background: linear-gradient(90deg, #ff3600 0%, #ff8100 100%);
+  border: none;
+  border-radius: 4px;
+  padding: 7px 21px;
+  color: #fff;
+  font-weight: bold;
+  font-size: 14px;
+  text-decoration: none;
+  display: inline-flex;
+  margin-right: 2.75rem;
+}
+
-.youtube-button {
-  background: linear-gradient(90deg, #ff3600 0%, #ff8100 100%);
-  border: none;
-  border-radius: 4px;
-  padding: 7px 21px;
-  color: #fff;
-  font-weight: bold;
-  font-size: 14px;
-  text-decoration: none;
-  display: inline-flex;
-  margin-right: 2.75rem;
+.youtube-button {
+  @extend .social-button;
}

-.github-button {
-  background: linear-gradient(90deg, #ff3600 0%, #ff8100 100%);
-  border: none;
-  border-radius: 4px;
-  padding: 7px 21px;
-  color: #fff;
-  font-weight: bold;
-  font-size: 14px;
-  text-decoration: none;
-  display: inline-flex;
-  margin-right: 2.75rem;
+.github-button {
+  @extend .social-button;
}

Also applies to: 188-199

CONTRIBUTING.md (1)

62-62: Minor grammar improvement needed.

Change "is best resource" to "is the best resource".

-[Pull Request guidelines](PR_GUIDELINES.md) is best resource to follow to start working on open issues.
+[Pull Request guidelines](PR_GUIDELINES.md) is the best resource to follow to start working on open issues.
🧰 Tools
🪛 LanguageTool

[grammar] ~62-~62: A determiner may be missing.
Context: ...l Request guidelines](PR_GUIDELINES.md) is best resource to follow to start working on ...

(THE_SUPERLATIVE)

public/locales/hi/translation.json (2)

228-230: Consider improving the placeholder text format.

The placeholder text uses double curly braces {{name}} and {{org}} which is correct for i18n interpolation, but the surrounding text could be improved for better readability in Hindi.

-    "removeUserFrom": "{{org}} से उपयोगकर्ता को हटाएं",
-    "removeConfirmation": "क्या आप वाकई '{{name}}' को संगठन '{{org}}' से हटाना चाहते हैं?",
+    "removeUserFrom": "संगठन {{org}} से उपयोगकर्ता को हटाएं",
+    "removeConfirmation": "क्या आप वाकई {{name}} को संगठन {{org}} से हटाना चाहते हैं?",

774-775: Fix inconsistent placeholder example.

The placeholder example uses English text which should be translated to Hindi for consistency.

-    "userOtp": "जैसे ",
+    "userOtp": "उदाहरण: 123456",
public/locales/sp/translation.json (2)

16-16: Consider revising this translation for better clarity.

The translation "Una aplicación de código abierto de los voluntarios de la Fundación palisados" could be improved to "Una aplicación de código abierto desarrollada por los voluntarios de la Fundación Palisadoes" for better clarity and accuracy.


49-52: Consider using consistent capitalization in password requirements.

The password requirement translations have inconsistent capitalization:

  • "Al menos una letra mayuscula" should be "Al menos una letra mayúscula"
  • "Al menos una letra minúscula" is correct
  • "Al menos un valor numérico" is correct
  • "Al menos un carácter especial" is correct
📜 Review details

Configuration used: .coderabbit.yaml
Review profile: CHILL
Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between 6d67f00 and c831c4d.

⛔ Files ignored due to path filters (99)
  • docs/docs/tutorial-extras/img/docsVersionDropdown.png is excluded by !**/*.png
  • docs/docs/tutorial-extras/img/localeDropdown.png is excluded by !**/*.png
  • docs/static/img/docusaurus-social-card.jpg is excluded by !**/*.jpg
  • docs/static/img/docusaurus.png is excluded by !**/*.png
  • docs/static/img/favicon.ico is excluded by !**/*.ico
  • docs/static/img/icons/facebook.svg is excluded by !**/*.svg
  • docs/static/img/icons/favicon_palisadoes.ico is excluded by !**/*.ico
  • docs/static/img/icons/github-dark.svg is excluded by !**/*.svg
  • docs/static/img/icons/github.svg is excluded by !**/*.svg
  • docs/static/img/icons/instagram.svg is excluded by !**/*.svg
  • docs/static/img/icons/opportunities.svg is excluded by !**/*.svg
  • docs/static/img/icons/slack.svg is excluded by !**/*.svg
  • docs/static/img/icons/source.svg is excluded by !**/*.svg
  • docs/static/img/icons/team.svg is excluded by !**/*.svg
  • docs/static/img/icons/twitter.svg is excluded by !**/*.svg
  • docs/static/img/icons/youtube-white.svg is excluded by !**/*.svg
  • docs/static/img/icons/youtube.svg is excluded by !**/*.svg
  • docs/static/img/logo.svg is excluded by !**/*.svg
  • docs/static/img/markdown/misc/logo.png is excluded by !**/*.png
  • docs/static/img/undraw_docusaurus_mountain.svg is excluded by !**/*.svg
  • docs/static/img/undraw_docusaurus_react.svg is excluded by !**/*.svg
  • docs/static/img/undraw_docusaurus_tree.svg is excluded by !**/*.svg
  • package-lock.json is excluded by !**/package-lock.json
  • public/favicon.ico is excluded by !**/*.ico
  • public/favicon_palisadoes.ico is excluded by !**/*.ico
  • public/images/logo512.png is excluded by !**/*.png
  • public/images/svg/angleDown.svg is excluded by !**/*.svg
  • public/images/svg/arrow-left.svg is excluded by !**/*.svg
  • public/images/svg/arrow-right.svg is excluded by !**/*.svg
  • public/images/svg/attendees.svg is excluded by !**/*.svg
  • public/images/svg/feedback.svg is excluded by !**/*.svg
  • public/images/svg/options-outline.svg is excluded by !**/*.svg
  • public/images/svg/organization.svg is excluded by !**/*.svg
  • public/images/svg/profiledefault.svg is excluded by !**/*.svg
  • public/images/svg/up-down.svg is excluded by !**/*.svg
  • public/logo192.png is excluded by !**/*.png
  • public/markdown/images/install1.png is excluded by !**/*.png
  • public/markdown/images/install2.png is excluded by !**/*.png
  • src/assets/css/app.css.map is excluded by !**/*.map
  • src/assets/images/blank.png is excluded by !**/*.png
  • src/assets/images/bronze.png is excluded by !**/*.png
  • src/assets/images/defaultImg.png is excluded by !**/*.png
  • src/assets/images/gold.png is excluded by !**/*.png
  • src/assets/images/palisadoes_logo.png is excluded by !**/*.png
  • src/assets/images/silver.png is excluded by !**/*.png
  • src/assets/images/talawa-logo-600x600.png is excluded by !**/*.png
  • src/assets/images/talawa-logo-dark-200x200.png is excluded by !**/*.png
  • src/assets/images/talawa-logo-lite-200x200.png is excluded by !**/*.png
  • src/assets/svgs/Attendance.svg is excluded by !**/*.svg
  • src/assets/svgs/actionItem.svg is excluded by !**/*.svg
  • src/assets/svgs/admin.svg is excluded by !**/*.svg
  • src/assets/svgs/agenda-category-icon.svg is excluded by !**/*.svg
  • src/assets/svgs/agenda-items.svg is excluded by !**/*.svg
  • src/assets/svgs/angleRight.svg is excluded by !**/*.svg
  • src/assets/svgs/article.svg is excluded by !**/*.svg
  • src/assets/svgs/blockUser.svg is excluded by !**/*.svg
  • src/assets/svgs/blockedUser.svg is excluded by !**/*.svg
  • src/assets/svgs/cardItemDate.svg is excluded by !**/*.svg
  • src/assets/svgs/cardItemEvent.svg is excluded by !**/*.svg
  • src/assets/svgs/cardItemLocation.svg is excluded by !**/*.svg
  • src/assets/svgs/chat.svg is excluded by !**/*.svg
  • src/assets/svgs/checkInRegistrants.svg is excluded by !**/*.svg
  • src/assets/svgs/dashboard.svg is excluded by !**/*.svg
  • src/assets/svgs/date.svg is excluded by !**/*.svg
  • src/assets/svgs/event.svg is excluded by !**/*.svg
  • src/assets/svgs/events.svg is excluded by !**/*.svg
  • src/assets/svgs/flask.svg is excluded by !**/*.svg
  • src/assets/svgs/funds.svg is excluded by !**/*.svg
  • src/assets/svgs/key.svg is excluded by !**/*.svg
  • src/assets/svgs/listEventRegistrants.svg is excluded by !**/*.svg
  • src/assets/svgs/location.svg is excluded by !**/*.svg
  • src/assets/svgs/logout.svg is excluded by !**/*.svg
  • src/assets/svgs/media.svg is excluded by !**/*.svg
  • src/assets/svgs/newChat.svg is excluded by !**/*.svg
  • src/assets/svgs/organizations.svg is excluded by !**/*.svg
  • src/assets/svgs/palisadoes.svg is excluded by !**/*.svg
  • src/assets/svgs/people.svg is excluded by !**/*.svg
  • src/assets/svgs/plugins.svg is excluded by !**/*.svg
  • src/assets/svgs/post.svg is excluded by !**/*.svg
  • src/assets/svgs/posts.svg is excluded by !**/*.svg
  • src/assets/svgs/requests.svg is excluded by !**/*.svg
  • src/assets/svgs/roles.svg is excluded by !**/*.svg
  • src/assets/svgs/settings.svg is excluded by !**/*.svg
  • src/assets/svgs/social-icons/Facebook-Logo.svg is excluded by !**/*.svg
  • src/assets/svgs/social-icons/Github-Logo.svg is excluded by !**/*.svg
  • src/assets/svgs/social-icons/Instagram-Logo.svg is excluded by !**/*.svg
  • src/assets/svgs/social-icons/Linkedin-Logo.svg is excluded by !**/*.svg
  • src/assets/svgs/social-icons/Reddit-Logo.svg is excluded by !**/*.svg
  • src/assets/svgs/social-icons/Slack-Logo.svg is excluded by !**/*.svg
  • src/assets/svgs/social-icons/X-Logo.svg is excluded by !**/*.svg
  • src/assets/svgs/social-icons/Youtube-Logo.svg is excluded by !**/*.svg
  • src/assets/svgs/tag.svg is excluded by !**/*.svg
  • src/assets/svgs/tags.svg is excluded by !**/*.svg
  • src/assets/svgs/talawa.svg is excluded by !**/*.svg
  • src/assets/svgs/user.svg is excluded by !**/*.svg
  • src/assets/svgs/userEvent.svg is excluded by !**/*.svg
  • src/assets/svgs/users.svg is excluded by !**/*.svg
  • src/assets/svgs/venues.svg is excluded by !**/*.svg
  • src/assets/talawa-logo-lite-200x200.png is excluded by !**/*.png
📒 Files selected for processing (107)
  • .coderabbit.yaml (1 hunks)
  • .dockerignore (1 hunks)
  • .env.example (1 hunks)
  • .eslintignore (1 hunks)
  • .eslintrc.json (2 hunks)
  • .github/ISSUE_TEMPLATE/bug-report.md (2 hunks)
  • .github/ISSUE_TEMPLATE/feature-request.md (2 hunks)
  • .github/dependabot.yaml (1 hunks)
  • .github/pull_request_template.md (2 hunks)
  • .github/workflows/README.md (1 hunks)
  • .github/workflows/auto-label.json5 (1 hunks)
  • .github/workflows/check-tsdoc.js (1 hunks)
  • .github/workflows/ci.yml (0 hunks)
  • .github/workflows/codeql-analysis.yml (0 hunks)
  • .github/workflows/codeql-codescan.yml (1 hunks)
  • .github/workflows/issue.yml (1 hunks)
  • .github/workflows/linter.yml (0 hunks)
  • .github/workflows/merge-conflict-check.yml (1 hunks)
  • .github/workflows/npm-publish.yml (0 hunks)
  • .github/workflows/pull-request-target.yml (1 hunks)
  • .github/workflows/pull-request.yml (1 hunks)
  • .github/workflows/push-deploy-website.yml (1 hunks)
  • .github/workflows/push.yml (1 hunks)
  • .github/workflows/scripts/app_health_check.sh (1 hunks)
  • .github/workflows/scripts/code_coverage_disable_check.py (1 hunks)
  • .github/workflows/scripts/compare_translations.py (1 hunks)
  • .github/workflows/scripts/countline.py (1 hunks)
  • .github/workflows/scripts/eslint_disable_check.py (1 hunks)
  • .github/workflows/scripts/talawa_admin_md_mdx_format_adjuster.py (1 hunks)
  • .github/workflows/scripts/validate-coderabbit.sh (1 hunks)
  • .github/workflows/stale.yml (1 hunks)
  • .gitignore (2 hunks)
  • .husky/post-merge (1 hunks)
  • .husky/pre-commit (1 hunks)
  • .lintstagedrc.json (1 hunks)
  • .node-version (1 hunks)
  • .prettierignore (1 hunks)
  • .prettierrc (1 hunks)
  • CODEOWNERS (1 hunks)
  • CODE_OF_CONDUCT.md (1 hunks)
  • CODE_STYLE.md (1 hunks)
  • CONTRIBUTING.md (2 hunks)
  • DOCUMENTATION.md (1 hunks)
  • Docker_Container/.dockerignore (0 hunks)
  • Docker_Container/README.md (0 hunks)
  • Docker_Container/docker-compose.yml (0 hunks)
  • Docker_Container/dockerfile (0 hunks)
  • Dockerfile (1 hunks)
  • INSTALLATION.md (1 hunks)
  • ISSUE_GUIDELINES.md (1 hunks)
  • ISSUE_TEMPLATE.md (0 hunks)
  • PR-guidelines.md (0 hunks)
  • PR_GUIDELINES.md (1 hunks)
  • PULL_REQUEST_TEMPLATE.md (0 hunks)
  • README.md (3 hunks)
  • config/babel.config.cjs (1 hunks)
  • config/vite.config.ts (1 hunks)
  • docs/.gitignore (1 hunks)
  • docs/CNAME (1 hunks)
  • docs/README.md (1 hunks)
  • docs/docs/intro.md (1 hunks)
  • docs/docs/tutorial-basics/_category_.json (1 hunks)
  • docs/docs/tutorial-basics/congratulations.md (1 hunks)
  • docs/docs/tutorial-basics/create-a-blog-post.md (1 hunks)
  • docs/docs/tutorial-basics/create-a-document.md (1 hunks)
  • docs/docs/tutorial-basics/create-a-page.md (1 hunks)
  • docs/docs/tutorial-basics/deploy-your-site.md (1 hunks)
  • docs/docs/tutorial-basics/markdown-features.mdx (1 hunks)
  • docs/docs/tutorial-extras/_category_.json (1 hunks)
  • docs/docs/tutorial-extras/manage-docs-versions.md (1 hunks)
  • docs/docs/tutorial-extras/translate-your-site.md (1 hunks)
  • docs/docusaurus.config.ts (1 hunks)
  • docs/package.json (1 hunks)
  • docs/sidebars.ts (1 hunks)
  • docs/src/components/HomepageFeatures/index.tsx (1 hunks)
  • docs/src/components/HomepageFeatures/styles.module.css (1 hunks)
  • docs/src/css/custom.css (1 hunks)
  • docs/src/pages/index.module.css (1 hunks)
  • docs/src/pages/index.tsx (1 hunks)
  • docs/src/pages/markdown-page.md (1 hunks)
  • docs/static/CNAME (1 hunks)
  • index.html (1 hunks)
  • issue-guidelines.md (0 hunks)
  • jest-preview.config.ts (1 hunks)
  • jest.config.js (1 hunks)
  • package.json (2 hunks)
  • public/index.html (0 hunks)
  • public/locales/en/common.json (1 hunks)
  • public/locales/en/errors.json (1 hunks)
  • public/locales/en/translation.json (1 hunks)
  • public/locales/fr/common.json (1 hunks)
  • public/locales/fr/errors.json (1 hunks)
  • public/locales/fr/translation.json (1 hunks)
  • public/locales/hi/common.json (1 hunks)
  • public/locales/hi/errors.json (1 hunks)
  • public/locales/hi/translation.json (1 hunks)
  • public/locales/sp/common.json (1 hunks)
  • public/locales/sp/errors.json (1 hunks)
  • public/locales/sp/translation.json (1 hunks)
  • public/locales/zh/common.json (1 hunks)
  • public/locales/zh/errors.json (1 hunks)
  • public/locales/zh/translation.json (1 hunks)
  • public/manifest.json (1 hunks)
  • schema.graphql (1 hunks)
  • scripts/__mocks__/@dicebear/collection.ts (1 hunks)
  • scripts/__mocks__/@dicebear/core.ts (1 hunks)
  • scripts/__mocks__/@pdfme/generator.test.ts (1 hunks)
⛔ Files not processed due to max files limit (32)
  • scripts/mocks/@pdfme/generator.ts
  • scripts/mocks/fileMock.js
  • scripts/custom-test-env.js
  • scripts/githooks/check-localstorage-usage.js
  • scripts/githooks/update-toc.js
  • setup.ts
  • src/App.spec.tsx
  • src/App.test.tsx
  • src/App.tsx
  • src/Constant/constant.spec.ts
  • src/Constant/constant.ts
  • src/GraphQl/Mutations/ActionItemCategoryMutations.ts
  • src/GraphQl/Mutations/ActionItemMutations.ts
  • src/GraphQl/Mutations/AgendaCategoryMutations.ts
  • src/GraphQl/Mutations/AgendaItemMutations.ts
  • src/GraphQl/Mutations/CampaignMutation.ts
  • src/GraphQl/Mutations/CommentMutations.ts
  • src/GraphQl/Mutations/EventAttendeeMutations.ts
  • src/GraphQl/Mutations/EventVolunteerMutation.ts
  • src/GraphQl/Mutations/FundMutation.ts
  • src/GraphQl/Mutations/OrganizationMutations.ts
  • src/GraphQl/Mutations/PledgeMutation.ts
  • src/GraphQl/Mutations/TagMutations.ts
  • src/GraphQl/Mutations/VenueMutations.ts
  • src/GraphQl/Mutations/mutations.ts
  • src/GraphQl/Queries/ActionItemCategoryQueries.ts
  • src/GraphQl/Queries/ActionItemQueries.ts
  • src/GraphQl/Queries/AgendaCategoryQueries.ts
  • src/GraphQl/Queries/AgendaItemQueries.ts
  • src/GraphQl/Queries/EventVolunteerQueries.ts
  • src/GraphQl/Queries/OrganizationQueries.ts
  • src/GraphQl/Queries/PlugInQueries.ts
💤 Files with no reviewable changes (13)
  • ISSUE_TEMPLATE.md
  • PR-guidelines.md
  • Docker_Container/.dockerignore
  • Docker_Container/dockerfile
  • .github/workflows/codeql-analysis.yml
  • .github/workflows/ci.yml
  • PULL_REQUEST_TEMPLATE.md
  • Docker_Container/README.md
  • .github/workflows/npm-publish.yml
  • issue-guidelines.md
  • .github/workflows/linter.yml
  • Docker_Container/docker-compose.yml
  • public/index.html
✅ Files skipped from review due to trivial changes (26)
  • .node-version
  • docs/static/CNAME
  • docs/CNAME
  • docs/docs/tutorial-extras/category.json
  • .dockerignore
  • jest-preview.config.ts
  • .eslintignore
  • .github/workflows/auto-label.json5
  • CODEOWNERS
  • docs/docs/tutorial-basics/category.json
  • config/babel.config.cjs
  • public/locales/fr/common.json
  • .github/dependabot.yaml
  • docs/src/components/HomepageFeatures/styles.module.css
  • .prettierignore
  • .lintstagedrc.json
  • index.html
  • public/locales/fr/translation.json
  • public/locales/en/translation.json
  • .prettierrc
  • docs/.gitignore
  • public/locales/zh/translation.json
  • docs/src/pages/index.module.css
  • .env.example
  • public/locales/sp/common.json
  • public/locales/en/common.json
🧰 Additional context used
🪛 LanguageTool
docs/docs/intro.md

[style] ~43-~43: Consider a shorter alternative to avoid wordiness.
Context: ...nges the directory you're working with. In order to work with your newly created Docusaurus...

(IN_ORDER_TO_PREMIUM)

CODE_OF_CONDUCT.md

[duplication] ~11-~11: Possible typo: you repeated a word.
Context: ...-responsibilities) - Scope - Enforcement - Enforcement Guidelines ...

(ENGLISH_WORD_REPEAT_RULE)

docs/docs/tutorial-basics/markdown-features.mdx

[style] ~98-~98: Consider using a more formal and expressive alternative to ‘awesome’.
Context: ...erous ::: ``` :::tip My tip Use this awesome feature option ::: :::danger Take car...

(AWESOME)

docs/docs/tutorial-basics/deploy-your-site.md

[style] ~31-~31: As an alternative to the over-used intensifier ‘very’, consider replacing this phrase.
Context: ...most anywhere** easily, for free or very small cost (read the **[Deployment Guide](htt...

(EN_WEAK_ADJECTIVE)

docs/docs/tutorial-basics/congratulations.md

[style] ~7-~7: Consider rephrasing this to strengthen your wording.
Context: ...earned the basics of Docusaurus and made some changes to the initial template. Docusauru...

(MAKE_CHANGES)


[style] ~13-~13: Using many exclamation marks might seem excessive (in this case: 3 exclamation marks for a text that’s 654 characters long)
Context: ...gy** in this tutorial? [Please report it!](https://github.com/facebook/docusaurus...

(EN_EXCESSIVE_EXCLAMATION)

DOCUMENTATION.md

[grammar] ~25-~25: The modal verb ‘should’ requires the verb’s base form.
Context: ...f docs.talawa.io should automatically launched in your browser at http://localhost:300...

(MD_BASEFORM)


[grammar] ~26-~26: Did you mean the formatting language “Markdown” (= proper noun)?
Context: ...ttp://localhost:3000/ 1. Add/modify the markdown documents to the docs/ directory of t...

(MARKDOWN_NNP)

.github/workflows/README.md

[uncategorized] ~13-~13: Possible missing comma found.
Context: ...ding on the type of workflow. Whenever possible you must ensure that: 1. The file roles...

(AI_HYDRA_LEO_MISSING_COMMA)


[duplication] ~24-~24: Possible typo: you repeated a word.
Context: ...ors: 1. Place all actions related to to this in the pull-request-target.yml f...

(ENGLISH_WORD_REPEAT_RULE)


[uncategorized] ~35-~35: The abbreviation “e.g.” (= for example) requires two periods.
Context: ...orrectly if they have a dedicated file (eg. CodeQL) ## Scripts Follow these gui...

(E_G)

INSTALLATION.md

[uncategorized] ~3-~3: Possible missing comma found.
Context: ...tructions are written to be followed in sequence so make sure to go through each of them...

(AI_HYDRA_LEO_MISSING_COMMA)


[typographical] ~39-~39: It appears that a comma is missing.
Context: ... that follow. # Prerequisites In this section we'll explain how to set up all the pre...

(DURING_THAT_TIME_COMMA)


[uncategorized] ~45-~45: If this is a compound adjective that modifies the following noun, use a hyphen.
Context: .... Basic git knowledge is required for open source contribution so make sure you're comfor...

(EN_COMPOUND_ADJECTIVE_INTERNAL)


[grammar] ~51-~51: The word “setup” is a noun. The verb is spelled with a space.
Context: ...avigate to the folder where you want to setup the repository. 2. Open a cmd (Window...

(NOUN_VERB_CONFUSION)


[grammar] ~52-~52: The operating system from Apple is written “macOS”.
Context: ...cmd (Windows) or terminal (Linux or MacOS) session in this folder. 1. An easy ...

(MAC_OS)


[uncategorized] ~54-~54: If this is a compound adjective that modifies the following noun, use a hyphen.
Context: ...e option based on your OS. 3. For Our Open Source Contributor Software Developers: ...

(EN_COMPOUND_ADJECTIVE_INTERNAL)


[grammar] ~86-~86: The operating system from Apple is written “macOS”.
Context: ...node.jspackages in Windows, Linux and MacOS. 1. For Windows: 1. first install...

(MAC_OS)


[duplication] ~100-~100: Possible typo: you repeated a word.
Context: ... 5. Save the document. 6. Exit notepad 7. Exit PowerShell 8. This will ensure...

(ENGLISH_WORD_REPEAT_RULE)


[grammar] ~103-~103: The operating system from Apple is written “macOS”.
Context: ...t version of node.js 2. For Linux and MacOS, use the terminal window. 1. install...

(MAC_OS)


[grammar] ~107-~107: The word “setup” is a noun. The verb is spelled with a white space.
Context: ... the respective recommended commands to setup your node environment 3. This wil...

(NOUN_VERB_CONFUSION)


[uncategorized] ~114-~114: Possible missing comma found.
Context: ...stall TypeScript, you can use the npm command which comes with node.js: ```bash np...

(AI_HYDRA_LEO_MISSING_COMMA)

docs/README.md

[uncategorized] ~34-~34: Possible missing comma found.
Context: ...ckage installation, use only the yarn package as npm will throw an error. Only `npm...

(AI_HYDRA_LEO_MISSING_COMMA)


[uncategorized] ~34-~34: Possible missing article found.
Context: ...package asnpmwill throw an error. Onlynpm` use case here would be to install...

(AI_HYDRA_LEO_MISSING_THE)


[grammar] ~46-~46: Possible subject-verb agreement error.
Context: ...v) is required. Other requirements that pertains to the installation of docusaurus can b...

(NNS_THAT_AGREEMENT)


[style] ~59-~59: Try using a synonym here to strengthen your writing.
Context: ...the path, double-click to install. Then give access to run the application 1. Instal...

(GIVE_PROVIDE)


[style] ~77-~77: Try using a synonym here to strengthen your writing.
Context: ...the path, double-click to install. Then give access to run the application 1. Check...

(GIVE_PROVIDE)


[grammar] ~112-~112: The expression “One of the” requires a plural noun.
Context: ...acOS Using Homebrew One of the easiest way to install Yarn on macOS is to use the ...

(ONE_OF_THE_MOST)


[uncategorized] ~124-~124: Possible missing comma found.
Context: ...nd in your terminal to install Node and NPM respectively. [Confirm your Linux distr...

(AI_HYDRA_LEO_MISSING_COMMA)


[grammar] ~124-~124: Did you mean to use the possessive pronoun “its”?
Context: ...ctively. [Confirm your Linux distro and it's command prompt](https://classic.yarnpkg...

(IT_S_ITS)


[uncategorized] ~152-~152: Use a comma before ‘and’ if it connects two independent clauses (unless they are closely connected and short).
Context: ...ment server that will serve your website and it will reflect the latest changes. Th...

(COMMA_COMPOUND_SENTENCE)


[formatting] ~168-~168: Insert a comma after ‘cases’: “In most cases,”?
Context: ...erver. # Building Static HTML Pages In most cases is unnecessary. Running the `developm...

(IN_MOST_CASES_COMMA)

CONTRIBUTING.md

[style] ~27-~27: This expression usually appears with a “please” in front of it.
Context: ...DUCT.md) to understand what this means. Let us know immediately if you have unacceptable ex...

(INSERT_PLEASE)


[uncategorized] ~34-~34: If this is a compound adjective that modifies the following noun, use a hyphen.
Context: ...)" videos are extremely helpful for new open source contributors. ## Ways to Contribute I...

(EN_COMPOUND_ADJECTIVE_INTERNAL)


[grammar] ~62-~62: A determiner may be missing.
Context: ...l Request guidelines](PR_GUIDELINES.md) is best resource to follow to start working on ...

(THE_SUPERLATIVE)


[uncategorized] ~68-~68: Loose punctuation mark.
Context: ...ushed to the main branch: - develop: For unstable code and bug fixing - `mai...

(UNLIKELY_OPENING_PUNCTUATION)


[uncategorized] ~69-~69: If this is a compound adjective that modifies the following noun, use a hyphen.
Context: ...d bug fixing - main: Where the stable production ready code lies. This is our default branch. ...

(EN_COMPOUND_ADJECTIVE_INTERNAL)


[typographical] ~73-~73: Consider adding a comma.
Context: ...ultiple developers are working on issues there is bound to be a conflict of interest (...

(IF_THERE_COMMA)


[typographical] ~73-~73: Consider adding a comma after ‘Usually’ for more clarity.
Context: ...licts) among issues, PRs or even ideas. Usually these conflicts are resolved in a **Fir...

(RB_LY_COMMA)


[grammar] ~73-~73: Did you mean “served” (as in the idiom ‘first come, first served’)?
Context: ...ts are resolved in a First Come First Serve basis however there are certain excep...

(FIRST_SERVED)


[grammar] ~75-~75: Did you mean the communication tool “Slack” (= proper noun, capitalized)?
Context: ...tant to ask the author of the PR in the slack channel or in their PRs or issues thems...

(ON_SKYPE)


[style] ~77-~77: ‘Last but not the least’ might be wordy. Consider a shorter alternative.
Context: ...y and test that function when needed. - Last but not the least, communication is important make sure t...

(EN_WORDINESS_PREMIUM_LAST_BUT_NOT_THE_LEAST)


[grammar] ~77-~77: It seems that “to” is missing before the verb.
Context: ...t the least, communication is important make sure to talk to other contributors, in ...

(MISSING_TO_BETWEEN_BE_AND_VB)


[grammar] ~77-~77: Did you mean the communication tool “Slack” (= proper noun, capitalized)?
Context: ... other contributors, in these cases, in slack channel or in a issue/PR thread. - As a...

(ON_SKYPE)


[misspelling] ~77-~77: Use “an” instead of ‘a’ if the following word starts with a vowel sound, e.g. ‘an article’, ‘an hour’.
Context: ... in these cases, in slack channel or in a issue/PR thread. - As a last resort the...

(EN_A_VS_AN)


[typographical] ~78-~78: It appears that a comma is missing.
Context: ...el or in a issue/PR thread. - As a last resort the Admins would be responsible for dec...

(DURING_THAT_TIME_COMMA)


[grammar] ~135-~135: The operating system from Apple is written “macOS”.
Context: ...r packages can be found for Windows and MacOS. 6. The currently acceptable c...

(MAC_OS)


[grammar] ~165-~165: The past participle is required after “must be”.
Context: ...branch_name>`.(Here branch name must be name of the branch you want to push the chan...

(BE_VBP_IN)


[grammar] ~178-~178: Did you mean the communication tool “Slack” (= proper noun, capitalized)?
Context: ...dation/talawa) for the link to join our slack channel. 1. We also have a technical em...

(ON_SKYPE)

PR_GUIDELINES.md

[uncategorized] ~2-~2: Loose punctuation mark.
Context: # Pull Request Guidelines 👍🎉 First off, thanks for taking t...

(UNLIKELY_OPENING_PUNCTUATION)


[style] ~4-~4: Consider a shorter alternative to avoid wordiness.
Context: ...ing the time to contribute! 🎉👍 In order to give everyone a chance to submit a pull...

(IN_ORDER_TO_PREMIUM)


[style] ~46-~46: Style-wise, it’s not ideal to insert an adverb (‘manually’) in the middle of an infinitive construction (‘to test’). Try moving the adverb to avoid split infinitives.
Context: ..., you'll need to tell us what steps you followed to manually test your changes. 1. Please read our [CONTRIBUTING.md](C...

(SPLIT_INFINITIVE)


[style] ~56-~56: As an alternative to the over-used intensifier ‘very’, consider replacing this phrase.
Context: ...o be closed. The quality of our code is very important to us. Therefore we make experienced ma...

(EN_WEAK_ADJECTIVE)


[uncategorized] ~56-~56: A comma may be missing after the conjunctive/linking adverb ‘Therefore’.
Context: ...ty of our code is very important to us. Therefore we make experienced maintainers of our ...

(SENT_START_CONJUNCTIVE_LINKING_ADVERB_COMMA)


[style] ~59-~59: Consider using a different verb for a more formal wording.
Context: ...check if all tests are passing; if not, fix the issues and then create a pull reque...

(FIX_RESOLVE)


[style] ~64-~64: This expression is wordy and overused. Consider replacing it with a more concise and formal alternative.
Context: ...wer your questions, but we'll get to it sooner or later. @mentioning someone just adds to the p...

(SOONER_OR_LATER)


[uncategorized] ~64-~64: Use a comma before ‘and’ if it connects two independent clauses (unless they are closely connected and short).
Context: ...adds to the pile of notifications we get and it won't make us look at your issue fas...

(COMMA_COMPOUND_SENTENCE)


[style] ~65-~65: Consider shortening or rephrasing this to strengthen your wording.
Context: ...ue faster. 1. Do not force push. If you make changes to your pull request, please simply add a ...

(MAKE_CHANGES)

README.md

[uncategorized] ~56-~56: If this is a compound adjective that modifies the following noun, use a hyphen.
Context: ...)" videos are extremely helpful for new open source contributors.

(EN_COMPOUND_ADJECTIVE_INTERNAL)

ISSUE_GUIDELINES.md

[uncategorized] ~2-~2: Loose punctuation mark.
Context: # Issue Report Guidelines 👍🎉 First off, thanks for taking t...

(UNLIKELY_OPENING_PUNCTUATION)


[style] ~4-~4: Consider a shorter alternative to avoid wordiness.
Context: ...ing the time to contribute! 🎉👍 In order to give everyone a chance to submit a issu...

(IN_ORDER_TO_PREMIUM)


[misspelling] ~5-~5: Use “an” instead of ‘a’ if the following word starts with a vowel sound, e.g. ‘an article’, ‘an hour’.
Context: ...der to give everyone a chance to submit a issues reports and contribute to the Ta...

(EN_A_VS_AN)


[typographical] ~24-~24: Consider adding a comma here.
Context: ...> ___ ## Issue Management In all cases please use the [GitHub open issue search](http...

(PLEASE_COMMA)


[style] ~30-~30: Consider using a different verb for a more formal wording.
Context: .... 1. Verify whether the issue has been fixed by trying to reproduce it using the lat...

(FIX_RESOLVE)


[uncategorized] ~32-~32: Possible missing preposition found.
Context: ...lawa-admin/issues/new/choose) button 1. Use the templates to create a standardized ...

(AI_HYDRA_LEO_MISSING_TO)


[style] ~35-~35: The wording of this phrase can be improved.
Context: ...lcome contributors who find new ways to make the code better. ### Existing Issues You can also be ...

(MAKE_STYLE_BETTER)


[grammar] ~44-~44: Did you mean the communication tool “Slack” (= proper noun, capitalized)?
Context: ...butors to assign it to you in #talawa slack channel. Working on these types of exi...

(ON_SKYPE)


[grammar] ~53-~53: Did you mean the communication tool “Slack” (= proper noun, capitalized)?
Context: ...ew Issues 1. Join our #talawa-github slack channel for automatic issue and pull re...

(ON_SKYPE)


[grammar] ~57-~57: Did you mean the communication tool “Slack” (= proper noun, capitalized)?
Context: ...lines 1. Discuss issues in our various slack channels when necessary 2. Please do no...

(ON_SKYPE)


[typographical] ~57-~57: Consider adding a comma here.
Context: ...ur various slack channels when necessary 2. Please do not derail or troll issues. 3. Keep...

(PLEASE_COMMA)

CODE_STYLE.md

[style] ~127-~127: Consider removing “of” to be more concise
Context: ...tories of src assets - This houses all of the static assets used in the project - `...

(ALL_OF_THE)


[style] ~128-~128: Consider removing “of” to be more concise
Context: ... in the project - css - This houses all of the css files used in the project - `imag...

(ALL_OF_THE)


[style] ~129-~129: Consider removing “of” to be more concise
Context: ... the project - images - This houses all of the images used in the project - scss -...

(ALL_OF_THE)


[style] ~130-~130: Consider removing “of” to be more concise
Context: ...in the project - scss - This houses all of the scss files used in the project - `c...

(ALL_OF_THE)


[style] ~141-~141: Consider removing “of” to be more concise
Context: ...views/screens Constant - This houses all of the constants used in the project `GraphQl...

(ALL_OF_THE)


[style] ~143-~143: Consider removing “of” to be more concise
Context: ...in the project GraphQl - This houses all of the GraphQL queries and mutations used in t...

(ALL_OF_THE)


[style] ~145-~145: Consider removing “of” to be more concise
Context: ...in the project screens - This houses all of the views/screens to be navigated through i...

(ALL_OF_THE)


[style] ~147-~147: Consider removing “of” to be more concise
Context: ... in Talawa-Admin state - This houses all of the state management code for the project ...

(ALL_OF_THE)


[uncategorized] ~165-~165: If this is a compound adjective that modifies the following noun, use a hyphen.
Context: ...following order: - React imports - Third party imports - Local imports If there is...

(EN_COMPOUND_ADJECTIVE_INTERNAL)

docs/docs/tutorial-extras/manage-docs-versions.md

[duplication] ~54-~54: Possible typo: you repeated a word.
Context: ...- versioned_docs/version-1.0/hello.md updates http://localhost:3000/docs/hello - docs/hello.md updates http://localhost:3000/docs/next/hello...

(ENGLISH_WORD_REPEAT_RULE)

docs/src/pages/markdown-page.md

[grammar] ~7-~7: Did you mean “to React”?
Context: ...# Markdown page example You don't need React to write simple standalone pages.

(NEEDNT_TO_DO_AND_DONT_NEED_DO)

🪛 markdownlint-cli2 (0.17.2)
DOCUMENTATION.md

25-25: Bare URL used
null

(MD034, no-bare-urls)

INSTALLATION.md

79-79: Dollar signs used before commands without showing output
null

(MD014, commands-show-output)


89-89: Bare URL used
null

(MD034, no-bare-urls)


126-126: Fenced code blocks should have a language specified
null

(MD040, fenced-code-language)


184-184: Fenced code blocks should have a language specified
null

(MD040, fenced-code-language)


208-208: Bare URL used
null

(MD034, no-bare-urls)


210-210: Fenced code blocks should have a language specified
null

(MD040, fenced-code-language)


216-216: Bare URL used
null

(MD034, no-bare-urls)


218-218: Fenced code blocks should have a language specified
null

(MD040, fenced-code-language)


224-224: Bare URL used
null

(MD034, no-bare-urls)


226-226: Fenced code blocks should have a language specified
null

(MD040, fenced-code-language)


236-236: Fenced code blocks should have a language specified
null

(MD040, fenced-code-language)


244-244: Fenced code blocks should have a language specified
null

(MD040, fenced-code-language)


252-252: Fenced code blocks should have a language specified
null

(MD040, fenced-code-language)


274-274: Fenced code blocks should have a language specified
null

(MD040, fenced-code-language)


292-292: Fenced code blocks should have a language specified
null

(MD040, fenced-code-language)


300-300: Bare URL used
null

(MD034, no-bare-urls)


302-302: Fenced code blocks should have a language specified
null

(MD040, fenced-code-language)


308-308: Bare URL used
null

(MD034, no-bare-urls)


310-310: Fenced code blocks should have a language specified
null

(MD040, fenced-code-language)


334-334: Fenced code blocks should have a language specified
null

(MD040, fenced-code-language)


345-345: Fenced code blocks should have a language specified
null

(MD040, fenced-code-language)


359-359: Fenced code blocks should have a language specified
null

(MD040, fenced-code-language)

docs/README.md

13-13: Link fragments should be valid
null

(MD051, link-fragments)


16-16: Link fragments should be valid
null

(MD051, link-fragments)


41-41: Dollar signs used before commands without showing output
null

(MD014, commands-show-output)


49-49: Dollar signs used before commands without showing output
null

(MD014, commands-show-output)


50-50: Dollar signs used before commands without showing output
null

(MD014, commands-show-output)


51-51: Dollar signs used before commands without showing output
null

(MD014, commands-show-output)


63-63: Dollar signs used before commands without showing output
null

(MD014, commands-show-output)


69-69: Dollar signs used before commands without showing output
null

(MD014, commands-show-output)


82-82: Dollar signs used before commands without showing output
null

(MD014, commands-show-output)


94-94: Dollar signs used before commands without showing output
null

(MD014, commands-show-output)


95-95: Dollar signs used before commands without showing output
null

(MD014, commands-show-output)


101-101: Dollar signs used before commands without showing output
null

(MD014, commands-show-output)


107-107: Dollar signs used before commands without showing output
null

(MD014, commands-show-output)


117-117: Dollar signs used before commands without showing output
null

(MD014, commands-show-output)


127-127: Dollar signs used before commands without showing output
null

(MD014, commands-show-output)


128-128: Dollar signs used before commands without showing output
null

(MD014, commands-show-output)


134-134: Dollar signs used before commands without showing output
null

(MD014, commands-show-output)


135-135: Dollar signs used before commands without showing output
null

(MD014, commands-show-output)


147-147: Dollar signs used before commands without showing output
null

(MD014, commands-show-output)


162-162: Bare URL used
null

(MD034, no-bare-urls)


173-173: Dollar signs used before commands without showing output
null

(MD014, commands-show-output)

CONTRIBUTING.md

104-104: Fenced code blocks should have a language specified
null

(MD040, fenced-code-language)


113-113: Fenced code blocks should have a language specified
null

(MD040, fenced-code-language)


128-128: Fenced code blocks should have a language specified
null

(MD040, fenced-code-language)


139-139: Fenced code blocks should have a language specified
null

(MD040, fenced-code-language)


143-143: Fenced code blocks should have a language specified
null

(MD040, fenced-code-language)


158-158: No empty links
null

(MD042, no-empty-links)


159-159: No empty links
null

(MD042, no-empty-links)


161-161: No empty links
null

(MD042, no-empty-links)

CODE_STYLE.md

57-57: Emphasis used instead of a heading
null

(MD036, no-emphasis-as-heading)


58-58: Fenced code blocks should have a language specified
null

(MD040, fenced-code-language)


65-65: Fenced code blocks should have a language specified
null

(MD040, fenced-code-language)


73-73: Emphasis used instead of a heading
null

(MD036, no-emphasis-as-heading)


75-75: Emphasis used instead of a heading
null

(MD036, no-emphasis-as-heading)


78-78: Fenced code blocks should have a language specified
null

(MD040, fenced-code-language)


92-92: Emphasis used instead of a heading
null

(MD036, no-emphasis-as-heading)


95-95: Fenced code blocks should have a language specified
null

(MD040, fenced-code-language)


128-128: Unordered list indentation
Expected: 0; Actual: 2

(MD007, ul-indent)


129-129: Unordered list indentation
Expected: 0; Actual: 2

(MD007, ul-indent)


130-130: Unordered list indentation
Expected: 0; Actual: 2

(MD007, ul-indent)


131-131: Unordered list indentation
Expected: 2; Actual: 4

(MD007, ul-indent)


132-132: Unordered list indentation
Expected: 2; Actual: 4

(MD007, ul-indent)


133-133: Unordered list indentation
Expected: 2; Actual: 4

(MD007, ul-indent)


134-134: Unordered list indentation
Expected: 2; Actual: 4

(MD007, ul-indent)


135-135: Unordered list indentation
Expected: 2; Actual: 4

(MD007, ul-indent)


136-136: Unordered list indentation
Expected: 2; Actual: 4

(MD007, ul-indent)


137-137: Unordered list indentation
Expected: 2; Actual: 4

(MD007, ul-indent)


158-158: Fenced code blocks should have a language specified
null

(MD040, fenced-code-language)


164-164: Unordered list indentation
Expected: 0; Actual: 2

(MD007, ul-indent)


165-165: Unordered list indentation
Expected: 0; Actual: 2

(MD007, ul-indent)


166-166: Unordered list indentation
Expected: 0; Actual: 2

(MD007, ul-indent)


173-173: Fenced code blocks should have a language specified
null

(MD040, fenced-code-language)


181-181: Fenced code blocks should have a language specified
null

(MD040, fenced-code-language)


190-190: Emphasis used instead of a heading
null

(MD036, no-emphasis-as-heading)


230-230: Emphasis used instead of a heading
null

(MD036, no-emphasis-as-heading)


239-239: Fenced code blocks should have a language specified
null

(MD040, fenced-code-language)


245-245: Fenced code blocks should have a language specified
null

(MD040, fenced-code-language)


251-251: Fenced code blocks should have a language specified
null

(MD040, fenced-code-language)

🪛 YAMLlint (1.35.1)
.github/workflows/pull-request-target.yml

[error] 6-6: trailing spaces

(trailing-spaces)


[error] 13-13: trailing spaces

(trailing-spaces)


[error] 15-15: trailing spaces

(trailing-spaces)


[error] 27-27: trailing spaces

(trailing-spaces)


[error] 28-28: trailing spaces

(trailing-spaces)


[error] 29-29: trailing spaces

(trailing-spaces)


[error] 33-33: trailing spaces

(trailing-spaces)


[error] 35-35: trailing spaces

(trailing-spaces)


[error] 40-40: trailing spaces

(trailing-spaces)


[error] 45-45: trailing spaces

(trailing-spaces)


[error] 70-70: trailing spaces

(trailing-spaces)

.github/workflows/merge-conflict-check.yml

[error] 46-46: trailing spaces

(trailing-spaces)

.github/workflows/codeql-codescan.yml

[error] 6-6: trailing spaces

(trailing-spaces)


[error] 17-17: trailing spaces

(trailing-spaces)


[error] 20-20: trailing spaces

(trailing-spaces)


[warning] 31-31: wrong indentation: expected 6 but found 7

(indentation)


[warning] 37-37: wrong indentation: expected 11 but found 10

(indentation)

.github/workflows/stale.yml

[error] 6-6: trailing spaces

(trailing-spaces)


[error] 20-20: trailing spaces

(trailing-spaces)


[error] 21-21: trailing spaces

(trailing-spaces)


[error] 24-24: trailing spaces

(trailing-spaces)

.github/workflows/push-deploy-website.yml

[error] 6-6: trailing spaces

(trailing-spaces)


[error] 17-17: trailing spaces

(trailing-spaces)


[error] 18-18: trailing spaces

(trailing-spaces)


[error] 21-21: trailing spaces

(trailing-spaces)


[error] 29-29: trailing spaces

(trailing-spaces)


[error] 33-33: trailing spaces

(trailing-spaces)


[error] 57-57: trailing spaces

(trailing-spaces)

.github/workflows/push.yml

[error] 6-6: trailing spaces

(trailing-spaces)


[error] 17-17: trailing spaces

(trailing-spaces)


[error] 18-18: trailing spaces

(trailing-spaces)


[warning] 20-20: wrong indentation: expected 2 but found 4

(indentation)


[error] 21-21: trailing spaces

(trailing-spaces)


[error] 50-50: trailing spaces

(trailing-spaces)

.github/workflows/pull-request.yml

[error] 49-49: trailing spaces

(trailing-spaces)


[error] 60-60: trailing spaces

(trailing-spaces)


[error] 63-63: trailing spaces

(trailing-spaces)


[error] 93-93: trailing spaces

(trailing-spaces)


[error] 107-107: trailing spaces

(trailing-spaces)


[error] 143-143: trailing spaces

(trailing-spaces)


[error] 146-146: trailing spaces

(trailing-spaces)


[error] 152-152: trailing spaces

(trailing-spaces)


[error] 168-168: trailing spaces

(trailing-spaces)


[error] 175-175: trailing spaces

(trailing-spaces)


[error] 222-222: trailing spaces

(trailing-spaces)


[warning] 227-227: too few spaces after comma

(commas)


[error] 239-239: trailing spaces

(trailing-spaces)


[error] 243-243: trailing spaces

(trailing-spaces)


[error] 265-265: trailing spaces

(trailing-spaces)


[error] 266-266: trailing spaces

(trailing-spaces)


[error] 306-306: trailing spaces

(trailing-spaces)


[error] 312-312: trailing spaces

(trailing-spaces)


[error] 314-314: trailing spaces

(trailing-spaces)


[error] 318-318: trailing spaces

(trailing-spaces)


[error] 407-407: trailing spaces

(trailing-spaces)

.github/workflows/issue.yml

[error] 6-6: trailing spaces

(trailing-spaces)


[warning] 15-15: wrong indentation: expected 4 but found 6

(indentation)


[warning] 66-66: too many blank lines

(1 > 0) (empty-lines)

🪛 Ruff (0.8.2)
.github/workflows/scripts/eslint_disable_check.py

76-77: Use a single if statement instead of nested if statements

(SIM102)

.github/workflows/scripts/compare_translations.py

135-135: Within an except clause, raise exceptions with raise ... from err or raise ... from None to distinguish them from errors in exception handling

(B904)

.github/workflows/scripts/code_coverage_disable_check.py

95-105: Use a single if statement instead of nested if statements

(SIM102)


97-105: Use a single if statement instead of nested if statements

(SIM102)

🪛 actionlint (1.7.4)
.github/workflows/pull-request.yml

62-62: shellcheck reported issue in this script: SC2086:info:1:12: Double quote to prevent globbing and word splitting

(shellcheck)


79-79: "github.event.pull_request.head.ref" is potentially untrusted. avoid using it directly in inline scripts. instead, pass it through an environment variable. see https://docs.github.com/en/actions/security-guides/security-hardening-for-github-actions for more details

(expression)


280-280: input "gcov_ignore" is not defined in action "codecov/codecov-action@v4". available inputs are "codecov_yml_path", "commit_parent", "directory", "disable_file_fixes", "disable_safe_directory", "disable_search", "dry_run", "env_vars", "exclude", "fail_ci_if_error", "file", "files", "flags", "git_service", "handle_no_reports_found", "job_code", "name", "network_filter", "network_prefix", "os", "override_branch", "override_build", "override_build_url", "override_commit", "override_pr", "plugin", "plugins", "report_code", "root_dir", "slug", "token", "url", "use_legacy_upload_endpoint", "use_oidc", "verbose", "version", "working-directory"

(action)


445-445: shellcheck reported issue in this script: SC2086:info:1:10: Double quote to prevent globbing and word splitting

(shellcheck)


445-445: shellcheck reported issue in this script: SC2086:info:2:1: Double quote to prevent globbing and word splitting

(shellcheck)

🔇 Additional comments (49)
docs/docs/tutorial-basics/markdown-features.mdx (6)

1-8: LGTM!

The front matter is well-structured, and the introduction provides a clear overview with proper external links.


28-41: LGTM!

The Links section effectively demonstrates both URL paths and relative file paths with clear examples.


42-59: LGTM!

The Images section effectively demonstrates both absolute and relative image paths with clear examples and proper explanations.


60-77: LGTM!

The Code Blocks section effectively demonstrates syntax highlighting with proper examples and rendered output.


108-153: LGTM!

The MDX and React Components section effectively demonstrates component integration with a well-implemented interactive example.


1-153: Verify alignment with PR objectives.

This documentation file appears to be part of a larger documentation update, but the PR objectives specifically mention fixing language switch functionality. Please clarify if this documentation change is related to the language switch fix or if it should be in a separate PR.

🧰 Tools
🪛 LanguageTool

[style] ~98-~98: Consider using a more formal and expressive alternative to ‘awesome’.
Context: ...erous ::: ``` :::tip My tip Use this awesome feature option ::: :::danger Take car...

(AWESOME)

docs/sidebars.ts (5)

1-4: LGTM! Clean type import and clear comment.

The import statement correctly uses TypeScript's type import syntax, and the comment clearly indicates the Node.js runtime context.


5-14: LGTM! Well-documented configuration options.

The JSDoc comments effectively explain the purpose and capabilities of the sidebar configuration.


33-34: LGTM! Clean default export.

The export statement follows TypeScript best practices.


1-34: Verify alignment with PR objectives.

This file introduces Docusaurus sidebar configuration, which seems unrelated to the PR's stated objective of fixing language switching functionality. Please clarify if this documentation update is intentionally included in this PR or if it should be moved to a separate PR focused on documentation improvements.

Likely an incorrect or invalid review comment.


15-31: LGTM! Type-safe configuration with helpful examples.

The sidebar configuration is properly typed with SidebarsConfig and uses the recommended auto-generation approach. The commented example provides valuable guidance for manual configuration.

Let's verify that the docs directory structure exists and is properly organized:

✅ Verification successful

🏁 Script executed:

#!/bin/bash
# Description: Verify docs directory structure for sidebar auto-generation

# Check if docs directory exists and contains markdown files
echo "Checking docs directory structure..."
fd -e md . docs/

# Check if there's an intro/index document (common in Docusaurus)
echo -e "\nChecking for intro document..."
fd -g 'intro.md|index.md' docs/

Length of output: 606


Docs directory structure verified and organized as expected.
The auto-generated sidebar in docs/sidebars.ts references the correct docs directory (evidenced by the presence of markdown files such as docs/docs/intro.md and others). Although the search for an "intro" file using the pattern 'intro.md|index.md' returned no output (likely due to pattern interpretation as a glob rather than a regex), the required documentation files do exist in the expected locations.

.gitignore (4)

13-14: LGTM! Good practice for test artifacts.

Correctly ignores test coverage reports and CodeCov artifacts which should not be version controlled.


21-21: LGTM! Good security practice.

Correctly prevents accidental commit of sensitive environment variables.


31-32: LGTM! Appropriate for debug logs.

Correctly ignores Express debug logs which should not be version controlled.


34-37: LGTM! Standard practice for editor files.

Correctly ignores editor-specific files and configurations that should remain local to each developer's environment.

public/locales/hi/common.json (1)

1-98: LGTM! Comprehensive localization coverage.

The localization files provide good coverage for the UI elements with appropriate translations. The structure is consistent, and placeholders are properly used for dynamic content (except for the noted issues above).

To ensure all required translations are present, run this script to compare keys between language files:

✅ Verification successful

🏁 Script executed:

#!/bin/bash
# Description: Compare keys between language files to ensure consistency

# Function to extract keys from JSON file
extract_keys() {
    python3 -c "
import json
with open('$1') as f:
    data = json.load(f)
print('\n'.join(sorted(data.keys())))
" > /tmp/keys_$2.txt
}

# Extract keys from all language files
for lang in en hi zh sp; do
    if [ -f "public/locales/${lang}/common.json" ]; then
        extract_keys "public/locales/${lang}/common.json" ${lang}
    fi
done

# Compare keys between files
for lang1 in en hi zh sp; do
    for lang2 in en hi zh sp; do
        if [ "$lang1" != "$lang2" ] && [ -f "/tmp/keys_${lang1}.txt" ] && [ -f "/tmp/keys_${lang2}.txt" ]; then
            echo "Comparing ${lang1} with ${lang2}:"
            diff "/tmp/keys_${lang1}.txt" "/tmp/keys_${lang2}.txt" || true
            echo "---"
        fi
    done
done

Length of output: 3979


Localization Keys Are Consistent Across Language Files
The script output shows no differences in the keys between the Hindi file and the other language files (en, zh, sp), confirming that the Hindi localization file has full key coverage and is in sync with its counterparts.

scripts/__mocks__/@dicebear/collection.ts (1)

1-1: LGTM! Mock implementation is correct.

The mock function is properly implemented using jest.fn(). However, this change appears unrelated to the PR's objective of fixing language switching functionality.

Likely an incorrect or invalid review comment.

.husky/post-merge (1)

1-4: LGTM! Post-merge hook is well implemented.

The script correctly:

  1. Uses proper shebang
  2. Sources husky.sh
  3. Efficiently checks for package.json changes and runs npm install when needed

However, this change appears unrelated to the PR's objective of fixing language switching functionality.

Likely an incorrect or invalid review comment.

scripts/__mocks__/@dicebear/core.ts (1)

1-5: LGTM! Mock implementation is correct.

The mock function correctly:

  1. Implements createAvatar using jest.fn()
  2. Returns an object with toDataUri mock
  3. Provides a consistent mock response

However, this change appears unrelated to the PR's objective of fixing language switching functionality.

Likely an incorrect or invalid review comment.

.husky/pre-commit (1)

1-8: Note: Changes unrelated to PR objective.

While the pre-commit hook implementation is generally good, these changes appear unrelated to the PR's objective of fixing language switching functionality.

Likely an incorrect or invalid review comment.

config/vite.config.ts (1)

7-31: LGTM! Well-structured Vite configuration.

The configuration is well-organized and includes all necessary plugins for React development. The use of TypeScript paths, SVG handling, and environment variables demonstrates good practices.

docs/src/pages/index.tsx (1)

10-22: LGTM! Clean and well-structured header component.

The HomepageHeader component follows React best practices with proper hook usage and TypeScript implementation.

scripts/__mocks__/@pdfme/generator.test.ts (1)

21-46: LGTM! Comprehensive error handling tests.

The error handling tests are well-structured and cover important edge cases with proper async/await usage.

.coderabbit.yaml (1)

1-19: LGTM!

The configuration follows the schema correctly and enables essential features for code reviews.

public/manifest.json (1)

16-16: Verify the icon path.

The icon path has been updated to include the "images" directory. Please ensure that the file exists at this location.

✅ Verification successful

🏁 Script executed:

#!/bin/bash
# Description: Verify that the icon file exists at the specified path.

# Test: Check if the file exists
fd -t f "logo512.png" public/images/

Length of output: 62


Icon file path verified.
The file "logo512.png" exists under the "public/images" directory as expected. No changes are required.

public/locales/zh/errors.json (1)

1-16: LGTM!

The error messages are properly formatted and use consistent placeholders for dynamic content.

.github/ISSUE_TEMPLATE/feature-request.md (1)

2-7: LGTM!

The changes improve consistency with other templates and add helpful information for internship candidates.

Also applies to: 25-28

docs/docs/tutorial-basics/create-a-blog-post.md (1)

1-35: LGTM! Well-structured tutorial with clear examples.

The tutorial provides comprehensive guidance for creating blog posts with proper metadata and formatting.

docs/docs/tutorial-basics/create-a-page.md (1)

1-44: LGTM! Clear and comprehensive tutorial.

The tutorial effectively explains page creation with both React and Markdown, providing clear examples and proper file structure guidance.

docs/docs/tutorial-basics/create-a-document.md (1)

1-58: LGTM! Well-structured document creation guide.

The tutorial provides comprehensive guidance for creating and configuring documents, including sidebar customization and metadata usage.

docs/docs/tutorial-extras/manage-docs-versions.md (1)

1-56: Documentation looks good!

The documentation is well-structured and provides clear instructions for managing documentation versions in Docusaurus.

🧰 Tools
🪛 LanguageTool

[duplication] ~54-~54: Possible typo: you repeated a word.
Context: ...- versioned_docs/version-1.0/hello.md updates http://localhost:3000/docs/hello - docs/hello.md updates http://localhost:3000/docs/next/hello...

(ENGLISH_WORD_REPEAT_RULE)

docs/docs/intro.md (1)

1-48: Documentation looks good!

The tutorial introduction is clear, concise, and provides all necessary information for getting started with Docusaurus.

🧰 Tools
🪛 LanguageTool

[style] ~43-~43: Consider a shorter alternative to avoid wordiness.
Context: ...nges the directory you're working with. In order to work with your newly created Docusaurus...

(IN_ORDER_TO_PREMIUM)

docs/docs/tutorial-extras/translate-your-site.md (1)

1-89: Well-structured translation tutorial!

The tutorial provides clear, step-by-step instructions for site translation with appropriate code examples and cautions.

.github/workflows/stale.yml (1)

29-42: Well-configured stale issue management!

The configuration provides reasonable timeframes and clear messages for managing stale issues and PRs. The exemption for WIP items and milestone-tagged items is a good practice.

.github/workflows/merge-conflict-check.yml (1)

24-65: Excellent implementation of merge conflict detection!

The implementation includes:

  • Proper error handling with retries
  • Rate limit handling
  • Clear status messages
  • Appropriate exit codes
🧰 Tools
🪛 YAMLlint (1.35.1)

[error] 46-46: trailing spaces

(trailing-spaces)

.github/workflows/push.yml (1)

42-49: LGTM! Well-configured caching strategy.

The cache configuration is well-structured with:

  • Appropriate cache key based on package-lock.json
  • Fallback restore-keys for partial matches
  • Proper path configuration for npm cache
.github/pull_request_template.md (1)

47-56: LGTM! Well-structured checklist for quality assurance.

The checklist effectively covers:

  • CodeRabbit AI review requirements
  • Test coverage expectations
  • Local test verification
.eslintrc.json (1)

1-157: LGTM! Comprehensive ESLint configuration.

The updated ESLint configuration provides excellent TypeScript support with strict type checking and naming conventions. The addition of Prettier and import plugins will help maintain consistent code style.

CODE_OF_CONDUCT.md (1)

3-19: Well-structured table of contents addition!

The addition of a table of contents with proper HTML comments and section links improves document navigation.

🧰 Tools
🪛 LanguageTool

[duplication] ~11-~11: Possible typo: you repeated a word.
Context: ...-responsibilities) - Scope - Enforcement - Enforcement Guidelines ...

(ENGLISH_WORD_REPEAT_RULE)

package.json (2)

2-3: Verify the major version upgrade.

The version jump from 0.1.0 to 3.0.0 is significant. Please ensure this aligns with semantic versioning principles and that all breaking changes are documented.


170-172: Consider Node.js version requirement impact.

Requiring Node.js >=20.x might be too restrictive for some users. Consider if supporting Node.js 18.x LTS is feasible.

✅ Verification successful

🌐 Web query:

What is the current LTS version of Node.js and its end-of-life date?

💡 Result:

The current Long-Term Support (LTS) version of Node.js is v22.x, which entered Active LTS status on October 29, 2024[4][6]. Its end-of-life (EOL) date is April 30, 2027[1][5].

Key Details:

  • Active LTS Phase: Runs until October 2025[4][6]
  • Maintenance LTS Phase: Extends from October 2025 until final EOL in April 2027[1][4]
  • Support Timeline:
    • Security updates guaranteed through April 2027
    • Critical bug fixes until Maintenance phase ends[4][7]

Context for Other Versions:

  • Node.js v20.x (previous LTS) entered Maintenance LTS on September 11, 2023[1], with EOL scheduled for April 30, 2026[1][5]
  • Node.js v18.x reaches EOL on April 30, 2025[1][10], aligning with Azure SDK's deprecation plans[10]

Production environments should prioritize v22.x for extended support and security coverage through April 2027[1][4][7].

Citations:


Node.js Engine Requirement is Appropriate

Based on the latest Node.js LTS timeline:

  • Node.js v18.x reaches end-of-life on April 30, 2025.
  • Node.js v20.x remains supported until April 30, 2026, and the current active LTS is v22.x.

Requiring Node.js ">=20.x" ensures users run a version with extended support and better security, making it reasonable not to support v18.x.

docs/README.md (1)

1-8: Excellent documentation structure!

The introduction and installation overview are clear and well-organized.

CODE_STYLE.md (1)

1-8: Comprehensive code style guide!

The introduction clearly states the purpose and importance of following the code style.

docs/src/css/custom.css (1)

8-47: Well-organized CSS variables!

The root variables are clearly defined and follow a consistent naming pattern.

CONTRIBUTING.md (1)

1-180: LGTM! Well-structured contribution guidelines.

The document provides comprehensive guidance for contributors, including clear sections on code of conduct, getting started resources, and contribution processes.

🧰 Tools
🪛 LanguageTool

[uncategorized] ~5-~5: If this is a compound adjective that modifies the following noun, use a hyphen.
Context: ...ibuting to open source, please read the Open Source Guides on [How to Contribute to Open So...

(EN_COMPOUND_ADJECTIVE_INTERNAL)


[style] ~27-~27: This expression usually appears with a “please” in front of it.
Context: ...DUCT.md) to understand what this means. Let us know immediately if you have unacceptable ex...

(INSERT_PLEASE)


[uncategorized] ~34-~34: If this is a compound adjective that modifies the following noun, use a hyphen.
Context: ...)" videos are extremely helpful for new open source contributors. ## Ways to Contribute I...

(EN_COMPOUND_ADJECTIVE_INTERNAL)


[grammar] ~62-~62: A determiner may be missing.
Context: ...l Request guidelines](PR_GUIDELINES.md) is best resource to follow to start working on ...

(THE_SUPERLATIVE)


[uncategorized] ~68-~68: Loose punctuation mark.
Context: ...ushed to the main branch: - develop: For unstable code and bug fixing - `mai...

(UNLIKELY_OPENING_PUNCTUATION)


[uncategorized] ~69-~69: If this is a compound adjective that modifies the following noun, use a hyphen.
Context: ...d bug fixing - main: Where the stable production ready code lies. This is our default branch. ...

(EN_COMPOUND_ADJECTIVE_INTERNAL)


[typographical] ~73-~73: Consider adding a comma.
Context: ...ultiple developers are working on issues there is bound to be a conflict of interest (...

(IF_THERE_COMMA)


[typographical] ~73-~73: Consider adding a comma after ‘Usually’ for more clarity.
Context: ...licts) among issues, PRs or even ideas. Usually these conflicts are resolved in a **Fir...

(RB_LY_COMMA)


[grammar] ~73-~73: Did you mean “served” (as in the idiom ‘first come, first served’)?
Context: ...ts are resolved in a First Come First Serve basis however there are certain excep...

(FIRST_SERVED)


[grammar] ~75-~75: Did you mean the communication tool “Slack” (= proper noun, capitalized)?
Context: ...tant to ask the author of the PR in the slack channel or in their PRs or issues thems...

(ON_SKYPE)


[style] ~77-~77: ‘Last but not the least’ might be wordy. Consider a shorter alternative.
Context: ...y and test that function when needed. - Last but not the least, communication is important make sure t...

(EN_WORDINESS_PREMIUM_LAST_BUT_NOT_THE_LEAST)


[grammar] ~77-~77: It seems that “to” is missing before the verb.
Context: ...t the least, communication is important make sure to talk to other contributors, in ...

(MISSING_TO_BETWEEN_BE_AND_VB)


[grammar] ~77-~77: Did you mean the communication tool “Slack” (= proper noun, capitalized)?
Context: ... other contributors, in these cases, in slack channel or in a issue/PR thread. - As a...

(ON_SKYPE)


[misspelling] ~77-~77: Use “an” instead of ‘a’ if the following word starts with a vowel sound, e.g. ‘an article’, ‘an hour’.
Context: ... in these cases, in slack channel or in a issue/PR thread. - As a last resort the...

(EN_A_VS_AN)


[typographical] ~78-~78: It appears that a comma is missing.
Context: ...el or in a issue/PR thread. - As a last resort the Admins would be responsible for dec...

(DURING_THAT_TIME_COMMA)


[grammar] ~135-~135: The operating system from Apple is written “macOS”.
Context: ...r packages can be found for Windows and MacOS. 6. The currently acceptable c...

(MAC_OS)


[grammar] ~165-~165: The past participle is required after “must be”.
Context: ...branch_name>`.(Here branch name must be name of the branch you want to push the chan...

(BE_VBP_IN)


[grammar] ~178-~178: Did you mean the communication tool “Slack” (= proper noun, capitalized)?
Context: ...dation/talawa) for the link to join our slack channel. 1. We also have a technical em...

(ON_SKYPE)

🪛 markdownlint-cli2 (0.17.2)

104-104: Fenced code blocks should have a language specified
null

(MD040, fenced-code-language)


113-113: Fenced code blocks should have a language specified
null

(MD040, fenced-code-language)


128-128: Fenced code blocks should have a language specified
null

(MD040, fenced-code-language)


139-139: Fenced code blocks should have a language specified
null

(MD040, fenced-code-language)


143-143: Fenced code blocks should have a language specified
null

(MD040, fenced-code-language)


158-158: No empty links
null

(MD042, no-empty-links)


159-159: No empty links
null

(MD042, no-empty-links)


161-161: No empty links
null

(MD042, no-empty-links)

INSTALLATION.md (1)

1-383: LGTM! Comprehensive installation guide.

The document provides clear, step-by-step instructions for setting up the project, including both development and Docker-based installations. The guide is well-structured with detailed sections for prerequisites, configuration, and testing.

🧰 Tools
🪛 LanguageTool

[uncategorized] ~3-~3: Possible missing comma found.
Context: ...tructions are written to be followed in sequence so make sure to go through each of them...

(AI_HYDRA_LEO_MISSING_COMMA)


[typographical] ~39-~39: It appears that a comma is missing.
Context: ... that follow. # Prerequisites In this section we'll explain how to set up all the pre...

(DURING_THAT_TIME_COMMA)


[uncategorized] ~45-~45: If this is a compound adjective that modifies the following noun, use a hyphen.
Context: .... Basic git knowledge is required for open source contribution so make sure you're comfor...

(EN_COMPOUND_ADJECTIVE_INTERNAL)


[grammar] ~51-~51: The word “setup” is a noun. The verb is spelled with a space.
Context: ...avigate to the folder where you want to setup the repository. 2. Open a cmd (Window...

(NOUN_VERB_CONFUSION)


[grammar] ~52-~52: The operating system from Apple is written “macOS”.
Context: ...cmd (Windows) or terminal (Linux or MacOS) session in this folder. 1. An easy ...

(MAC_OS)


[uncategorized] ~54-~54: If this is a compound adjective that modifies the following noun, use a hyphen.
Context: ...e option based on your OS. 3. For Our Open Source Contributor Software Developers: ...

(EN_COMPOUND_ADJECTIVE_INTERNAL)


[grammar] ~86-~86: The operating system from Apple is written “macOS”.
Context: ...node.jspackages in Windows, Linux and MacOS. 1. For Windows: 1. first install...

(MAC_OS)


[duplication] ~100-~100: Possible typo: you repeated a word.
Context: ... 5. Save the document. 6. Exit notepad 7. Exit PowerShell 8. This will ensure...

(ENGLISH_WORD_REPEAT_RULE)


[grammar] ~103-~103: The operating system from Apple is written “macOS”.
Context: ...t version of node.js 2. For Linux and MacOS, use the terminal window. 1. install...

(MAC_OS)


[grammar] ~107-~107: The word “setup” is a noun. The verb is spelled with a white space.
Context: ... the respective recommended commands to setup your node environment 3. This wil...

(NOUN_VERB_CONFUSION)


[uncategorized] ~114-~114: Possible missing comma found.
Context: ...stall TypeScript, you can use the npm command which comes with node.js: ```bash np...

(AI_HYDRA_LEO_MISSING_COMMA)

🪛 markdownlint-cli2 (0.17.2)

79-79: Dollar signs used before commands without showing output
null

(MD014, commands-show-output)


89-89: Bare URL used
null

(MD034, no-bare-urls)


126-126: Fenced code blocks should have a language specified
null

(MD040, fenced-code-language)


184-184: Fenced code blocks should have a language specified
null

(MD040, fenced-code-language)


208-208: Bare URL used
null

(MD034, no-bare-urls)


210-210: Fenced code blocks should have a language specified
null

(MD040, fenced-code-language)


216-216: Bare URL used
null

(MD034, no-bare-urls)


218-218: Fenced code blocks should have a language specified
null

(MD040, fenced-code-language)


224-224: Bare URL used
null

(MD034, no-bare-urls)


226-226: Fenced code blocks should have a language specified
null

(MD040, fenced-code-language)


236-236: Fenced code blocks should have a language specified
null

(MD040, fenced-code-language)


244-244: Fenced code blocks should have a language specified
null

(MD040, fenced-code-language)


252-252: Fenced code blocks should have a language specified
null

(MD040, fenced-code-language)


274-274: Fenced code blocks should have a language specified
null

(MD040, fenced-code-language)


292-292: Fenced code blocks should have a language specified
null

(MD040, fenced-code-language)


300-300: Bare URL used
null

(MD034, no-bare-urls)


302-302: Fenced code blocks should have a language specified
null

(MD040, fenced-code-language)


308-308: Bare URL used
null

(MD034, no-bare-urls)


310-310: Fenced code blocks should have a language specified
null

(MD040, fenced-code-language)


334-334: Fenced code blocks should have a language specified
null

(MD040, fenced-code-language)


345-345: Fenced code blocks should have a language specified
null

(MD040, fenced-code-language)


359-359: Fenced code blocks should have a language specified
null

(MD040, fenced-code-language)

schema.graphql (1)

1-1537: Verify PR scope and objectives.

The changes in this PR appear to be much broader than the stated objective of fixing the language switch issue. While the documentation and configuration updates are well-done, please clarify how they relate to the language switch fix.

Could you explain:

  1. How these changes address the language switch issue?
  2. Why such extensive documentation and schema changes are needed for this fix?
public/locales/hi/translation.json (1)

1-1510: LGTM! The translation file is well-structured and comprehensive.

The Hindi translations are properly formatted and cover all necessary UI elements. The translations maintain cultural sensitivity and use appropriate formal Hindi that would be well-received by users.

docs/src/pages/markdown-page.md (1)

1-8: LGTM!

The markdown file is well-structured with proper front matter and clear content. The sentence is grammatically correct and effectively conveys the message about standalone pages.

🧰 Tools
🪛 LanguageTool

[grammar] ~7-~7: Did you mean “to React”?
Context: ...# Markdown page example You don't need React to write simple standalone pages.

(NEEDNT_TO_DO_AND_DONT_NEED_DO)

.gitignore Show resolved Hide resolved
public/locales/zh/common.json Show resolved Hide resolved
public/locales/hi/common.json Show resolved Hide resolved
public/locales/hi/common.json Show resolved Hide resolved
scripts/__mocks__/@pdfme/generator.test.ts Show resolved Hide resolved
schema.graphql Outdated Show resolved Hide resolved
public/locales/hi/translation.json Show resolved Hide resolved
public/locales/hi/translation.json Outdated Show resolved Hide resolved
public/locales/hi/translation.json Outdated Show resolved Hide resolved
public/locales/sp/translation.json Outdated Show resolved Hide resolved
KunalSewal and others added 3 commits February 12, 2025 16:31
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
Copy link
Contributor

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

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

Actionable comments posted: 4

📜 Review details

Configuration used: .coderabbit.yaml
Review profile: CHILL
Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between c831c4d and 08688b6.

📒 Files selected for processing (2)
  • public/locales/hi/translation.json (1 hunks)
  • public/locales/sp/translation.json (1 hunks)
🚧 Files skipped from review as they are similar to previous changes (1)
  • public/locales/hi/translation.json
🔇 Additional comments (1)
public/locales/sp/translation.json (1)

1-1513: Overall assessment of the Spanish translation file.

The translation file is well-structured and comprehensive, but there are a few issues that need attention:

  1. Organization name should not be translated
  2. Some case-check translations are swapped
  3. Missing chat-related translations
  4. French text in Spanish translations

Despite these issues, the translations are generally accurate and culturally appropriate.

"occurences": "ocurrencias",
"done": "Hecho",
"createChat": "Crear chat"
},
Copy link
Contributor

Choose a reason for hiding this comment

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

⚠️ Potential issue

Add missing translations for chat creation.

The "createChat" key appears twice with missing translations.

-    "createChat": "Crear chat"
+    "createChat": "Crear conversación"

Also applies to: 584-584

public/locales/sp/translation.json Outdated Show resolved Hide resolved
Comment on lines +49 to +50
"lowercase_check": "Al menos una letra mayuscula",
"uppercase_check": "Al menos una letra minúscula",
Copy link
Contributor

Choose a reason for hiding this comment

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

⚠️ Potential issue

Correct swapped translations for case checks.

The translations for lowercase and uppercase checks are reversed.

-    "lowercase_check": "Al menos una letra mayuscula",
-    "uppercase_check": "Al menos una letra minúscula",
+    "lowercase_check": "Al menos una letra minúscula",
+    "uppercase_check": "Al menos una letra mayúscula",
📝 Committable suggestion

‼️ IMPORTANT
Carefully review the code before committing. Ensure that it accurately replaces the highlighted code, contains no missing lines, and has no issues with indentation. Thoroughly test & benchmark the code to ensure it meets the requirements.

Suggested change
"lowercase_check": "Al menos una letra mayuscula",
"uppercase_check": "Al menos una letra minúscula",
"lowercase_check": "Al menos una letra minúscula",
"uppercase_check": "Al menos una letra mayuscula",

},
"loginPage": {
"title": "Administrador Talawa",
"fromPalisadoes": "Una aplicación de código abierto de los voluntarios de la Fundación palisados",
Copy link
Contributor

Choose a reason for hiding this comment

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

⚠️ Potential issue

Fix organization name in translation.

The organization name "palisados" should not be translated as it's a proper noun.

-    "fromPalisadoes": "Una aplicación de código abierto de los voluntarios de la Fundación palisados",
+    "fromPalisadoes": "Una aplicación de código abierto de los voluntarios de la Fundación Palisadoes",
📝 Committable suggestion

‼️ IMPORTANT
Carefully review the code before committing. Ensure that it accurately replaces the highlighted code, contains no missing lines, and has no issues with indentation. Thoroughly test & benchmark the code to ensure it meets the requirements.

Suggested change
"fromPalisadoes": "Una aplicación de código abierto de los voluntarios de la Fundación palisados",
"fromPalisadoes": "Una aplicación de código abierto de los voluntarios de la Fundación Palisadoes",

KunalSewal and others added 4 commits February 12, 2025 16:42
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
@palisadoes
Copy link
Contributor

  1. Closing. You have submitted one 1000 files to review.
  2. We are working on the develop-postgres branch until further notice

@palisadoes palisadoes closed this Feb 12, 2025
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.

7 participants