Code Monkey home page Code Monkey logo

codelabz's People

Contributors

abhishek-pandey2 avatar charithccmc avatar deeks900 avatar ffalpha avatar hiranthar avatar hs05june avatar huzaif-ahmed avatar huzaifmalik786 avatar iitvamp avatar janvi-thakkar avatar kushalshukla-web avatar maahi10001 avatar mohdhaider07 avatar muntazirhaider avatar nitinmewar avatar niweera avatar partik03 avatar piyumaldk avatar pushpendra766 avatar rijusougata13 avatar sakkshm26 avatar sarfraz-droid avatar shahaab avatar shehand avatar shivareddy6 avatar shwetkhatri2001 avatar thisuraseniya avatar vanshdeepsingh-coder avatar wathsara avatar yashasv-prajapati avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

codelabz's Issues

Filtering Functionality required at Homepage

Is your feature request related to a problem? Please describe.
The tutorial homepage lacks filtering functionality.

Describe the solution you'd like
Introduce a filtering mechanism allowing users to filter tutorials by date created, title, owner or keyword.

Additional context
If there are many tutorials, having a filter function can fix the tedious work of manual searching and make it easier for users to find relevant content.

Update README: Replace Old Communication Channels with New Ones

Is your feature request related to a problem? Please describe.

The current README for CodeLabz contains information about an outdated communication channel, namely the Glitter channel. This poses a challenge for new contributors who may attempt to join the deprecated channel instead of the current primary communication platform, which is the Slack channel.

Describe the solution you'd like

The purpose of this issue is to update the README, replacing references to the old Glitter channel with accurate details about the current Slack channel. This will streamline the onboarding process for new contributors and ensure they have the correct information to join the community.

User not been redirected to the dashboard even after successful login through github, twitter, facebook and google

Describe the bug
User not been redirected to the dashboard even after successful login through github, twitter, facebook and google.
After login the user is been redirected to the login page again

To Reproduce
Steps to reproduce the behavior:

1.Go to organization settings
2.Then you will be redirected to the login page
3.Login using github, twitter, facebook or google

Expected behavior
User should be redirected to dashboard

Video Reference

Screen.Recording.-.Made.with.FlexClip.3.mp4

[ Feat : Dynamic Content In 'Who To Follow' Section at Home Page ]

Is your feature request related to a problem? Please describe.
Here, the data is fixed aswell
image
So will be loading dynamic data here as well.

Describe the solution you'd Implement
Loading the owner's of all the organization present under codelabz. This is what currently I am thinking to do.

Describe alternatives you've considered

  1. Load Users with most followers. ( Well the issue with follow btn is already solved - so will be good to do this )
  2. Or, have a field called interest in user doc and do a survey when creating user or user can edit his interests later on as well, then filter users based on the interest.
  3. Can do 'Personalized Recommendations' using ML algorithms - it will be quite troublesome though.

Additional context
Do share your ideas.

Home Page Tutorial Card Buttons Not Working.

Describe the bug
In the Home page You can see cards. It has many features but It's buttons are not working. If This bug fixes it will increase user experience and working of features as expected.

To Reproduce
Steps to reproduce the behavior:

  1. Set-up the localhost and run it.
  2. Now go to home page after login.
  3. If tutorial card present if not create a tutorial
  4. Now click on the buttons on the tutorial
  5. You will it as below.
homepage_tutorial_buttons_issue.mp4

Expected behavior

Upvote, downvote are working. Comment, More, Share, Bookmark, also have to work.

User Not Authenticated HomePage

Describe the bug

If User is not Authenticated then Website should show it's home page but it is showing the home page after user logged in. This is a bug that will reduce user experience. Fixing this feature will increase user experience.

To Reproduce

  1. Set-up the project and run it.
  2. Now go to home page make sure you not logged in (not Authenticated).
  3. You will see the home page like shown below

not_login_home_page

Expected behavior

If User is not Authenticated then Website should show it's home page not the home page after user logged in

Screenshots

not_login_home_fix

Pre-GSoC Tasks 2024

The following are Pre-GSoC tasks for 2024

Task 1:

Design a Notifications Service System for Codelabz

Objective:

Design a robust system for the Notification Service for Codelabz, ensuring effective communication of necessary actions and events to users.

Tasks:

  • Document an Entity-Relationship (ER) Model based on the existing database model.
  • Create an Architecture/System Flow Diagram illustrating the notification system's workings.

Task 2:

Design a recommendation service to Generate User Feed

Objective:

Design a basic and robust recommendation system to generate user feed for Codelabz, suggesting relevant codelabzs (tutorials) to users.

Tasks:

  • Design a recommendation service to populate user home feeds with recommended codelabzs (tutorials).
  • Document an Architecture/System Flow Diagram depicting the recommendation system's structure.
  • Show How the ranking system will work, and explain the integration and working of the recommendation model.
  • Contributors can add code snippets.

Extra Tasks:

Objective:

To assess contributors' implementation skills and coding practices, candidates are requested to fork the project repository and solve specified tasks. This method prevents PR flooding on the main repository and ensures confidentiality of contributors' solutions.

Procedure:

  1. Fork the repository.
  2. Resolve/Implement the designated tasks.
  3. Raise PRs to your forked repository.
  4. Include PR links in your proposal.

Tasks:

Github Task 1 :

  • Like/Dislike Feature Implementation:
  • Implement database interactions for user likes and dislikes.
  • Implement them for tutorials and comments.
  • Ensure the feature aligns with the existing database design.

Github Task 2:

  • Add Image Feature for tutorials:
  • Users currently cannot upload images while creating tutorials
  • Fix this issue to upload images in tutorial.

Github Task 3:

  • Fix Bugs in Tutorials comments
  • Comments are not shown when posted, needs to be reloaded to view the comment.

Note:

Kindly refrain from submitting PRs to the main repository, as these tasks are not intended for merging into the main codebase. Your contributions should be confined to your forked repository for evaluation purposes.

responsiveness issues

I have identified several responsiveness issues in the dashboard that impact its usability across different devices and screen sizes. The current layout and design are not adapting appropriately, leading to user experience challenges.

Issues:
Fixed Dimensions:

Description: Elements with fixed dimensions may cause content cutoff or overlap on smaller screens.
Impact: Inadequate visibility of content, affecting user comprehension.
Non-Responsive Tables:

Description: Tables are not adapting well to smaller screens, hindering readability.
Impact: Horizontal scrolling may be required, impacting user interaction.

Uploading Codelabz - Google Chrome 2024-01-20 18-49-16.mp4โ€ฆ

Add test for organisations-settings "Publish" button

Describe the bug
I have seen that into the organisations setting ( http://localhost:5173/user-dashboard/organization-settings) we are not handling the publish button (see screenshot)

** Screenshot **

Screenshot 2024-01-27 at 2 38 03 PM

To Reproduce
So i added some test cases for this .
Is the button existed or not , if not existed then test will fail
Is the button have the "Publish" text in it or not , if not have the text "Publish" then test will fail
and if passes then click it
wait for 4s(4000ms)
Then after clicking the button it will convert to "Unpublish"
so we also check it as we check the previous one

Expected behavior
If any consequences happen or contributor by mistake it remove the publish button it will throw the failed the test cases
Just added the test for handling these

Desktop (please complete the following information):

  • OS: [MacOs]
  • Browser [ chrome]
  • Version [e.g. 22]

Additional context
Add any other context about the problem here.

Connecting Firebase database to component of 'user to follow' in homepage

Is your feature request related to a problem? Please describe.
Data in the 'User to follow' component is hardcoded.

Describe the solution you'd like
Establish a database connection and fetch users, limiting the results to four while ensuring the logged-in user is excluded from the retrieved data.

Additional context
image

Here data is hard coded

Add Dashboard for Recent Tutorials with Dates

Is your feature request related to a problem? Please describe.
Currently, users need to scroll through the entire site to get an overview of the recent tutorials. I find it inconvenient to locate the latest tutorials quickly.
Describe the solution you'd like
I would like to propose the addition of a dashboard that prominently displays recent tutorials along with their dates of addition. This dashboard should provide users with a quick and accessible overview without requiring them to scroll through the entire site.

Step creation popup doesn't appears on single click

Describe the bug
When a user tries add new step in the tutorial he/she needs to double inorder to open the popup for step creation . This is because the state is not getting updated when the popup is closed.

To Reproduce
Steps to reproduce the behavior:

  1. Complete the login process
  2. Fill the details in the dashboard
  3. Create a tutorial and just click once on the ADD NEW STEP button on the top left
  4. You will see that no popup is appearing for step creation

Expected behavior
The popup should appear on a single click

Video Reference
add_new_step_issue.webm

Creating dynamic content in organisation section in profile page

Is your feature request related to a problem? Please describe.
Content is static in the organisation section on the profile page

Describe the solution you'd like
We can fetch the data from the Firebase database

Describe alternatives you've considered
using organisation array in database can be rendered dynamically
image

Additional context
image

Content of the Quill editor is not persisting

Describe the bug
Once the user writes something in the QuillEditor in the editor mode and swithes to preview mode and then again switches back to the editor , the content within the editor disappears ,which leads to a bad user experience . Cause the user would have to write the content in one go without previewing it

To Reproduce
Steps to reproduce the behavior:

  1. Complete the login process
  2. Fill the details in the dashboard
  3. Create a tutorial , write something in the editor mode and then switch to preview mode
  4. Then switch back to editor mode and then you can the content is disappeared

Expected behavior
The content should persist even after switching to preview mode and then switching back to the editor mode

Video Reference

editor_content_not_presisting.mp4

Tutorial not visible initially

Describe the bug
When the user creates a tutorial and gets back to the My Tuorials page the tutorial is not visible initially , also when the tutorial is published and the user redirects to My Tutorials page through right menu bar the tutorial is not visible initally. When the user clicks on the org_name and clicks back on the user_handle in the spinner at that time the tutorial becomes visible .

To Reproduce
Steps to reproduce the behavior:

  1. Complete the login process
  2. Fill in the details in dashboard
  3. Create a tutorial and publish it .
  4. Now get back to My Tutorials page and you can see that no tutorial is visible . Also go to / and then get back to My Tutorials page using right menu bar , you can see that no tutorial is present .

Expected behavior
The tutorial should be visible intially when the user is redirected to the MyTutorials page

Video Reference

tutorial_not_visible_on_initial_load.mp4

Enhance User Profile Page with Dynamic Profile Details Implementation

Problem Description:

The current user details displayed on the profile page are static, providing a limited and unchanging view.

Proposed Solution:

Implement a dynamic solution by fetching user details from the Firebase database and dynamically updating the profile page content.

Considered Alternatives:

Utilize the Firebase API to efficiently retrieve and integrate user data into the profile page.

Additional Context:

We can use data from the firebase firestore and use it in profile page
image

User not being redirected to the specific organization's page

Describe the bug
User not being redirected to the specific organization's page where he/she should see organization's details

To Reproduce
Steps to reproduce the behavior:

1.Go to dashboard
2.Enter user and organization's details and hit save
3.Now on dashboard/my_feed page click on the organization's banner

Expected behavior
User should be redirected to that org's page

Video Reference

Screen.Recording.-.Made.with.FlexClip.5.mp4

Footer enhancement

Describe the bug

The footer lacks visual appeal, appearing crumpled and improperly formatted. There are underlines present due to anchor tags, and spacing is not adequately maintained.

To Reproduce

(As footer is commented in the code, I viewed it using storybook. So first we need to do : npm run storybook)
Steps to reproduce the behavior:

  1. Go to 'Home section' in left sidebar
  2. Click on 'Footer'

Expected behavior

Enhancement of the footer by maintaining the same design while improving overall formatting for a more polished and cohesive appearance.

Screenshots

image

Proposed Design:

image

Desktop (please complete the following information):

  • OS: Windows
  • Browser: Brave

Implement functionality to edit and update user organization details

Description:
Users need the ability to edit and update their organization details within the platform. Currently, there is no feature available to facilitate this process.

Proposed Solution:
Introduce input boxes that allow users to enter multiple organizations, which will then be added to the organizations array in Firebase Firestore. This will enable users to easily manage and update their organization information as needed.

Alternatives Considered:
None at the moment. This solution provides a straightforward and efficient way for users to update their organization details without relying on external tools or complicated processes.

Screenshot
image
image

Connecting to database reset Password by old Password

Is your feature request related to a problem? Please describe.
Data is not being sent to database when user reset its password via old Password

Describe the solution you'd like
Create the store, reducer, and actions for changePassword.
Then implemented it to Form/userPassword/index.jsx
Also, implement Alert for specifying error or success.

Additional context
image

Addressing Negative and Unlimited Voting Behavior in Upvote/Downvote System

Describe the bug
Users can cast negative votes and unlimited upvotes/downvotes within the upvote/downvote system, contrary to the intended behavior. This issue compromises data integrity and may lead to system abuse.

To Reproduce
Steps to reproduce the behavior:

  1. Go to any post.
  2. Click on the upvote/downvote button multiple times.
  3. Observe negative voting counts or unlimited voting behavior.

Expected behavior
The voting system should prevent users from casting negative votes and limit the number of upvotes/downvotes to one to maintain data integrity and prevent abuse.

Screenshots/video
Screencast from 11-02-24 05:33:09 AM IST.webm

Desktop & Smartphone

  • OS: all OS
  • Browser: all Browser
  • Version: all Version

Additional context
This issue impacts the reliability and fairness of the voting system and requires immediate attention to maintain the integrity of user feedback data.

Connecting Firebase database to component of 'Backup email' in user-dashboard

Is your feature request related to a problem? Please describe.

Data in the 'backup email' component is hardcoded.

Describe the solution you'd like

Establish a database connection and fetch users, limiting the results to four while ensuring the logged-in user is excluded from the retrieved data.

Screenshot 2024-02-14 at 4 16 57 PM

Here data is hard-coded

Screenshot 2024-02-14 at 4 18 34 PM

Even actions are not reflected in the database

Content within the code tag in Quill Editor is not displayed appropriately in the preview mode

Describe the bug
Content within the code tag is not displayed appropriately. The code/commands written within code tag should be displayed separately , so that it doesn't get merged with the normal text . The code/commands within the code tag should be emphasized.

To Reproduce
Steps to reproduce the behavior:

  1. Complete the login process
  2. Fill in the details in the dashboard
  3. Create a tutorial in /tutorials
  4. Now go to the created tutorial , switch to editor mode and select the code tag and write something in it
  5. Now switch back to the preview mode and you will notice that the content within the code tag in displayed just like normal text

Expected behavior
The code/commands within the code tags should be emphasized

Video Reference
code_preview_issue.webm

Incorrect tutorial's steps redirection

Describe the bug
The redirection to the tutorial's steps is not correct . When the user clicks on the Step no in the StepsBar is the left , the user is neither redirected to the start of the step nor end of the step

To Reproduce
Steps to reproduce the behavior:

  1. Complete the login process
  2. Fill in the details in the dashboard
  3. Create a tutorial with 2-3 steps in it and publish
  4. Come to home page and click on that tutorial
  5. Now click on the steps in the steps bar present on the left
  6. You can see that the redirection is incorrect

Expected behavior
The user should be redirected to the start of the step

Video Reference
https://github.com/c2siorg/Codelabz/assets/112710558/107913cd-af48-4fb1-acda-d4c9f1e91dde

Social Media Icon Buttons are not Working

Describe the bug
Social Media Icon Buttons are not Working properly in profile page. while clicking on them they are not redirecting to the particular path.

To Reproduce

Steps to reproduce the behavior:

  1. Set-up the project in your localhost.
  2. Now run and go to the profile page.
  3. You find icons of facebook, github,linkedin etc.
  4. click on them they are not redirecting before clicking make sure that you have provided the user profile name in the user settings path for that social media.
social_Icons_Issue.mp4

Expected behavior

while clicking on them they should redirect to the particular path. I mean user profile.

Connecting voting feature to the firebase database

Is your feature request related to a problem? Please describe.
Voting is only implemented by useState hook on any comment. It should be stored in database and can keep track which person is already upvoted or not.

Describe the solution you'd like
By creating reducer and by writing handler of upvoting and downvoting in store can give us access to vote dynamically and can show real result of votes

Describe alternatives you've considered
Interacting with database in cl_comments table.

Additional context

image
Upvotes and downvotes should be dynamic with proper logic that user vote counts only once.

Footer not visible

Describe the bug
Footer is not visible or not included in the app.

Expected behavior
It should be displayed when the user visit the codelabz.
Screenshot (1397)

Bookmark page has no end point which renders users experience

Is your feature request related to a problem? Please describe.
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]

Describe the solution you'd like
A clear and concise description of what you want to happen.

Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.

Additional context
Add any other context or screenshots about the feature request here.

Remove Header from 404 Page

Describe the bug

404 page does not contain any header or any footer. But You can find the header in 404 page. 404 page can contain a button that redirect to the home page. This is the bug present in 404 page.

To Reproduce
Steps to reproduce the behavior:

  1. Go to any url location not present in the website.
  2. example url "http://localhost:5173/werty"
  3. You can see the 404 page. It contains the header.
  4. As shown in below Image

create_issue

Expected behavior

  1. When you go to any url location not present in the website.
  2. example url "http://localhost:5173/werty"
  3. You can see the 404 page. It does not contain the header.
  4. As shown in below Image

404_expected

[Feat]: Introducing Follower Profile Preview Feature

Is your feature request related to a problem? Please describe.
Currently, when users navigate to their "Who To Follow" list, they are unable to obtain any information about individual followers beyond their username or profile picture. This lack of information can make it challenging for users to decide whether to follow someone back or engage with them further.

Describe the solution you'd like
The proposed feature aims to address this problem by enabling users to access basic information about a follower before deciding to follow them. This additional information can help users make more informed decisions and foster better engagement within the platform.

Describe alternatives you've considered
Similar to the proposed solution, implement a profile preview popup/modal that appears when clicking on a follower's name or profile picture. This provides a snapshot of basic information without fully navigating away from the followers list.

Additional context
Image:
Screenshot 2024-02-28 154124

adding sharing option for tutorials

Problem:
Users often want to share tutorials they find helpful with others, but there's currently no straightforward way to do so on the web-based frontend.

Solution:
Implement a sharing option for tutorials on the web-based frontend. This would involve adding a "Share" button underneath each tutorial, allowing users to easily share the tutorial link via various platforms such as email, social media, or messaging apps.

Alternatives:

  1. Manually copying and pasting the tutorial link to share it.
  2. Implementing social media sharing plugins or widgets for each tutorial page.
  3. Adding a "Share via Email" option where users can input email addresses to send the tutorial link directly.

Additional Context:
This feature would enhance user experience by promoting easier sharing of valuable content, fostering community engagement, and potentially attracting more users to the platform through word-of-mouth recommendations.

Logged Users are Unable to view Profiles of Other Users

Describe the bug
When logged-in users attempt to view the profiles of other users, they encounter an issue where the profiles are inaccessible.

To Reproduce
Steps to reproduce the behavior:

  1. Go to 'http://localhost:5173/user/{profile_want_to_view}'
  2. See that no content displays.

Expected behavior
There should be a profile page of another user where the logged-in user can follow or unfollow him.

Screenshots
image

Users profile loading with no content displayed, hindering access and interaction.

Expected Beheviour

image

Additional context
The function for checking isUserExist is not working as expected.

[ Fix : Creating Organization is Not Fully Integrated ]

Describe the bug
If a user log in or signup with his own account, then user would need to create an organization too to create tutorials, so after creating organization as prompted when visited to view the organization, it kept on loading suggesting somewhere the data needed for the page to load is not provided or missing i.e. it's kept on waiting for the data to come, or something similar.

To Reproduce
Steps to reproduce the behavior:

  1. Log In with your own account.
  2. You will be prompted to create an organization. Do so.
  3. Visit the Organization through sidebar.
  4. Page kept on loading.
  5. Try creating a tutorial - it won't work aswell.

Expected behavior
It should have shown organizations general section when visited to http://localhost:5173/org/settings/org_handle

Video
In black screen instance of chrome logged in with the account and created an organization then tried to view it - which is not showing
In tutorial creation there is no options for tutorials.
White screen shows how it should have been worked.

Codelabz.-.Google.Chrome.2024-02-22.17-13-18.mp4
Codelabz.-.Google.Chrome.2024-02-22.17-43-46.mp4

All in all, a user can not create his own organization.
Desktop (please complete the following information):

  • OS: Windows
  • Browser Chrome

Additional context
Do suggest outcomes or possible errors which needed to be fixed in order to make it work.

Logout not Redirecting to home page

Describe the bug

When you click on logout button then user should redirect to the home page. This is the actual feature of any website but logout is not redirecting to home page instead it is redirecting to login page. This is the bug by fixing it we can increase user experience.

To Reproduce
Steps to reproduce the behavior:

  1. Setup the localhost and run it.
  2. Now login to the website.
  3. You can logout via navbar or profile icon menu
  4. After logout user should see the home page but getting login page.
logou_redirect_home_issue.mp4

Expected behavior

When user click the logout button then user should redirect to home page.

[ Fix : Adding Users ( Reviewer, Editor, Admin ) to an Organization via 'Add New' Button ]

Describe the bug
At http://localhost:5173/org/settings/org_handle the Add New button which is supposed to add users to the current organization is not working.
And here users should have been added according to the permission level, like Reviewer, Editor, Admin, so an editor or admin should have been able to edit tutorials created by other users in the same organization.

To Reproduce
Steps to reproduce the behavior:

  1. Go to http://localhost:5173/org/settings/org_handle
  2. Go to users via sidebar.
  3. Click on Add New button it isn't doing anything.

Expected behavior
A modal should have popped up allowing the admins or editors to add users to the organization.

Video

c27e169d-ccaa-44a9-b931-855db8822c3b.mp4

Desktop (please complete the following information):

  • OS: Windows
  • Browser Chrome

Fixing UI Inconsistencies on Profile Page

Is your feature request related to a problem? Please describe.
The UI of the profile page is inconsistent because the input boxes have different sizes.

Describe the solution you'd like
To fix the UI inconsistency, we can make all input boxes uniform in size.

Describe alternatives you've considered
One alternative is to adjust the width of each input box individually to achieve a consistent look. Another alternative is to use a grid layout to ensure uniformity in size and spacing of input boxes.

Screenshot
image

Toastify-based Confirmation Functionality

Is your feature request related to a problem? Please describe.
The absence of a confirmation mechanism across the website leaves users unaware of the current status, leading to potential confusion.

Describe the solution you'd like
Implement a Toastify-based confirmation functionality to provide clear and concise feedback to users about their actions or the system's status.

Additional context
There is currently no confirmation mechanism in place throughout the website, and introducing Toastify can be a major enhancement by offering real-time feedback and clarity on their interactions.

The links in the profile menu are not working as intended

Describe the bug
The links in the profile menu are not working as intended

Expected behavior

When clicking the link, it is expected to redirect to the respective social media page, but currently, it is not functioning as intended.

Screenshots
Screenshot from 2024-01-26 23-32-05
Screenshot from 2024-01-26 23-33-13

Additional context
Add any other context about the problem here.

Blank screen appears on deletion of tutorial's step, if only one extra tutorial step is created

Describe the bug
When the user create a tutorial he/she greats one step created by default . When the user creates one more step using the ADD NEW STEP button on the top left and performs deletion of the step , a blank screen appears . Incase when the user creates multiple tutorial steps and then performs deletion , this blank screen doesn't appears

To Reproduce
Steps to reproduce the behavior:

  1. Complete the login process
  2. Fill in the details in the dashboard
  3. Create a tutorial and create a step
  4. Delete that step and then you will see a blank screen

Expected behavior
After performing the deletion (incase when only if one step is created) the blank shouldn't appear and the step should be deleted

Video Reference
https://github.com/c2siorg/Codelabz/assets/112710558/821f83e1-d6f4-4429-891e-88de0d9a4d81

Input Fields for User Organization Details on Profile Update Page

Problem Description:

The profile update page currently lacks input boxes for users to input or update crucial information such as institute, language, and organization details these details are on the profile page but cannot be updated.

Proposed Solution:

we introduce input boxes on the profile update page to facilitate users in providing and updating their institute, language, and organization details.

Additional Context:
image

StoryBook Spelling Mistake

Describe the bug
In storybook, there is a spelling mistake.

To Reproduce
Steps to reproduce the behavior:

  1. Run npm run storybook
  2. On opening localhost:6006, on the right side you can see the mistake.

Expected behavior
It should be 'Forget Password Page'

Screenshot
image

Desktop (please complete the following information):

  • OS: Windows
  • Browser: Brave

No validation for same tutorial title

Describe the bug
Tutorials can have same titles . Multiple tutorials with the same title are allowed , leading to redundancy.

To Reproduce
Steps to reproduce the behavior:

  1. Complete the login process
  2. Fill in the details in dashboard
  3. Go to /MyTutorials and create a tutorial with a title and summary , and now create one more tutorial with same title
  4. Now you can see there is no validation for this case .

Expected behavior
An error message should appear , informing user that "this title is already taken"

Video Reference
duplicate_tutorial_creation_fixed.webm

[ Feat : Dynamic Content In Contributors Section at Home Page ]

Is your feature request related to a problem? Please describe.
At home page, here
image
The content or the users are fixed and I want to dynamically load the contributors content here, i.e. all the org. users will be shown here.

Describe the solution you'd like
If a user is a part of some org. then he will see users of that org. under contributions.
If a user is not a part of any org. then he will see org. with higher rating but rating system haven't implemented yet so by default contributors of Codelabz Org.

Describe alternatives you've considered
In case user is not a part of any org, then can do it according to rating or higher activity org. users like org's having the most tutorial users can be shown under contributors.

Additional context
Do share your ideas.

Comments details aren't visible

Describe the bug
Comments details like name , title , description , etc aren't visible . When the user visits his/her profile section they can't see anything in the comments card .

To Reproduce
Steps to reproduce the behavior:

1.Complete the login process
2. Fill in the details in the dashboard
3. In the right menu bar click on My Profile and view the comments card under the profile
4. You can see that the no detail is present over there

Expected behavior
Comments details like name , title , time, description ,etc should be visible

Video Reference

comments_details_not_visible.mp4

Organization Page Fails to Load

Describe the bug
When attempting to open the organization page using the URL pattern /org/${url}, the page fails to load

Expected behavior
The organization page should load successfully when navigating to the URL /org/${url}.

Screenshots
If applicable, add screenshots to help explain your problem.

Screenshot from 2024-01-27 14-49-59

Added Tests for Editor and Update cypress/fixture/editor.json

Describe the bug
As we can see clearly from cypress - the quill editor is writing this thing (See - screenshot)
Test for cypress/e2e/component/editor/editor.cy.js (editor)
Curent Behaviour (Match the expectedRichHTML & and html that is in image)
Screenshot 2024-01-21 at 3 34 31 PM

cypress/fixture/editor.json 

{
  "expectedRichTextHTML": "<div><p><strong>bold</strong><br><em>italic</em><br><u>underlined</u></p></div>"
}

But what it is mentioned in the cypress/fixture/editor.json is different from which we will get TIME OUT ERROR(me too getting error).Due to which i am getting assertion error (Like this - assertionError: Timed out retrying after 4000ms:)

** Added Missing Test **
This PR merged for adding new and more tools to editor but we are not handing any test for new tool
feat: Added more tools in the editor #974 (scorelab/Codelabz#974)
so added some test for handling and checking this tools

To Reproduce
We have to change the editor.json folder to this which is same as editor write while testing

{
  "expectedRichTextHTML": "<div><p><strong>bboldb</strong><br><em>italic</em><br><u>uunderlinedu</u></p></div>"
}

Folder Path : /cypress/e2e/components/editor/editor.cy.js

Expected behavior

Screenshot 2024-01-21 at 3 42 07 PM

[ Fix : Permission for Organization Users Can Not Be Changed ]

Describe the bug
When an org. user having higher level permission tries to change the lower level permissioned org. user permission then it can not be done. Refer to the video.
Find it while solving issue #76

To Reproduce
Bring file changes from PR #77

  1. Click on organizations in left sidebar, then click on Users in left sidebar.
  2. Add a user to the org. Refresh once - useEffect isn't placed :)
  3. Try to change the users permission.
  4. Can not do it.

Expected behavior
It should have changed the org. users permission.

Video
If applicable, add screenshots to help explain your problem.

f98efbfc-6a5e-476c-9a62-dcb56e7137e0.mp4

Desktop (please complete the following information):

  • OS: Windows
  • Browser Chrome

Wrong path file in Codelabz-final/src/stories/CodeFeed/ExploreOrg/index.stories.jsx

Describe the bug
Not a big deal , just i am running storybook and i found that npm run storybook

Internal server error: Failed to resolve import "../ ../../components/MyFeed/ExploreOrgs" from "src/stories
/CodeFeed/ExploreOrg/index.stories.jsx". Does the file exist?

Screenshot 2024-02-05 at 1 45 06 AM

So for confirmation that it is not from my side , i checked the c2siorg/Codelabz repo [official]

Screenshot 2024-02-05 at 1 49 40 AM

Current path

import ExploreOrg from "../../../components/MyFeed/ExploreOrgs";

So the problem is that - the file is now present at that path Codelabz-final/src/components/MyFeed/discoverOrgs/OrgExplore.jsx

  1. Go to 'Codelabz-final/src/stories/CodeFeed/ExploreOrg/index.stories.jsx'

Expected behavior
Change the path to

import ExploreOrg from "../../../components/MyFeed/discoverOrgs/OrgExplore";

Desktop (please complete the following information):

  • OS: [e.g. iOS]
  • Browser [e.g. chrome, safari]
  • Version [e.g. 22]

Smartphone (please complete the following information):

  • Device: [e.g. iPhone6]
  • OS: [e.g. iOS8.1]
  • Browser [e.g. stock browser, safari]
  • Version [e.g. 22]

Additional context
Add any other context about the problem here.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.