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

Poll component #838

Closed
wants to merge 1,047 commits into from
Closed

Poll component #838

wants to merge 1,047 commits into from

Conversation

Tamir198
Copy link
Contributor

@Tamir198 Tamir198 commented Jun 5, 2024

Fix #477.

Added a poll component (currently without backend).

This is what it looks like :

image

Also I added story book documentation for them both.

Example usage:

Questions:

  <PollContainer
      title="What Programming language do you use"
      votes="57 votes"
      daysLeft="4 days left"
    >
      <PollQuestions questions={["JavaScript", "Python", "Ruby"]} />
  </PollContainer>

Answers:

<PollContainer
    title="What Programming language do you use"
    votes="57 votes"
    daysLeft="4 days left"
>
    <PollAnswers
        answers={[
            { percentage: 50, title: "JavaScript", isCorrectAnswer: true },
            { percentage: 30, title: "Python", isCorrectAnswer: false },
            { percentage: 20, title: "Ruby", isCorrectAnswer: false },
        ]}
    />
</PollContainer>

Conventional Changelog Action and others added 30 commits September 5, 2023 08:06
* fixed th3cyb3rhub#451

* Update package-lock.json

Co-authored-by: Kabir  <44284877+kabir0x23@users.noreply.github.com>

* Update package.json

* fix: package.json

---------

Co-authored-by: Kabir <44284877+kabir0x23@users.noreply.github.com>
* fix: icons over flow in footer

* fix icon over flow in footer
…b#457)

* fix: Message icon is in middle in mobile version issue - th3cyb3rhub#443

* feat: Settings Edit Main Profile Page - issue th3cyb3rhub#448
* You can now create note, delete note

* styling added

improvements to be done

---------

Co-authored-by: Kabewh <daniele_viola@yahoo.com>
* Add Loading Spinner For Components In Explore Route

- What: Add spinner when the 'Users', 'Blogs', 'CFT' components are loading
- Why: Better user experience
- How: Check the loading state property of each data and act accordingly

* Add Data Not Found message

-What: Notify users by message that an object data is not found of components in Explore Route
-How: Make NotFound component get title and description by props
-Why: Better User experience
* fix: upgrade react-router from 6.4.2 to 6.15.0 (th3cyb3rhub#456)

Snyk has created this PR to upgrade react-router from 6.4.2 to 6.15.0.

See this package in npm:
https://www.npmjs.com/package/react-router

See this project in Snyk:
https://app.snyk.io/org/kabir0x23/project/3518e29a-eaff-41d1-8ccf-a14e65eabf3c?utm_source=github&utm_medium=referral&page=upgrade-pr

Co-authored-by: snyk-bot <snyk-bot@snyk.io>

* fix: upgrade react-router-dom from 6.4.2 to 6.16.0 (th3cyb3rhub#465)

Snyk has created this PR to upgrade react-router-dom from 6.4.2 to 6.16.0.

See this package in npm:
https://www.npmjs.com/package/react-router-dom

See this project in Snyk:
https://app.snyk.io/org/kabir0x23/project/3518e29a-eaff-41d1-8ccf-a14e65eabf3c?utm_source=github&utm_medium=referral&page=upgrade-pr

Co-authored-by: snyk-bot <snyk-bot@snyk.io>

* fix: minor issues

---------

Co-authored-by: snyk-bot <snyk-bot@snyk.io>
…3cyb3rhub#481)

* feature: sidenav bar redesign

* feat: user data

---------

Co-authored-by: Kabir <44284877+kabir0x23@users.noreply.github.com>
* added feature to share on socials

* fix: minor issues

---------

Co-authored-by: Kabir <44284877+kabir0x23@users.noreply.github.com>
* ui fixed with first leaderboard user to be highlighted
What: fix scrollable background when menu is open on mobile display
How: add overflow hidden when menu is open so the bg will not be Scrollable
Why: better user experience
* feat: chatbot

* feat: chatbot
Prathamesh-Kothalkar and others added 24 commits May 25, 2024 15:59
* Feature/Add Show Password Option th3cyb3rhub#779

* Eye Color fix

* fix state and first click
* Basic working example

* Adding common props into CodeContainer

* Change decoder into the format of the copy component
* Refactor css styles into styled modules

* Extract all components to separate file
* feat: change modal structure

why: to close it in better way with overlay
how: use portal

* feat: add delete comment functionality

who: dispatch with correct method and url

* fix: width of profile image in feeds

* feat: adding main feed edit option

why: so users could edit feed
how: changing the ModifyFeed component

* refactor: combine feedsSlice and feedsServer with feedComments

* fix: icons problem

* fix: make small modifications

* feat: modify the rtk to connect to new data structure of feeds, add edit option

what: the data structure of feeds changed so modify rtk to fit ,
change the edit option , and make it work also for comments
how: change rtk, made modifications
why: to fit new data structure, to make edit work

* fix: fix delete functionality

* fix: minor issues
* draft PR for draggable notes and categories

* reducers for notes added

* motion and reorder working locally

* fix: key warning

* update note id working

* changed button name

* slice created for updating notes on component unmount

* some comments are removed

* Update package.json

* Update package-lock.json

---------

Co-authored-by: ArkadiK94 <arkadi29081994@gmail.com>
Co-authored-by: Kabir <44284877+kabir0x23@users.noreply.github.com>
* Refactor css styles into styled modules

* Extract all components to separate file

* Fix broken link
…#827)

* Refactor css styles into styled modules

* Extract all components to separate file

* add dependencies

* Small change

* Add Date Display stories

* Add duration display story

* MultipleSelect story

* Search story

* Add side bar

* Change folder name

* Remove default examples

* Removed default assets

* remove example files

* remove example files

* File name

* Pr changes

* Removed non relevant story
* Refactor css styles into styled modules

* Extract all components to separate file

* remove unnecessary packages
* Refactor css styles into styled modules

* Extract all components to separate file

* Fix select label wrong color

* chore: change label text

---------

Co-authored-by: ArkadiK94 <arkadi29081994@gmail.com>
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.

It's great having you contribute to this project

🌟 Welcome to the community 🌟

  • If you would like to continue contributing to open source and would like to do it with an awesome inclusive community.
  • You should join our Discord chat and our GitHub Organisation.
  • We help and encourage each other to contribute to open source little and often 😄.
  • Any questions let us know.

@Tamir198 Tamir198 changed the base branch from dev to gh-pages June 5, 2024 19:45
@Tamir198 Tamir198 closed this Jun 5, 2024
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.

[FEATURE] Poll option in Feeds, {branch: dev}.