Skip to content

refactor: move export function to loadTools into navbar#992

Merged
AlexTalreja merged 1 commit intotoolbox-uifrom
refactor-tool-loading
Jul 29, 2025
Merged

refactor: move export function to loadTools into navbar#992
AlexTalreja merged 1 commit intotoolbox-uifrom
refactor-tool-loading

Conversation

@AlexTalreja
Copy link
Contributor

Move loadTools() and helper functions from tools.js to loadTools.js to allow reuse from within future toolset.js, which will use similar logic.

Slightly modify loadTools() to accept a toolset name to allow filtering. When called from tools.js it will take an empty string to maintain existing behavior (fetch all tools).

@AlexTalreja AlexTalreja self-assigned this Jul 24, 2025
@AlexTalreja AlexTalreja requested a review from a team July 24, 2025 18:23
@AlexTalreja AlexTalreja changed the title refactor: export function to loadTools into navbar refactor: move export function to loadTools into navbar Jul 24, 2025
@AlexTalreja AlexTalreja force-pushed the ui-header-docs branch 2 times, most recently from b58e419 to 661dc37 Compare July 25, 2025 23:15
Base automatically changed from ui-header-docs to toolbox-ui July 29, 2025 05:03
@AlexTalreja AlexTalreja force-pushed the refactor-tool-loading branch from 010037a to 8d77504 Compare July 29, 2025 17:15
@AlexTalreja AlexTalreja merged commit 8a86f37 into toolbox-ui Jul 29, 2025
8 checks passed
@AlexTalreja AlexTalreja deleted the refactor-tool-loading branch July 29, 2025 18:04
AlexTalreja added a commit that referenced this pull request Jul 31, 2025
Move `loadTools()` and helper functions from `tools.js` to
`loadTools.js` to allow reuse from within future `toolset.js`, which
will use similar logic.

Slightly modify `loadTools()` to accept a toolset name to allow
filtering. When called from `tools.js` it will take an empty string to
maintain existing behavior (fetch all tools).
AlexTalreja added a commit that referenced this pull request Jul 31, 2025
Move `loadTools()` and helper functions from `tools.js` to
`loadTools.js` to allow reuse from within future `toolset.js`, which
will use similar logic.

Slightly modify `loadTools()` to accept a toolset name to allow
filtering. When called from `tools.js` it will take an empty string to
maintain existing behavior (fetch all tools).
AlexTalreja added a commit that referenced this pull request Aug 4, 2025
Move `loadTools()` and helper functions from `tools.js` to
`loadTools.js` to allow reuse from within future `toolset.js`, which
will use similar logic.

Slightly modify `loadTools()` to accept a toolset name to allow
filtering. When called from `tools.js` it will take an empty string to
maintain existing behavior (fetch all tools).
AlexTalreja added a commit that referenced this pull request Aug 4, 2025
Move `loadTools()` and helper functions from `tools.js` to
`loadTools.js` to allow reuse from within future `toolset.js`, which
will use similar logic.

Slightly modify `loadTools()` to accept a toolset name to allow
filtering. When called from `tools.js` it will take an empty string to
maintain existing behavior (fetch all tools).
AlexTalreja added a commit that referenced this pull request Aug 4, 2025
Move `loadTools()` and helper functions from `tools.js` to
`loadTools.js` to allow reuse from within future `toolset.js`, which
will use similar logic.

Slightly modify `loadTools()` to accept a toolset name to allow
filtering. When called from `tools.js` it will take an empty string to
maintain existing behavior (fetch all tools).
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.

3 participants