Skip to content

Commit

Permalink
Merge pull request #10 from redstonekasi/mb-filtering
Browse files Browse the repository at this point in the history
Moonbase extension filtering
  • Loading branch information
NotNite authored Dec 7, 2023
2 parents 8c80bd7 + bed14f9 commit bab950e
Show file tree
Hide file tree
Showing 8 changed files with 460 additions and 35 deletions.
3 changes: 2 additions & 1 deletion packages/core-extensions/src/moonbase/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,8 @@ export const webpackModules: ExtensionWebExports["webpackModules"] = {
TrashIconSVG,
CircleXIconSVG,
"Masks.PANEL_BUTTON",
"removeButtonContainer:"
"removeButtonContainer:",
'"Missing channel in Channel.openChannelContextMenu"'
],
entrypoint: true,
run: (module, exports, require) => {
Expand Down
6 changes: 6 additions & 0 deletions packages/core-extensions/src/moonbase/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,12 @@ export const CircleXIconSVG =
"M7.02799 0.333252C3.346 0.333252 0.361328 3.31792 0.361328 6.99992C0.361328 10.6819 3.346 13.6666 7.02799 13.6666C10.71 13.6666 13.6947 10.6819 13.6947 6.99992C13.6947 3.31792 10.7093 0.333252 7.02799 0.333252ZM10.166 9.19525L9.22333 10.1379L7.02799 7.94325L4.83266 10.1379L3.89 9.19525L6.08466 6.99992L3.88933 4.80459L4.832 3.86259L7.02733 6.05792L9.22266 3.86259L10.1653 4.80459L7.97066 6.99992L10.166 9.19525Z";
export const DangerIconSVG =
"M12 23a11 11 0 1 0 0-22 11 11 0 0 0 0 22Zm1.44-15.94L13.06 14a1.06 1.06 0 0 1-2.12 0l-.38-6.94a1 1 0 0 1 1-1.06h.88a1 1 0 0 1 1 1.06Zm-.19 10.69a1.25 1.25 0 1 1-2.5 0 1.25 1.25 0 0 1 2.5 0Z";
export const ChevronSmallDownIconSVG =
"M16.59 8.59003L12 13.17L7.41 8.59003L6 10L12 16L18 10L16.59 8.59003Z";
export const ChevronSmallUpIconSVG =
"M7.41 16.0001L12 11.4201L16.59 16.0001L18 14.5901L12 8.59006L6 14.5901L7.41 16.0001Z";
export const ArrowsUpDownIconSVG =
"M3.81962 11.3333L3.81962 1.33325L5.52983 1.33325L5.52985 11.3333L7.46703 9.36658L8.66663 10.5916L4.67068 14.6666L0.666626 10.5916L1.86622 9.34158L3.81962 11.3333Z";

export type MoonbaseNatives = {
fetchRepositories(
Expand Down
Loading

0 comments on commit bab950e

Please sign in to comment.