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

Add common React components #272

Open
6 of 15 tasks
meganindya opened this issue Jan 18, 2023 · 9 comments
Open
6 of 15 tasks

Add common React components #272

meganindya opened this issue Jan 18, 2023 · 9 comments
Labels
good first issue Good for newcomers

Comments

@meganindya
Copy link
Member

meganindya commented Jan 18, 2023

Implement the following components in src/common/components/:

  • Widgets

    • ⌛️ WIconButton

      • props:
        • size: big/small
        • asset: asset entry (TAsset)
        • handlerClick
      • use SImage component for the image
    • WTextButton

      • props:
        • content: text string
        • handlerClick
    • WToggleSwitch

    • WToggleSwitchRounded (similar to WToggleSwitch)

      • props:
        • active
        • clickHandler
    • WCheckbox (similar to WToggleSwitch)

      • props:
        • active
        • clickHandler
    • ⏸️ WDropdown

    • ⏸️ WSlider

    • ⏸️ WTextbox

  • Structural

    • SImageVector

    • SImageRaster (similar to SImageVector)

      • props:
        • content: raster content data URL string
    • ⏸️ SInputField

  • Layout

    • ⏸️ LButtonBar

      • collapsible
    • ⏸️ LContainerFlex

    • ⏸️ LContainerScrollable

    • ⏸️ LContainerWithTabs

Items preceded by ⏸️ are on hold, ones preceded by ⌛️ are ready to go, ones preceded by ✅ are done.

See Mockups.


@disha1202
Copy link
Contributor

Hi @meganindya, I have created a common component for text button.
But I'm unsure how it should look like.
Can you please share a reference.

@meganindya
Copy link
Member Author

The repo isn't configured to develop individual components independently yet. Until, there is such a setup, you need to try some hacks. What I do is temporarily comment out everything in the entry file (now it's src/app/index.ts), import the component, and put a dummy ReactDOM.render()

@meganindya
Copy link
Member Author

@disha1202 The mockups link is in the description.

@disha1202
Copy link
Contributor

disha1202 commented Jan 19, 2023

The repo isn't configured to develop individual components independently yet. Until, there is such a setup, you need to try some hacks. What I do is temporarily comment out everything in the entry file (now it's src/app/index.ts), import the component, and put a dummy ReactDOM.render()

@disha1202 The mockups link is in the description.

Thanks for sharing!

@Tushar98644
Copy link
Contributor

@meganindya i came across a textbox which can fit the overall style of the website , the props can be passed as:

placeholder
Default
Sent

below is an image presenting the same :

jkHv1

@vedantiitkgp
Copy link

@meganindya which common react components are still available for which I can still contribute.

@Tushar98644
Copy link
Contributor

@meganindya i came across a textbox which can fit the overall style of the website , the props can be passed as:

placeholder Default Sent

below is an image presenting the same :

jkHv1

@meganindya any updates?

@Karan-Palan
Copy link

I will start working on it !

@Apurv428
Copy link

Apurv428 commented Jan 12, 2024

@meganindya Is WIconButton done? If not, can I work on it? There are pull requests but none of them have been merged, so just confirming. Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers
Projects
Status: 🛠️ In progress
Development

No branches or pull requests

6 participants