Skip to content

Port OneNote hero sample to this repo #991

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

Open
wants to merge 15 commits into
base: main
Choose a base branch
from

Conversation

AlexJerabek
Copy link
Collaborator

Q A
Bug fix? no
New feature? no
New sample? Sort of
Related issues? no

What's in this Pull Request?

This PR moves the content of this repo to the main add-in samples repo. It also cleans up the sample a bit and adds GitHub hosting.

AlexJerabek and others added 14 commits June 18, 2025 12:04
* Add sample to local fork

* Apply suggestions from code review

Co-authored-by: Copilot <[email protected]>

* Spruce up code

* Remove extra spans

---------

Co-authored-by: Copilot <[email protected]>
* Add sample to local fork (#1)

* Add sample to local fork

* Apply suggestions from code review

Co-authored-by: Copilot <[email protected]>

* Spruce up code

* Remove extra spans

---------

Co-authored-by: Copilot <[email protected]>

* Add top level link and description (#2)

* Fix manifest URL

---------

Co-authored-by: Copilot <[email protected]>
Copy link
Contributor

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

This PR moves the OneNote Rubric Grader sample from a separate repository into the main add-in samples repo, while cleaning up the sample and adding GitHub hosting support. Key changes include adding the primary manifest files for production and localhost development, integrating the sample’s HTML/JS/CSS assets, and updating the README and supporting documentation.

Reviewed Changes

Copilot reviewed 13 out of 15 changed files in this pull request and generated 1 comment.

Show a summary per file
File Description
Samples/onenote-add-in-rubric-grader/manifest.xml Adds the app manifest for production usage with a GitHub-hosted source location
Samples/onenote-add-in-rubric-grader/manifest-localhost.xml Adds a localhost version of the manifest for local development
Samples/onenote-add-in-rubric-grader/content/Office.css Introduces the CSS styling for the sample
Samples/onenote-add-in-rubric-grader/assets/readme-images/sample.json Provides metadata for the sample in JSON format
Samples/onenote-add-in-rubric-grader/app/home/grader.js Implements the add-in logic including page content retrieval and grading functions
Samples/onenote-add-in-rubric-grader/app/home/grader.html Sets up the sample’s HTML structure and UI elements for grading
Samples/onenote-add-in-rubric-grader/app/home/grader.fabricdropdownhelper.js Contains helper functions to style and manage Fabric UI based dropdowns
Samples/onenote-add-in-rubric-grader/app/app.js Provides common initialization and notification functionality
Samples/onenote-add-in-rubric-grader/app/app.css Adds common app styling including layout and notification bar styling
Samples/onenote-add-in-rubric-grader/README.md Documents the sample’s purpose, prerequisites, and run instructions
Samples/onenote-add-in-rubric-grader/LICENSE Adds the MIT license for the sample
Samples/onenote-add-in-rubric-grader/.gitignore Specifies files and directories to exclude from source control
README.md Updates the main repository README to reference the new Rubric Grader sample

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.

1 participant