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

docs: [BD-46] updated README file #3078

Merged

Conversation

PKulkoRaccoonGang
Copy link
Contributor

@PKulkoRaccoonGang PKulkoRaccoonGang commented May 20, 2024

Description

  1. Added description of CSS foundation
  2. Removed SCSS foundation text block (similar to the documentation site)
  3. Changed Paragon CLI usage guide
  4. Verified work Paragon CLI

Merge Checklist

  • If your update includes visual changes, have they been reviewed by a designer? Send them a link to the Netlify deploy preview, if applicable.
  • Does your change adhere to the documented style conventions?
  • Do any prop types have missing descriptions in the Props API tables in the documentation site (check deploy preview)?
  • Were your changes tested using all available themes (see theme switcher in the header of the deploy preview, under the "Settings" icon)?
  • Were your changes tested in the example app?
  • Is there adequate test coverage for your changes?
  • Consider whether this change needs to reviewed/QA'ed for accessibility (a11y). If so, please request an a11y review for the PR in the #wg-paragon Open edX Slack channel.

Post-merge Checklist

  • Verify your changes were released to NPM at the expected version.
  • If you'd like, share your contribution in #show-and-tell.
  • 🎉 🙌 Celebrate! Thanks for your contribution.

@openedx-webhooks openedx-webhooks added the blended PR is managed through 2U's blended developmnt program label May 20, 2024
@openedx-webhooks
Copy link

Thanks for the pull request, @PKulkoRaccoonGang!

When this pull request is ready, tag your edX technical lead.

Copy link

netlify bot commented May 20, 2024

Deploy Preview for paragon-openedx ready!

Built without sensitive environment variables

Name Link
🔨 Latest commit 69976b4
🔍 Latest deploy log https://app.netlify.com/sites/paragon-openedx/deploys/664bbe6436cdfd0008118d8b
😎 Deploy Preview https://deploy-preview-3078--paragon-openedx.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.

Copy link

codecov bot commented May 20, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 93.68%. Comparing base (a2b552c) to head (69976b4).
Report is 402 commits behind head on alpha.

Additional details and impacted files
@@           Coverage Diff           @@
##            alpha    #3078   +/-   ##
=======================================
  Coverage   93.68%   93.68%           
=======================================
  Files         229      229           
  Lines        3740     3740           
  Branches      876      876           
=======================================
  Hits         3504     3504           
  Misses        232      232           
  Partials        4        4           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Copy link
Contributor

@brian-smith-tcril brian-smith-tcril left a comment

Choose a reason for hiding this comment

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

Overall these changes are looking great! I left a couple comments, let me know what you think!

README.md Outdated
Comment on lines 44 to 64
**Usage with no theme:**

**index.scss**
The Paragon CSS Foundation offers a collection of fundamental styles, encompassing padding, typography, and sizing.
When applied, these styles contribute to the creation of a straightforward and neat appearance for your application.

To integrate these foundational styles into your project, include the following import:

```
// ... Any custom SCSS variables should be defined here
@import '~@openedx/paragon/styles/scss/core/core.scss';
@use "@openedx/paragon/dist/core.min.css";
```

Usage on with `@edx/brand`:
**Usage with a theme:**

In addition to the basic styles, you can provide a theme layer that includes styles for colors, shadows, backgrounds
and transparency of elements. This allows you to visually represent a specific theme in your application.

**index.scss**
To apply these theme-specific styles, include the following import:

```
@import '~@edx/brand/paragon/fonts.scss';
@import '~@edx/brand/paragon/variables.scss';
@import '~@openedx/paragon/styles/scss/core/core.scss';
@import '~@edx/brand/paragon/overrides.scss';
@use "@my-brand/light.min.css";
```
Copy link
Contributor

Choose a reason for hiding this comment

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

I feel like this section is a bit ambiguous. It's not clear if someone wanting to use a theme should have

@use "@openedx/paragon/dist/core.min.css";
@use "@my-brand/light.min.css";

or just

@use "@my-brand/light.min.css";

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Yes, I agree
The first variant will be more understandable
Thank you!

README.md Outdated

## Paragon CLI

The Paragon CLI (Command Line Interface) is a tool that provides various utility commands to automate actions within the Open edX environment.

### Available Commands

- `paragon install-theme [theme]`: Installs the specific [brand package](https://github.com/openedx/brand-openedx).
- `paragon install-theme`: Installs the specific [brand package](https://github.com/openedx/brand-openedx).
Copy link
Contributor

@brian-smith-tcril brian-smith-tcril May 20, 2024

Choose a reason for hiding this comment

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

With the argument [theme] removed the wording of "the specific brand package" feels a bit unclear. Maybe having it just be

Suggested change
- `paragon install-theme`: Installs the specific [brand package](https://github.com/openedx/brand-openedx).
- `paragon install-theme`: Install a [brand package](https://github.com/openedx/brand-openedx).

would clear it up?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Yes, corrected

@brian-smith-tcril brian-smith-tcril merged commit a88f5eb into openedx:alpha May 21, 2024
10 checks passed
@openedx-semantic-release-bot

🎉 This PR is included in version 23.0.0-alpha.2 🎉

The release is available on:

Your semantic-release bot 📦🚀

@openedx-semantic-release-bot

🎉 This PR is included in version 23.0.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
blended PR is managed through 2U's blended developmnt program released on @alpha released
Projects
No open projects
Status: No status
Development

Successfully merging this pull request may close these issues.

5 participants