GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — feat: create Accordion component and its stories by ashmitjsg · Pull Request #3121 · asyncapi/website

Conversation

@ashmitjsg

@ashmitjsg ashmitjsg commented Jul 28, 2024 •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown
Contributor

Description
Created an accordion component, added stories for it, and used it in the FAQ section.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
ashmitjsg and others added 3 commits July 28, 2024 18:42
@ashmitjsg
creaded accordion and stories for it
b542262
@ashmitjsg
Merge branch 'master' into create-accordian
2a052b9
@ashmitjsg
updated faq in the about page
32b2290
@ashmitjsg
ashmitjsg requested review from Mayaleeeee, akshatnema, anshgoyalevil, asyncapi-bot-eve, derberg, magicmatatjahu and quetzalliwrites as code owners July 28, 2024 13:33
@netlify

netlify Bot commented Jul 28, 2024 •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown

✅ Deploy Preview for asyncapi-website ready!

Name Link
🔨 Latest commit 3714ce4
🔍 Latest deploy log https://app.netlify.com/sites/asyncapi-website/deploys/66d0c959ae9c28000889a64d
😎 Deploy Preview https://deploy-preview-3121--asyncapi-website.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@asyncapi-bot
asyncapi-bot requested review from BhaswatiRoy, J0SAL, TRohit20, VaishnaviNandakumar and sambhavgupta0705 July 28, 2024 13:33
@asyncapi-bot

asyncapi-bot commented Jul 28, 2024 •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown
Contributor

⚡️ Lighthouse report for the changes in this PR:

Category Score
🔴 Performance 44
🟢 Accessibility 98
🟢 Best practices 92
🟢 SEO 100
🔴 PWA 33

Lighthouse ran on https://deploy-preview-3121--asyncapi-website.netlify.app/

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

ashmitjsg added 2 commits July 28, 2024 19:28
@ashmitjsg
rectified faq content spacing
88f443f
@ashmitjsg
added jsdoc for faq component
6f8c549
akshatnema
akshatnema requested changes Jul 29, 2024
View reviewed changes
Comment thread components/Accordion/Accordion.stories.tsx Outdated

type Story = StoryObj<typeof Accordion>;

const sampleAccordionItemList = [

@akshatnema akshatnema Jul 29, 2024

Copy link
Copy Markdown
Member

There was a problem hiding this comment.

Choose a reason for hiding this comment

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

Make sure that this list is of AccordionItemType items only. Specify the AccordionItemType type for this variable.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions

@ashmitjsg ashmitjsg Aug 8, 2024

Copy link
Copy Markdown
Contributor Author

There was a problem hiding this comment.

Choose a reason for hiding this comment

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

Done

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@akshatnema akshatnema mentioned this pull request Jul 29, 2024
feat: created accordion and stories for it #3120
Closed
@akshatnema akshatnema added the gsoc This label should be used for issues or discussions related to ideas for Google Summer of Code label Jul 30, 2024
ashmitjsg and others added 2 commits August 9, 2024 00:27
@ashmitjsg
Merge branch 'master' into update-faq
efa9e61
@ashmitjsg
added AccordionItemType
0029ce0
@ashmitjsg
ashmitjsg requested a review from akshatnema August 8, 2024 21:22
@ashmitjsg
Merge branch 'master' into update-faq
0a628ba
@ashmitjsg ashmitjsg changed the title feat: update faq section on the About page Created accordion component, added stories for it, and used it in the FAQ section Aug 21, 2024
@ashmitjsg ashmitjsg changed the title Created accordion component, added stories for it, and used it in the FAQ section feat: created accordion component, added stories for it, and used it in the FAQ section Aug 21, 2024
@ashmitjsg ashmitjsg changed the title feat: created accordion component, added stories for it, and used it in the FAQ section feat: created an accordion component, added stories for it, and used it in the FAQ section Aug 21, 2024
@ashmitjsg
Merge branch 'master' into update-faq
a6a54fc
akshatnema
akshatnema requested changes Aug 24, 2024
View reviewed changes
Comment thread components/Accordion/Accordion.tsx Outdated
accordionItems: AccordionItemType[];
}

const Accordion = ({ accordionItems = [] }: AccordionProps) => {

@akshatnema akshatnema Aug 24, 2024

Copy link
Copy Markdown
Member

There was a problem hiding this comment.

Choose a reason for hiding this comment

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

use export default function here and create a JSdoc above this function to describe the component.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions

@ashmitjsg ashmitjsg Aug 29, 2024

Copy link
Copy Markdown
Contributor Author

There was a problem hiding this comment.

Choose a reason for hiding this comment

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

Done

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
Comment thread components/Accordion/AccordionItem.tsx Outdated
setActiveIndex: (index: number | null) => void;
}

const AccordionItem = ({ itemIndex, title, content, isActive, setActiveIndex }: AccordionItemProps) => {

@akshatnema akshatnema Aug 24, 2024

Copy link
Copy Markdown
Member

There was a problem hiding this comment.

Choose a reason for hiding this comment

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

same as above.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions

@ashmitjsg ashmitjsg Aug 29, 2024

Copy link
Copy Markdown
Contributor Author

There was a problem hiding this comment.

Choose a reason for hiding this comment

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

Done.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
Comment thread components/faq/FAQ.tsx Outdated
Comment on lines +10 to +12
<div>
<Accordion accordionItems={faqList} />
</div>

@akshatnema akshatnema Aug 24, 2024

Copy link
Copy Markdown
Member

There was a problem hiding this comment.

Choose a reason for hiding this comment

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

Suggested change
<div>
<Accordion accordionItems={faqList} />
</div>
<Accordion accordionItems={faqList} />

No need to wrap this under a div.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions

@ashmitjsg ashmitjsg Aug 29, 2024

Copy link
Copy Markdown
Contributor Author

There was a problem hiding this comment.

Choose a reason for hiding this comment

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

Done

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
Comment thread components/faq/FAQ.tsx Outdated
import { faqList } from './FAQList';

/**
* This is the FAQ component. It tells the user about the frequently asked questions.

@akshatnema akshatnema Aug 24, 2024

Copy link
Copy Markdown
Member

There was a problem hiding this comment.

Choose a reason for hiding this comment

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

Specify that this component has been created to render FAQ list inside MDX file.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions

@ashmitjsg ashmitjsg Aug 29, 2024

Copy link
Copy Markdown
Contributor Author

There was a problem hiding this comment.

Choose a reason for hiding this comment

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

Done

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
Comment thread components/faq/FAQ.tsx Outdated
/**
* This is the FAQ component. It tells the user about the frequently asked questions.
*/
const FAQ = () => {

@akshatnema akshatnema Aug 24, 2024

Copy link
Copy Markdown
Member

There was a problem hiding this comment.

Choose a reason for hiding this comment

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

Use export default function here.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions

@ashmitjsg ashmitjsg Aug 29, 2024

Copy link
Copy Markdown
Contributor Author

There was a problem hiding this comment.

Choose a reason for hiding this comment

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

Done

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@akshatnema akshatnema changed the title feat: created an accordion component, added stories for it, and used it in the FAQ section feat: create Accordion component and its stories Aug 24, 2024
ashmitjsg and others added 3 commits August 29, 2024 15:32
@ashmitjsg
Merge branch 'master' into update-faq
0241626
@ashmitjsg
addded JSDoc to accordion component
b900189
@ashmitjsg
updated JSDoc of faq component
f36e064
@ashmitjsg
ashmitjsg requested a review from akshatnema August 29, 2024 16:56
akshatnema
akshatnema approved these changes Aug 29, 2024
View reviewed changes
@akshatnema
Merge branch 'master' into update-faq
3714ce4
@akshatnema
akshatnema merged commit 04a2825 into asyncapi:master Aug 29, 2024
@ashmitjsg
ashmitjsg deleted the update-faq branch September 15, 2024 05:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

@akshatnema akshatnema akshatnema approved these changes
@quetzalliwrites quetzalliwrites Awaiting requested review from quetzalliwrites
@asyncapi-bot-eve asyncapi-bot-eve Awaiting requested review from asyncapi-bot-eve asyncapi-bot-eve is a code owner
@derberg derberg Awaiting requested review from derberg derberg is a code owner
@magicmatatjahu magicmatatjahu Awaiting requested review from magicmatatjahu
@anshgoyalevil anshgoyalevil Awaiting requested review from anshgoyalevil anshgoyalevil is a code owner
@Mayaleeeee Mayaleeeee Awaiting requested review from Mayaleeeee Mayaleeeee is a code owner
@sambhavgupta0705 sambhavgupta0705 Awaiting requested review from sambhavgupta0705 sambhavgupta0705 is a code owner
@BhaswatiRoy BhaswatiRoy Awaiting requested review from BhaswatiRoy
@J0SAL J0SAL Awaiting requested review from J0SAL
@TRohit20 TRohit20 Awaiting requested review from TRohit20 TRohit20 is a code owner
@VaishnaviNandakumar VaishnaviNandakumar Awaiting requested review from VaishnaviNandakumar

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

gsoc This label should be used for issues or discussions related to ideas for Google Summer of Code

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Uh oh!

There was an error while loading. Please reload this page.

3 participants

@ashmitjsg @asyncapi-bot @akshatnema
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.