Skip to content

feat: add registering and serializing icons#7063

Merged
BeksOmega merged 9 commits into
RaspberryPiFoundation:developfrom
BeksOmega:feat/registering-icons
May 15, 2023
Merged

feat: add registering and serializing icons#7063
BeksOmega merged 9 commits into
RaspberryPiFoundation:developfrom
BeksOmega:feat/registering-icons

Conversation

@BeksOmega
Copy link
Copy Markdown
Contributor

@BeksOmega BeksOmega commented May 5, 2023

The basics

  • I branched from develop
  • My pull request is against develop
  • My code follows the style guide
  • I ran npm run format and npm run lint

The details

Resolves

Fixes #7062

Proposed Changes

Adds the ability to register icons. Also adds the ability to serialize and deserialize them.

Reason for Changes

Sometimes you want icons to be serializable, so we should support that!

Test Coverage

Added tests for serialization and deserialization.

Documentation

N/A

Additional Information

Dependent on #7059

@github-actions github-actions Bot added PR: feature Adds a feature and removed PR: feature Adds a feature labels May 5, 2023
@BeksOmega BeksOmega force-pushed the feat/registering-icons branch from e28120b to 2179032 Compare May 9, 2023 20:36
@github-actions github-actions Bot added PR: feature Adds a feature and removed PR: feature Adds a feature labels May 9, 2023
@BeksOmega BeksOmega force-pushed the feat/registering-icons branch from eea36bf to 2a5c007 Compare May 9, 2023 23:45
@BeksOmega BeksOmega force-pushed the feat/registering-icons branch from 2a5c007 to db2ad5e Compare May 11, 2023 23:02
@BeksOmega BeksOmega force-pushed the feat/registering-icons branch from db2ad5e to 0cfe577 Compare May 11, 2023 23:04
@BeksOmega BeksOmega marked this pull request as ready for review May 11, 2023 23:07
@BeksOmega BeksOmega requested a review from a team as a code owner May 11, 2023 23:07
@BeksOmega BeksOmega requested a review from maribethb May 11, 2023 23:07
@github-actions github-actions Bot added PR: feature Adds a feature and removed PR: feature Adds a feature labels May 11, 2023
@BeksOmega BeksOmega requested review from rachel-fenichel and removed request for maribethb May 12, 2023 18:13
Comment thread tests/mocha/icon_test.js Outdated
Comment thread tests/mocha/icon_test.js
return createUninitializedBlock(workspace);
}

suite.skip('Hooks getting properly triggered by the block', function () {
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Is this still supposed to be skipped?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Yes, this still hasn't been implemented. It'll get fixed when I migrate over the first built-in icon (or right before).

@BeksOmega BeksOmega merged commit f222165 into RaspberryPiFoundation:develop May 15, 2023
@BeksOmega BeksOmega deleted the feat/registering-icons branch May 14, 2024 16:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

PR: feature Adds a feature

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add support for icon registration and serialization

3 participants