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

wip Gm 366 app header dropdown #2161

Open
wants to merge 3,257 commits into
base: main
Choose a base branch
from
Open

Conversation

thedoomshine
Copy link
Contributor

Overview

PR Checklist

  • Related to designs:
  • Related to JIRA ticket: ABC-123
  • I have run this code to verify it works
  • This PR includes unit tests for the code change

codecademy-gh-api and others added 30 commits August 11, 2021 15:53
Adds optional beta sticker to CurriculumCards.
* Array scales didn't trigger transformation flow for values.  This explicitly adds a check explicitly for arrays and adds a test to validate the behavior.
* Improves logic for looking up scalar values with a hof that returns the appropriate logic (computations were unnecessarily checking the types of scales)
* Splits out helpers to a separate file.
 - @codecademy/[email protected]
 - @codecademy/[email protected]
 - @codecademy/[email protected]
 - @codecademy/[email protected]
 - @codecademy/[email protected]
 - @codecademy/[email protected]
 - @codecademy/[email protected]
 - @codecademy/[email protected]
 - @codecademy/[email protected]
 - @codecademy/[email protected]
 - @codecademy/[email protected]
 - @codecademy/[email protected]
* Adds 2..5rem / 40 to our spacing intervals.
 - @codecademy/[email protected]
 - @codecademy/[email protected]
 - @codecademy/[email protected]
 - @codecademy/[email protected]
 - @codecademy/[email protected]
 - @codecademy/[email protected]
 - @codecademy/[email protected]
 - @codecademy/[email protected]
 - @codecademy/[email protected]
 - @codecademy/[email protected]
 - @codecademy/[email protected]
* Refactors the tool tips for system prop groups to display in a more human readable format and use existing components.
* Fixes bug with selected prop group text color inheritance.
* Removes legacy style patterns from files that were still referencing `gamut-system` code.
* Let's you specify `component="Box"` et al on our custom storybook internal link which sends you to our best guess story.  This may not work for components that are not directly specified as a `component={X}` on a stories' meta configuration.
### New
* Modal component for abstract Modal dialogs that are not binary flows.
* Moves Modal / Dialog / Overlay / ModalDeprecated to a new Molecule section `Modals`.
* Creates shared components and types for `Modal` and `Dialog` for shared layout configuration and spacing.
* Creates a new Modal documentation page with sizing examples.
* Adds a fluid size for standard Modals that responds to content but is capped at the viewport.
* Updates Overlays to accept a shroud boolean prop to add an opaque background.


### Modal Usage
```tsx
<Modal title="My Modal Title" onRequestClose={() => {}}>
  Arbitrary content for arbitrary features!
</Modal>
```

### Overlay shroud
```tsx
<Overlay shroud>
// Content
</Overlay>
```

### Sizes
<img width="1409" alt="Screen Shot 2021-08-10 at 12 15 07 PM" src="https://user-images.githubusercontent.com/52927224/128936160-5d0d15f2-5e69-490b-b194-d8820dea738b.png">
Small performance boost for expanded text within truncation component
This PR adds a new  `Testimonial` component to gamut that utilizes the `FloatingCard` component.  The new component has updated styles  and support for light/dark  color modes. It has two variants horizontal/vertical but  any implementation will go to vertical on mobile viewports.
 - @codecademy/[email protected]
 - @codecademy/[email protected]
 - @codecademy/[email protected]
 - @codecademy/[email protected]
 - @codecademy/[email protected]
 - @codecademy/[email protected]
 - @codecademy/[email protected]
 - @codecademy/[email protected]
 - @codecademy/[email protected]
 - @codecademy/[email protected]
 - @codecademy/[email protected]
Added the hyperlink 3 icon
 - @codecademy/[email protected]
 - @codecademy/[email protected]
 - @codecademy/[email protected]
 - @codecademy/[email protected]
 - @codecademy/[email protected]
Adds a `hidePricing` prop to hide the _Pro Pricing_ link.
* Fixes bad import path
 - @codecademy/[email protected]
 - @codecademy/[email protected]
 - @codecademy/[email protected]
 - @codecademy/[email protected]
 - @codecademy/[email protected]
 - @codecademy/[email protected]
 - @codecademy/[email protected]
 - @codecademy/[email protected]
 - @codecademy/[email protected]
 - @codecademy/[email protected]
 - @codecademy/[email protected]
dreamwasp and others added 27 commits October 14, 2021 15:41
 - @codecademy/[email protected]
 - @codecademy/[email protected]
 - @codecademy/[email protected]
 - @codecademy/[email protected]
 - @codecademy/[email protected]
 - @codecademy/[email protected]
 - @codecademy/[email protected]
 - @codecademy/[email protected]
 - @codecademy/[email protected]
 - @codecademy/[email protected]
 - @codecademy/[email protected]
 - @codecademy/[email protected]
 - @codecademy/[email protected]
 - @codecademy/[email protected]
 - @codecademy/[email protected]
Adds the Maze illustration to `gamut-illustrations`.
 - @codecademy/[email protected]
 - @codecademy/[email protected]
 - @codecademy/[email protected]
 - @codecademy/[email protected]
 - @codecademy/[email protected]
 - @codecademy/[email protected]
Adds code challenge link to the list of resource in the global nav header
Adds an explicit `aria-label` prop.  Also updates tests.

Would like to type guard this in the future, but will hold off until converting GridForm inputs to ConnectedForms
 
monolith alpha branch [here](codecademy-engineering/Codecademy#27756)
 - @codecademy/[email protected]
 - @codecademy/[email protected]
 - @codecademy/[email protected]
 - @codecademy/[email protected]
 - @codecademy/[email protected]
Add client tracking to user identification and events to track which users are interacting via the Chromebook PWA
Changes `Drawer`'s internal `Box` to use `minWidth={fullWidth}`.
 - @codecademy/[email protected]
 - @codecademy/[email protected]
 - @codecademy/[email protected]
 - @codecademy/[email protected]
 - @codecademy/[email protected]
… child components

Adding Dark Mode to GlobalHeader ahead of schedule for Voniel and CfB
 - @codecademy/[email protected]
 - @codecademy/[email protected]
 - @codecademy/[email protected]
 - @codecademy/[email protected]
 - @codecademy/[email protected]
* [GM-365] Replacing AppHeaderAvatar with Avatar

* [GM-365] Deleting AppHeaderAvatar

* [GM-365] cleaning up tests
@thedoomshine thedoomshine changed the title Gm 366 app header dropdown wip Gm 366 app header dropdown Nov 8, 2021
@CLAassistant
Copy link

CLAassistant commented Aug 24, 2022

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you all sign our Contributor License Agreement before we can accept your contribution.
11 out of 12 committers have signed the CLA.

✅ timjenkins
✅ codecademy-gh-api
✅ dreamwasp
✅ aresnik11
✅ aionate0812
✅ codecaaron
✅ ahmed-abdallah
✅ natalieweesh
✅ jcenglish
✅ borisonr
✅ thedoomshine
❌ Yaron Shahverdi


Yaron Shahverdi seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.
You have signed the CLA already but the status is still pending? Let us recheck it.

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.