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

issue/2876 JSX version of graphic #77

Merged
merged 7 commits into from
Aug 27, 2021
Merged

issue/2876 JSX version of graphic #77

merged 7 commits into from
Aug 27, 2021

Conversation

ghost
Copy link

@ghost ghost commented Aug 18, 2020

@ghost ghost requested a review from oliverfoster August 18, 2020 13:59
@ghost
Copy link
Author

ghost commented Aug 18, 2020

@oliverfoster Not sure how to incorporate a11y_normalize in the aria-label, though, so I've left it out for now.

Copy link
Member

@oliverfoster oliverfoster left a comment

Choose a reason for hiding this comment

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

These changes make the component look much nicer.

And with this fw pr we'll be able to drop the reset on revisit stuff as well.

js/graphicView.js Outdated Show resolved Hide resolved
templates/graphic.jsx Outdated Show resolved Hide resolved
templates/graphic.jsx Outdated Show resolved Hide resolved
templates/graphic.jsx Outdated Show resolved Hide resolved
templates/graphic.jsx Show resolved Hide resolved
js/graphicView.js Outdated Show resolved Hide resolved
@ghost
Copy link
Author

ghost commented Aug 18, 2020

@oliverfoster All changes made. Yeah, much easier to read like this--it'll make a real difference when the more involved hbs files are converted (like accordion).

@oliverfoster
Copy link
Member

oliverfoster commented Aug 18, 2020

I've stolen some bits of styling from the way you've laid out this jsx for the accordion already.
https://github.com/adaptlearning/adapt-contrib-accordion/blob/issue/2824-jsx/templates/accordion.jsx

@oliverfoster oliverfoster added the on hold do not merge label May 10, 2021
@oliverfoster
Copy link
Member

Ready to review, requires pr#3140

Copy link

@ethan-lp ethan-lp left a comment

Choose a reason for hiding this comment

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

👀

@oliverfoster oliverfoster changed the title issue/2876 React version of graphic issue/2876 JSX version of graphic Aug 26, 2021
Copy link

Choose a reason for hiding this comment

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

👀

Copy link

@ethan-lp ethan-lp left a comment

Choose a reason for hiding this comment

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

👀

@oliverfoster oliverfoster merged commit 8cc7fcf into master Aug 27, 2021
@oliverfoster oliverfoster deleted the issue/2876 branch August 27, 2021 08:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants